/* ===== 工空间 Hero ===== */
/* 工空间主视觉 */
.industrial-hero{
  position: relative;
  width: 100%;
  min-height: 920px;
  background: url("/assets/img/pages/factory/factory_poster.jpg") center / cover no-repeat;
}

/* 底部文案整体 */
.industrial-slogan{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;

  display: flex;
  justify-content: center;
  align-items: center;

  transform: none; /* ❗️一定要删 */

  display: flex;
  align-items: center;
  gap: 16px;

  color: #eaf6ff;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;

  text-shadow: 0 0 12px rgba(0,180,255,.6);
}

/* 两侧横线 */
.industrial-slogan .line{
  width: 160px;
  height: 6px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(180,230,255,.9),
    transparent
  );
}

/* 文案文字 */
.industrial-slogan .text{
  white-space: nowrap;
}

/* CTA 按钮（你之前的，不改逻辑） */
.industrial-cta{
  position: absolute;
  left: 99px;
  bottom: 170px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 64px;
  padding: 0 48px;
  border-radius: 999px;

  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;

  /* ✅ 玻璃感核心 */
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  /* ✅ 玻璃高光 + 轻阴影 */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 14px 32px rgba(0,0,0,0.22);

  /* ✅ 交互过渡 */
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    color .2s ease;
}

