/* ============================================
   Likai Medical - Design System & Global Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Brand Colors */
  --primary: #0066B3;        /* Deep Medical Blue */
  --primary-light: #2E8BC0;  /* Lighter Blue */
  --primary-dark: #004A82;   /* Darker Blue */
  --accent: #00A8E8;         /* Bright Accent */
  --accent-warm: #E8F4FD;    /* Light Blue BG */

  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --light-gray: #E8ECF1;
  --mid-gray: #C0C7D1;
  --dark-gray: #6B7B8D;
  --charcoal: #3A4556;
  --near-black: #1E2A3A;
  --text-primary: #1E2A3A;
  --text-secondary: #6B7B8D;
  --text-muted: #9AA5B4;

  /* Functional Colors */
  --success: #28A745;
  --warning: #F0AD4E;
  --danger: #DC3545;
  --info: #17A2B8;

  /* Typography */
  --font-main: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Noto Sans SC', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 14px;
  --space-lg: 20px;
  --space-xl: 28px;
  --space-2xl: 40px;
  --space-3xl: 52px;
  --space-4xl: 72px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(30,42,58,0.08);
  --shadow-md: 0 4px 12px rgba(30,42,58,0.12);
  --shadow-lg: 0 8px 24px rgba(30,42,58,0.16);
  --shadow-xl: 0 16px 48px rgba(30,42,58,0.20);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-height: 80px;
  --footer-height: auto;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 0.95rem;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2.2rem; margin-bottom: var(--space-lg); }
h2 { font-size: 1.7rem; margin-bottom: var(--space-lg); }
h3 { font-size: 1.3rem; margin-bottom: var(--space-md); }
h4 { font-size: 1.1rem; margin-bottom: var(--space-md); }
h5 { font-size: 1rem; margin-bottom: var(--space-sm); }

p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.text-large { font-size: 1.05rem; }
.text-small { font-size: 0.875rem; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary-color { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: calc(var(--space-4xl) + var(--space-xl)) 0;
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  z-index: 1000;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + var(--space-sm));
  left: calc(-1 * var(--space-md));
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.dropdown-link:hover {
  color: var(--primary);
  background: var(--accent-warm);
}

.dropdown-divider {
  height: 1px;
  background: var(--light-gray);
  margin: var(--space-sm) 0;
}

.dropdown-group-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: var(--space-sm) var(--space-md);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-toggle.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Full-Screen KV Carousel (Hero Slider) --- */
.kv-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.kv-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.kv-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease, transform 1s ease;
  transform: scale(1.02);
  z-index: 1;
}

.kv-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.kv-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kv-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 40, 80, 0.75) 0%,
    rgba(0, 77, 153, 0.55) 40%,
    rgba(0, 120, 180, 0.40) 100%
  );
}

.kv-slide-bg-1 {
  background-image: url('../images/kv-bg-1.jpg');
}
.kv-slide-bg-2 {
  background-image: url('../images/kv-bg-2.jpg');
}
.kv-slide-bg-3 {
  background-image: url('../images/kv-bg-3.jpg');
}
.kv-slide-bg-4 {
  background-image: url('../images/kv-bg-4.jpg');
}

.kv-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.7) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4) 1.5px, transparent 1.5px);
  background-size: 60px 60px, 90px 90px, 120px 120px;
  pointer-events: none;
}

.kv-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.kv-glow-1 { right: -10%; top: 10%; background: #00D4FF; }
.kv-glow-2 { left: 5%; bottom: 5%; background: #FFFFFF; }
.kv-glow-3 { right: 15%; bottom: -5%; background: #66E0FF; }

.kv-content {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  width: 100%;
}

.kv-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.78rem;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(12px);
  letter-spacing: 0.5px;
}

.kv-badge .dot {
  width: 6px;
  height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: kvPulse 2s infinite ease-in-out;
}

@keyframes kvPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.kv-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-md);
  max-width: 640px;
  letter-spacing: -0.5px;
}

.kv-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin-bottom: var(--space-xl);
}

.kv-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.kv-stats-row {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.18);
}

.kv-stat-item {
  text-align: left;
}

.kv-stat-num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.kv-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-xs);
}

/* KV Feature List (for product/rd slides) */
.kv-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 480px;
  margin-top: var(--space-md);
}

.kv-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
  cursor: default;
}

.kv-feature-item:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

.kv-feature-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kv-feature-icon svg {
  width: 18px;
  height: 18px;
}

.kv-feature-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
}

.kv-feature-text strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 1px;
  font-size: 0.84rem;
}

/* KV Slider Controls */
.kv-controls {
  position: absolute;
  bottom: var(--space-2xl);
  right: var(--space-2xl);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.kv-dots {
  display: flex;
  gap: var(--space-sm);
}

.kv-dot {
  width: 32px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  padding: 0;
}

.kv-dot:hover {
  background: rgba(255,255,255,0.45);
}

.kv-dot.active {
  background: var(--white);
  width: 48px;
}

.kv-arrows {
  display: flex;
  gap: var(--space-xs);
}

.kv-arrow {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.kv-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.05);
}

.kv-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,0.4);
  z-index: 10;
  transition: width linear;
  will-change: width;
}

/* Scroll indicator */
.kv-scroll-hint {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  animation: kvScrollHint 2.5s infinite ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.kv-scroll-hint:hover { color: rgba(255,255,255,0.8); }

.kv-scroll-line {
  width: 1px;
  height: 36px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}

.kv-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: kvScrollDot 2s infinite ease-in-out;
}

@keyframes kvScrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes kvScrollDot {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,102,179,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,102,179,0.4);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  color: var(--primary);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.92rem;
}

