/* ========================================
   上海丰科生物科技股份有限公司 - 官网样式
   ======================================== */

:root {
  --primary: #2dd4bf;
  --primary-light: #5eead4;
  --primary-dark: #14b8a6;
  --secondary: #a7f3d0;
  --accent: #f59e0b;
  --bg-light: #fafbfa;
  --bg-white: #ffffff;
  --text-dark: #0f2e0f;
  --text-body: #4a5568;
  --text-muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(45, 212, 191, 0.2);
  --shadow-sm: 0 2px 10px rgba(45, 212, 191, 0.08);
  --shadow-md: 0 10px 40px rgba(45, 212, 191, 0.12);
  --shadow-lg: 0 20px 60px rgba(45, 212, 191, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========== 背景动画 ========== */
.bg-animation {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}

.floating-shape {
  position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(167, 243, 208, 0.03));
  animation: float-shape 20s ease-in-out infinite;
}

.floating-shape:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -100px; animation-delay: 0s; }
.floating-shape:nth-child(2) { width: 300px; height: 300px; bottom: 20%; left: -50px; animation-delay: -5s; }
.floating-shape:nth-child(3) { width: 200px; height: 200px; top: 50%; right: 10%; animation-delay: -10s; }

@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, 20px) rotate(-5deg); }
  75% { transform: translate(-20px, -10px) rotate(3deg); }
}

/* ========== 导航 ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  height: 60px;
}

.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}

.logo {
  text-decoration: none; display: flex; align-items: center;
  transition: all 0.3s ease;
  line-height: 1;
  height: 40px;
  flex-shrink: 0;
  margin-right: 3rem;
  margin-bottom: 2px;
}

.logo:hover { transform: translateY(-2px); }

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; height: 40px; padding: 0; margin: 0; }

.nav-links a {
  color: var(--text-body); text-decoration: none; font-weight: 500;
  font-size: 0.95rem; position: relative; padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.3s ease; border-radius: 2px;
}

.nav-links a:hover { color: var(--primary-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: white !important; padding: 0.75rem 2.2rem !important; border-radius: 50px !important;
  font-weight: 600 !important; font-size: 1rem !important;
  box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3) !important;
  transition: all 0.3s ease;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4); }
.nav-cta::after { display: none !important; }

.mobile-toggle { display: none; background: none; border: none; color: var(--text-dark); font-size: 1.5rem; cursor: pointer; padding: 0.5rem; height: 40px; align-items: center; justify-content: center; }

/* ========== Hero ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding: 8rem 2rem 4rem; z-index: 1;
}

.hero-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.hero-content { animation: fadeInLeft 1s ease; }

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(45, 212, 191, 0.1); color: var(--primary-dark);
  padding: 0.5rem 1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

/* ========== Hero 标题排版 ========== */
.hero-title-wrap {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  animation: fadeInLeft 1s ease 0.2s backwards;
}

.hero-line1 {
  display: block;
  white-space: nowrap;
}

.hero-line2 {
  display: block;
  margin-top: 0.5rem;
}

.hero-keywords {
  display: inline-flex;
  align-items: center;
  gap: 0;
  vertical-align: middle;
}

.hero-keyword {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 1rem;
  border-radius: 50px;
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 3px 12px rgba(45, 212, 191, 0.3);
  animation: keywordPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(0.3s + var(--i, 0) * 0.2s);
  position: relative;
  overflow: hidden;
}

.hero-keyword::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.hero-keyword:hover::before {
  left: 100%;
}

.hero-keyword:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.45);
}

.hero-dot {
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  color: var(--primary);
  font-weight: 700;
  margin: 0 0.15rem;
  vertical-align: middle;
}

.hero-suffix {
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  color: var(--text-dark);
  font-weight: 500;
  vertical-align: middle;
}

@keyframes keywordPop {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero p {
  font-size: 1.15rem; color: var(--text-body);
  max-width: 500px; margin-bottom: 2.5rem;
  animation: fadeInLeft 1s ease 0.4s backwards;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInLeft 1s ease 0.6s backwards; }

.btn-finc-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3);
  position: relative; overflow: hidden;
}

.btn-finc-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-finc-primary:hover::before { left: 100%; }
.btn-finc-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(45, 212, 191, 0.4); }

.btn-finc-outline {
  background: transparent; color: var(--text-dark);
  padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  border: 2px solid var(--primary); cursor: pointer; transition: all 0.3s ease;
}

.btn-finc-outline:hover { background: rgba(45, 212, 191, 0.1); transform: translateY(-3px); }

