/* ========== Architecture Section ========== */
/* 固定图片揭示：图片 sticky 固定，深色区块滚动覆盖其上 */
.arch-reveal {
  position: relative;
  z-index: 1;
  margin-top: -15%;
}

.arch-reveal-sticky {
  position: sticky;
  top: 0;
  height: auto;
  max-height: 100vh; /* 窄屏图片不足 100vh 时按图片实际高度撑开，消除下方空白 */
  overflow: hidden;
  z-index: 0;
}
.arch-reveal-box{
  display: inline;
  position: relative;
}
/* 线框层：独立 sticky 层，盖在深色模块之上，滚动到价签标题下沿时淡入 */
.arch-reveal-border-layer {
  z-index: 2;
  /* 抵消自身高度（= 背景图高 = 宽×903/1440≈62.71%，上限 100vh），与价签层完全重叠 */
  margin-bottom: calc(-1 * min(62.71%, 100vh));
  opacity: 0;
  pointer-events: none;
}
.arch-reveal-ghost {
  visibility: hidden;
}
.arch-reveal-sticky .arch-reveal-bg {
  display: block;
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
}
.arch-reveal-sticky .arch-reveal-jaiqian{
  position: absolute;
  top: 31%;
  left: 40%;
  width: 59%;
  aspect-ratio: 854 / 411;
  z-index: 3;
  /* 双层投影，参数同设计稿 */
  filter: drop-shadow(0 12px 27px rgba(0, 0, 0, 0.36))
          drop-shadow(0 50px 50px rgba(0, 0, 0, 0.31));
}
.arch-reveal-sticky .arch-reveal-jaiqian-border{
  position: absolute;
  top: 31%;
  left: 40%;
  width: 59%;
  aspect-ratio: 854 / 411;
  z-index: 5;
}
.architecture-section {
  padding: 0;
  position: relative;
  z-index: 1;
}

.architecture-bg {
  /* background: linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 31, 69, 0.92) 25%, #0d1f45 50%, #0d1f45 100%); */
  background: #031530;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.architecture-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.arch-header {
  margin-bottom: 120px;
}

.arch-title {
  font-size: var(--big-font-size);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.arch-subtitle {
  font-size: 30px;
  color: #667085;
  margin-bottom: 56px;
  line-height: 48px;
}

.arch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.arch-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Timeline */
.arch-timeline {
  position: relative;
  padding: 20px 0;
}

.arch-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.arch-track-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.arch-track-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: #0066FF;
  transition: height 0.05s linear;
}

.arch-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #0066FF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
  transition: top 0.05s linear;
  z-index: 2;
}

/* Node Rows */
.arch-node {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 63px;
  min-height: 80px;
}

.arch-node-left {
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

.arch-node-center {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  position: relative;
  z-index: 2;
}

.arch-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.arch-node.active .arch-node-dot {
  background: #0066FF;
  border-color: #0066FF;
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.5);
}

.arch-node-right {
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
}

/* Card */
.arch-node-card {
  /* width: 420px; */
  background: #0d213f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.arch-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background-image: url(../img/dot-bg2.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 100%;
  padding: 16px 20px;
}

.arch-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* background: rgba(0, 102, 255, 0.15); */
  border-radius: 8px;
  flex-shrink: 0;
}

.arch-card-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arch-card-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

 .arch-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;   /* ✅ 给伪元素定位锚点 */
  isolation: isolate;   /* ✅ 限制混合范围，不要和外部背景混合 */
}

.arch-node.active .arch-card-body {
  max-height: 380px;
}

.arch-card-body img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

/* 叠加混合图层，盖在图片上方 */
.arch-card-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0d213f;  /* 这里换成你想要叠加的颜色/渐变 */
  mix-blend-mode: lighten; /* 混合模式：multiply / screen / overlay / color */
  pointer-events: none; /* ✅ 防止遮挡图片点击，可选加上 */
}
.arch-card-footer{
  border-top:  1px solid rgba(255, 255, 255, 0.2);
 
}
.arch-card-footer p {
  padding: 36px 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 1);
}

/* Responsive */
@media (max-width: 768px) {
  .arch-card-num{width: 30px; height: 30px;}
  .arch-header{
    margin-bottom: 40px;
  }
  .arch-node {
    display: flex;
    align-items: flex-start;
  }
.arch-node-dot{
  width: 8px;
  height: 8px;
}
  .arch-node-center {
    order: -1;
    flex: 0 0 20px;
    padding-top: 20px;
  }

  .arch-node-left,
  .arch-node-right {
    flex: 1;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
  }

  .arch-node-left:not(:has(.arch-node-card)),
  .arch-node-right:not(:has(.arch-node-card)) {
    display: none;
  }

  .arch-node-card {
    width: 100%;
  }

  .arch-track {
    left: 10px;
    transform: none;
  }
  .arch-reveal{
    margin-top: 0;
  }
}

/* ========== Scene Section ========== */
.scene-section {
  padding: 100px 0;
  background: var(--color-bg-light);
}
.scene-container{
  position: relative;
  left: calc( (100vw - var(--max-width)) / 2 + 24px );
  width: calc( (100vw + var(--max-width)) / 2 - 24px );
}
.scene-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  position: relative;
}

.scene-title {
  font-size: var(--big-font-size);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.scene-desc {
  font-size: 30px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  max-width: 65%;
}

.scene-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.scene-btn:hover {
  background: #0052cc;
}

.scene-header-right {
  display: flex;
  gap: 12px;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  background: #fff;
  padding: 6px;
}

.scene-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  display: flex;
  border: 0;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #344054;
}

.scene-nav-btn:hover {
  background: rgba(186, 232, 255, 1);
  color: var(--color-primary);
}

 .scene-nav-btn .dots-next-icon{
  color: #98A2B3;
 }
#scene-prev .dots-next-icon{
  transform: rotate(180deg);
 }
 .scene-nav-btn:hover .dots-next-icon {
  color: var(--color-primary);
}
.scene-prev-next{
  display: inline-flex;
  background-color: #fff;
  border-radius: 50px;
  border: 1px solid rgba(0, 19, 47, 0.08);
  padding: 4px;
  gap: 4px;
}
.scene-swiper {
  overflow: hidden;
  padding-bottom: 20px;
}

.scene-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.scene-card-image {
  overflow: hidden;
}

.scene-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.scene-card:hover .scene-card-image img {
  transform: scale(1.05);
}

.scene-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 20px 24px 22px ;
  background: linear-gradient(180deg, rgba(0, 31, 77, 0) 0%, rgba(0, 31, 77, 0.74) 100%);
}

.scene-card-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}

.scene-card-desc {
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
  opacity: 0.8;
}

/* Scene Responsive */
@media (max-width: 1024px) {
  .scene-header {
    flex-direction: column;
    gap: 24px;
  }

  .scene-header-left {
    max-width: 100%;
  }

  .scene-header-right {
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  .scene-section {
    padding: 60px 0;
  }

  .scene-title {
    font-size: 28px;
  }
.scene-container{left: 0;width: 100%;}
  .scene-card-image {
    height: 400px;
  }

  .scene-card-content {
    padding: 16px;
  }

  .scene-card-title {
    font-size: 16px;
  }

  .scene-nav-btn {
    width: 40px;
    height: 40px;
  }
  .scene-prev-next{
    position: absolute;
    bottom: 0;
  }
}