.btn-icon {
  font-size: 0.85rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  height: 200px;
  background: var(--accent-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img .placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.6;
}

.card-body {
  padding: var(--space-md);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-warm);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* Disease cards: 3 columns x 2 rows, equal square blocks */
/* Solutions: left-right layout — text left, grid right */
.solutions-layout {
  display: flex;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.solutions-intro {
  flex: 0 0 340px;
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  padding-top: var(--space-sm);
}

.solutions-intro h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.solutions-intro p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.solutions-intro .accent-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.disease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  flex: 1;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

/* --- Feature/Highlight Blocks --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-item {
  padding: var(--space-xl);
  background: var(--off-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
}

.feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-warm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Disease Category Cards --- */
.disease-card,
a.disease-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.disease-card:hover,
a.disease-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.disease-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.disease-card-icon svg {
  width: 24px;
  height: 24px;
}

.disease-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.disease-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.disease-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  align-self: flex-start;
  transition: all var(--transition-fast);
}

.disease-card:hover .card-arrow {
  transform: translateX(4px);
}

/* Disease card color variants (dark/light alternating) */
.disease-card-dark,
a.disease-card-dark {
  background: #0066B3;
  border-color: #0066B3;
}
.disease-card-dark .disease-card-icon,
.disease-card-light .disease-card-icon {
  width: 72px;
  height: 72px;
  background: transparent !important;
}
.disease-card-dark .disease-card-icon svg,
.disease-card-light .disease-card-icon svg {
  width: 64px;
  height: 64px;
}
.disease-card-dark h3,
.disease-card-dark .product-count,
.disease-card-dark .card-arrow { color: #fff; }
.disease-card-dark p { color: rgba(255,255,255,0.9); }
.disease-card-dark:hover,
a.disease-card-dark:hover {
  background: #005a9e;
  border-color: #005a9e;
  box-shadow: 0 12px 32px rgba(0,102,179,0.25);
}
.disease-card-light,
a.disease-card-light {
  background: var(--white);
  border-color: var(--light-gray);
}
.disease-card-light h3 { color: var(--text-primary); }
.disease-card-light p { color: var(--text-secondary); }
.disease-card-light .product-count,
.disease-card-light .card-arrow { color: #0066B3; }
.disease-card-light:hover,
a.disease-card-light:hover {
  border-color: #0066B3;
  box-shadow: 0 12px 32px rgba(0,102,179,0.15);
}
.disease-card-light:hover .card-arrow { color: #005a9e; }

/* --- Global Cooperation Card Color Gradient (3 cards) --- */
.coop-card-dark,
a.coop-card-dark {
  background: #0066B3;
  border-color: #0066B3;
}
.coop-card-dark .disease-card-icon svg,
.coop-card-dark h3,
.coop-card-dark p,
.coop-card-dark .product-count,
.coop-card-dark .card-arrow { color: #fff; }
.coop-card-dark p { color: rgba(255,255,255,0.9); }
.coop-card-dark:hover,
a.coop-card-dark:hover {
  background: #005a9e;
  border-color: #005a9e;
  box-shadow: 0 12px 32px rgba(0,102,179,0.25);
}

.coop-card-mid,
a.coop-card-mid {
  background: #4A9FD4;
  border-color: #4A9FD4;
}
.coop-card-mid .disease-card-icon svg,
.coop-card-mid h3,
.coop-card-mid p,
.coop-card-mid .product-count,
.coop-card-mid .card-arrow { color: #fff; }
.coop-card-mid p { color: rgba(255,255,255,0.9); }
.coop-card-mid:hover,
a.coop-card-mid:hover {
  background: #3A8CC3;
  border-color: #3A8CC3;
  box-shadow: 0 12px 32px rgba(74,159,212,0.25);
}

.coop-card-light,
a.coop-card-light {
  background: #E6F4FA;
  border-color: #C2E3F2;
}
.coop-card-light .disease-card-icon svg,
.coop-card-light h3 { color: #0066B3; }
.coop-card-light p { color: #4A6572; }
.coop-card-light .product-count,
.coop-card-light .card-arrow { color: #0066B3; }
.coop-card-light:hover,
a.coop-card-light:hover {
  background: #D6EDF8;
  border-color: #0066B3;
  box-shadow: 0 12px 32px rgba(0,102,179,0.15);
}
.coop-card-light:hover .card-arrow { color: #005a9e; }
.disease-card .product-count {
  font-size: 0.85rem;
  font-weight: 500;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
  padding-top: var(--space-md);
}
@media (max-width: 768px) {
  .disease-card-dark .disease-card-icon,
  .disease-card-light .disease-card-icon { width: 60px; height: 60px; }
  .disease-card-dark .disease-card-icon svg,
  .disease-card-light .disease-card-icon svg { width: 52px; height: 52px; }
}
@media (max-width: 480px) {
  .disease-card-dark .disease-card-icon,
  .disease-card-light .disease-card-icon { width: 52px; height: 52px; }
  .disease-card-dark .disease-card-icon svg,
  .disease-card-light .disease-card-icon svg { width: 44px; height: 44px; }
}

/* --- Product Detail Layout --- */
.product-hero {
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  min-height: 260px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.product-hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  z-index: 2;
}

.product-hero h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.product-hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 520px;
}

.product-list-section {
  padding: var(--space-3xl) 0;
}

.product-item,
a.product-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.product-item:hover,
a.product-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.product-img-placeholder {
  width: 220px;
  height: 160px;
  background: var(--accent-warm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.5;
}

.product-img-placeholder svg {
  width: 40px;
  height: 40px;
}

.product-item-info h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.product-item-info .product-subtitle {
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.product-item-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.product-specs {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

.product-spec {
  padding: var(--space-xs) var(--space-sm);
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.product-spec strong {
  color: var(--text-primary);
  margin-right: var(--space-xs);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding: var(--space-2xl) 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light-gray);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-content {
  width: calc(50% - 40px);
  padding: var(--space-lg);
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Map / Global Layout --- */
.global-map-section {
  position: relative;
  padding: var(--space-4xl) 0;
  background: var(--off-white);
}

.map-legend {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.office-card {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}

.office-card h4 {
  margin-bottom: var(--space-sm);
}

.office-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Section Titles --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: var(--mid-gray);
}

/* --- News List --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.news-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-normal);
}

.news-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.news-img-placeholder {
  width: 240px;
  height: 160px;
  background: var(--accent-warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.5;
  font-size: 1.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.news-tag {
  padding: 2px 10px;
  background: var(--accent-warm);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.news-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Team Card --- */
.team-card {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--light-gray);
  transition: all var(--transition-normal);
}

.team-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--accent-warm);
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 600;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.team-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== CEO Card - Refined Left-Right Split ===== */
.ceo-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
  padding: var(--space-2xl);
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  box-shadow: 0 4px 24px rgba(0, 102, 179, 0.06);
  transition: all 0.3s ease;
}

.ceo-card:hover {
  box-shadow: 0 8px 40px rgba(0, 102, 179, 0.12);
  border-color: var(--primary-light);
}

.ceo-card-left {
  text-align: center;
  position: relative;
}

.ceo-avatar-wrapper {
  width: 200px;
  height: 240px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 102, 179, 0.2);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 3px;
}

.ceo-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.ceo-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.ceo-title-en {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-md);
  letter-spacing: 0.3px;
}

.ceo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--accent-warm);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
  border: 1px solid rgba(0, 102, 179, 0.12);
}

.ceo-card-right {
  padding-top: var(--space-md);
}

.ceo-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
  text-align: justify;
}

.ceo-bio:last-of-type {
  margin-bottom: var(--space-xl);
}

.ceo-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.ceo-info-card {
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: all 0.2s ease;
}

.ceo-info-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 2px 12px rgba(0, 102, 179, 0.08);
}

.ceo-info-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ceo-info-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== Team Grid - Unified Member Cards ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* Center the last row when items don't fill the grid */
.team-grid::after {
  content: none;
}

/* Team page uses wider container */
.team-grid-section .container {
  max-width: 1200px;
}

.team-member-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: left;
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 32px rgba(0, 102, 179, 0.1);
  transform: translateY(-4px);
}

.team-member-card:hover::before {
  opacity: 1;
}

.team-member-photo-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: var(--off-white);
}

.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-member-card:hover .team-member-photo {
  transform: scale(1.03);
}

.team-member-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.team-member-role {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-member-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.team-member-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.tm-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent-warm);
  border-radius: var(--radius-md);
}

.tm-highlight-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 1px;
}

.tm-highlight-icon svg {
  width: 100%;
  height: 100%;
}

.team-member-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.team-tag {
  padding: 4px 10px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 500;
  border: 1px solid rgba(0, 102, 179, 0.2);
  transition: all 0.2s ease;
}

.team-tag:hover {
  background: var(--accent-warm);
  border-color: var(--primary-light);
}

/* ===== Team v2 - Clean Large Cards ===== */
.team-v2-section {
  background: var(--off-white);
}

.team-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.team-v2-card {
  background: #EEF5FC;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.team-v2-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.team-v2-card-half {
  grid-column: span 2;
}

.team-v2-card-wide {
  grid-column: 1 / -1;
}

.team-v2-card-center {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 480px;
  width: 100%;
}

.team-v2-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.team-v2-card-half .team-v2-header {
  grid-template-columns: 160px 1fr;
  gap: var(--space-xl);
  text-align: left;
  align-items: center;
}

.team-v2-card-wide .team-v2-header {
  grid-template-columns: 180px 1fr;
  gap: var(--space-xl);
  text-align: left;
  align-items: center;
}

.team-v2-photo-wrap {
  width: 140px;
  height: 175px;
  background: var(--primary);
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  margin: 0 auto;
}

.team-v2-card-half .team-v2-photo-wrap {
  width: 160px;
  height: 200px;
  margin: 0;
}

.team-v2-card-wide .team-v2-photo-wrap {
  width: 180px;
  height: 225px;
  margin: 0;
}

.team-v2-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: translate(-8px, -8px);
  position: relative;
  z-index: 1;
  background: var(--off-white);
}

