:root {
  --green-deep: #0b3d2e;
  --green-main: #1f7a4d;
  --green-mid: #2f9e62;
  --green-light: #8fd6a7;
  --green-soft: #eaf7ef;
  --green-bg: #f5fbf7;

  --text-dark: #172a22;
  --text-main: #2b4037;
  --text-soft: #64756d;

  --surface: #ffffff;
  --line: rgba(31, 122, 77, 0.12);

  --shadow-sm: 0 10px 24px rgba(12, 72, 46, 0.08);
  --shadow-md: 0 18px 42px rgba(12, 72, 46, 0.12);
  --shadow-lg: 0 24px 70px rgba(7, 55, 37, 0.18);

  --container: min(1200px, calc(100% - 48px));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(47, 158, 98, 0.10), transparent 28%),
    radial-gradient(circle at bottom right, rgba(143, 214, 167, 0.14), transparent 24%),
    var(--green-bg);
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 122, 77, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 122, 77, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

/* 顶部导航 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 61, 46, 0.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 26px rgba(7, 55, 37, 0.15);
}

.navbar-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 8px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.12);
}

.logo-text-wrap {
  min-width: 0;
}

.logo-text {
  color: #ffffff;
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-subtext {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  transition: 0.25s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

/* 页头 */
.page-hero {
  position: relative;
  margin-top: 86px;
  padding: 5.8rem 0 4.8rem;
  background:
    linear-gradient(135deg, rgba(11, 61, 46, 0.96), rgba(31, 122, 77, 0.88)),
    url("../Figure/fig2.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  box-shadow: var(--shadow-lg);
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -150px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.055);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-logo-img {
  position: absolute;
  right: 8%;
  top: 50%;
  width: 260px;
  height: 260px;
  transform: translateY(-50%);
  opacity: 0.11;
  pointer-events: none;
  z-index: 1;
}

.page-hero-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-label {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.page-desc {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.9;
}

/* 主体 */
.about-page {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.about-page::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(143, 214, 167, 0.16);
  pointer-events: none;
  z-index: 0;
}

.about-page::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: 160px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(31, 122, 77, 0.06);
  pointer-events: none;
  z-index: 0;
}

.about-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.6rem;
  align-items: start;
}

/* 左侧导航 */
.side-nav {
  position: sticky;
  top: 112px;
  overflow: hidden;
  padding: 1.35rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 254, 251, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.side-title {
  margin-bottom: 1.2rem;
}

.side-title span {
  display: inline-block;
  color: var(--green-main);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.side-title strong {
  display: block;
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  font-size: 1.22rem;
  color: var(--green-deep);
}

.side-link {
  width: 100%;
  display: block;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  margin-top: 0.7rem;
  padding: 0.86rem 1rem;
  border-radius: 16px;
  background: rgba(31, 122, 77, 0.07);
  color: var(--green-main);
  font-weight: 800;
  transition: 0.25s ease;
}

.side-link:hover,
.side-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-main), var(--green-mid));
  box-shadow: 0 10px 22px rgba(31, 122, 77, 0.16);
}

/* 右侧内容区域 */
.content-area {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 254, 251, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.content-area::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(143, 214, 167, 0.26) 0%,
      rgba(31, 122, 77, 0.08) 58%,
      transparent 72%
    );
  pointer-events: none;
  z-index: 0;
}

.content-panel {
  display: none;
  position: relative;
  z-index: 2;
}

.content-panel.active {
  display: block;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.08);
  color: var(--green-main);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.content-panel h2 {
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  color: var(--green-deep);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.3;
}

.panel-logo {
  width: 72px;
  height: 72px;
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(31, 122, 77, 0.12), rgba(143, 214, 167, 0.22)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 122, 77, 0.12);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.panel-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 年份筛选、成员分类 */
.paper-year-filter,
.student-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.paper-year-filter button,
.student-tabs button {
  border: none;
  cursor: pointer;
  padding: 0.65rem 1.08rem;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.08);
  color: var(--green-main);
  font-weight: 800;
  transition: 0.25s ease;
}

.paper-year-filter button:hover,
.paper-year-filter button.active,
.student-tabs button:hover,
.student-tabs button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-main), var(--green-mid));
  box-shadow: 0 10px 22px rgba(31, 122, 77, 0.16);
}

/* 论文列表 */
.paper-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.paper-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.15rem;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 254, 251, 0.95));
  border: 1px solid rgba(31, 122, 77, 0.11);
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.paper-item::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(143, 214, 167, 0.18);
  pointer-events: none;
}

.paper-item:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 122, 77, 0.22);
  box-shadow: var(--shadow-md);
}

.paper-year {
  position: relative;
  z-index: 2;
  min-height: 108px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-main), var(--green-mid));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(31, 122, 77, 0.18);
}

.paper-info {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0.2rem 4.8rem 0.2rem 0;
}

.paper-info h3 {
  color: var(--green-deep);
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 0.55rem;
}

.paper-authors {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.55rem;
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.65rem;
}

