﻿

/* ==================== CSS Variables ==================== */
:root {
  --color-primary: #065f46;
  --color-primary-light: #10b981;
  --color-primary-dark: #064e3b;
  --color-accent: #f59e0b;
  --color-accent-light: #fcd34d;
  --color-bg: #ffffff;
  --color-bg-light: #ecfdf5;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-text-muted: #9ca3af;
  --color-border: #e5e7eb;
  --color-emerald-50: #ecfdf5;
  --color-emerald-100: #d1fae5;
  --color-emerald-200: #a7f3d0;
  --color-emerald-400: #34d399;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-emerald-800: #065f46;
  --color-emerald-900: #064e3b;
  --color-emerald-950: #022c22;
  --color-amber-50: #fffbeb;
  --color-amber-100: #fef3c7;
  --color-amber-400: #fbbf24;
  --color-amber-600: #d97706;
  --color-amber-700: #b45309;
  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-orange-50: #fff7ed;
  --color-orange-700: #c2410c;
  --color-teal-50: #f0fdfa;
  --color-teal-600: #0d9488;
  --color-red-50: #fef2f2;
  --color-red-700: #b91c1c;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;
  --text: #1f2937;
  --text-light: #4b5563;
  --text-muted: #9ca3af;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --border: #e5e7eb;
  --radius: 0.1rem;
  --radius-xl: 0.12rem;
  --radius-2xl: 0.16rem;

  --radius-md: 0.12rem;
  --radius-lg: 0.16rem;
  --radius-xl: 0.24rem;
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-size: 0.16rem;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Georgia', sans-serif;
  color: var(--color-text);
  background: linear-gradient(to bottom, rgba(236,253,245,0.3), #fff);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'sys', 'Noto Sans SC', serif; font-weight: 700; line-height: 1.3; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* ==================== Utilities ==================== */
.container { width: 100%;; margin: 0 auto; padding: 0 0rem; }
@media (min-width: 640px) { .container { padding: 0 0.24rem; } }
@media (min-width: 1024px) { .container { padding: 0 0.32rem; } }
@media (min-width: 1280px) { .container { padding: 0 0.32rem; } }

.section-padding { padding: 0.8rem 0; }
/* @media (min-width: 1024px) { .section-padding { padding: 1.12rem 0; } } */

.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ==================== Animations ==================== */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1.05); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Hero entrance animations */
.hero-img { animation: scaleIn 8s ease-out forwards; }
.hero-content > * { opacity: 0; animation: fadeInUp 1s ease-out forwards; }
.hero-content > *:nth-child(1) { animation-delay: 0s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.5s; }
.hero-content > *:nth-child(5) { animation-delay: 0.7s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.4s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* Card hover */
.card-hover {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ==================== Scrollbar ==================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--color-primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-emerald-700); }


.navbar.scrolled .logo { color: var(--color-emerald-800); }

.logo svg { width: 0.24rem; height: 0.24rem; }

.nav-menu {
  display: none;
  align-items: center;
  gap: 0.04rem;
}
@media (min-width: 768px) { .nav-menu { display: flex; } }

.nav-menu a {
  padding: 0.08rem 0.16rem;
  border-radius: var(--radius);
  font-size: 0.14rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
}
.nav-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  transform: scale(1.05);
}
.navbar.scrolled .nav-menu a {
  color: var(--color-emerald-700);
}
.navbar.scrolled .nav-menu a:hover {
  background: var(--color-emerald-50);
}

.mobile-toggle {
  display: block;
  padding: 0.08rem;
  border-radius: var(--radius);
  color: #fff;
  transition: color 0.3s ease;
}
.navbar.scrolled .mobile-toggle { color: var(--color-emerald-700); }
@media (min-width: 768px) { .mobile-toggle { display: none; } }

.mobile-menu {
  display: none;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(16,185,129,0.1);
}
.mobile-menu.open { display: block; }

.mobile-menu-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.12rem 0.16rem;
}
.mobile-menu a {
  display: block;
  padding: 0.1rem 0.16rem;
  border-radius: var(--radius);
  color: var(--color-emerald-700);
  font-size: 0.14rem;
  font-weight: 500;
  transition: background 0.2s ease;
}
.mobile-menu a:hover { background: var(--color-emerald-50); }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 0 0.16rem;
  max-width: 1024px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  padding: 0.08rem 0.16rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.14rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-bottom: 0.32rem;
}

