/* ========================================
   微肽官网 - 主样式表 (增强响应式版)
   设计风格：医疗科技感 + 专业可信 + 现代简洁
   ======================================== */

/* === CSS变量 === */
:root {
  /* Stats 平板适配 */
  .stats { padding: 40px 0; }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 24px 16px;
    box-shadow: none;
    background: transparent;
  }
  .stat-item {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 18px 10px;
  }
  .stat-number { font-size: 1.6rem; }
  .stat-number span { font-size: 0.9rem; }
  .stat-label { font-size: 0.78rem; }

  --primary: #1a3a6b;
  --primary-light: #2a5298;
  --accent: #0066cc;
  --accent-hover: #0052a3;
  --cta: #ff6b35;
  --cta-hover: #e55a28;
  --white: #ffffff;
  --light-bg: #f5f7fa;
  --light-gray: #e8ecf1;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* === 基础重置 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* === 顶部导航 === */
.header {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 18px;
  color: var(--text);
  font-size: 0.95rem;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  color: var(--accent);
  background: rgba(0,102,204,0.06);
}
.nav-cta {
  background: var(--cta) !important;
  color: var(--white) !important;
  font-weight: 600;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--cta-hover) !important; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--text); }

/* === 汉堡菜单 === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  background: none;
  border: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
  border-radius: 1px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* === 导航栏手机端紧凑适配 === */
@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
    height: auto;
    padding-top: 8px;
    padding-bottom: 4px;
  }
  .logo {
    flex: 0 0 auto;
  }
  .hamburger {
    display: none !important;
  }
  .nav {
    display: flex !important;
    flex: 0 0 100%;
    flex-wrap: nowrap;
    overflow-x: hidden;
    gap: 0 !important;
    padding: 4px 0;
    justify-content: flex-start;
  }
  .nav a {
    padding: 6px 6px !important;
    font-size: 0.68rem !important;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
  }
  .nav-cta {
    padding: 6px 8px !important;
    flex-shrink: 0;
  }
  .desktop-lang {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .nav a {
    font-size: 0.62rem !important;
    padding: 5px 4px !important;
  }
  .nav-cta {
    padding: 5px 6px !important;
  }
}

/* === 底部CTA栏视口约束修复 === */
@media (max-width: 768px) {
  .mobile-bottom-cta {
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    overflow: hidden;
  }
  .mobile-bottom-cta .cta-inner {
    max-width: 100% !important;
    width: 100% !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .mobile-bottom-cta .cta-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 10px 4px !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* === 语言切换器 === */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.85rem;
}
.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  min-width: 150px;
  z-index: 100;
  padding: 8px 0;
  max-height: 300px;
  overflow-y: auto;
}
.lang-menu.show { display: block; }
.lang-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  font-size: 0.85rem;
}
.lang-menu a:hover, .lang-menu a.active {
  background: var(--light-bg);
  color: var(--accent);
}
.mobile-lang { display: none; }
.lang-select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  background: white;
  cursor: pointer;
}

/* === Hero Banner === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.02);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--cta); color: white; }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); color: white; }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); color: white; }


/* === Hero Video Background === */
.hero-video {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,58,107,0.7) 0%, rgba(42,82,152,0.5) 50%, rgba(0,102,204,0.4) 100%);
  z-index: 1;
}
.hero-video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}
.hero-video-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-video-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-video-content .hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* === Banner Carousel === */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.banner-carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.banner-carousel .slide.active {
  opacity: 1;
}
.banner-carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-carousel .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}
.banner-carousel .slide-content {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  padding: 0 20px;
}
.banner-carousel .slide-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.banner-carousel .slide-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.banner-carousel .carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.banner-carousel .carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.banner-carousel .carousel-dots .dot.active {
  background: white;
}

/* === 核心数据展示 === */
.stats {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 26px 18px 22px;
  border-radius: 16px;
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1), box-shadow 0.35s cubic-bezier(.25,.8,.25,1);
  background: rgba(255, 255, 255, 0.72);
  /* 3D立体效果 - 模拟浮起方块 */
  box-shadow:
    0 1px 1px rgba(255,255,255,0.95) inset,
    0 -1px 1px rgba(0,0,0,0.03) inset,
    0 6px 0 -1px rgba(200,210,225,0.7),
    0 10px 20px rgba(0,0,0,0.10),
    0 18px 36px rgba(0,0,0,0.06);
  border: 1px solid rgba(220,225,235,0.6);
  position: relative;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}