.team-v2-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-v2-name {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.2;
  margin: 0;
}

.team-v2-card-half .team-v2-name,
.team-v2-card-wide .team-v2-name {
  font-size: 1.6rem;
}

.team-v2-name-en {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.3;
  margin: 0;
}

.team-v2-role {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: var(--space-sm);
  line-height: 1.4;
}

.team-v2-role-en {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.team-v2-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.team-v2-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-v2-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.65;
}

.team-v2-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 1em;
  background: var(--primary);
  border-radius: 2px;
}

.team-v2-list li:last-child {
  margin-bottom: 0;
}

/* --- Team v2 Accordion --- */
.team-v2-card {
  position: relative;
  cursor: pointer;
}

.team-v2-card .team-v2-toggle,
.team-v2-card .team-v2-header {
  cursor: pointer;
}

.team-v2-toggle {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.team-v2-toggle svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  transform: rotate(0deg);
  transition: transform 0.4s ease, color 0.3s ease;
  pointer-events: none;
}

.team-v2-card.active .team-v2-toggle {
  background: var(--primary);
  border-color: var(--primary);
}

.team-v2-card.active .team-v2-toggle svg {
  color: var(--white);
  transform: rotate(180deg);
}

.team-v2-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.team-v2-card.active .team-v2-body {
  max-height: 900px;
  opacity: 1;
  margin-top: var(--space-xl);
}

.team-v2-list li {
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.team-v2-card.active .team-v2-list li {
  transform: translateY(0);
  opacity: 1;
}

.team-v2-card.active .team-v2-list li:nth-child(1) { transition-delay: 0.05s; }
.team-v2-card.active .team-v2-list li:nth-child(2) { transition-delay: 0.1s; }
.team-v2-card.active .team-v2-list li:nth-child(3) { transition-delay: 0.15s; }
.team-v2-card.active .team-v2-list li:nth-child(4) { transition-delay: 0.2s; }
.team-v2-card.active .team-v2-list li:nth-child(5) { transition-delay: 0.25s; }
.team-v2-card.active .team-v2-list li:nth-child(6) { transition-delay: 0.3s; }
.team-v2-card.active .team-v2-list li:nth-child(7) { transition-delay: 0.35s; }
.team-v2-card.active .team-v2-list li:nth-child(8) { transition-delay: 0.4s; }

/* --- Quality Badge --- */
.quality-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--accent-warm);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.quality-badge svg {
  width: 18px;
  height: 18px;
}