.hero-visual { position: relative; animation: fadeInRight 1s ease 0.3s backwards; }

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-image-container { position: relative; width: 100%; aspect-ratio: 1; max-width: 500px; margin: 0 auto; }

.hero-main-image {
  width: 100%; height: 100%; border-radius: 30px;
  object-fit: cover; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-float-card {
  position: absolute; background: white; border-radius: 16px;
  padding: 1rem 1.5rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 1rem;
  animation: float 4s ease-in-out infinite;
}

.hero-float-card:nth-child(2) { top: 10%; right: -20px; animation-delay: -1s; }
.hero-float-card:nth-child(3) { bottom: 15%; left: -20px; animation-delay: -2s; }

.float-card-icon {
  width: 45px; height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem; flex-shrink: 0;
}

.float-card-text { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }
.float-card-sub { font-size: 0.8rem; color: var(--text-muted); }

/* ========== 通用区块 ========== */
.section { padding: 6rem 2rem; position: relative; z-index: 1; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }

.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(45, 212, 191, 0.1); color: var(--primary-dark);
  padding: 0.5rem 1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle { color: var(--text-body); font-size: 1.1rem; }

/* ========== 产品 ========== */
.products-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}

.product-card {
  background: white; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; cursor: pointer;
}

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

.product-image {
  position: relative; height: 220px; overflow: hidden;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.05), rgba(167, 243, 208, 0.05));
}

.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.1); }

.product-icon-bg {
  position: absolute; bottom: 0; right: 0; width: 120px; height: 120px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), transparent);
  border-radius: 50% 0 0 0;
}

.product-content { padding: 1.5rem; }
.product-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-dark); }
.product-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.8rem; line-height: 1.5; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.product-tag {
  background: rgba(45, 212, 191, 0.1); color: var(--primary-dark);
  padding: 0.3rem 0.8rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 500;
}

.product-highlight {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--primary-dark);
  background: rgba(45, 212, 191, 0.06);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  display: inline-block;
  border: 1px dashed rgba(45, 212, 191, 0.3);
}

/* ========== 销售渠道 ========== */
.channels-section { background: transparent; }

.channels-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}

.channel-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.channel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.channel-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(167, 243, 208, 0.1));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
  font-size: 1.4rem;
  color: var(--primary);
  transition: all 0.3s ease;
  overflow: hidden;
}

.channel-icon img {
  width: 36px; height: 36px;
  object-fit: contain;
  display: block;
}

.channel-hema .channel-icon { background: #1a1a1a; }

.channel-card:hover .channel-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.channel-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.channel-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== 国际市场 ========== */
.global-section { background: transparent; }

.global-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

.global-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.global-stat {
  background: white; padding: 1.5rem; border-radius: 16px;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: all 0.3s ease;
}

.global-stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.global-stat-num {
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.global-stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }

.global-right { display: flex; flex-direction: column; gap: 1.5rem; }

.base-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.base-card-item {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
}

.base-card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.base-card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(167, 243, 208, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-size: 1.3rem;
  color: var(--primary);
}

.base-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.base-card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.base-summary {
  background: white;
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.base-summary:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.base-summary i {
  color: var(--primary);
  font-size: 1rem;
}

.global-list { margin-top: 1.5rem; list-style: none; }

.global-list li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0;
  color: var(--text-body);
  font-size: 0.95rem;
}

.global-list li i { color: var(--primary); font-size: 0.9rem; }

/* ========== 生产工艺 ========== */
.process { background: transparent; }

.process-timeline {
  max-width: 1000px; margin: 0 auto;
  display: flex; justify-content: space-between; position: relative;
}

.process-timeline::before {
  content: ''; position: absolute; top: 40px; left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
}

.process-step { flex: 1; text-align: center; position: relative; padding: 0 1rem; }

.process-number {
  width: 80px; height: 80px; background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; box-shadow: var(--shadow-md);
  position: relative; z-index: 1; transition: all 0.3s ease;
}

.process-step:hover .process-number { transform: scale(1.1); box-shadow: var(--shadow-lg); }

.process-number span {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
}

.process-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-dark); }
.process-desc { color: var(--text-muted); font-size: 0.9rem; }

/* ========== 数据统计 ========== */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 5rem 2rem; position: relative; overflow: hidden;
}

.stats::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: move-bg 30s linear infinite;
}

@keyframes move-bg { from { transform: translate(0, 0); } to { transform: translate(60px, 60px); } }

.stats-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem;
  position: relative; z-index: 1;
}