.stat-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 1px 1px rgba(255,255,255,0.95) inset,
    0 -1px 1px rgba(0,0,0,0.03) inset,
    0 10px 0 -1px rgba(200,210,225,0.6),
    0 20px 40px rgba(0,0,0,0.15),
    0 30px 60px rgba(0,0,0,0.08);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 6px;
  font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.stat-number span { font-size: 1rem; font-weight: 600; margin-left: 2px; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-light); line-height: 1.4; }
.stat-source { font-size: 0.65rem; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 480px) {
  
  .products-grid { grid-template-columns: 1fr; }
  .product-img { height: 160px; }
  
  .oem-flow { grid-template-columns: 1fr; }
  .oem-step::after { display: none; }
  
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 0.88rem; }
}

/* === 联系表单响应式 === */
@media (max-width: 768px) {
  .contact-form {
    padding: 20px 15px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100% !important;
    margin-bottom: 12px !important;
    padding: 12px !important;
    font-size: 16px !important; /* 防止iOS缩放 */
  }
  .contact-form .btn {
    width: 100% !important;
    padding: 14px !important;
  }
  .slider-verification {
    width: 100% !important;
    margin: 10px 0 !important;
  }
}


/* === Hero Video 移动端优化 === */
@media (max-width: 768px) {
  .hero-video {
    height: 60vh;
    min-height: 320px;
    max-height: 500px;
  }
  .hero-video-content h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .hero-video-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
    padding: 0 10px;
  }
  .hero-video-content .hero-btns {
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }
  .hero-video-content .btn {
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 12px; box-shadow: none; background: transparent; }
  .stat-item { background: #f8f9fb; padding: 14px 8px; }
  .stat-number { font-size: 1.3rem; }
  .stat-number span { font-size: 0.75rem; }
  .stat-label { font-size: 0.72rem; }
  .stat-source { font-size: 0.6rem; }
}
@media (max-width: 480px) {
  .hero-video {
    height: 55vh;
    min-height: 280px;
    max-height: 420px;
  }
  .hero-video-content h1 {
    font-size: 1.3rem;
  }
  .hero-video-content p {
    font-size: 0.85rem;
  }
}