.hero-badge svg { width: 0.16rem; height: 0.16rem; }

.hero-title {
  font-size: 0.36rem;
  font-weight: 900;
  margin-bottom: 0.24rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  line-height: 1.2;
}
@media (min-width: 640px) { .hero-title { font-size: 0.48rem; } }
@media (min-width: 768px) { .hero-title { font-size: 0.6rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 0.72rem; } }

.hero-title span { color: #6ee7b7; }

.hero-subtitle {
  font-size: 0.18rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.4rem;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
@media (min-width: 640px) { .hero-subtitle { font-size: 0.2rem; } }
@media (min-width: 768px) { .hero-subtitle { font-size: 0.24rem; } }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.16rem;
  margin-bottom: 0.48rem;
}

.btn {
  display: inline-block;
  padding: 0.14rem 0.32rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.18rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-emerald-600);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-emerald-500);
  box-shadow: 0 10px 15px -3px rgba(5,150,105,0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.24rem;
  font-size: 0.14rem;
  color: rgba(255,255,255,0.8);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.06rem;
}

.hero-meta-item svg { width: 0.16rem; height: 0.16rem; }

.scroll-indicator {
  position: absolute;
  bottom: 0.32rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: rgba(255,255,255,0.7);
}

/* ==================== Section Tags ==================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  padding: 0.06rem 0.16rem;
  border-radius: 9999px;
  font-size: 0.14rem;
  font-weight: 500;
  margin-bottom: 0.16rem;
}

.section-tag svg { width: 0.16rem; height: 0.16rem; }

.tag-green { background: var(--color-emerald-100); color: var(--color-emerald-700); }
.tag-amber { background: var(--color-amber-100); color: var(--color-amber-700); }
.tag-blue { background: var(--color-blue-100); color: var(--color-blue-700); }

/* ==================== Section Headers ==================== */
.section-title {
  font-size: 0.3rem;
  color: #111827;
  margin-bottom: 0.16rem;
}
@media (min-width: 640px) { .section-title { font-size: 0.36rem; } }
@media (min-width: 1024px) { .section-title { font-size: 0.48rem; } }

.section-desc {
  font-size: 0.18rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 0.64rem;
  line-height: 1.6;
}
.section-desc.wide { max-width: 100%; }

/* ==================== GRID SYSTEM ==================== */
.grid { display: grid; gap: 0.24rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (min-width: 640px) {
  .grid-sm-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-sm-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .grid-md-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-md-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-lg-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-lg-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
  .grid-xl-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ==================== Cards ==================== */
.card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-emerald-50);
}

.card-icon {
  display: inline-flex;
  padding: 0.12rem;
  border-radius: var(--radius-xl);
  margin-bottom: 0.16rem;
}

.card-title {
  font-size: 0.18rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.12rem;
}

.card-text {
  font-size: 0.14rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ==================== Tea Basics ==================== */
.tea-basics-bg {
  position: absolute;
  top: 0; right: 0;
  width: 33%;
  height: 100%;
  background: linear-gradient(to left, rgba(236,253,245,0.5), transparent);
  pointer-events: none;
}

.image-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.image-card img {
  width: 100%;
  height: 384px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.image-card:hover img { transform: scale(1.05); }

.image-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent);
}

.image-card-content {
  position: absolute;
  bottom: 0.24rem;
  left: 0.24rem;
  right: 0.24rem;
  color: #fff;
}

.info-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-emerald-50);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.info-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.16rem;
}

.info-card-icon {
  padding: 0.12rem;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.info-card-icon.green { background: var(--color-emerald-100); color: var(--color-emerald-700); }
.info-card-icon.amber { background: var(--color-amber-100); color: var(--color-amber-700); }

.stat-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-emerald-50);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  display: inline-flex;
  padding: 0.12rem;
  border-radius: var(--radius-xl);
  background: var(--color-emerald-50);
  color: var(--color-emerald-600);
  margin-bottom: 0.16rem;
}

.stat-value {
  font-size: 0.24rem;
  font-weight: 900;
  color: var(--color-emerald-800);
  margin-bottom: 0.04rem;
}
@media (min-width: 640px) { .stat-value { font-size: 0.3rem; } }