.stat-item { text-align: center; color: white; }
.stat-number { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.stat-label { font-size: 1rem; opacity: 0.9; }

/* ========== 关于我们 ========== */
.about-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

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

.about-content p { color: var(--text-body); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }

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

.about-feature {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1rem; background: rgba(45, 212, 191, 0.05);
  border-radius: 12px; transition: all 0.3s ease;
}

.about-feature:hover { background: rgba(45, 212, 191, 0.1); transform: translateX(5px); }
.about-feature i { color: var(--primary); font-size: 1.2rem; }
.about-feature span { font-weight: 500; font-size: 0.95rem; }

.about-image { position: relative; }
.about-image img { width: 100%; height: 450px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }

.about-badge {
  position: absolute; bottom: -20px; right: 40px; background: white;
  padding: 1.5rem 2rem; border-radius: 16px; box-shadow: var(--shadow-md); text-align: center;
}

.about-badge-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.about-badge-text { font-size: 0.85rem; color: var(--text-muted); }

/* ========== 资质认证 ========== */
.certifications { background: transparent; }

.certs-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}

.cert-card {
  text-align: center; padding: 2rem 1.5rem;
  background: white; border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.cert-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(167, 243, 208, 0.1));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.8rem; color: var(--primary);
}

.cert-title { font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }
.cert-desc { color: var(--text-muted); font-size: 0.85rem; }

/* ========== 联系我们 ========== */
.contact { background: transparent; }

.contact-wrapper {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}

.contact-info h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); }
.contact-info > p { color: var(--text-body); margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }

.contact-icon {
  width: 50px; height: 50px; background: rgba(45, 212, 191, 0.1);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem; flex-shrink: 0;
}

.contact-text h4 { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-text p { color: var(--text-muted); font-size: 0.9rem; }

.contact-form {
  background: white; padding: 2.5rem; border-radius: 24px; box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.95rem; }

.form-group input, .form-group textarea {
  width: 100%; padding: 0.9rem 1.2rem;
  background: var(--bg-light); border: 2px solid transparent; border-radius: 12px;
  font-size: 1rem; font-family: inherit; transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: white;
}

.form-group textarea { min-height: 100px; resize: vertical; }

/* 表单校验提示 */
.form-error {
  font-size: 0.82rem;
  color: #ef4444;
  margin-top: 0.35rem;
  min-height: 1.2rem;
  transition: all 0.2s ease;
}
.form-group input.has-error, .form-group textarea.has-error {
  border-color: #ef4444;
  background: #fef2f2;
}
.form-group input.valid, .form-group textarea.valid {
  border-color: #22c55e;
}

.submit-btn {
  width: 100%; padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none; border-radius: 12px;
  font-size: 1.05rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4); }

/* ========== 页脚 ========== */
.footer {
  background: var(--text-dark); color: white; padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem;
}

.footer-brand h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--primary-light); }
.footer-brand p { color: rgba(255, 255, 255, 0.7); line-height: 1.7; font-size: 0.95rem; }

.footer-links h4 { font-weight: 600; margin-bottom: 1.2rem; color: var(--primary-light); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-light); }

.footer-partners {
  max-width: 1200px; margin: 0 auto; padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.5); font-size: 0.85rem;
}

.footer-partners-label { color: rgba(255, 255, 255, 0.4); }

.footer-partners a {
  color: rgba(255, 255, 255, 0.6); text-decoration: none;
  transition: color 0.3s ease;
}

.footer-partners a:hover { color: var(--primary-light); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255, 255, 255, 0.5); font-size: 0.85rem;
}

/* ========== 回到顶部 ========== */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem; cursor: pointer; z-index: 999;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3); border: none;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4); }

/* ========== 滚动动画 ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* ========== 移动端菜单 ========== */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px;
  height: 100vh; background: white; z-index: 2000; padding: 5rem 2rem;
  transition: right 0.4s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.active { right: 0; }

.mobile-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); z-index: 1999;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}

.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--text-dark); font-size: 1.5rem; cursor: pointer;
}

.mobile-menu ul { list-style: none; }
.mobile-menu li { margin-bottom: 1.2rem; }
.mobile-menu a { color: var(--text-dark); text-decoration: none; font-size: 1.2rem; font-weight: 600; display: block; padding: 0.5rem 0; transition: color 0.3s ease; }
.mobile-menu a:hover { color: var(--primary); }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }

  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { flex-wrap: wrap; gap: 2rem; }
  .process-timeline::before { display: none; }
  .process-step { flex: 0 0 45%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .global-grid { grid-template-columns: 1fr; }
  .base-cards-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

/* ========== 滚动进度条 ========== */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 2001;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.5);
}

/* ========== 全页孢子粒子画布 ========== */
.spore-canvas {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 2;   /* 在内容之上、导航(1000)和弹窗(3000)之下，低透明度不影响阅读 */
}

.hero-container { position: relative; z-index: 1; }