/* === 手机端底部固定CTA栏 === */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: white;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}
.mobile-bottom-cta .cta-inner {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.mobile-bottom-cta .cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.mobile-bottom-cta .cta-phone {
  background: #ff6b35;
  color: white;
}
.mobile-bottom-cta .cta-consult {
  background: linear-gradient(135deg, #1a3a6b, #2980b9);
  color: white;
}
.mobile-bottom-cta .cta-wechat {
  background: #07c160;
  color: white;
}
@media (max-width: 768px) {
  .mobile-bottom-cta { display: block; }
  /* 给body底部留出空间，避免底部CTA遮挡内容 */
  body { padding-bottom: 68px; }
}

/* === 产品卡片桌面端 === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.product-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f5f7fa;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-img .zoom-hint {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover .zoom-hint {
  opacity: 1;
}
.product-info {
  padding: 14px 16px;
}
.product-info .product-cat {
  font-size: 0.75rem;
  color: #1a73e8;
  font-weight: 600;
  margin-bottom: 4px;
}
.product-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-info p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-reg {
  font-size: 0.72rem;
  color: #999;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f0f0f0;
}

/* === Lightbox 图片放大 === */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
  background: rgba(0,0,0,0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* === 产品卡片移动端优化 === */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .product-img {
    width: 120px;
    height: auto;
    min-height: 120px;
    flex-shrink: 0;
  }
  .product-info {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .product-info h3 { font-size: 0.95rem; margin-bottom: 4px; }
  .product-info p { font-size: 0.82rem; -webkit-line-clamp: 2; }
  .product-reg { font-size: 0.72rem; margin-top: 6px; padding-top: 6px; }
}
@media (max-width: 480px) {
  .product-img { width: 100px; min-height: 100px; }
  .product-info { padding: 10px; }
  .product-info h3 { font-size: 0.88rem; }
}

/* === OEM流程 移动端时间线 === */
@media (max-width: 768px) {
  .oem-flow {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    padding-left: 36px;
  }
  .oem-flow::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    border-radius: 1px;
  }
  .oem-step {
    text-align: left;
    padding: 12px 0 12px 16px;
    position: relative;
  }
  .oem-step-icon {
    width: 36px;
    height: 36px;
    position: absolute;
    left: -36px;
    top: 12px;
    font-size: 0.9rem;
    margin: 0;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .oem-step h4 { font-size: 0.9rem; margin-bottom: 4px; }
  .oem-step p { font-size: 0.78rem; }
  .oem-step::after { display: none !important; }
}

/* === 应用场景 移动端优化 === */
@media (max-width: 768px) {
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .scenario-card {
    padding: 16px 12px;
    text-align: center;
  }
  .scenario-icon { font-size: 1.8rem; margin-bottom: 8px; }
  .scenario-card h3 { font-size: 0.88rem; margin-bottom: 4px; }
  .scenario-card p { font-size: 0.78rem; line-height: 1.5; }
}
@media (max-width: 480px) {
  .scenarios-grid { grid-template-columns: 1fr; }
  .scenario-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 14px 16px;
  }
  .scenario-icon { font-size: 2rem; margin-bottom: 0; flex-shrink: 0; }
}

/* === 新闻卡片 桌面端 === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.news-cover {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-body {
  padding: 16px;
}
.news-body h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #999;
}
.news-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.tag-company { background: #e8f0fe; color: #1a73e8; }
.tag-industry { background: #e6f7ed; color: #1e8e3e; }
.tag-regulation { background: #fef3e0; color: #e37400; }
@media(max-width: 992px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 576px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-cover { height: 160px; }
}

/* === 新闻卡片 移动端优化 === */
@media (max-width: 768px) {
  .news-grid { gap: 12px; }
  .news-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .news-cover {
    width: 110px;
    height: auto;
    min-height: 90px;
    flex-shrink: 0;
  }
  .news-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .news-body h3 { font-size: 0.9rem; -webkit-line-clamp: 2; margin-bottom: 4px; }
  .news-body p { display: none; } /* 隐藏摘要，节省空间 */
  .news-meta { margin-top: 6px; }
}
@media (max-width: 480px) {
  .news-cover { width: 90px; min-height: 80px; }
  .news-body { padding: 10px; }
  .news-body h3 { font-size: 0.85rem; }
}

/* === 资质认证 移动端优化 === */
@media (max-width: 768px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cert-card { padding: 16px 12px; }
  .cert-icon { font-size: 2rem; margin-bottom: 8px; }
  .cert-card h4 { font-size: 0.85rem; }
  .cert-card p { font-size: 0.75rem; }
}

/* === 页脚 移动端优化 === */
@media (max-width: 768px) {
  .footer { padding: 24px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding-bottom: 20px;
  }
  .footer h4 { font-size: 0.9rem; margin-bottom: 10px; }
  .footer p, .footer a { font-size: 0.82rem; }
  .footer-bottom { padding: 12px 0; font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* === Section间距 移动端优化 === */
@media (max-width: 768px) {
  .section { padding: 32px 0; }
  .section-header { margin-bottom: 20px; }
  .section-header h2 { font-size: 1.3rem; }
  .section-header p { font-size: 0.85rem; margin-top: 6px; }
}
@media (max-width: 480px) {
  .section { padding: 24px 0; }
  .section-header h2 { font-size: 1.2rem; }
}

/* === 触控友好优化 === */
@media (max-width: 768px) {
  /* 所有可点击元素最小44px */
  .btn { min-height: 44px; }
  a, button { -webkit-tap-highlight-color: transparent; }
  
  /* 表单输入框防iOS缩放 */
  input, select, textarea { font-size: 16px !important; }
  
  /* 更大的链接点击区域 */
  /* nav a touch removed - compact mode */
  
  /* 产品详情页按钮 */
  .product-detail-grid .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === OEM表单响应式 === */
@media (max-width: 768px) {
  .oem-form {
    padding: 15px !important;
  }
  .oem-form .form-group {
    margin-bottom: 14px !important;
  }
  .oem-form label {
    font-size: 13px !important;
    margin-bottom: 4px !important;
    display: block;
  }
  .oem-form input,
  .oem-form select,
  .oem-form textarea {
    width: 100% !important;
    padding: 10px !important;
    font-size: 16px !important;
  }
  
  .category-buttons,
  .cert-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .category-buttons .btn,
  .cert-buttons .btn {
    flex: 1 1 calc(50% - 6px) !important;
    min-width: 100px !important;
    padding: 8px 6px !important;
    font-size: 12px !important;
    margin: 0 !important;
  }
  
  .captcha-section {
    display: flex !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  .captcha-section input {
    flex: 1 !important;
  }
  .captcha-section img {
    height: 38px !important;
    width: auto !important;
  }
  
  .oem-form .btn-submit {
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important;
  }
}

/* === 底部CTA栏与聊天面板协调 === */
@media (max-width: 768px) {
  #ai-chat-panel {
    bottom: 68px; /* 留出底部CTA栏的空间 */
  }
}

/* === 导航栏移动端增强（已清理） === */
@media (max-width: 768px) {
  .mobile-lang {
    margin-top: 4px;
    padding: 0 8px;
  }
  .mobile-lang .lang-select {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
  }
}

/* === 页面整体触控优化 === */
@media (max-width: 768px) {
  /* 所有链接和按钮增加触控反馈 */
  a:active, button:active {
    opacity: 0.7;
    transition: opacity 0.1s;
  }
  
  /* 按钮最小触控区域 */
  .btn {
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Section间距紧凑 */
  .section {
    padding: 28px 0;
  }
  .section-header {
    margin-bottom: 20px;
  }
  .section-header h2 {
    font-size: 1.25rem;
  }
  
  /* 证书网格优化 */
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cert-card {
    padding: 14px 10px;
  }
  .cert-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }
  .cert-card h4 {
    font-size: 0.82rem;
  }
  .cert-card p {
    font-size: 0.72rem;
  }
  
  /* 页脚移动端 */
  .footer-new {
    padding-bottom: 70px; /* 留出底部CTA栏空间 */
  }
  .footer-main .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-about {
    text-align: center;
  }
  .footer-qr {
    justify-content: center;
  }
  .footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
  }
  .footer-contact .contact-item {
    margin-bottom: 10px;
  }
  .factory-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cert-badges {
    gap: 6px;
  }
  .cert-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

/* === 小屏手机额外优化 === */
@media (max-width: 375px) {
  .container { padding: 0 10px; }
  .hero-video-content h1 { font-size: 1.2rem; }
  .section-header h2 { font-size: 1.15rem; }
  .mobile-bottom-cta .cta-btn {
    font-size: 0.8rem;
    padding: 10px 6px;
  }
}

/* === 横屏手机优化 === */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-video {
    height: auto;
    min-height: 200px;
    max-height: 300px;
    padding: 20px 0;
  }
  #ai-chat-panel {
    max-height: calc(100vh - 80px);
  }
}

/* ========== OEM合作流程 - 深色背景工厂风格 ========== */
.section-oem-flow {
  position: relative;
  background: 
    linear-gradient(rgba(10, 25, 47, 0.25), rgba(10, 25, 47, 0.25)),
    url('/images/banner/oem-bg.jpg') center center / cover;
  background-attachment: fixed, fixed;
  color: #fff;
  padding: 80px 0;
}
.oem-flow-overlay {
  display: none;
}
.section-oem-flow .section-header h2 {
  color: #fff !important;
  font-size: 2rem;
  margin-bottom: 8px;
}
.section-oem-flow .section-header p {
  color: rgba(255,255,255,0.7) !important;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f5a623;
  margin-bottom: 8px;
  font-weight: 600;
}
.oem-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.oem-step-card {
  text-align: center;
  position: relative;
}
.oem-step-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(245,166,35,0.18);
  line-height: 1;
  margin-bottom: -12px;
  font-family: 'Georgia', serif;
}
.oem-step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a9e96, #0d7d77);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(26,158,150,0.35);
  border: 3px solid rgba(255,255,255,0.15);
}
.oem-step-emoji {
  font-size: 2rem;
  line-height: 1;
}
.oem-step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f5a623;
  margin-bottom: 8px;
}
.oem-step-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* ========== 资质认证 - 现代卡片风格 ========== */
.section-certs-new {
  padding: 80px 0;
}
.certs-new-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.cert-new-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.cert-new-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.cert-new-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: certFloat 3s ease-in-out infinite;
  will-change: transform, box-shadow;
}
.cert-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); animation-delay: 0s; }
.cert-teal { background: linear-gradient(135deg, #1a9e96, #0d7d77); animation-delay: 0.4s; }
.cert-green { background: linear-gradient(135deg, #22c55e, #16a34a); animation-delay: 0.8s; }
.cert-orange { background: linear-gradient(135deg, #f5a623, #e08e0b); animation-delay: 1.2s; }
.cert-new-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 8px;
}
.cert-new-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .oem-flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .certs-new-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cert-new-card {
    padding: 24px 14px;
  }
}
@media (max-width: 480px) {
  .oem-flow-grid {
    grid-template-columns: 1fr;
  }
  .certs-new-grid {
    grid-template-columns: 1fr;
  }
}

/* === 应用场景卡片新样式 === */
.scenarios-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.scenario-card-new {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.scenario-card-new:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.scenario-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.scenario-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.scenario-card-new:hover .scenario-img {
  transform: scale(1.08);
}
.scenario-card-new h3 {
  margin: 16px 16px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
}
.scenario-card-new p {
  margin: 0 16px 20px;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .scenarios-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .scenarios-grid-new {
    grid-template-columns: 1fr;
  }
}


/* 专利统计双行布局 */
.stat-patents-item {
  flex-direction: column !important;
  text-align: left !important;
  align-items: flex-start !important;
  gap: 8px !important;
  width: 100%;
}
.stat-patent-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  white-space: nowrap;
  width: 100%;
}
.stat-patent-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a4b8c;
  font-variant-numeric: tabular-nums;
  text-align: left;
  min-width: unset;
}
.stat-patent-text {
  font-size: 0.82rem;
  color: #1a4b8c;
  font-weight: 700 !important;
  text-align: left;
}
@media(max-width: 768px) {
  .stat-patent-num {
    font-size: 1.2rem;
  }
  .stat-patent-text {
    font-size: 0.72rem;
  }
}

/* Patent character fly-in animation */
@keyframes charFlyIn {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.5);
    color: #d4a843;
    text-shadow: 0 0 8px rgba(212, 168, 67, 0.6);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    color: #d4a843;
    text-shadow: 0 0 12px rgba(212, 168, 67, 0.4);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    color: #1a4b8c;
    text-shadow: none;
  }
}

.char-fly {
  display: inline-block;
  opacity: 0;
}

.patent-fly-in.animate .char-fly {
  animation: charFlyIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.stat-patent-text {
  font-weight: 700 !important;
  text-align: left;
}
/* Disclaimer fly-in animation */
.footer-disclaimer {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.footer-disclaimer.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Medical notice fly-in animation */
@keyframes noticeZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.6);
    color: #e94560;
  }
  60% {
    opacity: 1;
    transform: scale(1);
    color: #e94560;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    color: #555;
  }
}

