/* =============================================
   嘉闻生物 Cavan Biotech - Global Styles
   Primary: #42707f
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #42707f;
  --primary-dark: #2e5260;
  --primary-light: #5a8e9d;
  --primary-xlight: #d0e6eb;
  --accent: #3ab0c5;
  --text-dark: #1a2e35;
  --text-mid: #4a6672;
  --text-light: #7a9aa5;
  --bg-light: #f4f8fa;
  --bg-white: #ffffff;
  --footer-bg: #1c3840;
  --border: #d0e0e5;
  --shadow: 0 4px 24px rgba(66,112,127,0.10);
  --shadow-md: 0 8px 32px rgba(66,112,127,0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --nav-height: 90px;
  --nav-small: 70px;
  --transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Roboto', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Roboto', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p { color: var(--text-mid); line-height: 1.8; }

/* ---------- Layout ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad {
  padding: 80px 0;
}
.section-pad-sm {
  padding: 60px 0;
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-xlight);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-header h2 {
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-mid);
}
.section-header .divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
  background: rgba(12,22,28,0.52);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.05);
}
#navbar.scrolled {
  height: var(--nav-small);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 20px rgba(66,112,127,0.12);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
#navbar.scrolled .nav-logo img {
  height: 36px;
  filter: none;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
  text-shadow: none;
}
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.2);
  text-shadow: none;
}
/* 滚动后变主题色 */
#navbar.scrolled .nav-link {
  color: var(--primary);
  font-weight: 700;
  text-shadow: none;
}
#navbar.scrolled .nav-link:hover {
  color: var(--primary-dark);
  background: var(--primary-xlight);
}
#navbar.scrolled .nav-link.active {
  color: var(--primary-dark);
  background: var(--primary-xlight);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 0.86rem;
  color: var(--text-mid);
  border-radius: 6px;
  transition: var(--transition);
}
.nav-dropdown a:hover {
  background: var(--primary-xlight);
  color: var(--primary);
}

/* ---- Language Switcher ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 3px 6px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  transition: var(--transition);
}
#navbar.scrolled .lang-switcher {
  background: var(--primary-xlight);
}
.lang-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 14px;
  color: rgba(255,255,255,0.8);
  background: transparent;
  transition: var(--transition);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-btn:hover {
  color: #fff;
}
.lang-btn.active {
  color: var(--primary);
  background: #fff;
}
#navbar.scrolled .lang-btn {
  color: var(--primary-light);
}
#navbar.scrolled .lang-btn:hover {
  color: var(--primary);
}
#navbar.scrolled .lang-btn.active {
  color: #fff;
  background: var(--primary);
}
.lang-sep {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  opacity: 1;
  user-select: none;
}
#navbar.scrolled .lang-sep {
  color: var(--primary-light);
  opacity: 0.5;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .nav-toggle span {
  background: var(--primary);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   BANNER / HERO
   ============================================= */
#hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c161c;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,22,28,0.56) 0%, rgba(12,22,28,0.28) 30%, rgba(12,22,28,0.18) 52%, rgba(12,22,28,0.32) 100%),
    linear-gradient(135deg, rgba(58,176,197,0.14) 0%, rgba(58,176,197,0.06) 20%, transparent 48%, rgba(66,112,127,0.18) 78%, rgba(66,112,127,0.14) 100%),
    url("../images/banner.jpg") center/cover no-repeat;
  background-blend-mode: screen, screen, normal;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(66,112,127,0.16), transparent 24%),
              radial-gradient(circle at 85% 20%, rgba(58,176,197,0.16), transparent 16%),
              radial-gradient(circle at 70% 70%, rgba(58,176,197,0.08), transparent 18%),
              radial-gradient(circle at 54% 32%, rgba(255,238,180,0.16), transparent 14%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: floatUp 8s ease-in-out infinite;
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-30px) scale(1.1); opacity: 0.8; }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-text .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.hero-text .tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-shadow: 0 20px 44px rgba(0,0,0,0.35), 0 6px 20px rgba(0,0,0,0.24);
}
.hero-text h1 .highlight {
  color: var(--accent);
  position: relative;
}
.hero-text .slogan {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #d6f5ff;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-shadow: 0 16px 40px rgba(0,0,0,0.36), 0 8px 20px rgba(0,0,0,0.24);
}
.hero-text .slogan-en {
  font-size: 0.9rem;
  color: rgba(214, 245, 255, 0.92);
  margin-bottom: 40px;
  font-style: italic;
  text-shadow: 0 12px 28px rgba(0,0,0,0.28);

}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(58,176,197,0.4);
}
.btn-primary:hover {
  background: #2d9db0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(58,176,197,0.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-solid {
  background: var(--primary);
  color: #fff;
}
.btn-solid:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66,112,127,0.35);
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-device-mock {
  position: relative;
  width: 400px;
  height: 400px;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
}
.hero-circle-1 {
  width: 400px; height: 400px;
  top: 0; left: 0;
  animation: spin 30s linear infinite;
}
.hero-circle-2 {
  width: 300px; height: 300px;
  top: 50px; left: 50px;
  animation: spin 20s linear infinite reverse;
  border-style: dashed;
}
.hero-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.hero-core .icon-dna {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.hero-core .core-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.hero-dots {
  position: absolute;
  inset: 0;
}
.hero-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero stat badges */
.hero-stats {
  position: absolute;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  animation: badgeFloat 4s ease-in-out infinite;
}
.hero-badge:nth-child(2) { animation-delay: 2s; }
.hero-badge .badge-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.hero-badge .badge-label {
  font-size: 0.7rem;
  opacity: 0.75;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   MARKERS / SCIENCE SECTION (FIT/CP/TF)
   ============================================= */
#markers {
  background: var(--bg-light);
}
.markers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.marker-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.marker-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.marker-card:hover::before {
  transform: scaleX(1);
}
.marker-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.marker-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  transition: var(--transition);
}
.marker-card:hover .marker-icon {
  background: var(--primary);
}
.marker-card:hover .marker-icon .icon-text {
  color: #fff;
}
.marker-icon .icon-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  /* font-family: 'Georgia', serif; */
  transition: var(--transition);
}
.marker-abbr {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-xlight);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.marker-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.marker-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.marker-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.marker-link::after {
  content: '→';
  transition: var(--transition);
}
.marker-card:hover .marker-link {
  gap: 10px;
}

/* =============================================
   PRODUCTS
   ============================================= */
#products {
  background: var(--bg-light);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-card-wide { grid-column: 1 / -1 !important; }
.product-card-wide .product-img { min-height: 180px; }
@media (max-width: 768px) {
  .product-card-wide .product-img { flex-direction: column !important; text-align: center; padding: 24px !important; height: auto !important; min-height: 360px; }
  .product-card-wide .product-img > div:first-child { width: 100% !important; height: 200px !important; margin-bottom: 16px; flex-shrink: 1; }
  .product-card-wide .product-img > span:first-child { font-size: 3rem !important; margin-bottom: 8px; }
  .product-card-wide .product-img h3 { font-size: 1.05rem !important; }
  .product-card-wide .product-img p { font-size: 0.82rem !important; }
}