/* ========== 滚动跑马灯 ========== */
.ticker-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  overflow: hidden; position: relative; z-index: 1;
  padding: 0.9rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex; gap: 3rem; width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-strip:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: white; font-weight: 600; font-size: 0.92rem;
  white-space: nowrap; opacity: 0.95;
}

.ticker-item i { font-size: 0.85rem; opacity: 0.8; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== 产品卡片：3D 倾斜 + 查看详情提示 ========== */
.tilt-card { will-change: transform; }
.tilt-card:hover { transition: box-shadow 0.4s ease, transform 0.08s linear; }

/* 3D 变换会使父级 overflow:hidden 的圆角裁剪失效（Chromium 渲染问题），
   图片容器自带圆角，不依赖父级裁剪 */
.tilt-card .product-image,
.tilt-card .product-image::after {
  border-radius: 24px 24px 0 0;
}

.product-image::after {
  content: '＋ 点击查看详情';
  font-weight: 600;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 46, 15, 0.45);
  color: white; font-size: 0.9rem; letter-spacing: 1px;
  opacity: 0; transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.product-card:hover .product-image::after { opacity: 1; }

/* ========== 产品详情弹窗 ========== */
.product-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 46, 15, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: all 0.35s ease;
}

.product-modal-overlay.active { opacity: 1; visibility: visible; }

.product-modal {
  background: white; border-radius: 24px;
  max-width: 760px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 300px 1fr;
  position: relative;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.product-modal-overlay.active .product-modal { transform: scale(1) translateY(0); }

.product-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); border: none;
  color: var(--text-dark); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.product-modal-close:hover { background: var(--primary); color: white; transform: rotate(90deg); }

.product-modal-image { border-radius: 24px 0 0 24px; overflow: hidden; }
.product-modal-image img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.product-modal-body { padding: 2rem 2rem 1.8rem; }
.product-modal-body h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.6rem; color: var(--text-dark); }
.product-modal-desc { color: var(--text-body); font-size: 0.95rem; margin-bottom: 1.2rem; line-height: 1.7; }

.product-modal-section { margin-bottom: 1rem; }
.product-modal-section h4 {
  font-size: 0.92rem; font-weight: 700; color: var(--primary-dark);
  margin-bottom: 0.45rem; display: flex; align-items: center; gap: 0.45rem;
}
.product-modal-section p { color: var(--text-body); font-size: 0.88rem; line-height: 1.6; }

.product-modal-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-modal-chips span {
  background: rgba(45, 212, 191, 0.1); color: var(--primary-dark);
  padding: 0.35rem 0.9rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 500;
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.product-modal-buy { margin-top: 0.5rem; font-size: 0.95rem; padding: 0.8rem 1.8rem; }

body.modal-open { overflow: hidden; }

/* ========== 菌菇百科手风琴 ========== */
.faq-section { background: transparent; }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: white; border-radius: 16px;
  border: 1px solid transparent;
  overflow: hidden; transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  background: white;
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  color: var(--text-dark); text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--primary-dark); }
.faq-question span { display: flex; align-items: center; gap: 0.7rem; }
.faq-question span i { color: var(--primary); font-size: 1.05rem; flex-shrink: 0; }

.faq-arrow { color: var(--text-muted); font-size: 0.85rem; transition: transform 0.35s ease; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.3rem 3.2rem;
  color: var(--text-body); font-size: 0.92rem; line-height: 1.8;
}

/* ========== 生产工艺时间线动画 ========== */
.process-timeline::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.process-timeline.line-active::before { transform: scaleX(1); }

/* ========== 按钮波纹 ========== */
.ripple-host { position: relative; overflow: hidden; }

.ripple-circle {
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-expand {
  to { transform: scale(3); opacity: 0; }
}

@media (max-width: 768px) {
  .hero-title-wrap { font-size: 2.2rem; }
  .hero-keyword { font-size: 1.1rem; padding: 0.15rem 0.7rem; }
  .hero-suffix { font-size: 1.1rem; }
  .products-grid { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .process-step { flex: 0 0 100%; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-number { font-size: 2.5rem; }
  .certs-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .global-stats { grid-template-columns: 1fr; }
  .base-cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .product-modal { grid-template-columns: 1fr; max-height: 85vh; }
  .product-modal-image { border-radius: 24px 24px 0 0; }
  .product-modal-image img { min-height: 200px; max-height: 220px; }
  .faq-question { font-size: 0.92rem; padding: 1rem 1.2rem; }
  .faq-answer p { padding: 0 1.2rem 1.1rem 1.2rem; }
  .ticker-item { font-size: 0.82rem; }
}