/* ✅ hover：变蓝 + 更亮 + 微上浮 */
.industrial-cta:hover{
  background: rgba(22,119,255,0.28);
  border-color: rgba(120,200,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 18px 44px rgba(22,119,255,0.25);

  transform: translateY(-2px);
}

/* ✅ 点击态（更真实） */
.industrial-cta:active{
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    0 10px 26px rgba(0,0,0,0.22);
}

/* ===== 工空间 Hero：移动端优化 ===== */
@media (max-width: 768px){

  .industrial-hero{
    min-height: 520px;              /* 原 920px 太高 */
    background-position: 40% center; /* 让主体偏左一点更容易露出来 */
  }

  /* CTA：手机上改为自适应位置 + 不跑版 */
  .industrial-cta{
    left: clamp(16px, 6vw, 28px);   /* 距离左侧随屏幕变化 */
    bottom: clamp(88px, 18vw, 140px);

    height: 48px;
    padding: 0 26px;

    font-size: 16px;
    border-radius: 999px;

    /* 玻璃感在手机上稍微更明显一点点 */
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.30);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
  }

  /* 底部文案：字号/线条缩小，避免溢出 */
  .industrial-slogan{
    bottom: 22px;

    font-size: 18px;
    gap: 10px;
    letter-spacing: 1px;
    padding: 0 16px;                /* 防止两侧顶到边缘 */
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .industrial-slogan .line{
    width: 64px;
    height: 3px;
  }
}

/* 更小屏（iPhone SE 等）进一步收紧 */
@media (max-width: 390px){
  .industrial-hero{
    min-height: 480px;
  }

  .industrial-cta{
    height: 46px;
    padding: 0 22px;
    font-size: 15px;
    bottom: 120px;
  }

  .industrial-slogan{
    font-size: 16px;
  }

  .industrial-slogan .line{
    width: 52px;
  }
}

/* ===== Factory Poster 2 ===== */
.factory-poster2{
  width: 100%;
  padding: clamp(40px, 6vw, 120px) 0;  /* 上下留白，随屏幕变化 */
  background: #f3f4f6;               /* 页面背景，和农业保持一致 */
}

.factory-poster2 img{
  display: block;
  width: 100%;
  max-width: 1440px;     /* 窗口最大宽度 */
  margin: 0 auto;

  border-radius: 20px;  /* 圆角 */
  background: #fff;

  box-shadow:
    0 30px 80px rgba(0,0,0,.12),
    0 10px 30px rgba(0,0,0,.08);
}

/* ===== Factory Products ===== */
.factory-products{
  background: #fff;
  padding: 80px 0 100px;
}

.factory-products-inner{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* header */
.factory-products-header{
  margin-bottom: 40px;
}

.factory-products-title{
  font-size: 20px;
  font-weight: 700;
  color: #3A9EF6;
  position: relative;
  display: inline-block;
}

.factory-products-title::after{
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: #3A9EF6;
  margin-top: 6px;
  border-radius: 2px;
}

/* grid：只有 2 个 */
.factory-products-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

/* card */
.factory-product-card{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: center;
}

/* image */
.factory-product-img{
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 18px 40px rgba(0,0,0,.08),
    0 6px 16px rgba(0,0,0,.04);
}

.factory-product-img img{
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* info */
.factory-product-info h3{
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.factory-product-info p{
  font-size: 14px;
  line-height: 1.7;
  color: #101010;
  margin: 0 0 12px;
}

/* link */
.factory-product-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 36px;
  padding: 0 20px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  color: #3A9EF6;
  text-decoration: none;

  background: rgba(22,119,255,.06);
  border: 1px solid rgba(22,119,255,.35);

  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.factory-product-link:hover{
  background: rgba(22,119,255,.12);
  border-color: rgba(22,119,255,.6);
  transform: translateY(-1px);
}

/* responsive */
@media (max-width: 960px){
  .factory-products-grid{
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .factory-product-card{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .factory-product-img{
    margin: 0 auto;
  }
}

/* ===== Factory Product Advantages ===== */
.factory-product-adv{
  margin: 10px 0 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

.factory-product-adv strong{
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: #333;
}

.factory-product-adv ul{
  padding-left: 16px;
  margin: 0;
}

.factory-product-adv li{
  margin-bottom: 4px;
  list-style: disc;
}

/* ===== Factory Application Scenarios ===== */
.factory-scenes{
  background: #fff;
  padding: 80px 0 100px;
}

.factory-scenes-inner{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* header */
.factory-scenes-header{
  margin-bottom: 36px;
}

.factory-scenes-title{
  font-size: 20px;
  font-weight: 700;
  color: #3A9EF6;
  position: relative;
  display: inline-block;
}

.factory-scenes-title::after{
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: #3A9EF6;
  margin-top: 6px;
  border-radius: 2px;
}

/* grid */
.factory-scenes-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* card */
.factory-scene-card{
  display: flex;
  flex-direction: column;
}

/* image */
.factory-scene-img{
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

.factory-scene-img img{
  width: 100%;
  height: auto;
  display: block;
}

/* title */
.factory-scene-name{
  font-size: 15px;
  font-weight: 700;
  color: #3A9EF6;
  margin: 0 0 8px;
}

.factory-scene-name span{
  font-size: 13px;
  font-weight: 500;
  color: #7aaeff;
}

/* description */
.factory-scene-desc{
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* responsive */
@media (max-width: 960px){
  .factory-scenes-grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.factory-product-card{
  opacity: 0;
  transform: translateY(40px);
}

.factory-product-card.is-visible{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}

/* ===== Factory Products Mobile Card Style ===== */
@media (max-width: 768px){

  .factory-products{
    padding: 40px 0 52px;
  }

  .factory-products-inner{
    padding: 0 16px;
  }

  .factory-products-header{
    margin-bottom: 22px;
  }

  .factory-products-title{
    font-size: 22px;
    line-height: 1.3;
  }

  .factory-products-title::after{
    width: 26px;
    height: 3px;
    margin-top: 6px;
  }

  .factory-products-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .factory-product-card{
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
      0 14px 36px rgba(0,0,0,.08),
      0 4px 12px rgba(0,0,0,.05);
    padding: 0;
  }

  .factory-product-img{
    width: 100%;
    height: 210px;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
  }

  .factory-product-img img{
    max-width: 72%;
    max-height: 72%;
    object-fit: contain;
  }

  .factory-product-info{
    padding: 18px 16px 18px;
  }

  .factory-product-info h3{
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px;
  }

  .factory-product-info p{
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 12px;
    color: #333;
  }

  .factory-product-adv{
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.75;
    color: #555;
  }

  .factory-product-adv strong{
    margin-bottom: 6px;
    font-size: 14px;
    color: #222;
  }

  .factory-product-adv ul{
    margin: 0;
    padding-left: 18px;
  }

  .factory-product-adv li{
    margin-bottom: 6px;
  }

  .factory-product-link{
    height: 38px;
    padding: 0 18px;
    font-size: 13px;
  }
}