/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #704199;
  --primary-dark: #5c3480;
  --primary-light: #ede4f3;
  --accent: #704199;
  --nav-bg: rgba(255, 255, 255, 0.85);
  --text: #2d2a2b;
  --text-muted: #605f60;
  --bg: #ffffff;
  --bg-alt: #faf8fb;
  --border: #e4dce8;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(112, 65, 153, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-full {
  width: 100%;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-brand-wrap {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo-brand {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-slogan {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  margin-left: 8px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: var(--primary-light);
  border: 1.5px solid rgba(112, 65, 153, 0.35);
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(112, 65, 153, 0.12);
}

.lang-btn:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(112, 65, 153, 0.28);
  transform: translateY(-1px);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 100;
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}

.lang-menu button:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Banner Carousel ===== */
.banner-carousel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  min-height: 100vh;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1a1520;
}

.carousel-overlay {
  display: none;
}

.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  padding-bottom: 160px;
  pointer-events: none;
}

.carousel-click-area {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.banner-cta {
  position: absolute;
  right: 32px;
  bottom: 140px;
  z-index: 4;
}

.banner-learn-btn {
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

.carousel-dots {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.banner-carousel .banner-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.banner-carousel .banner-content,
.banner-carousel .carousel-content .banner-title,
.banner-carousel .carousel-content .banner-desc,
.banner-carousel .carousel-content .banner-tag {
  color: #fff;
}

/* Legacy banner (keep for reference) */
.banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #064e3b 40%, #059669 100%);
  z-index: 0;
}

.banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(5, 150, 105, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(16, 185, 129, 0.2) 0%, transparent 40%);
}

.banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.banner-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
}

.banner-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.banner-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.banner-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.banner-stats {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.subsection-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 28px;
  text-align: center;
}

.subsection-spaced {
  margin-top: 48px;
}

/* ===== Card Slider ===== */
.card-slider-wrap {
  position: relative;
}

.card-grid-mode .card-grid-even {
  display: flex;
  gap: 16px;
}

.card-grid-mode .card-grid-cell {
  flex: 1;
  min-width: 0;
}

.card-carousel-mode {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-grid-mode.card-grid-compact {
  max-width: 300px;
  margin: 0 auto;
}

.card-grid-compact .card-grid-even {
  justify-content: center;
}

.card-grid-compact .card-grid-cell {
  flex: none;
  width: 100%;
  max-width: 280px;
}

.card-carousel-mode .slider-viewport {
  flex: 1;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.card-carousel-mode .slider-viewport.is-dragging {
  cursor: grabbing;
}

.card-carousel-mode .slider-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}

#jobSlider .slider-track {
  padding-bottom: 2px;
}

.card-carousel-mode .slider-cell {
  flex: 0 0 calc(25% - 12px);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.slider-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--primary);
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.slider-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.card-grid-mode .team-card,
.card-carousel-mode .team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.card-grid-mode .job-card-item,
.card-carousel-mode .job-card-item,
.card-grid-mode .partner-card-item,
.card-carousel-mode .partner-card-item {
  height: 100%;
  width: 100%;
}

