/**
 * Home AI Process Widget
 * 【首页】AI工作流程模块 — 跟随主题：白底 #2b271b 主色 #f5c12e 金色点缀
 */

.process-section-one {
  --theme-color-white: #ffffff;
  --theme-main-text:   #2b271b;
  --theme-sub-text:    #6d6453;
  --theme-gold:        #f5c12e;
  --theme-gold-soft:   #fff6d1;
  --theme-gold-deep:   #d9a815;
  --theme-border:      #ece8d9;
  --theme-card-bg:     #ffffff;
  --section-bg:        #ffffff;
  --title-font: "Rajdhani", "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
  --text-font:  "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
}

.process-section-one .auto-container {
  position: static;
  max-width: 1480px;          /* 扩展容器宽度，确保 3 步骤卡 xl 屏一行 */
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}

/* 3 步骤 row：减小 gutter */
.process-section-one .row {
  margin-left: -10px;
  margin-right: -10px;
}
.process-section-one .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.process-section-one {
  padding: 80px 0 70px;
  background: var(--section-bg);
  position: relative;
}

/* 标题区 */
.process-section-one .sec-title {
  margin-bottom: 45px;
}
.process-section-one .sec-title .section-sub-title {
  margin-bottom: 20px;
}
.process-section-one .sec-title .section-sub-title .sub-title {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--theme-gold-deep);
  padding: 8px 24px;
  border-radius: 40px;
  position: relative;
  background: var(--theme-gold-soft);
  border: 1px solid rgba(245, 193, 46, 0.4);
  margin: 0;
  text-transform: uppercase;
}
.process-section-one .sec-title .section-title .title {
  color: var(--theme-main-text);
  font-weight: 700;
  font-size: 44px;
  line-height: 54px;
  margin: 0;
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .process-section-one .sec-title .section-title .title { font-size: 40px; line-height: 50px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .process-section-one .sec-title .section-title .title { font-size: 36px; line-height: 46px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .process-section-one .sec-title .section-title .title { font-size: 32px; line-height: 42px; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .process-section-one .sec-title .section-title .title { font-size: 28px; line-height: 38px; }
}

/* 步骤卡片 */
.process-section-one .single-process-box {
  margin-top: 70px;
  text-align: center;
  position: relative;
}
.process-section-one .single-process-box.active {
  margin-top: 0;
}
@media (max-width: 1199.98px) {
  .process-section-one .single-process-box { margin-top: 24px; }
  .process-section-one .single-process-box.active { margin-top: 24px; }
}

/* 连接虚线 */
.process-section-one .single-process-box.active::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/ai/process-line1.png);
  background-repeat: no-repeat;
  background-position: center;
  left: -220px;
  top: -50px;
  opacity: 0.6;
}
.process-section-one .single-process-box.active::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/ai/process-line2.png);
  background-repeat: no-repeat;
  background-position: center;
  right: -218px;
  top: -50px;
  opacity: 0.6;
}
@media (max-width: 1199.98px) {
  .process-section-one .single-process-box.active::before,
  .process-section-one .single-process-box.active::after { display: none; }
}

/* 步骤图标 */
.process-section-one .single-process-box .process-icon {
  background: var(--theme-gold-soft);
  width: 72px;
  height: 72px;
  line-height: 72px;
  text-align: center;
  border-radius: 18px;
  position: relative;
  border: 1px solid rgba(245, 193, 46, 0.4);
  margin: 0 auto;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(245, 193, 46, 0.15);
}
.process-section-one .single-process-box .process-icon img {
  vertical-align: middle;
  max-width: 34px;
  max-height: 34px;
}
.process-section-one .single-process-box:hover .process-icon {
  background: var(--theme-gold);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(245, 193, 46, 0.3);
}
.process-section-one .single-process-box:hover .process-icon img {
  filter: brightness(0) invert(1);
}

/* 文字 */
.process-section-one .single-process-box .process-content h3 {
  color: var(--theme-main-text);
  font-weight: 700;
  font-size: 22px;        /* 缩窄标题尺寸 */
  line-height: 30px;
  margin: 20px 0 6px;
}
.process-section-one .single-process-box .process-content p {
  color: var(--theme-sub-text);
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  width: 92%;              /* 减少两侧空白 */
  margin: 0 auto 16px;
}

/* 步骤编号 */
.process-section-one .single-process-box .process-number span {
  background: linear-gradient(180deg, var(--theme-gold) 0%, var(--theme-gold-deep) 100%);
  display: inline-block;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

/* 边角装饰 */
.process-section-one .process-shape1,
.process-section-one .process-shape2 {
  position: absolute;
  top: -100px;
  opacity: 0.25;
}
.process-section-one .process-shape1 { left: 0; }
.process-section-one .process-shape2 { right: 0; }
@media (max-width: 1199.98px) {
  .process-section-one .process-shape1,
  .process-section-one .process-shape2 { display: none; }
}

/* 响应式 */
@media (min-width: 576px) and (max-width: 767px) {
  .process-section-one .single-process-box.active::before,
  .process-section-one .single-process-box.active::after { display: none; }
}