.paper-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.07);
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.paper-info p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0.65rem;
}

.doi-link {
  display: inline-flex;
  align-items: center;
  color: var(--green-main);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.6;
  word-break: break-all;
  transition: 0.25s ease;
}

.doi-link:hover {
  color: var(--green-deep);
}

.paper-info .research-section-logo {
  position: absolute;
  top: 6px;
  right: 50%;
  width: 150px;
  height: 150px;
  padding: 8px;
  border-radius: 10%;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(31, 122, 77, 0.08);
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.paper-info .research-section-logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* 专利列表 */
.patent-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.patent-item {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.45rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 254, 251, 0.95));
  border: 1px solid rgba(31, 122, 77, 0.11);
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.patent-item::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -72px;
  width: 158px;
  height: 158px;
  border-radius: 50%;
  background: rgba(143, 214, 167, 0.18);
  pointer-events: none;
}

.patent-item::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 40%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    url("../Figure/logo_1.png") center / 90px 90px no-repeat,
    rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(31, 122, 77, 0.08);
  opacity: 0.18;
  pointer-events: none;
}

.patent-item:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 122, 77, 0.22);
  box-shadow: var(--shadow-md);
}

.patent-item h3 {
  position: relative;
  z-index: 2;
  padding-right: 4.8rem;
  color: var(--green-deep);
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.patent-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.65rem;
}

.patent-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.07);
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.patent-item p {
  position: relative;
  z-index: 2;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.85;
}

/* 空数据提示 */
.paper-empty,
.empty-text {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.88);
  border: 1px dashed var(--line);
  border-radius: 20px;
}

/* 老师和学生卡片兼容 */
.teacher-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.teacher-card,
.student-card,
.member-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  padding: 1.3rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 122, 77, 0.11);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.teacher-card img,
.student-card img,
.member-card img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--green-soft);
}

.teacher-card h3,
.student-card h3,
.member-card h3 {
  color: var(--green-deep);
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
}

.teacher-title,
.student-level {
  color: var(--green-main);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.teacher-card p,
.student-card p,
.member-card p {
  color: var(--text-soft);
  line-height: 1.8;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.teacher-tags span {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.08);
  color: var(--green-main);
  font-size: 0.84rem;
  font-weight: 700;
}

.student-panel {
  display: none;
}

.student-panel.active {
  display: block;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* 页脚 */
footer {
  background: linear-gradient(180deg, #0b3d2e, #06261c);
  color: #ffffff;
  padding: 3.6rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(143, 214, 167, 0.15), transparent 28%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
}

.footer-logo-box {
  width: 150px;
  height: 150px;
  object-fit: contain;
  padding: 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 22px rgba(143, 214, 167, 0.22);
  margin: 0 auto;
}

.footer-logo-box img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: contain;
}

.footer-inner h3 {
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.footer-inner .copyright {
  margin-top: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.56);
}

/* 响应式 */
@media (max-width: 1000px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .side-title {
    grid-column: 1 / -1;
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 900px) {
  .navbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .page-hero {
    margin-top: 146px;
  }

  .page-hero-logo-img {
    right: 4%;
    width: 200px;
    height: 200px;
    opacity: 0.08;
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(100% - 28px, 1200px);
  }

  .page-hero {
    padding: 4.8rem 0 4rem;
  }

  .about-page {
    padding: 3.6rem 0 4.5rem;
  }

  .side-nav {
    display: block;
  }

  .side-title {
    margin-bottom: 1rem;
  }

  .side-link {
    text-align: center;
  }

  .content-area {
    padding: 1.45rem 1.35rem;
    border-radius: 24px;
  }

  .panel-head {
    align-items: flex-start;
  }

  .panel-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .paper-item {
    grid-template-columns: 1fr;
  }

  .paper-year {
    min-height: 72px;
    justify-content: flex-start;
    padding-left: 1.2rem;
  }

  .paper-info {
    padding-right: 0;
  }

  .paper-info .research-section-logo {
    width: 52px;
    height: 52px;
    opacity: 0.12;
  }

  .teacher-card,
  .student-card,
  .member-card {
    grid-template-columns: 1fr;
  }

  .teacher-card img,
  .student-card img,
  .member-card img {
    width: 120px;
    height: 150px;
  }

  .student-grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.08rem;
  }

  .logo-subtext {
    font-size: 0.6rem;
  }

  .footer-logo-box {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 520px) {
  .navbar-inner {
    gap: 1rem;
  }

  .top-nav a {
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .page-desc {
    font-size: 0.94rem;
  }

  .logo-img {
    width: 48px;
    height: 48px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-subtext {
    display: none;
  }

  .page-hero-logo-img {
    display: none;
  }

  .panel-head {
    flex-direction: column;
    gap: 0.8rem;
  }

  .panel-logo {
    display: none;
  }

  .paper-year-filter button,
  .student-tabs button {
    padding: 0.58rem 0.88rem;
    font-size: 0.88rem;
  }
}