/* 千寻生物技术有限公司 - 企业官网样式 */

:root {
  --primary: #0b5ed7;
  --primary-dark: #0948ab;
  --primary-light: #e8f1fc;
  --accent: #06b6d4;
  --text: #1f2937;
  --text-secondary: #4b5563;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.02);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --header-height: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: white;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.lang-switch:hover {
  background: var(--primary);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(11,94,215,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,94,215,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 680px;
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(105deg, rgba(232,241,252,0.95) 0%, rgba(255,255,255,0.95) 60%), url('../images/20190425162351ccdd2e.jpg');
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(11,94,215,0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section-dark .section-header h2,
.section-dark .section-header p {
  color: white;
}

.section-dark .section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}

/* About preview */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid.about-single {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
  gap: 0;
}

.about-grid.about-single .about-content {
  text-align: center;
}

.about-grid.about-single .about-features {
  justify-content: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 40px;
  bottom: 40px;
  background: var(--primary-light);
  border-radius: var(--radius);
  z-index: -1;
}

.about-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.about-feature::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Products */
.product-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.product-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link::after {
  content: '→';
  transition: transform 0.3s;
}

.product-card:hover .product-link::after {
  transform: translateX(4px);
}

/* News */
.news-list {
  display: grid;
  gap: 24px;
}

.news-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 100%;
  min-height: 160px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 24px 24px 24px 0;
}

.news-date {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* CTA */
.cta {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul li a {
  font-size: 0.92rem;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: var(--accent);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-qr img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  border: 2px solid #fff;
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-qr-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

.footer-qr-text strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.65);
}

.footer-divider {
  color: rgba(255,255,255,0.25);
}

.footer-beian {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-beian a {
  color: rgba(255,255,255,0.65);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.footer-beian a:hover {
  color: #ffffff;
}

.beian-gongan img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Page header */
.page-header {
  margin-top: var(--header-height);
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Content page */
.content-section {
  padding: 80px 0;
}

.content-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.content-section p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.content-section ul {
  margin-left: 24px;
  margin-bottom: 24px;
}

.content-section ul li {
  margin-bottom: 12px;
  color: var(--text-secondary);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item div strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-info-item div span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
  /* 紧凑桌面导航：横排保留，间距与字号收紧 */
  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .logo span {
    font-size: 1.02rem;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  /* 电话压缩为图标按钮，节省横向空间 */
  .header-contact .phone {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    position: relative;
    color: transparent;
    font-size: 0;
  }

  .header-contact .phone::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-body {
    padding: 24px;
  }

  .news-image {
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header h2,
  .page-header h1,
  .cta h2 {
    font-size: 1.8rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-left,
  .footer-beian {
    justify-content: center;
  }
}

/* Product detail pages */
.product-detail-section {
  padding: 80px 0;
}

.product-detail-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.product-detail-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.product-detail-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.product-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.product-search-bar input {
  flex: 1;
  min-width: 240px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.product-search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,94,215,0.1);
}

.filter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-tag {
  padding: 8px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.product-table-wrap {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow-x: auto;
  margin-bottom: 40px;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.product-table thead {
  background: var(--primary);
  color: white;
}

.product-table th {
  padding: 16px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.product-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.product-table tbody tr:hover {
  background: var(--bg-light);
}

.product-table tbody tr:last-child td {
  border-bottom: none;
}

.product-table .code {
  font-family: 'SF Mono', monospace;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.product-table .spec {
  white-space: nowrap;
  color: var(--text-secondary);
}

.product-table .note {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.category-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  margin: 40px 0 20px;
}

.category-title:first-child {
  margin-top: 0;
}

.no-result {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-secondary);
  display: none;
}

.no-result.show {
  display: block;
}

.product-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 28px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 56px 0;
  }

  .product-detail-header h2 {
    font-size: 1.6rem;
  }

  .product-search-bar input {
    width: 100%;
  }
}

/* News article detail */
.article-hero {
  margin-top: var(--header-height);
  padding: 72px 0 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.article-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.85;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 40px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 16px;
}

.article-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 24px 0;
}

.article-nav {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.article-nav a {
  padding: 14px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.article-nav a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Founder section */
.founder-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.founder-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.founder-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 4px;
}

.founder-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.founder-card .founder-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.founder-honors {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.founder-honor {
  display: inline-block;
  padding: 8px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.founder-detail h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.founder-detail p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.9;
}

.founder-detail ul {
  margin: 0 0 24px 24px;
}

.founder-detail ul li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.8;
}

.founder-detail ul li strong {
  color: var(--text);
}

.founder-quote {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 8px;
  border-left: 4px solid var(--primary);
}

.founder-quote p {
  margin-bottom: 0;
  color: var(--text);
  font-style: normal;
}

@media (max-width: 992px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    position: static;
  }
}

/* ============================================
   移动端深度优化
   ============================================ */

/* 通用触摸设备优化：禁用桌面 hover 抖动、加大可点区域 */
@media (hover: none), (max-width: 768px) {
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-white:hover {
    transform: none;
  }
}

/* ---------- 平板 / 窄屏 (≤1024px) ---------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  /* 产品卡片 2 列 */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ---------- 移动端主导航 (≤768px) ---------- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 16px;
  }

  /* 头部精简 */
  .logo span {
    font-size: 1.02rem;
    white-space: nowrap;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  /* 全屏抽屉式移动菜单 */
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 32px 28px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    overflow-y: auto;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 50px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    font-size: 1.1rem;
    padding: 15px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
  }

  .nav a::after {
    display: none;
  }

  .nav a.active {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    padding-left: 16px;
  }

  /* 汉堡按钮动画 */
  .mobile-menu-toggle {
    display: flex;
    padding: 10px;
  }

  .mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* 手机端显示联系按钮（点击拨号） */
  .header-contact .phone {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    position: relative;
    color: transparent;
    font-size: 0;
  }
  .header-contact .phone::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
  }
}

/* ---------- 手机布局 (≤640px) ---------- */
@media (max-width: 640px) {
  /* Hero */
  .hero {
    min-height: auto;
    padding: 72px 0 56px;
    background-position: center;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
    padding-top: 24px;
  }

  .hero-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-align: left;
  }

  .hero-stat strong {
    font-size: 1.6rem;
    min-width: 60px;
  }

  .hero-stat span {
    font-size: 0.95rem;
  }

  /* 卡片单列 */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-image span {
    font-size: 2.4rem !important;
  }

  /* Section 标题 */
  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2,
  .page-header h1,
  .cta h2 {
    font-size: 1.6rem;
    line-height: 1.35;
  }

  /* About */
  .about-grid,
  .contact-grid {
    gap: 32px;
  }

  .about-image::before {
    top: -12px;
    left: -12px;
    right: 24px;
    bottom: 24px;
  }

  .about-content h3 {
    font-size: 1.5rem;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .about-feature {
    padding: 14px 10px;
    font-size: 0.92rem;
  }

  /* 服务卡片 */
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  /* CTA */
  .cta {
    padding: 56px 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 20px;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    padding: 0;
  }

  .footer-qr img {
    width: 96px;
    height: 96px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px 0;
  }

  .footer-bottom-left,
  .footer-beian {
    justify-content: center;
    gap: 8px;
  }
}

/* ---------- 小屏手机 (≤480px) ---------- */
@media (max-width: 480px) {
  :root {
    --header-height: 58px;
  }

  .logo span {
    font-size: 0.92rem;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 1.45rem;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  .news-body {
    padding: 18px;
  }

  .news-body h3 {
    font-size: 1.05rem;
  }
}

/* ---------- 移动端产品明细页 ---------- */
@media (max-width: 768px) {
  .product-detail-section {
    padding: 48px 0;
  }

  .product-detail-header h2 {
    font-size: 1.5rem;
  }

  .product-search-bar {
    flex-direction: column;
  }

  .product-search-bar input {
    width: 100%;
    min-width: 0;
  }

  .filter-tags {
    gap: 8px;
    margin-bottom: 20px;
  }

  .filter-tag {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  /* 表格横向滚动提示 */
  .product-table-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
  }

  .product-table {
    min-width: 620px;
  }

  .product-table th,
  .product-table td {
    padding: 12px;
    font-size: 0.88rem;
  }

  .category-title {
    font-size: 0.95rem;
    padding: 8px 16px;
    margin: 28px 0 16px;
  }

  .product-actions {
    margin-top: 32px;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .product-actions .btn {
    width: 100%;
  }
}

/* ---------- 移动端文章详情 ---------- */
@media (max-width: 640px) {
  .article-hero {
    padding: 56px 0 36px;
  }

  .article-hero h1 {
    font-size: 1.5rem;
  }

  .article-meta {
    gap: 10px;
    font-size: 0.82rem;
  }

  .article-content {
    padding: 36px 16px 56px;
  }

  .article-content p {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .article-content h2 {
    font-size: 1.3rem;
    margin: 32px 0 16px;
  }

  .article-content h3 {
    font-size: 1.1rem;
    margin: 28px 0 12px;
  }

  .article-content img {
    margin: 18px 0;
  }

  .article-nav {
    padding: 0 16px 56px;
  }

  .article-nav a {
    width: 100%;
    text-align: center;
    padding: 13px 18px;
  }
}

/* ---------- 移动端创始人区 ---------- */
@media (max-width: 640px) {
  .founder-card {
    padding: 28px 20px;
  }

  .founder-avatar {
    width: 92px;
    height: 92px;
    font-size: 1.8rem;
  }

  .founder-card h3 {
    font-size: 1.3rem;
  }

  .founder-detail h3 {
    font-size: 1.25rem;
  }

  .founder-quote {
    padding: 18px 20px;
  }
}

/* ---------- 移动端联系页 ---------- */
@media (max-width: 640px) {
  .contact-info-card {
    padding: 24px 18px;
  }

  .contact-info-item {
    padding: 20px 18px;
  }

  .contact-info-item h4 {
    font-size: 1.1rem;
  }
}

/* ---------- 移动端页头 banner ---------- */
@media (max-width: 640px) {
  .page-header {
    padding: 56px 0 32px;
  }
}