/* --- Solution Overview (Compact) --- */
.solution-section {
  padding: var(--space-3xl) 0;
}

.solution-overview {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.solution-overview-text {
  background: var(--off-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  margin-bottom: var(--space-xl);
}

.solution-overview-text p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.solution-overview-text p:last-child {
  margin-bottom: 0;
}

.solution-overview-badges {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.solution-overview-features {
  margin-top: var(--space-xl);
}

/* --- Footer --- */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 240px repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.footer-brand .wechat-qrcode,
.footer-wechat img {
  width: 80px !important;
  height: 80px !important;
  margin-top: var(--space-md);
  border-radius: var(--radius-sm) !important;
  padding: 3px !important;
  background: var(--white) !important;
  display: block;
}

.footer-brand .wechat-caption,
.footer-wechat span {
  font-size: 0.7rem !important;
  color: rgba(255,255,255,0.4) !important;
  margin-top: var(--space-xs);
  display: block;
  line-height: 1.4;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* --- Page Banner (Sub pages) --- */
.page-banner {
  padding-top: var(--header-height);
  min-height: 280px;
  background-image: url('../images/page-banner-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 30, 60, 0.82) 0%,
    rgba(0, 60, 110, 0.68) 50%,
    rgba(0, 100, 160, 0.55) 100%
  );
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  background-size: 30px 30px;
}

.page-banner-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.1rem;
  margin-bottom: var(--space-md);
}

.page-banner-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 600px;
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: var(--space-xs);
  background: var(--off-white);
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2xl);
}

.tab-btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* --- Pipeline Table --- */
.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pipeline-table th {
  padding: var(--space-md) var(--space-lg);
  background: var(--primary);
  color: var(--white);
  text-align: left;
  font-weight: 500;
}

.pipeline-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--light-gray);
}

.pipeline-table tr:hover td {
  background: var(--accent-warm);
}

.pipeline-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.pipeline-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pipeline-status.research {
  background: #E3F2FD;
  color: #1565C0;
}
.pipeline-status.research::before {
  background: #1565C0;
}

.pipeline-status.development {
  background: #FFF8E1;
  color: #E65100;
}
.pipeline-status.development::before {
  background: #FF8F00;
}

.pipeline-status.clinical {
  background: #E8F5E9;
  color: #2E7D32;
}
.pipeline-status.clinical::before {
  background: #43A047;
}

.pipeline-status.approved {
  background: #FCE4EC;
  color: #AD1457;
}
.pipeline-status.approved::before {
  background: #D81B60;
}

/* --- Contact Info --- */
.contact-card {
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
}

.contact-card h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

/* Stat cards with alternating dark/light backgrounds */
.stat-card:nth-child(odd) {
  background: #0066B3;
  border-color: #0066B3;
}
.stat-card:nth-child(odd) .stat-number {
  color: #fff;
}
.stat-card:nth-child(odd) .stat-label {
  color: rgba(255,255,255,0.9);
}
.stat-card:nth-child(odd):hover {
  background: #005a9e;
  border-color: #005a9e;
  box-shadow: 0 8px 24px rgba(0,102,179,0.25);
}

.stat-card:nth-child(even) {
  background: #E6F4FA;
  border-color: #C2E3F2;
}
.stat-card:nth-child(even) .stat-number {
  color: #0066B3;
}
.stat-card:nth-child(even) .stat-label {
  color: var(--text-secondary);
}
.stat-card:nth-child(even):hover {
  background: #D6EDF8;
  border-color: #0066B3;
  box-shadow: 0 8px 24px rgba(0,102,179,0.15);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-warm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-detail-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--space-xs);
}

/* --- Form --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,179,0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Animation Keyframes --- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bannerRevealLeftToRight {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Banner text: left-to-right reveal */
.page-banner-inner.animate-in {
  animation: bannerRevealLeftToRight 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* --- Responsive --- */

/* === Large Tablet / Small Desktop (1024px) === */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.3rem; }

  .section { padding: var(--space-3xl) 0; }
  .section-lg { padding: var(--space-4xl) 0; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .disease-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }

  .solutions-layout {
    flex-direction: column;
    gap: var(--space-xl);
  }
  .solutions-intro {
    flex: none;
    position: static;
    text-align: center;
  }
  .solutions-intro h2 { font-size: 1.7rem; }
  .solutions-intro .accent-line { margin: 0 auto; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .product-item { grid-template-columns: 200px 1fr; }
  .news-item { grid-template-columns: 180px 1fr; }
  .product-img-placeholder { width: 200px; height: 160px; }

  .section-header h2 { font-size: 1.6rem; }

  .page-banner { min-height: 240px; }
  .page-banner h1 { font-size: 1.8rem; }
  .page-banner-desc { font-size: 0.92rem; }

  .kv-title { font-size: 2.4rem; }
  .kv-desc { font-size: 1rem; }
  .kv-stats-row { gap: var(--space-2xl); }
  .kv-stat-num { font-size: 1.9rem; }
  .kv-feature-list { grid-template-columns: 1fr; max-width: 400px; }
  .kv-controls { bottom: var(--space-xl); right: var(--space-xl); }

  .product-hero h1 { font-size: 1.7rem; }
  .product-hero-desc { font-size: 0.92rem; }

  /* Team Page - CEO Card */
  .ceo-card { grid-template-columns: 250px 1fr; }
  .ceo-avatar-wrapper { width: 170px; height: 200px; }

  /* Team Page - Team Grid */
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-member-photo-wrap { height: 240px; }

  /* Team v2 */
  .team-v2-grid { gap: var(--space-lg); }
  .team-v2-card { padding: var(--space-xl); }
  .team-v2-header { grid-template-columns: 1fr; gap: var(--space-md); text-align: center; }
  .team-v2-card-half .team-v2-header { grid-template-columns: 120px 1fr; gap: var(--space-lg); text-align: left; align-items: center; }
  .team-v2-card-wide .team-v2-header { grid-template-columns: 140px 1fr; }
  .team-v2-photo-wrap { width: 110px; height: 140px; margin: 0 auto; }
  .team-v2-card-half .team-v2-photo-wrap { width: 120px; height: 150px; margin: 0; }
  .team-v2-card-wide .team-v2-photo-wrap { width: 140px; height: 175px; }
  .team-v2-name { font-size: 1.2rem; }
  .team-v2-card-half .team-v2-name,
  .team-v2-card-wide .team-v2-name { font-size: 1.35rem; }
  .team-v2-name-en { font-size: 0.9rem; }
  .team-v2-role { font-size: 0.9rem; }
  .team-v2-card-center { max-width: 420px; }
}