.stat-label { font-size: 0.14rem; font-weight: 600; color: #374151; margin-bottom: 0.04rem; }
.stat-sub { font-size: 0.12rem; color: var(--color-text-muted); }

/* Feature cards gradient */
.feature-card {
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-emerald-50);
  background: linear-gradient(to bottom right, #fff, rgba(236,253,245,0.5));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-card .card-icon { background: var(--color-emerald-600); color: #fff; }

/* ==================== Lab Overview ==================== */
.partner-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.partner-card.primary {
  background: linear-gradient(to bottom right, var(--color-emerald-600), var(--color-emerald-700));
  color: #fff;
  border-color: var(--color-emerald-500);
}
.partner-card:not(.primary) { background: #fff; }

.partner-badge {
  position: absolute;
  top: -0.12rem;
  left: 0.24rem;
  padding: 0.04rem 0.12rem;
  background: var(--color-amber-400);
  color: #78350f;
  font-size: 0.12rem;
  font-weight: 700;
  border-radius: 9999px;
}

.partner-inner { display: flex; align-items: flex-start; gap: 0.16rem; }
.partner-icon {
  padding: 0.12rem;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}
.partner-card.primary .partner-icon { background: rgba(255,255,255,0.2); }
/* .partner-card:not(.primary) .partner-icon { background: var(--color-emerald-50); color: var(--color-emerald-600); } */

.partner-name { font-size: 0.18rem; font-weight: 700; margin-bottom: 0.04rem; }
.partner-desc { font-size: 0.14rem; }
.partner-card.primary .partner-desc { color: #a7f3d0; }
.partner-card:not(.primary) .partner-desc { color: var(--color-text-light); }

/* Research Direction Cards */
.dir-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dir-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.dir-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0.8rem; height: 0.8rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.dir-num { font-size: 0.3rem; font-weight: 900; margin-bottom: 0.12rem; opacity: 0.8; }
.dir-title { font-size: 0.18rem; font-weight: 700; }

.dir-1 { background: linear-gradient(to bottom right, #10b981, #0d9488); }
.dir-2 { background: linear-gradient(to bottom right, #14b8a6, #0891b2); }
.dir-3 { background: linear-gradient(to bottom right, #06b6d4, #2563eb); }
.dir-4 { background: linear-gradient(to bottom right, #3b82f6, #4f46e5); }

/* Talent Stats */
.talent-card {
  background: linear-gradient(to bottom right, #f9fafb, #fff);
  border-radius: var(--radius-xl);
  padding: 0.2rem;
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.talent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.talent-header { display: flex; align-items: center; gap: 0.12rem; margin-bottom: 0.12rem; }
.talent-icon {
  padding: 0.08rem;
  border-radius: var(--radius-lg);
  background: var(--color-emerald-100);
  color: var(--color-emerald-600);
}
.talent-label { font-size: 0.18rem; color: var(--color-text-light); font-weight: 500; }
.talent-value { font-size: 0.3rem; font-weight: 900; color: var(--color-emerald-800); font-family: Georgia, 'Times New Roman', Times, serif;}
.talent-unit { font-size: 0.18rem; font-weight: 400; color: var(--color-text-light); margin-left: 0.04rem; }
.talent-note { font-size: 0.14rem; color: var(--color-amber-600); font-weight: 500; margin-top: 0.04rem; }

/* ==================== Timeline ==================== */
.timeline { position: relative; }
.timeline-line {
  position: absolute;
  left: 0.16rem;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--color-emerald-200);
}
@media (min-width: 768px) {
  .timeline-line { left: 50%; transform: translateX(-50%); }
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.24rem;
}

.timeline-content {
  display: none;
  flex: 1;
}
@media (min-width: 768px) { .timeline-content { display: block; } }

.timeline-content-inner {
  display: inline-block;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0.2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #f3f4f6;
  max-width: 384px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.timeline-content-inner.highlight { box-shadow: 0 0 0 2px var(--color-emerald-500), var(--shadow-md); }

.timeline-year { font-size: 0.22rem; font-weight: 700; color: var(--color-emerald-600); font-family: Georgia;}
.timeline-text { font-size: 0.18rem; color: #374151; margin-top: 0.04rem; }

.timeline-dot {
  position: absolute;
  left: 0.16rem;
  transform: translateX(-50%);
  margin-top: 0.2rem;
  width: 0.16rem; height: 0.16rem;
  border-radius: 50%;
  border: 4px solid var(--color-emerald-400);
  background: #fff;
  z-index: 2;
}
.timeline-dot.highlight { background: var(--color-emerald-600); border-color: var(--color-emerald-200); }
@media (min-width: 768px) { .timeline-dot { left: 50%; } }

.timeline-mobile {
  flex: 1;
  margin-left: 0.48rem;
}
@media (min-width: 768px) { .timeline-mobile { display: none; } }

.timeline-mobile .timeline-content-inner { display: block; max-width: none; }
.timeline-mobile .timeline-content-inner.highlight { box-shadow: 0 0 0 2px var(--color-emerald-500), var(--shadow-md); }

.timeline-spacer {
  display: none;
  flex: 1;
}
@media (min-width: 768px) { .timeline-spacer { display: block; } }

/* ==================== Innovation ==================== */
.innovation-section { background: linear-gradient(to bottom, rgba(236,253,245,0.3), #fff); }

.highlight-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #f3f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.highlight-inner { display: flex; align-items: flex-start; gap: 0.16rem; }
.highlight-icon {
  padding: 0.12rem;
  border-radius: var(--radius-xl);
  background: var(--color-emerald-100);
  color: var(--color-emerald-600);
  flex-shrink: 0;
}

.journal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  padding: 0.12rem 0.2rem;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid #f3f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.journal-tag:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.achievement-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid #f3f4f6;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.achievement-image {
  position: relative;
  height: 1.92rem;
  overflow: hidden;
}
.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.achievement-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.badge {
  display: inline-block;
  padding: 0.04rem 0.12rem;
  border-radius: 9999px;
  font-size: 0.14rem;
  font-weight: 700;
}
.badge-red { background: var(--color-red-50); color: var(--color-red-700); }
.badge-amber { background: var(--color-amber-50); color: var(--color-amber-700); }

.achievement-body { padding: 0.24rem; }
.achievement-list { list-style: none; margin-bottom: 0.16rem; }
.achievement-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.08rem;
  font-size: 0.16rem;
  color: var(--color-text-light);
  margin-bottom: 0.08rem;
}
.achievement-list svg {
  width: 0.16rem; height: 0.16rem;
  color: var(--color-emerald-500);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.achievement-impact {
  padding-top: 0.16rem;
  border-top: 1px solid #f3f4f6;
  font-size: 0.16rem;
  font-weight: 600;
  color: var(--color-emerald-700);
}

.variety-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0.16rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #f3f4f6;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.variety-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.variety-icon {
  display: inline-flex;
  padding: 0.12rem;
  border-radius: 50%;
  background: var(--color-emerald-50);
  color: var(--color-emerald-600);
  margin-bottom: 0.12rem;
}

/* ==================== Science Outreach ==================== */
.honor-tag {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  padding: 0.16rem 0.24rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-emerald-100);
  background: linear-gradient(to right, var(--color-emerald-50), var(--color-teal-50));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.honor-tag:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.honor-icon {
  padding: 0.08rem;
  border-radius: var(--radius-lg);
  background: var(--color-emerald-600);
  color: #fff;
}

.honor-text { font-weight: 700; font-size: 0.14rem; color: var(--color-emerald-800); }

.resource-card {
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #f3f4f6;
  background: linear-gradient(to bottom right, #fff, rgba(239,246,255,0.3));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.resource-icon {
  display: inline-flex;
  padding: 0.12rem;
  border-radius: var(--radius-xl);
  background: var(--color-blue-100);
  color: var(--color-blue-600);
  margin-bottom: 0.16rem;
}

.activity-tag {
  padding: 0.12rem 0.2rem;
  border-radius: var(--radius-xl);
  font-size: 0.14rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.activity-tag:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tag-bg-green { background: var(--color-emerald-50); color: var(--color-emerald-700); }
.tag-bg-amber { background: var(--color-amber-50); color: var(--color-amber-700); }
.tag-bg-blue { background: var(--color-blue-50); color: var(--color-blue-700); }
.tag-bg-orange { background: var(--color-orange-50); color: var(--color-orange-700); }
.tag-bg-teal { background: var(--color-teal-50); color: var(--color-teal-600); }

.outreach-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0.24rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #f3f4f6;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.outreach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.outreach-card::before {
  content: '';
  position: absolute;
  top: -0.24rem;
  right: -0.24rem;
  width: 0.96rem;
  height: 0.96rem;
  background: var(--color-blue-50);
  border-radius: 50%;
}

/* ==================== Footer ==================== */
.footer {
  background: linear-gradient(to bottom, var(--color-emerald-900), var(--color-emerald-950));
  color: #fff;
}

.footer-cta {
  position: relative;
  padding: 0.64rem 0;
  background: linear-gradient(to right, var(--color-emerald-800), #134e4a);
  overflow: hidden;
}

.footer-cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.footer-cta-title {
  font-size: 0.24rem;
  font-weight: 700;
  margin-bottom: 0.24rem;
  line-height: 1.4;
  color: #FFF;
}
@media (min-width: 640px) { .footer-cta-title { font-size: 0.3rem; } }
@media (min-width: 1024px) { .footer-cta-title { font-size: 0.36rem; } }

.footer-cta-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16rem;
  color: #a7f3d0;
}
@media (min-width: 640px) {
  .footer-cta-sub {  justify-content: center; }
  /* flex-direction: row; */
  .footer-cta-sub .dot { display: inline; }
}
.footer-cta-sub .dot { display: none; }

.footer-main { padding: 0.48rem 0; }
.footer-grid {
  display: grid;
  gap: 0.32rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 0.48rem; }
}

.footer-brand { margin-bottom: 0.16rem; }
.footer-desc { font-size: 0.14rem; line-height: 1.6; margin-bottom: 0.24rem; color: rgba(167,243,208,0.8); }

.footer-title { font-size: 0.18rem; font-weight: 700; margin-bottom: 0.16rem; }

.footer-links li { margin-bottom: 0.08rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  font-size: 0.14rem;
  color: rgba(167,243,208,0.7);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }

.footer-list li {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  font-size: 0.14rem;
  color: rgba(167,243,208,0.7);
  margin-bottom: 0.08rem;
}
.footer-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(6,95,70,0.5);
  padding: 0.24rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16rem;
  font-size: 0.14rem;
  color: rgba(110,231,183,0.6);
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* ==================== Responsive Flex helpers ==================== */
.flex-wrap { display: flex; flex-wrap: wrap; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.gap-2 { gap: 0.08rem; }
.gap-3 { gap: 0.12rem; }
.gap-4 { gap: 0.16rem; }
.gap-6 { gap: 0.24rem; }
.gap-8 { gap: 0.32rem; }

.flex-col { flex-direction: column; }
@media (min-width: 640px) { .sm-flex-row { flex-direction: row; } }

/* Spacing */
.mb-4 { margin-bottom: 0.16rem; }
.mb-6 { margin-bottom: 0.24rem; }
.mb-8 { margin-bottom: 0.32rem; }
.mb-10 { margin-bottom: 0.4rem; }
.mb-16 { margin-bottom: 0.64rem; }
.mb-20 { margin-bottom: 0.8rem; }

.mt-1 { margin-top: 0.04rem; }

/* Hidden helpers */
.hidden-sm { display: block; }
@media (min-width: 640px) { .hidden-sm { display: none; } }

.hidden { display: none; }
@media (min-width: 640px) { .show-sm { display: block; } }
@media (min-width: 768px) { .show-md { display: block; } }

@media (min-width: 768px) {
  .md-text-left { text-align: left; }
  .md-text-right { text-align: right; }
}
/* Contribution card */
.contrib-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 0.24rem; box-shadow: var(--shadow);
  border: 1px solid var(--border); transition: all 0.3s ease;
}
.contrib-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.contrib-card .img-wrap { height: 1.4rem; border-radius: var(--radius); overflow: hidden; margin-bottom: 0.12rem; }
.contrib-card .img-wrap img { width: 100%; height: 100%; object-fit: fill;margin: 0; }
.contrib-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0.32rem; height: 0.32rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
  color: #fff; font-size: 0.16rem; font-weight: 900; margin-bottom: 0.1rem;
}
.contrib-card h3 { font-size: 0.16rem; color: #111; margin-bottom: 0.08rem; }
.contrib-card p { font-size: 0.14rem; color: var(--text-light); line-height: 1.7; }
.contrib-highlight {
  margin-top: 0.1rem; padding: 0.08rem 0.1rem;
  background: var(--emerald-50); border-radius: var(--radius);
  border-left: 3px solid var(--emerald-500);
  font-size: 0.12rem; color: var(--emerald-700); font-weight: 500;
}