/* ============================================
   QIANMIAO PEPTIDES - Shared Page Hero & Breadcrumb
   Used by: About, Services, Technology, Resources, Quality, Careers, News
   ============================================ */

/* Page Hero */
.page-hero {
  padding: calc(var(--header-height) + var(--topbar-height) + var(--space-16)) 0 var(--space-20);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(28, 158, 145, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 158, 145, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 70%);
}

.page-hero-gradient {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 158, 145, 0.08) 0%, transparent 60%);
  top: -400px;
  left: 50%;
  transform: translateX(-50%);
}

.page-hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  animation: float-particle 8s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 40%; left: 85%; animation-delay: -2s; }
.particle-3 { top: 60%; left: 20%; animation-delay: -4s; }
.particle-4 { top: 30%; left: 70%; animation-delay: -6s; }
.particle-5 { top: 70%; left: 60%; animation-delay: -1s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 0.6; }
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.breadcrumb span {
  color: var(--text-primary);
  font-weight: 500;
}

/* Page Hero Title */
.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  display: block;
  width: 100%;
}

/* 多行标题时的span换行 */
.page-hero-title > span:not(.accent) {
  display: block;
}

/* 高亮的&符号保持inline */
.page-hero-title .accent {
  display: inline;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Page Hero Description */
.page-hero-description {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Actions (optional CTA button) */
.page-hero-actions {
  margin-top: var(--space-8);
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero {
    padding: calc(var(--header-height) + var(--topbar-height) + var(--space-10)) 0 var(--space-12);
  }
  
  .page-hero-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  
  .page-hero-description {
    font-size: var(--fs-base);
  }
}