/* === Tablet / iPad (768px) === */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 48px;
    --space-4xl: 64px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.05rem; }

  .section { padding: var(--space-2xl) 0; }
  .section-lg { padding: var(--space-3xl) 0; }
  .section-sm { padding: var(--space-xl) 0; }

  /* --- Mobile Navigation --- */
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--space-lg);
    gap: var(--space-xs);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open .nav-link {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    border-bottom: 1px solid var(--light-gray);
  }

  .main-nav.open .nav-item {
    width: 100%;
  }

  .main-nav.open .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: var(--space-xl);
    min-width: 100%;
    border-radius: 0;
  }

  .main-nav.open .lang-toggle {
    margin-top: var(--space-md);
    justify-content: center;
  }

  .header-inner {
    padding: 0 var(--space-md);
  }

  .logo-img {
    height: 32px;
  }

  /* --- Grid Layouts --- */
  .grid-2 { grid-template-columns: 1fr; gap: var(--space-lg); }
  .grid-3 { grid-template-columns: 1fr; gap: var(--space-lg); }
  .disease-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .feature-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

  /* --- Solutions --- */
  .solutions-intro { text-align: center; }
  .solutions-intro h2 { font-size: 1.5rem; }
  .solutions-intro p { font-size: 0.9rem; }
  .solutions-intro .accent-line { margin: 0 auto; }

  /* --- KV Slider --- */
  .kv-slider {
    height: calc(100vh - 64px);
    min-height: 480px;
  }
  .kv-content {
    padding: var(--space-xl) var(--space-md);
  }
  .kv-title { font-size: 1.8rem; }
  .kv-desc { font-size: 0.95rem; line-height: 1.7; }
  .kv-badge { font-size: 0.78rem; padding: var(--space-xs) var(--space-sm); }
  .kv-actions { flex-direction: column; gap: var(--space-sm); }
  .kv-actions .btn { width: 100%; }
  .kv-stats-row {
    flex-direction: row;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    flex-wrap: wrap;
  }
  .kv-stat-item { flex: 1 1 40%; min-width: 40%; }
  .kv-stat-num { font-size: 1.8rem; }
  .kv-stat-label { font-size: 0.78rem; }
  .kv-feature-list { max-width: 100%; gap: var(--space-sm); }
  .kv-feature-item { padding: var(--space-sm) var(--space-md); }
  .kv-feature-text { font-size: 0.82rem; }
  .kv-controls {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
    justify-content: space-between;
  }
  .kv-dots { order: -1; }
  .kv-arrows { display: none; }
  .kv-scroll-hint { display: none; }

  /* --- Cards & Feature Items --- */
  .feature-item { padding: var(--space-lg); }
  .disease-card { padding: var(--space-lg); }
  .disease-card h3 { font-size: 1.05rem; }
  .disease-card p { font-size: 0.85rem; }

  /* --- Product Detail --- */
  .product-item {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }
  .product-img-placeholder { width: 100%; height: 160px; }
  .product-hero { min-height: 240px; }
  .product-hero h1 { font-size: 1.6rem; }
  .product-hero-desc { font-size: 0.9rem; }
  .product-hero-inner { padding: var(--space-xl) var(--space-md); }
  .product-specs { gap: var(--space-sm); }

  .solution-overview-text { padding: var(--space-lg); }
  .solution-overview-text p { font-size: 0.95rem; line-height: 1.7; }

  /* --- News --- */
  .news-item { grid-template-columns: 1fr; gap: var(--space-md); }
  .news-img-placeholder { width: 100%; height: 140px; }

  /* --- Pipeline Table: horizontal scroll wrapper --- */
  .pipeline-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--space-md));
    padding: 0 var(--space-md);
  }
  .pipeline-table { min-width: 600px; }
  .pipeline-table th,
  .pipeline-table td { padding: var(--space-sm) var(--space-md); font-size: 0.82rem; }

  /* --- Page Banner --- */
  .page-banner { min-height: 200px; }
  .page-banner h1 { font-size: 1.4rem; }
  .page-banner-desc { font-size: 0.88rem; }
  .page-banner-inner { padding: var(--space-lg) var(--space-md); }

  /* --- Timeline --- */
  .timeline-line { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px;
  }
  .timeline-dot { left: 20px; }

  /* --- Contact --- */
  .contact-card { padding: var(--space-lg); }
  .contact-detail { gap: var(--space-sm); }
  .contact-detail-icon { width: 36px; height: 36px; }

  /* --- Footer --- */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h5 { font-size: 0.9rem; }

  /* Team Page - CEO Card */
  .ceo-card { grid-template-columns: 1fr; text-align: center; }
  .ceo-card-left { margin-bottom: var(--space-xl); }
  .ceo-avatar-wrapper { width: 160px; height: 190px; }
  .ceo-info-cards { grid-template-columns: 1fr; gap: var(--space-sm); }

  /* CEO Highlight Items */
  .ceo-highlight-item { flex-direction: column; text-align: center; align-items: center; padding: var(--space-md); }
  .ceo-highlight-icon { margin-bottom: var(--space-sm); }

  /* Team Page - Team Grid */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-member-photo-wrap { height: 220px; }

  /* Team v2 */
  .team-v2-grid { grid-template-columns: repeat(2, 1fr); }
  .team-v2-card-half { grid-column: span 2; }
  .team-v2-card-wide,
  .team-v2-card-center { grid-column: span 2; max-width: 100%; }
  .team-v2-header { grid-template-columns: 120px 1fr; gap: var(--space-md); text-align: left; align-items: center; }
  .team-v2-card-half .team-v2-header { grid-template-columns: 120px 1fr; }
  .team-v2-card-wide .team-v2-header { grid-template-columns: 150px 1fr; }
  .team-v2-photo-wrap { width: 120px; height: 150px; margin: 0; }
  .team-v2-card-half .team-v2-photo-wrap { width: 120px; height: 150px; }
  .team-v2-card-wide .team-v2-photo-wrap { width: 150px; height: 190px; }
  .team-v2-name { font-size: 1.3rem; }
  .team-v2-card-half .team-v2-name,
  .team-v2-card-wide .team-v2-name { font-size: 1.5rem; }
  .team-v2-name-en { font-size: 0.9rem; }
  .team-v2-role { font-size: 0.9rem; }
  .team-v2-list li { font-size: 0.85rem; }
}