/* 产品图片圆角 */
.product-img img {
  border-radius: 10px;
}
.product-img {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-xlight), #e8f4f7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.product-img::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(66,112,127,0.07);
}
.product-img .product-icon {
  font-size: 5rem;
  filter: drop-shadow(0 8px 16px rgba(66,112,127,0.2));
  z-index: 1;
  position: relative;
}
.product-img .product-img-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}
.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.product-body p {
  font-size: 0.875rem;
  flex: 1;
  margin-bottom: 20px;
}
.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.product-tag {
  font-size: 0.72rem;
  color: var(--primary);
  background: var(--primary-xlight);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.product-card:hover .product-cta {
  gap: 10px;
  color: var(--primary-dark);
}

/* =============================================
   NEWS
   ============================================= */
#news {
  background:  #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.news-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.news-card-img .news-placeholder-icon {
  font-size: 4rem;
  opacity: 0.3;
}
.news-img-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}
.tag-news { background: #e8f4f7; color: var(--primary); }
.tag-event { background: #fff3e0; color: #e67e22; }
.tag-tech { background: #e8f5e9; color: #27ae60; }
.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.news-card-body h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.4;
}
.news-card-body p {
  font-size: 0.86rem;
  flex: 1;
  margin-bottom: 20px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.news-read-more {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  margin-top: auto;
}
.news-card:hover .news-read-more {
  gap: 10px;
}

/* Section More Button */
.section-more {
  text-align: center;
  margin-top: 48px;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
}
.footer-top {
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  gap: 48px;
}
.footer-brand .footer-address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 0.84rem;
}
.footer-brand .footer-address .icon {
  width: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.footer-brand .footer-address p {
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-brand .footer-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand .logo-text {
  display: flex;
  flex-direction: column;
}
.footer-brand .logo-text .cn {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand .logo-text .en {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-brand p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-slogan {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}
.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: rgba(255,255,255,0.9);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 2px;
  font-size: 0.84rem;
}
.footer-contact-item .icon {
  width: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.footer-contact-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.84rem;
  line-height: 1.5;
}
.qrcode-wrap {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}
.qrcode-item {
  text-align: center;
}
.qrcode-item img {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.qrcode-item span {
  display: block;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.footer-bottom {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}
.footer-bottom a:hover {
  color: rgba(255,255,255,0.7);
}

/* =============================================
   ANIMATIONS (Intersection Observer)
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  background: var(--bg-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ul {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb li {
  font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  opacity: 0.5;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* =============================================
   PAGE HERO (sub pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 120px 0 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(58,176,197,0.2) 0%, transparent 70%);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255,255,255,0.75);
  position: relative;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .markers-grid, .products-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    background: #1c3840;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 32px;
    gap: 4px;
    box-shadow: 4px 0 40px rgba(0,0,0,0.3);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle { display: flex; z-index: 1001; position: relative; margin-left: auto; }
  /* 菜单打开时，汉堡线用主题色（深色菜单和白色导航栏上都可见） */
  .nav-toggle.open span {
    background: var(--primary);
  }
  .lang-switcher { z-index: 1001; position: relative; margin-left: 12px; }
  
  /* 移动端菜单内链接 — 深色背景 + 浅色文字 */
  .nav-menu .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    border-radius: 8px;
    font-weight: 600;
    text-shadow: none;
  }
  .nav-menu .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
  }
  .nav-menu .nav-link.active {
    color: #fff;
    background: rgba(58,176,197,0.25);
  }
  
  /* 移动端下拉菜单 */
  .nav-menu .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.06);
    margin: 4px 0;
    padding: 8px;
    border-radius: 10px;
  }
  .nav-menu .nav-dropdown a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
  }
  .nav-menu .nav-dropdown a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
  }
  
  /* 移动端语言切换器 */
  .nav-menu .lang-switcher,
  .nav-menu-open .lang-switcher {
    background: rgba(255,255,255,0.1);
    margin-top: 12px;
    padding: 6px 10px;
    border-radius: 24px;
    display: inline-flex;
    align-self: flex-start;
  }
  .nav-menu .lang-btn,
  .nav-menu-open .lang-btn {
    color: rgba(255,255,255,0.7);
  }
  .nav-menu .lang-btn:hover,
  .nav-menu-open .lang-btn:hover {
    color: #fff;
  }
  .nav-menu .lang-btn.active,
  .nav-menu-open .lang-btn.active {
    color: #1c3840;
    background: #fff;
  }
  .nav-menu .lang-sep,
  .nav-menu-open .lang-sep {
    color: rgba(255,255,255,0.3);
  }

  .markers-grid, .products-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .section-pad { padding: 60px 0; }
  .hero-content { padding: 100px 24px 60px; }
}

@media (max-width: 480px) {
  :root { --nav-height: 70px; --nav-small: 60px; }
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
}

/* =============================================
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.bg-primary { background: var(--primary); }
.bg-light { background: var(--bg-light); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }

/* Back to top */
#back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(66,112,127,0.35);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
  cursor: pointer;
}
#back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* Cookie Overlay (placeholder style) */
.cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  max-width: 520px;
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
  z-index: 800;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.cookie-notice .cookie-close {
  margin-left: auto;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
