/* 产品详情页专用样式 */

/* 产品 Hero */
.prod-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 80px 80px;
  background: url('../images/zhuyuanzhaohubg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* 免陪照护系统页面 - 单独设置背景图 */
.product-free-care .prod-hero {
  background: url('../images/mianpeizhaohu_bg.jpg') center/cover no-repeat;
}

/* 居家照护系统页面 - 单独设置背景图 */
.product-home-care .prod-hero {
  background: url('../images/dingbu_bg_img.jpg') center/cover no-repeat;
}

/* 护士上门系统页面 - 单独设置背景图 */
.product-nurse-home .prod-hero {
  background: url('../images/hushishangmenbg.jpg') center/cover no-repeat;
}

/* 非急救转运系统页面 - 单独设置背景图 */
.product-transport .prod-hero {
  background: url('../images/feijijiuzhanyunbg.jpg') center/cover no-repeat;
}

/* 产品体系页面 - 网络动画背景 */
.page-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: url('../images/chanpingtixi.jpg') center/cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 20% 50%, rgba(22,93,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(64,169,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(22,93,255,0.08) 0%, transparent 50%);
}

.hero-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.8;
}

.hero-network::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, rgba(64,169,255,0.3) 1px, transparent 1px),
    radial-gradient(circle, rgba(64,169,255,0.2) 1px, transparent 1px);
  background-size: 50px 50px, 30px 30px;
  background-position: 0 0, 15px 15px;
  animation: networkMove 20s linear infinite;
}

.hero-network::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 49%, rgba(64,169,255,0.1) 50%, transparent 51%),
              linear-gradient(-45deg, transparent 49%, rgba(64,169,255,0.1) 50%, transparent 51%);
  background-size: 100px 100px;
  animation: networkPulse 15s ease-in-out infinite;
}

@keyframes networkMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50px, -50px);
  }
}

@keyframes networkPulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

/* 网络节点动画 */
.hero-network {
  position: relative;
}

.hero-network .node {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #40A9FF;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(64,169,255,0.6);
  animation: nodePulse 3s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(2);
    opacity: 1;
  }
}