/* === Mobile Phone (480px) === */
@media (max-width: 480px) {
  :root {
    --header-height: 56px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-2xl: 28px;
    --space-3xl: 40px;
    --space-4xl: 56px;
  }

  .container { padding: 0 var(--space-sm); }

  html { font-size: 15px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1rem; }

  .section { padding: var(--space-xl) 0; }
  .section-lg { padding: var(--space-2xl) 0; }

  .logo-img { height: 28px; }

  .header-inner { padding: 0 var(--space-sm); }

  /* --- Grid Layouts --- */
  .grid-2 { gap: var(--space-md); }
  .grid-3 { gap: var(--space-md); }
  .grid-4 { grid-template-columns: 1fr; gap: var(--space-md); }
  .grid-5 { grid-template-columns: 1fr; gap: var(--space-md); }
  .disease-grid { gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-brand { grid-column: 1; }

  /* --- KV Slider --- */
  .kv-slider {
    height: calc(100vh - 56px);
    min-height: 420px;
  }
  .kv-content { padding: var(--space-lg) var(--space-sm); }
  .kv-title { font-size: 1.4rem; }
  .kv-desc { font-size: 0.88rem; }
  .kv-badge { font-size: 0.72rem; }
  .kv-stats-row {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .kv-stat-item { flex: none; text-align: center; }
  .kv-stat-num { font-size: 1.5rem; }
  .kv-stat-label { font-size: 0.72rem; }
  .kv-feature-list { gap: 6px; }
  .kv-feature-item {
    padding: var(--space-sm) 10px;
    border-radius: var(--radius-sm);
  }
  .kv-feature-icon { width: 28px; height: 28px; }
  .kv-feature-icon svg { width: 16px; height: 16px; }
  .kv-feature-text { font-size: 0.76rem; }
  .kv-feature-text strong { font-size: 0.8rem; }

  /* --- Buttons --- */
  .btn { padding: 10px 22px; font-size: 0.85rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
  .btn-sm { padding: 6px 14px; font-size: 0.75rem; }

  /* --- Feature Items --- */
  .feature-item { padding: var(--space-md); }
  .feature-icon { width: 44px; height: 44px; }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature-title { font-size: 1rem; }
  .feature-desc { font-size: 0.85rem; }

  /* --- Disease Cards --- */
  .disease-card { padding: var(--space-md); }
  .disease-card-icon { width: 44px; height: 44px; }
  .disease-card-icon svg { width: 22px; height: 22px; }

  /* --- Product Detail --- */
  .product-hero { min-height: 200px; }
  .product-hero h1 { font-size: 1.3rem; }
  .product-hero-desc { font-size: 0.85rem; }
  .product-item { padding: var(--space-md); }
  .product-img-placeholder { height: 130px; }
  .product-img-placeholder svg { width: 36px; height: 36px; }
  .product-item-info h3 { font-size: 1.1rem; }
  .product-spec { font-size: 0.75rem; }

  .solution-overview { padding: 0 var(--space-md); }
  .solution-overview-text { padding: var(--space-md); }
  .solution-overview-text p { font-size: 0.9rem; line-height: 1.65; }
  .solution-overview-badges { gap: var(--space-md); }

  /* --- News --- */
  .news-img-placeholder { height: 120px; }

  /* --- Page Banner --- */
  .page-banner { min-height: 160px; }
  .page-banner h1 { font-size: 1.2rem; }
  .page-banner-desc { font-size: 0.82rem; }
  .page-banner-inner { padding: var(--space-md) var(--space-sm); }

  /* --- Section Header --- */
  .section-header h2 { font-size: 1.2rem; }
  .section-header p { font-size: 0.85rem; }

  /* --- Timeline --- */
  .timeline-year { font-size: 1.2rem; }

  /* --- Contact Cards --- */
  .contact-card { padding: var(--space-md); }
  .contact-detail-icon { width: 32px; height: 32px; }
  .contact-detail-icon svg { width: 16px; height: 16px; }

  /* --- Footer --- */
  .site-footer { padding: var(--space-2xl) 0 var(--space-xl); }
  .footer-social { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* --- Tabs --- */
  .tabs { flex-wrap: wrap; }
  .tab-btn { padding: var(--space-xs) var(--space-sm); font-size: 0.82rem; }

  /* --- Office Card --- */
  .office-card { padding: var(--space-md); }

  /* Team Page - CEO Card */
  .ceo-card { padding: var(--space-lg); }
  .ceo-card-left { margin-bottom: var(--space-lg); }
  .ceo-avatar-wrapper { width: 140px; height: 170px; }
  .ceo-name { font-size: 1.3rem; }
  .ceo-info-cards { grid-template-columns: 1fr; }
  .ceo-highlight-item { padding: var(--space-sm) var(--space-md); }
  .ceo-highlight-icon { width: 36px; height: 36px; font-size: 1.2rem; }
  .ceo-highlight-title { font-size: 0.92rem; }

  /* Team Page - Team Grid */
  .team-grid { grid-template-columns: 1fr; }
  .team-member-photo-wrap { height: 320px; }
  .team-member-name { font-size: 1.05rem; }
  .tm-highlight { padding: 6px 10px; font-size: 0.8rem; }
  .tm-highlight-icon { display: none; }

  /* Team v2 */
  .team-v2-card { padding: var(--space-lg); }
  .team-v2-grid { grid-template-columns: 1fr; }
  .team-v2-card-half,
  .team-v2-card-wide,
  .team-v2-card-center { grid-column: 1; }
  .team-v2-header { grid-template-columns: 1fr; text-align: center; }
  .team-v2-photo-wrap { width: 140px; height: 175px; margin: 0 auto; }
  .team-v2-card-half .team-v2-photo-wrap,
  .team-v2-card-wide .team-v2-photo-wrap { width: 140px; height: 175px; }
  .team-v2-name { font-size: 1.25rem; }
  .team-v2-card-half .team-v2-name,
  .team-v2-card-wide .team-v2-name { font-size: 1.25rem; }
  .team-v2-name-en { font-size: 0.9rem; }
  .team-v2-role { font-size: 0.9rem; margin-top: var(--space-xs); }
  .team-v2-list li { font-size: 0.82rem; padding-left: 14px; }
  .team-v2-list li::before { width: 3px; }
}

/* ============================================
   AI FAQ Chat Module
   ============================================ */

.ai-faq-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,102,179,0.35);
  transition: all 0.3s ease;
  border: none;
  outline: none;
  user-select: none;
  touch-action: none;
}

.ai-faq-btn:active {
  cursor: grabbing;
}

.ai-faq-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,102,179,0.45);
}