.about-en {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.about-card {
  padding: 36px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.section-alt .about-card {
  background: var(--bg);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.about-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 16px;
}

.about-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.about-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
}

.timeline-item {
  text-align: center;
  position: relative;
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-section {
  margin-top: 64px;
}

/* ===== News ===== */
.news-section {
  margin-top: 64px;
}

.news-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: flex-start;
}

.news-date {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}

.news-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== News List ===== */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-item {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  color: inherit;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.news-item-image {
  height: 200px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #e8e4ec;
}

.news-item-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-item-date {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.news-item-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-item-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.news-item-more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

.news-more-link-wrap {
  text-align: center;
  margin-top: 32px;
}

.news-more-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.news-more-link:hover {
  color: var(--primary-dark);
}

.news-list-main {
  padding: calc(var(--nav-height) + 48px) 0 80px;
}

.news-list-page {
  margin-top: 8px;
}

/* ===== Advisor Detail ===== */
.advisor-detail {
  margin-top: 64px;
}

.advisor-card {
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.advisor-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.advisor-card p:last-child {
  margin-bottom: 0;
}

.advisor-stats {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 500;
  color: var(--text) !important;
}

/* ===== Partners List ===== */
.partner-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.partner-card-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: var(--transition);
}

.partner-card-item:hover,
.partner-card-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.partner-card-item.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.partner-card-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--primary-dark);
}

.partner-card-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.partner-card-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

.partner-expand h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.partner-expand-summary {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ===== Culture Compact & Jobs ===== */
.section-header-compact {
  margin-bottom: 24px;
}

.section-header-compact .section-desc-muted {
  font-size: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.culture-compact {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 12px 20px;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
  opacity: 0.85;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.job-card-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: var(--transition);
}

.job-card-item:hover,
.job-card-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.job-card-item.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.job-card-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.job-card-item-header h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.job-card-item-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.job-card-item-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

/* ===== Expand Panels ===== */
.expand-panel {
  margin-top: 24px;
  animation: expandIn 0.35s ease;
}

.expand-panel-inner {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.team-expand {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.team-expand-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary-light);
  background-color: #e8e4ec;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  line-height: 0;
}

.team-expand-role {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.team-expand-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-expand-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.expand-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 12px;
}

.legal-content h3:first-of-type {
  margin-top: 8px;
}

.expand-content p:last-child {
  margin-bottom: 0;
}

.job-expand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.job-expand-header h3 {
  font-size: 20px;
  font-weight: 700;
}

@keyframes expandIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.job-section {
  margin-bottom: 24px;
}

.job-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.job-section ul {
  padding-left: 20px;
}

.job-section li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 6px;
}

.job-apply-btn {
  margin-top: 8px;
}

/* ===== Contact Map ===== */
.contact-map {
  margin-top: 8px;
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.footer-slogan {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  max-width: 360px;
}

/* ===== Utility ===== */
.hidden {
  display: none !important;
}

/* ===== Detail Pages ===== */
.detail-page {
  padding-top: var(--nav-height);
}

.detail-main {
  min-height: calc(100vh - var(--nav-height) - 80px);
}

.detail-hero {
  height: 360px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #e8e4ec;
}

.team-detail-hero {
  display: flex;
  justify-content: center;
  padding: 48px 24px 0;
  background: var(--bg-alt);
}

.team-detail-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
  display: block;
}

.detail-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.detail-back {
  display: inline-block;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
}

.detail-back:hover {
  color: var(--primary-dark);
}

.detail-date {
  display: block;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.detail-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.team-detail-role {
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-detail-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.detail-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.detail-not-found {
  text-align: center;
  padding: 120px 24px;
}

.detail-not-found h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.detail-not-found p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.team-card {
  text-align: center;
  padding: 0 0 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  margin: 0;
}

.team-card-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  color: inherit;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

.team-card-btn:hover,
.team-card-btn.active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.team-card-btn.active {
  border-color: var(--primary);
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #e8e4ec;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  line-height: 0;
  flex: 0 0 auto;
  margin: 0;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 16px 16px 4px;
}

.team-card .team-role,
.team-card .team-bio {
  padding: 0 16px;
}

.team-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

.team-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.team-culture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.culture-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.culture-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  flex-shrink: 0;
}

.culture-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.culture-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  padding: 40px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.partner-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.partner-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Careers ===== */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.job-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.job-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.job-tag {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 500;
}

.job-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.job-apply {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
}

.job-apply:hover {
  color: var(--primary-dark);
}

.benefits {
  text-align: center;
}

.benefits h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.benefits-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.benefit-tag {
  padding: 8px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
  resize: vertical;
}

/* ===== Footer ===== */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  padding: 48px 24px 32px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 20px;
}

.footer-brand .logo-brand-wrap {
  background: rgba(255, 255, 255, 0.92);
  padding: 2px 8px;
  border-radius: 6px;
}

.footer-intro {
  font-size: 14px;
  line-height: 1.9;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: #fff;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-timeline::before {
    display: none;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  .nav-slogan {
    display: none;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 13px;
  }

  .nav-link.active::after {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-right {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-right.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 4px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    flex-shrink: 1;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  .nav-link.active::after {
    display: none;
  }

  .lang-switcher {
    margin-left: 0;
    align-self: flex-start;
  }

  .logo-brand {
    height: 36px;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .team-grid,
  .team-culture,
  .partners-grid,
  .careers-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .banner-actions {
    flex-direction: column;
  }

  .banner-actions .btn {
    text-align: center;
  }

  .news-card {
    flex-direction: column;
  }

  .card-carousel-mode .slider-cell {
    flex: 0 0 80%;
    min-width: 260px;
  }

  .card-grid-mode .card-grid-even {
    flex-direction: column;
  }

  .banner-cta {
    right: 16px;
    bottom: 150px;
  }

  .partner-list {
    grid-template-columns: 1fr;
  }

  .job-list {
    grid-template-columns: 1fr;
  }

  .team-expand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-expand-bio {
    border-bottom: none;
    padding-bottom: 0;
  }

  .expand-panel-inner {
    padding: 24px;
  }

  .partner-feature {
    padding: 28px;
  }

  .job-detail-card {
    padding: 28px;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .carousel-prev { left: 12px; }
  .carousel-next { right: 12px; }

  .carousel-dots {
    bottom: 150px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 64px 0;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-captcha-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 150px;
  gap: 12px;
  align-items: center;
}

.contact-captcha-row input { height: 52px; text-transform: uppercase; letter-spacing: .18em; }
.contact-captcha-image {
  width: 150px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 77, 60, .2);
  border-radius: 8px;
  background: #f3f7f5;
  cursor: pointer;
}
.contact-captcha-image img { display: block; width: 150px; height: 52px; }
.form-help { margin: 7px 0 0; color: #7b8983; font-size: 12px; }
.contact-submit-status { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.contact-submit-status.success { color: #17603f; background: #eaf7ef; }
.contact-submit-status.error { color: #a62828; background: #fff0f0; }

@media (max-width: 480px) {
  .contact-captcha-row { grid-template-columns: 1fr; }
}

/* ===== Responsive refinement: hero + team cards ===== */


/* 平板：管理团队轮播卡片不要占 80%，
   尺寸与单张科学顾问卡片保持接近 */
@media (min-width: 481px) and (max-width: 768px) {
  .card-carousel-mode .slider-cell {
    flex: 0 0 46%;
    min-width: 280px;
  }
}
/* ===== Mobile hero layout refinement ===== */
@media (max-width: 520px) {

  /* 给正文下面的控制区和统计区留出空间 */
  .carousel-content {
    justify-content: center;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 300px;
  }

  .carousel-content .banner-title {
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.25;
    margin-bottom: 18px;
  }

  .carousel-content .banner-desc {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 0;
  }

  /* 左右箭头移到图片底部，不再压正文 */
  .carousel-btn {
    top: auto;
    bottom: 250px;
    transform: none;
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: 16px;
  }

  .carousel-next {
    right: 16px;
  }

  /* “了解更多”放在箭头中间 */
  .banner-cta {
    left: 50%;
    right: auto;
    bottom: 244px;
    transform: translateX(-50%);
  }

  .banner-learn-btn {
    white-space: nowrap;
    padding: 12px 28px;
  }

  /* 轮播点放在按钮下方、统计区上方 */
  .carousel-dots {
    bottom: 218px;
  }

  /* 手机端统计区稍微收紧，避免占掉半屏 */
  .banner-carousel .banner-stats {
    padding: 24px 0 26px;
  }

  .stats-grid {
    gap: 16px 12px;
  }

  .stat-num {
    font-size: 30px;
    line-height: 1.25;
  }

  .stat-label {
    font-size: 13px;
  }
}
/* Mobile: tighten the transition from hero to About */
@media (max-width: 520px) {
  #about.section {
    padding-top: 48px;
  }
}@media (max-width: 520px) {
  .banner-carousel,
  .carousel-track,
  .carousel-slide {
    min-height: clamp(720px, 82svh, 760px);
    height: clamp(720px, 82svh, 760px);
  }
}