/* Clickable cert cards */
.cert-new-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cert-new-card-link:hover {
  transform: translateY(-6px);
}
.cert-new-card-link:hover .cert-new-card {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* === 温馨提示循环放大动画 === */
.medical-notice {
  padding: 14px 24px;
  background: linear-gradient(90deg, #fff5f5, #fff0f6, #f0f0ff);
  border-radius: 8px;
  border: 1px solid #ffd6d6;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 20px auto;
  max-width: 800px;
}
.medical-notice .notice-char {
  display: inline-block;
  opacity: 1;
  transform: scale(1);
  color: #555;
  animation: noticeLoopZoom 4s ease-in-out infinite;
}
@keyframes noticeLoopZoom {
  0%, 100% {
    transform: scale(1);
    color: #555;
  }
  15% {
    transform: scale(2.2);
    color: #e94560;
  }
  35% {
    transform: scale(1);
    color: #555;
  }
}

/* === 资质认证卡片持续动画 === */
/* === 打假公告通知 === */
.antifraud-section {
  padding: 20px 0;
  background: transparent;
}
.antifraud-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #fef3f2, #fff1f0, #fef2f2);
  border: 1px solid #fca5a5;
  border-left: 5px solid #dc2626;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(220,38,38,0.08);
  animation: antifraudPulse 4s ease-in-out infinite;
}
@keyframes antifraudPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(220,38,38,0.08); }
  50% { box-shadow: 0 2px 20px rgba(220,38,38,0.18); }
}
.antifraud-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 50%;
  color: white;
  animation: antifraudIconPulse 2s ease-in-out infinite;
}
@keyframes antifraudIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.antifraud-content {
  flex: 1;
}
.antifraud-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 6px;
}
.antifraud-content p {
  font-size: 0.92rem;
  color: #7f1d1d;
  line-height: 1.6;
  margin: 0;
}
.antifraud-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #dc2626;
  color: #fff;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: antifraudBadgeBlink 2.5s ease-in-out infinite;
}
.antifraud-badge-icon {
  font-size: 1.1rem;
}
@keyframes antifraudBadgeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@media (max-width: 768px) {
  .antifraud-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  .antifraud-badge {
    align-self: center;
  }
}

@keyframes certFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  30% {
    transform: translateY(-12px) scale(1.12);
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  }
  60% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  80% {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
}