.ai-faq-btn.open {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.ai-faq-btn svg {
  width: 24px;
  height: 24px;
}

/* Pulse animation */
.ai-faq-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: var(--primary);
  opacity: 0;
  animation: aiFaqPulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes aiFaqPulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

.ai-faq-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  max-height: 460px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.ai-faq-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.ai-faq-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: var(--space-md) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.ai-faq-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-faq-avatar svg {
  width: 18px;
  height: 18px;
}

.ai-faq-header-info {
  flex: 1;
}

.ai-faq-header-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.ai-faq-header-status {
  font-size: 0.7rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-faq-header-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4CAF50;
  border-radius: 50%;
  animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ai-faq-close {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--white);
  transition: background 0.2s;
  flex-shrink: 0;
}

.ai-faq-close:hover {
  background: rgba(255,255,255,0.3);
}

.ai-faq-close svg {
  width: 16px;
  height: 16px;
}

.ai-faq-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 160px;
  max-height: 280px;
}

.ai-faq-msg {
  max-width: 90%;
  animation: msgFadeIn 0.4s ease;
}

@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-faq-msg.bot {
  align-self: flex-start;
}

.ai-faq-msg.user {
  align-self: flex-end;
}

.ai-faq-msg-bubble {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.5;
}

.ai-faq-msg.bot .ai-faq-msg-bubble {
  background: var(--off-white);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.ai-faq-msg.user .ai-faq-msg-bubble {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.ai-faq-msg-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.ai-faq-msg-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 5px 8px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s;
}

.ai-faq-msg-link:hover {
  background: var(--accent-warm);
  border-color: var(--primary);
}

.ai-faq-msg-link svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.ai-faq-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  max-width: 90%;
}

.ai-faq-typing-dots {
  display: flex;
  gap: 4px;
}

