/* Fudan blue palette (100%, 90%, 80%) */
:root {
  --fudan-blue: #0e419c;
  --fudan-blue-90: #114ebb;
  --fudan-blue-80: #145bda;
  --fudan-blue-dark: #08306f;
  --mist: #f1f5ff;
  --sand-light: #eef3ff;
  --text: #213047;
  --text-soft: #4f5f7b;
  --border: #c5d4ef;
  --white: #ffffff;
  --shadow-color: rgba(14, 65, 156, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  background-color: var(--sand-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  margin: 0 0 18px;
  line-height: 1.3;
  color: var(--text);
}

h1 {
  font-size: 36px;
  font-weight: 300;
}

h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--fudan-blue-90);
}

h3 {
  font-size: 22px;
  font-weight: 500;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--fudan-blue);
  text-decoration: none;
  font-weight: 400;
}

a:hover,
a:focus {
  color: var(--fudan-blue-80);
  text-decoration: underline;
}

ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

li {
  margin-bottom: 0px;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

nav.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--fudan-blue);
  border-bottom: 1px solid var(--fudan-blue-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.brand-name {
  color: var(--white);
}

.brand:hover {
  color: var(--white);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-bottom: 0;
}

.nav-links a {
  color: var(--mist);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--white);
  text-decoration: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}

.lang-btn i {
  font-size: 16px;
}

.lang-text {
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  padding: 8px 10px;
  border-radius: 4px;
}

.nav-toggle .icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background-color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#hero {
  background: linear-gradient(120deg, var(--mist) 0%, var(--sand-light) 60%, rgba(255, 255, 255, 0.9) 100%);
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--fudan-blue);
  margin-bottom: 16px;
}

.lead {
  font-size: 18px;
  color: var(--text);
}

.highlight {
  font-weight: 500;
  color: var(--fudan-blue);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 24px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--fudan-blue-90);
  color: var(--white);
  border-color: var(--fudan-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--fudan-blue-dark);
  border-color: var(--fudan-blue-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--fudan-blue-90);
  border-color: var(--fudan-blue-90);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--fudan-blue-90);
  color: var(--white);
}

.btn-inline {
  padding: 6px 14px;
  border-radius: 18px;
  border: 1px solid var(--fudan-blue-90);
  color: var(--fudan-blue-90);
  font-size: 14px;
}

.btn-inline:hover,
.btn-inline:focus {
  background-color: var(--fudan-blue-90);
  color: var(--white);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-panel {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 12px 30px var(--shadow-color);
}

.hero-panel h2 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--fudan-blue);
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-panel li {
  padding-left: 22px;
  position: relative;
  font-weight: 400;
}

.hero-panel li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--fudan-blue-80);
  font-size: 22px;
  line-height: 1;
  top: 2px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.hero-meta div {
  background-color: rgba(17, 78, 187, 0.08);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(17, 78, 187, 0.18);
}

.hero-meta h3 {
  font-size: 28px;
  color: var(--fudan-blue);
  margin-bottom: 8px;
}

.sec {
  padding: 60px 0;
}

.sechighlight {
  background-color: var(--mist);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 24px var(--shadow-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.highlight-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px var(--shadow-color);
  min-height: 200px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--fudan-blue);
  margin-bottom: 32px;
  margin-top: 24px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px 24px;
  margin-bottom: 48px;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
}

.member-card:hover {
  transform: translateY(-4px);
}

.member-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--fudan-blue-90);
  box-shadow: 0 4px 12px var(--shadow-color);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.member-card:hover .member-photo {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(14, 65, 156, 0.35);
  border-color: var(--fudan-blue-80);
}

.member-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.member-title {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  font-weight: 300;
}

.member-research,
.member-affiliation,
.member-year {
  font-size: 13px;
  color: var(--text-soft);
  margin: 6px 0 0;
  line-height: 1.4;
}

.member-year {
  font-size: 12px;
  color: var(--fudan-blue);
  font-weight: 500;
}

/* 移除member-links样式，改为卡片整体可点击 */

.people-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.people-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px var(--shadow-color);
}

.people-card .link {
  font-weight: 500;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.resource-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px var(--shadow-color);
}

.cta-band {
  background-color: var(--fudan-blue-90);
  color: var(--white);
  padding: 60px 0;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 16px;
}

.footer {
  background-color: var(--fudan-blue-dark);
  color: var(--mist);
  padding: 48px 0 16px;
}

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

.footer h3,
.footer h4 {
  color: var(--white);
  font-weight: 500;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: var(--mist);
  font-weight: 300;
}

.footer a:hover,
.footer a:focus {
  color: var(--white);
}

.footer-note {
  text-align: center;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    order: -1;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset: auto 0 0 0;
    background-color: var(--fudan-blue);
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav-container {
    position: relative;
  }

  nav.navbar {
    position: sticky;
  }

  .lang-btn {
    margin-top: 8px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .cta-content {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .nav-links {
    align-items: stretch;
  }

  .team-members {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 24px 16px;
  }

  .member-photo {
    width: 110px;
    height: 110px;
  }

  .member-name {
    font-size: 15px;
  }

  .member-title {
    font-size: 13px;
  }
}