/* 陪护企业服务页面 - 背景图 */
.ent-hero {
  background: url('../images/peihuqiyefuwubg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.ent-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,12,30,0.9) 0%, rgba(10,22,40,0.8) 50%, rgba(13,31,60,0.7) 100%);
  z-index: 1;
}

.ent-hero .page-hero-content {
  position: relative;
  z-index: 2;
}

/* 银保物业合作页面 - 背景图 */
.vip-hero {
  background: url('../images/yinbaowuyehezuobg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.vip-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,12,30,0.9) 0%, rgba(10,22,40,0.8) 50%, rgba(13,31,60,0.7) 100%);
  z-index: 1;
}

.vip-hero .page-hero-content {
  position: relative;
  z-index: 2;
}

/* 新闻中心页面 - 背景图 */
.news-hero {
  background: url('../images/xinwenzhongxinbg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,12,30,0.9) 0%, rgba(10,22,40,0.8) 50%, rgba(13,31,60,0.7) 100%);
  z-index: 1;
}

.news-hero .page-hero-content {
  position: relative;
  z-index: 2;
}

/* 关于我们页面 - 背景图 */
.about-hero {
  background: url('../images/guanyuwomenbg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,12,30,0.9) 0%, rgba(10,22,40,0.8) 50%, rgba(13,31,60,0.7) 100%);
  z-index: 1;
}

.about-hero .page-hero-content {
  position: relative;
  z-index: 2;
}

/* 护理员招聘页面 - 背景图 */
.page-hero.hr-recruit-hero {
  background: url('../images/hr-recruit-bg.jpg') center/cover no-repeat !important;
  position: relative;
  overflow: hidden;
}

.page-hero.hr-recruit-hero::before {
  content: '' !important;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(6,12,30,0.92) 0%, rgba(10,22,40,0.88) 50%, rgba(13,31,60,0.82) 100%) !important;
  background-size: auto !important;
  z-index: 1;
}

.page-hero.hr-recruit-hero .page-hero-content {
  position: relative;
  z-index: 2;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(6,12,30,0.9) 0%, rgba(10,22,40,0.8) 50%, rgba(13,31,60,0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.prod-hero-content {
  position: relative;
  z-index: 2;
  padding-left: 80px; /* 增加左边距，让内容更靠右 */
}

.prod-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.prod-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prod-breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.prod-breadcrumb a:hover { color: var(--primary-light); }
.prod-breadcrumb span { color: rgba(255,255,255,0.2); }

.prod-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(22,93,255,0.15);
  border: 1px solid rgba(22,93,255,0.3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary-light);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.prod-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: white;
  animation: fadeInUp 0.8s ease both;
}

.prod-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.prod-key-data {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.kd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.kd-num {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(90deg, #40A9FF, #165DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.kd-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.kd-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.prod-actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* 产品视觉区 */
.prod-hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end; /* 改为右对齐 */
  align-items: center;
  overflow: hidden;
  min-width: 0;
}

.prod-hero-visual img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 免赔照护系统页面 - 手机图片左移200px并缩小 */
.product-free-care .prod-hero-visual img {
  transform: translateX(-200px) scale(0.85);
}

/* 居家照护系统页面 - 图片左移200px */
.product-home-care .prod-hero-visual img {
  transform: translateX(-200px);
}

/* 住院陪护系统页面 - 手机图片右偏移 */
#smartCareVisual {
  padding-right: 100px;
}

.prod-screen-mockup {
  background: rgba(10, 22, 40, 0.9);
  border: 1px solid rgba(22,93,255,0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(22,93,255,0.25), 0 0 0 1px rgba(22,93,255,0.1);
  width: 100%;
  max-width: 480px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.screen-header {
  background: rgba(22,93,255,0.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.screen-dots { display: flex; gap: 6px; }
.screen-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.screen-dots span:nth-child(1) { background: #FF5F56; }
.screen-dots span:nth-child(2) { background: #FFBD2E; }
.screen-dots span:nth-child(3) { background: #27C93F; }

.screen-title {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex: 1;
  text-align: center;
}

.screen-body { padding: 24px; }

.screen-dashboard { display: flex; flex-direction: column; gap: 16px; }

.dash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.dash-card {
  background: rgba(22,93,255,0.08);
  border: 1px solid rgba(22,93,255,0.15);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.dash-label { font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.dash-value { font-size: 28px; font-weight: 700; }

.dash-chart {
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  padding: 16px;
  height: 100px;
}

.chart-bar-group {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 100%;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.dash-list { display: flex; flex-direction: column; gap: 8px; }

.dash-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.green { background: #27C93F; box-shadow: 0 0 6px #27C93F; }
.status-dot.blue { background: #40A9FF; }
.status-dot.yellow { background: #FFB800; }

/* 通用节区 */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pain-points-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, #0A1628 0%, #060C1E 100%);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pain-card {
  background: rgba(255,77,79,0.04);
  border: 1px solid rgba(255,77,79,0.12);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.pain-card:hover {
  border-color: rgba(255,77,79,0.25);
  transform: translateY(-4px);
}

.pain-icon { font-size: 40px; margin-bottom: 16px; }

.pain-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.pain-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.solution-detail-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, #060C1E 0%, #0A1628 100%);
}

/* 流程步骤 */
.flow-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}

.flow-step {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  transition: all 0.3s ease;
}

.flow-step:hover {
  border-color: rgba(22,93,255,0.4);
  transform: translateY(-4px);
}

.flow-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.flow-icon { font-size: 32px; margin-bottom: 12px; }

.flow-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.flow-arrow {
  font-size: 24px;
  color: rgba(22,93,255,0.4);
  padding: 0 8px;
  flex-shrink: 0;
}

/* 价值卡片 */
.value-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.vc-card {
  background: rgba(22,93,255,0.05);
  border: 1px solid rgba(22,93,255,0.15);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.vc-card:hover {
  border-color: rgba(22,93,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(22,93,255,0.2);
}

.vc-icon { font-size: 48px; margin-bottom: 20px; }

.vc-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.vc-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vc-metrics div {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.vc-metrics strong {
  color: #40A9FF;
  font-size: 16px;
  margin-right: 6px;
}

/* 相关产品 */
.related-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rp-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: all 0.3s ease;
}

.rp-card:hover {
  color: white;
  border-color: rgba(22,93,255,0.4);
  background: rgba(22,93,255,0.08);
  transform: translateX(4px);
}

.rp-arrow {
  color: rgba(22,93,255,0.5);
  transition: transform 0.3s ease;
}

.rp-card:hover .rp-arrow {
  transform: translateX(4px);
  color: var(--primary-light);
}

/* 响应式 */
@media (max-width: 960px) {
  .prod-hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
    text-align: center;
  }
  .prod-hero-content {
    padding-left: 0; /* 在移动设备上移除左边距 */
  }
  .prod-hero-visual { 
    order: -1; 
    justify-content: center; /* 移动设备上居中显示 */
  }
  .prod-hero-visual img { max-width: 100%; width: 100%; height: auto; }
  .prod-actions { justify-content: center; }
  .prod-key-data { justify-content: center; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .value-cards { grid-template-columns: 1fr; }
  .related-products { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .transport-scenarios-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 640px) {
  .prod-hero { padding: 100px 16px 40px; }
  .prod-hero-visual { width: 100%; }
  .prod-hero-visual img { max-width: 100%; width: 100%; height: auto; transform: none; }
  .product-free-care .prod-hero-visual img { transform: none; max-width: 70%; width: auto; }
  .product-home-care .prod-hero-visual img { transform: none; max-width: 100%; width: 100%; }
  #smartCareVisual { padding-right: 0; }
  .pain-grid { grid-template-columns: 1fr; gap: 16px; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .prod-key-data {
    flex-wrap: wrap;
    padding: 16px;
    gap: 0;
  }
  .kd-divider { display: none; }
  .kd-item {
    width: 50%;
    padding: 10px 8px;
    box-sizing: border-box;
  }
  .prod-badge {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    letter-spacing: 1px;
    font-size: 11px;
  }
  .prod-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .prod-actions .btn {
    font-size: 13px;
    padding: 10px 18px;
  }
  .prod-subtitle {
    font-size: 14px;
  }
  .study-plan-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .study-plan-image {
    order: -1;
  }
  .service-grid { grid-template-columns: 1fr !important; }
  .transport-scenarios-grid { grid-template-columns: 1fr !important; }

  /* 成功案例板块手机端适配 */
  .case-study-section { padding: 60px 16px !important; }
  .case-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .case-card {
    padding: 24px !important;
  }
  .case-card h3 {
    font-size: 1.2rem !important;
  }
  .case-card p {
    font-size: 0.9rem !important;
  }
  .case-card h4 {
    font-size: 0.95rem !important;
  }
  .case-card ul li {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }

  /* 相关产品板块手机端适配 */
  .related-products-section { padding: 60px 16px !important; }
  .related-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 32px !important;
  }
  .related-card {
    padding: 20px !important;
  }
  .related-card h3 {
    font-size: 1.1rem !important;
  }
  .related-card p {
    font-size: 0.9rem !important;
    margin-bottom: 16px !important;
  }
  .related-card .btn {
    font-size: 13px !important;
    padding: 8px 16px !important;
  }
}

/* 学习计划板块图片悬停效果 */
.study-plan-img:hover {
  transform: scale(1.03) translateY(-8px);
}
