/*
 * 来源：从原页面内联 <style> 迁出，并按用途拆分为独立 CSS。
 * 原始哈希：39b64e926897，用于追溯迁出前的样式内容。
 * 原始位置：index.html。
 * 维护说明：该文件依赖 HTML 中的 <link> 加载顺序，调整后请做页面回归检查。
 */
/* 首页 Hero 核心容器：设置工业蓝图背景和动态视觉层级。 */
#st-hero-ultimate {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /*background:  url(../img/banner1bg.jpg) no-repeat;#03070f;*/
  background-size:100% 100%;
  /* 深蓝底色用于保证白色标题对比度。 */
  /* 复合网格背景用于模拟工业蓝图质感。 */
  /* background-image:
    radial-gradient(rgba(249, 115, 22, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(249, 115, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22, 0.05) 1px, transparent 1px);
  background-size: 50px 50px, 25px 25px, 25px 25px;
  animation: stBgFlow 100s linear infinite;*/
  /* 背景流动动画用于避免首屏过于静态。 */
  padding: 140px 0 60px 0;
  overflow: hidden;
  position: relative;
}

/* 背景动画：让网格缓慢滑动，增强首屏动态层次。 */
@keyframes stBgFlow {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 50px 50px, 500px 500px, 500px 500px;
  }
}

/* 通用旋转动画：供齿轮和科技环装饰复用。 */
@keyframes stRotateCW {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes stRotateCCW {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* 呼吸脉冲动画：用于弱化静态装饰的生硬感。 */
@keyframes stPulse {

  0%,
  100% {
    opacity: 0.1;
  }

  50% {
    opacity: 0.3;
  }
}

/* 背景装饰：CAD 测量角标用于强化工业制图氛围。 */
.st-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  pointer-events: none;
  z-index: 1;
}

.tl {
  top: 20px;
  left: 20px;
  border-right: 0;
  border-bottom: 0;
}

.tr {
  top: 20px;
  right: 20px;
  border-left: 0;
  border-bottom: 0;
}

.bl {
  bottom: 20px;
  left: 20px;
  border-right: 0;
  border-top: 0;
}

.br {
  bottom: 20px;
  right: 20px;
  border-left: 0;
  border-top: 0;
}

.ct {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  border-right: 0;
  border-bottom: 0;
  width: 10px;
  height: 100px;
  opacity: 0.3;
}

/* 背景装饰：左侧齿轮组用于强化机加工行业气质。 */
.st-gear-cluster {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.st-gear {
  position: absolute;
  border: 2px dashed #FF5B00;
  border-radius: 50%;
  animation: stRotateCW linear infinite;
}

.gear-1 {
  width: 100%;
  height: 100%;
  animation-duration: 40s;
}

.gear-1::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  width: 140%;
  height: 1px;
  background: rgba(255, 91, 0, 0.3);
  transform: rotate(45deg);
}

.gear-2 {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  animation-duration: 20s;
  animation-direction: reverse;
}

/* 背景装饰：参数碎片用于补充数控和精密制造语境。 */
.st-deco-data {
  position: absolute;
  color: rgba(249, 115, 22, 0.15);
  font-size: 10px;
  font-family: monospace;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 1;
}

.data-1 {
  top: 15%;
  left: 5%;
  animation: stPulse 4s infinite;
}

.data-2 {
  bottom: 35%;
  right: 5%;
}

.data-3 {
  top: 50%;
  right: 40%;
  font-size: 8px;
  opacity: 0.1;
}

.st-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 5;
}

/* 主体布局：控制文案和产品视觉的左右关系。 */
.st-main-split {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 70px;
}



.st-hero-content h2 {
  color: #FF5B00;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.st-hero-content h1 {
  color: #ffffff !important;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.st-hero-content p {
  color: #bac4d1;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 35px;
  border-left: 3px solid #FF5B00;
  padding-left: 20px;
}

/* 主按钮：使用橙色强化首屏行动入口。 */
.st-hero-btn {
  display: inline-block;
  background-color: #FF5B00;
  color: #fff !important;
  padding: 16px 45px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.st-hero-btn:hover {
  background-color: #e65200;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 91, 0, 0.4);
}

/* 右侧产品视觉：用多层科技环突出机器主体。 */
.st-hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.st-img-deco-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(249, 115, 22, 0.1);
  animation: stPulse 5s infinite;
}

.ring-1 {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  border-style: dashed;
  animation: stRotateCW 60s linear infinite;
}

.ring-2 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 1px solid rgba(249, 115, 22, 0.05);
  animation: stRotateCCW 40s linear infinite;
}

.ring-3 {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-style: dotted;
  animation: stRotateCW 20s linear infinite;
}

.st-hero-image img {
  width: 140%;
  max-width: 659px;
  z-index: 2;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.8));
  transition: transform 0.5s ease;
}

.st-hero-image:hover img {
  transform: scale(1.03) rotate(-1deg);
}

/* 底部优势标签：补充首页首屏的信任信息。 */
.st-advantage-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
}

.st-adv-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.st-adv-item:hover {
  background: rgba(255, 91, 0, 0.07);
  border-color: rgba(255, 91, 0, 0.3);
}

.st-adv-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  fill: #FF5B00;
}

.st-adv-text h4 {
  color: #fff;
  margin: 0 0 2px 0;
  font-size: 1rem;
  font-weight: 700;
}

.st-adv-text p {
  color: #7e8da1;
  margin: 0;
  font-size: 0.85rem;
}

/* 响应式调整：在窄屏下保持内容层级和可读性。 */
@media (max-width: 992px) {
  .st-main-split {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .st-hero-content p {
    border-left: none;
    padding-left: 0;
    margin: 0 auto 30px;
  }

  .st-advantage-row {
    grid-template-columns: repeat(2, 1fr);
  }

  #st-hero-ultimate {
    padding-top: 100px;
  }

  .st-gear-cluster {
    display: none;
  }
}

@media (max-width: 640px) {
  .st-advantage-row {
    grid-template-columns: 1fr;
  }
  .st-hero-image img{width:100%}

  .st-hero-content h1 {
    font-size: 2rem;
  }
}