.ai-faq-typing-dot {
  width: 5px;
  height: 5px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.ai-faq-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-faq-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.ai-faq-categories {
  padding: var(--space-xs) var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-top: 1px solid var(--light-gray);
  flex-shrink: 0;
  justify-content: center;
}

.ai-faq-category {
  padding: 3px 6px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.ai-faq-category:hover,
.ai-faq-category.active {
  background: var(--accent-warm);
  border-color: var(--primary);
  color: var(--primary);
}

.ai-faq-input-area {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.ai-faq-input {
  flex: 1;
  padding: 6px 10px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.ai-faq-input:focus {
  border-color: var(--primary);
}

.ai-faq-input::placeholder {
  color: var(--text-secondary);
}

.ai-faq-send {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  flex-shrink: 0;
}

.ai-faq-send:hover {
  background: var(--primary-dark);
}

.ai-faq-send svg {
  width: 16px;
  height: 16px;
}

.ai-faq-quick-questions {
  padding: var(--space-xs) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.ai-faq-quick-q {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 10px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.ai-faq-quick-q:hover {
  background: var(--accent-warm);
  border-color: var(--primary);
  color: var(--primary);
}

.ai-faq-quick-q svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--primary);
}

/* Adjust back-to-top position when FAQ button is visible */
.back-to-top {
  bottom: 82px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .ai-faq-panel {
    width: calc(100vw - 16px);
    right: 8px;
    bottom: 8px;
    max-height: calc(100vh - 80px);
  }
  .ai-faq-btn {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
  }
  .ai-faq-btn svg {
    width: 22px;
    height: 22px;
  }
  .back-to-top {
    bottom: 72px !important;
  }
}

/* ============================================
   HR Chatbot "小Lee" — 智能招聘助手
   ============================================ */

.hr-btn {
  position: fixed;
  top: calc(55% + 128px);
  right: 24px;
  height: 42px;
  min-width: 112px;
  padding: 0 16px 0 12px;
  background: linear-gradient(135deg, #E85D3A, #F09819);
  color: var(--white);
  border-radius: 21px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: grab;
  z-index: 9998;
  box-shadow: 0 4px 16px rgba(232,93,58,0.35);
  transition: all 0.3s ease;
  border: none;
  outline: none;
  user-select: none;
  touch-action: none;
}

.hr-btn:active { cursor: grabbing; }

.hr-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(232,93,58,0.45);
}

.hr-btn.open {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.hr-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hr-btn-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1;
}

/* Unread badge */
.hr-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 16px;
  height: 16px;
  background: #FF4444;
  border-radius: var(--radius-full);
  border: 2px solid #fff;
  font-size: 0.6rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hr-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* Pulse animation */
.hr-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: linear-gradient(135deg, #E85D3A, #F09819);
  opacity: 0;
  animation: hrPulse 2.5s infinite;
}

@keyframes hrPulse {
  0% { transform: scale(1); opacity: 0.4; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Chat panel */
.hr-panel {
  position: fixed;
  top: calc(55% - 81px);
  right: 164px;
  width: 320px;
  height: 460px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9998;
  overflow: hidden;
}

.hr-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Header */
.hr-header {
  background: linear-gradient(135deg, #E85D3A, #F09819);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.hr-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hr-avatar svg {
  width: 18px;
  height: 18px;
}

.hr-header-info {
  flex: 1;
  min-width: 0;
}

.hr-header-title {
  font-weight: 600;
  font-size: 0.85rem;
}

.hr-header-status {
  font-size: 0.7rem;
  opacity: 0.85;
}

.hr-close {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--white);
  transition: background 0.2s;
  flex-shrink: 0;
}

.hr-close:hover { background: rgba(255,255,255,0.3); }
.hr-close svg { width: 14px; height: 14px; }

.hr-reset {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--white);
  transition: background 0.2s;
  flex-shrink: 0;
  margin-left: 4px;
}

.hr-reset:hover { background: rgba(255,255,255,0.3); }
.hr-reset svg { width: 12px; height: 12px; }

/* Messages */
.hr-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 160px;
}

.hr-msg {
  display: flex;
  flex-direction: column;
  animation: hrMsgIn 0.3s ease;
}

@keyframes hrMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hr-msg.bot { align-self: flex-start; max-width: 92%; }
.hr-msg.user { align-self: flex-end; max-width: 75%; }

.hr-msg-bubble {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.6;
}

.hr-msg.bot .hr-msg-bubble {
  background: #FFF3EE;
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.hr-msg.user .hr-msg-bubble {
  background: linear-gradient(135deg, #E85D3A, #F09819);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

/* Job cards */
.hr-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.hr-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  transition: box-shadow 0.2s;
}

.hr-card:hover {
  box-shadow: 0 2px 8px rgba(232,93,58,0.15);
}

.hr-card-dept {
  font-size: 0.68rem;
  color: #E85D3A;
  font-weight: 600;
  margin-bottom: 3px;
}

.hr-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.hr-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.hr-card-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 6px;
}

.hr-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  color: #E85D3A;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.hr-card-link:hover { color: #F09819; }

/* Quick buttons */
.hr-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: var(--space-xs) var(--space-md);
  border-top: 1px solid var(--light-gray);
  flex-shrink: 0;
}

.hr-quick-btn {
  padding: 5px 8px;
  background: #FFF3EE;
  border: 1px solid #F09819;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  color: #E85D3A;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.hr-quick-btn:hover {
  background: #E85D3A;
  color: var(--white);
}

/* Input area */
.hr-input-area {
  display: flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border-top: 1px solid var(--light-gray);
  gap: var(--space-xs);
  flex-shrink: 0;
}

.hr-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.2s;
  background: var(--off-white);
}

.hr-input:focus { border-color: #E85D3A; }

.hr-send {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #E85D3A, #F09819);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.hr-send:hover { opacity: 0.85; }
.hr-send svg { width: 16px; height: 16px; }

/* Typing animation */
.hr-typing {
  align-self: flex-start;
  margin-bottom: var(--space-sm);
}

.hr-typing-dots {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: #FFF3EE;
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
}

.hr-typing-dots span {
  width: 7px;
  height: 7px;
  background: #E85D3A;
  border-radius: var(--radius-full);
  animation: hrDot 1.2s infinite;
}

.hr-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.hr-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes hrDot {
  0%, 80%, 100% { transform: scale(0.4); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* Toast notification */
.hr-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #E85D3A;
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 16px rgba(232,93,58,0.3);
}

.hr-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Job highlight (careers page) */
.hr-highlight {
  animation: hrFlash 0.5s ease 3;
  outline: 2px solid #E85D3A;
  outline-offset: 4px;
}

@keyframes hrFlash {
  0%, 100% { background: var(--white); }
  50% { background: #FFF3EE; }
}

/* ========== HR Chatbot Responsive ========== */
@media (max-width: 1024px) {
  .hr-btn { top: calc(55% + 124px); right: 20px; }
  .hr-panel { top: calc(55% - 65px); right: 150px; width: 300px; height: 420px; }
}

@media (max-width: 768px) {
  .hr-btn { top: calc(55% + 118px); right: 16px; height: 38px; min-width: 104px; padding: 0 13px 0 10px; border-radius: 19px; }
  .hr-btn svg { width: 18px; height: 18px; }
  .hr-btn-label { font-size: 12px; }
  .hr-panel {
    right: 8px;
    bottom: 8px;
    top: auto;
    width: calc(100vw - 16px);
    height: calc(100vh - 80px);
    border-radius: var(--radius-md);
  }
}

@media (max-width: 480px) {
  .hr-btn { top: calc(55% + 110px); right: 12px; height: 34px; min-width: 92px; padding: 0 10px 0 8px; border-radius: 17px; gap: 4px; }
  .hr-btn svg { width: 16px; height: 16px; }
  .hr-btn-label { font-size: 11px; }
  .hr-panel {
    width: calc(100vw - 8px);
    right: 4px;
    bottom: 4px;
    top: auto;
    height: calc(100vh - 60px);
  }
}
/* 遮罩默认不挡点击 */
.your-theme-overlay {
  pointer-events: none !important;
  opacity: 0;
  visibility: hidden;
}
/* 菜单打开时才拦截背景 */
body.menu-open .your-theme-overlay {
  pointer-events: auto !important;
  opacity: 1;
  visibility: visible;
}
/* 确保三条杠永远在最上层且可点 */
.menu-toggle {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  touch-action: manipulation;
}
