#technology.ds-tech {
  --tech-blue: #1767ff;
  --tech-cyan: #43d4ff;
  --tech-navy: #071b4d;
  position: relative;
  overflow: hidden;
  padding: 34px 0 50px;
  background:
    radial-gradient(circle at 82% 20%, rgba(62, 156, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f4f9ff 100%);
}

#technology.ds-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(75, 125, 203, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 125, 203, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.ds-tech-shell { position: relative; z-index: 1; }

.ds-tech-hero {
  position: relative;
  min-height: 245px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  overflow: hidden;
  padding: 36px 48px;
  border: 1px solid rgba(87, 160, 255, 0.38);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 42%, rgba(28, 188, 255, 0.48), transparent 22%),
    radial-gradient(circle at 91% 12%, rgba(79, 128, 255, 0.5), transparent 30%),
    linear-gradient(118deg, #061d55 0%, #073c9c 51%, #075cd4 100%);
  box-shadow: 0 22px 60px rgba(22, 83, 171, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ds-tech-hero::before,
.ds-tech-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ds-tech-hero::before {
  right: -7%;
  bottom: -62%;
  width: 72%;
  height: 120%;
  border: 1px solid rgba(109, 217, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(48, 182, 255, 0.2);
}

.ds-tech-hero::after {
  inset: auto 0 0;
  height: 46%;
  opacity: 0.55;
  background:
    radial-gradient(ellipse at 12% 100%, rgba(38, 183, 255, 0.45), transparent 55%),
    repeating-radial-gradient(ellipse at 15% 140%, transparent 0 13px, rgba(104, 208, 255, 0.22) 14px 15px, transparent 16px 27px);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}

.ds-tech-hero-copy { position: relative; z-index: 3; max-width: 660px; }

.ds-tech-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8edaff;
  font: 700 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.2em;
}

.ds-tech-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 8px 0 16px rgba(72, 206, 255, 0.7);
}

#technology .ds-tech-hero h2 {
  margin: 10px 0 3px;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ds-tech-hero-en {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font: 600 15px/1.2 Arial, sans-serif;
  letter-spacing: 0.12em;
}

.ds-tech-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(233, 246, 255, 0.85);
  font-size: 14px;
  line-height: 1.85;
}

.ds-tech-visual {
  position: relative;
  z-index: 2;
  min-height: 190px;
  perspective: 700px;
}

.ds-tech-visual-grid {
  position: absolute;
  left: 50%;
  bottom: -30px;
  width: 470px;
  height: 185px;
  transform: translateX(-50%) rotateX(68deg);
  border-radius: 50%;
  border: 1px solid rgba(108, 226, 255, 0.64);
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 24px, rgba(94, 207, 255, 0.22) 25px 26px, transparent 27px 42px),
    radial-gradient(circle, rgba(24, 172, 255, 0.28), transparent 68%);
  box-shadow: 0 0 45px rgba(36, 189, 255, 0.38);
}

.ds-tech-hero-stack {
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 245px;
  height: 160px;
  transform: translateX(-50%);
}

.ds-tech-hero-tier {
  position: absolute;
  left: 50%;
  width: var(--tier-width);
  height: 42px;
  transform: translateX(-50%) skewX(-12deg);
  border: 1px solid rgba(192, 239, 255, 0.88);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(155, 225, 255, 0.96), rgba(22, 108, 255, 0.92) 55%, rgba(15, 61, 174, 0.96));
  box-shadow: 0 12px 22px rgba(0, 39, 119, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 22px rgba(71, 198, 255, 0.22);
}

.ds-tech-hero-tier:nth-child(1) { --tier-width: 236px; bottom: 0; }
.ds-tech-hero-tier:nth-child(2) { --tier-width: 190px; bottom: 38px; }
.ds-tech-hero-tier:nth-child(3) { --tier-width: 145px; bottom: 75px; }
.ds-tech-hero-tier:nth-child(4) { --tier-width: 100px; bottom: 111px; }

.ds-tech-ai-chip {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 126px;
  width: 72px;
  height: 55px;
  display: grid;
  place-items: center;
  transform: translateX(-50%) rotate(5deg);
  border: 1px solid rgba(226, 250, 255, 0.9);
  border-radius: 13px;
  color: #fff;
  font: italic 800 22px/1 Arial, sans-serif;
  background: linear-gradient(145deg, #67d9ff, #176cff 62%, #1546c5);
  box-shadow: 0 0 30px rgba(78, 209, 255, 0.7), inset 0 1px 0 #fff;
}

.ds-tech-float-icon {
  position: absolute;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(145, 222, 255, 0.58);
  border-radius: 12px;
  color: #91e1ff;
  background: rgba(18, 77, 177, 0.52);
  box-shadow: 0 10px 24px rgba(0, 41, 119, 0.26), inset 0 0 18px rgba(46, 187, 255, 0.14);
  backdrop-filter: blur(8px);
  animation: ds-tech-float 4.5s ease-in-out infinite;
}

.ds-tech-float-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ds-tech-float-icon--one { left: 8%; top: 20%; }
.ds-tech-float-icon--two { right: 7%; top: 11%; animation-delay: -1.2s; }
.ds-tech-float-icon--three { right: 1%; bottom: 13%; animation-delay: -2.4s; }

.ds-tech-block { margin-top: 24px; }

.ds-tech-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.ds-tech-section-title { display: flex; align-items: center; gap: 12px; }

.ds-tech-section-index {
  color: var(--tech-blue);
  font: 800 11px/1 Arial, sans-serif;
  letter-spacing: 0.13em;
}

.ds-tech-section-title h3 {
  margin: 0;
  color: var(--tech-navy);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ds-tech-section-head > small {
  color: #8293b4;
  font: 600 10px/1 Arial, sans-serif;
  letter-spacing: 0.12em;
}

.ds-tech-capabilities {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ds-tech-capability {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #dce8f8;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.94));
  box-shadow: 0 10px 28px rgba(52, 95, 160, 0.07), inset 0 1px 0 #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ds-tech-capability::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -38px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 126, 255, 0.15), transparent 68%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.ds-tech-capability:hover {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(31, 107, 255, 0.48);
  box-shadow: 0 16px 34px rgba(37, 95, 180, 0.14), 0 0 0 1px rgba(61, 139, 255, 0.06);
}

.ds-tech-capability:hover::after { transform: scale(1.25); }

.ds-tech-capability-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.ds-tech-capability-number {
  color: var(--tech-blue);
  font: 800 20px/1 Arial, sans-serif;
  letter-spacing: -0.04em;
}

.ds-tech-capability-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(56, 126, 242, 0.15);
  border-radius: 12px;
  color: #1767ff;
  background: linear-gradient(145deg, #f8fcff, #dcecff);
  box-shadow: 0 8px 18px rgba(47, 104, 194, 0.12), inset 0 1px 0 #fff;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ds-tech-capability:hover .ds-tech-capability-icon {
  color: #fff;
  background: linear-gradient(145deg, #4abfff, #1767ff);
  box-shadow: 0 10px 23px rgba(23, 103, 255, 0.3), 0 0 16px rgba(57, 191, 255, 0.3);
}

.ds-tech-capability-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ds-tech-capability h4 { margin: 15px 0 7px; color: #0c2554; font-size: 16px; line-height: 1.35; }
.ds-tech-capability p { margin: 0; color: #6d7f9e; font-size: 11px; line-height: 1.65; }

.ds-tech-architecture-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.36fr);
  gap: 34px;
  min-height: 320px;
  padding: 26px 30px;
  border: 1px solid #dce8f7;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 50%, rgba(45, 144, 255, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(249, 252, 255, 0.98), rgba(232, 243, 255, 0.95));
  box-shadow: 0 14px 38px rgba(50, 96, 164, 0.08), inset 0 1px 0 #fff;
}

.ds-tech-stack-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.ds-tech-stack-wrap::before,
.ds-tech-stack-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.ds-tech-stack-wrap::before {
  width: 330px;
  height: 94px;
  border: 1px solid rgba(60, 153, 255, 0.3);
  box-shadow: 0 0 38px rgba(48, 152, 255, 0.18);
}

.ds-tech-stack-wrap::after {
  width: 255px;
  height: 64px;
  background: radial-gradient(ellipse, rgba(52, 157, 255, 0.22), transparent 72%);
}

.ds-tech-stack {
  position: relative;
  z-index: 1;
  width: min(100%, 310px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}

.ds-tech-stack-layer {
  position: relative;
  width: calc(100% - var(--inset));
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -5px;
  clip-path: polygon(7% 0, 93% 0, 100% 22%, 100% 78%, 93% 100%, 7% 100%, 0 78%, 0 22%);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 47, 135, 0.35);
  background: linear-gradient(135deg, var(--layer-light), var(--layer-main) 52%, var(--layer-dark));
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 24px rgba(25, 91, 188, 0.2), inset 0 -10px 18px rgba(10, 65, 171, 0.18);
}

.ds-tech-stack-layer:nth-child(1) { --inset: 42px; --layer-light: #82dfff; --layer-main: #3d9eff; --layer-dark: #2367df; z-index: 4; }
.ds-tech-stack-layer:nth-child(2) { --inset: 28px; --layer-light: #65d3ff; --layer-main: #248df5; --layer-dark: #1556d2; z-index: 3; }
.ds-tech-stack-layer:nth-child(3) { --inset: 14px; --layer-light: #4dbaff; --layer-main: #1574ed; --layer-dark: #1045bd; z-index: 2; }
.ds-tech-stack-layer:nth-child(4) { --inset: 0px; --layer-light: #318ff9; --layer-main: #145be3; --layer-dark: #0b399e; z-index: 1; }

.ds-tech-layer-list {
  display: grid;
  gap: 8px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-tech-layer-item {
  display: grid;
  grid-template-columns: 42px 140px minmax(0, 1fr);
  align-items: center;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid rgba(190, 212, 242, 0.7);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 7px 18px rgba(55, 92, 148, 0.055), inset 0 1px 0 #fff;
}

.ds-tech-layer-icon { display: grid; place-items: center; height: 100%; color: #1767ff; background: linear-gradient(90deg, rgba(224, 239, 255, 0.9), transparent); }
.ds-tech-layer-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ds-tech-layer-item strong { padding: 0 16px; color: #0d2757; font-size: 14px; border-right: 1px solid #cfddf0; }
.ds-tech-layer-item p { margin: 0; padding: 0 16px; color: #607493; font-size: 11px; line-height: 1.55; }

.ds-tech-projects {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.ds-tech-projects-title span { display: block; color: var(--tech-navy); font-size: 18px; font-weight: 800; }
.ds-tech-projects-title small { display: block; margin-top: 5px; color: #8798b6; font: 600 9px/1 Arial, sans-serif; letter-spacing: 0.1em; }

.ds-tech-project-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.ds-tech-project {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #dae6f6;
  border-radius: 14px;
  color: #173568;
  font-size: 13px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 20px rgba(52, 93, 151, 0.07), inset 0 1px 0 #fff;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

a.ds-tech-project:hover,
a.ds-tech-project:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(23, 103, 255, 0.42);
  color: #0f5fe8;
  box-shadow: 0 13px 25px rgba(40, 100, 190, 0.13);
  outline: none;
}

.ds-tech-project svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: #1767ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@keyframes ds-tech-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 1080px) {
  .ds-tech-hero { grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr); padding-inline: 38px; }
  .ds-tech-capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ds-tech-capability { min-height: 165px; }
  .ds-tech-architecture-card { grid-template-columns: 0.8fr 1.2fr; gap: 20px; padding-inline: 22px; }
  .ds-tech-layer-item { grid-template-columns: 40px 120px minmax(0, 1fr); }
  .ds-tech-projects { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 820px) {
  #technology.ds-tech { padding-top: 26px; }
  .ds-tech-hero { grid-template-columns: 1fr; padding: 32px; }
  .ds-tech-hero-copy { max-width: 100%; }
  .ds-tech-visual { min-height: 175px; margin-top: 8px; }
  .ds-tech-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-tech-architecture-card { grid-template-columns: 1fr; }
  .ds-tech-stack-wrap { min-height: 250px; }
  .ds-tech-project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  #technology.ds-tech { padding: 18px 0 38px; }
  .ds-tech-hero { min-height: 0; padding: 27px 22px 20px; border-radius: 20px; }
  #technology .ds-tech-hero h2 { font-size: 39px; }
  .ds-tech-hero-en { font-size: 11px; letter-spacing: 0.09em; }
  .ds-tech-hero-copy p { font-size: 13px; line-height: 1.75; }
  .ds-tech-visual { min-height: 164px; transform: scale(0.9); margin: -2px -26px 0; }
  .ds-tech-float-icon--one { left: 3%; }
  .ds-tech-float-icon--two { right: 3%; }
  .ds-tech-block { margin-top: 22px; }
  .ds-tech-section-head { align-items: flex-start; margin-bottom: 12px; }
  .ds-tech-section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .ds-tech-section-title h3 { font-size: 21px; }
  .ds-tech-section-head > small { display: none; }
  .ds-tech-capabilities { grid-template-columns: 1fr; gap: 9px; }
  .ds-tech-capability { min-height: 0; padding: 16px 17px; }
  .ds-tech-capability h4 { margin-top: 9px; }
  .ds-tech-architecture-card { gap: 16px; padding: 20px 14px; border-radius: 18px; }
  .ds-tech-stack-wrap { min-height: 238px; }
  .ds-tech-stack-wrap::before { width: 270px; }
  .ds-tech-stack { width: 270px; }
  .ds-tech-layer-item { grid-template-columns: 38px 1fr; padding: 10px 0; }
  .ds-tech-layer-item strong { border-right: 0; }
  .ds-tech-layer-item p { grid-column: 2; padding: 3px 14px 0; }
  .ds-tech-project-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ds-tech-project { min-height: 50px; padding-inline: 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ds-tech-float-icon { animation: none; }
  .ds-tech-capability,
  .ds-tech-capability-icon,
  .ds-tech-project { transition: none; }
}

/* Isometric diagrams are vector artwork; the existing architecture text remains
   in the document so the layers are still available to assistive technology. */
.ds-tech-visual::after {
  content: "";
  position: absolute;
  inset: -26px -30px -30px;
  z-index: 1;
  pointer-events: none;
  background: url("tech-ai-platform.svg?v=20261113c") center bottom / contain no-repeat;
}

.ds-tech-visual-grid,
.ds-tech-hero-stack { display: none; }

.ds-tech-float-icon { z-index: 2; }

.ds-tech-stack-wrap {
  background: url("tech-four-layer.svg?v=20261114d") center / contain no-repeat;
}

.ds-tech-stack-wrap::before,
.ds-tech-stack-wrap::after { content: none; }

/* 图上的文字绘制在矢量平台正面；透明按钮保留键盘和点击交互。 */
.ds-tech-stack {
  position: absolute;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 420 / 310;
  display: block;
  padding: 0;
  opacity: 1;
}
.ds-tech-stack .ds-tech-stack-layer {
  position: absolute;
  left: 50%;
  z-index: 5;
  width: 54%;
  height: 11%;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 4px;
  transform: translate(-50%, -50%);
  clip-path: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: transparent;
  font: 750 clamp(11px, 1.1vw, 14px)/1.1 "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  text-shadow: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, text-shadow .18s;
}
.ds-tech-stack .ds-tech-stack-layer:nth-child(1) { top: 37.5%; }
.ds-tech-stack .ds-tech-stack-layer:nth-child(2) { top: 50.7%; }
.ds-tech-stack .ds-tech-stack-layer:nth-child(3) { top: 63.9%; }
.ds-tech-stack .ds-tech-stack-layer:nth-child(4) { top: 77.1%; }
.ds-tech-stack .ds-tech-stack-layer:hover,
.ds-tech-stack .ds-tech-stack-layer:focus-visible,
.ds-tech-stack .ds-tech-stack-layer[aria-pressed="true"] {
  border-color: transparent;
  background: radial-gradient(ellipse, rgba(163, 238, 255, .25), transparent 72%);
  text-shadow: none;
  outline: none;
}
.ds-tech-stack .ds-tech-stack-layer:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ds-tech-capability-action {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 12px;
  color: #1c62e8;
  font-size: 11px;
  font-weight: 700;
}
.ds-tech-capability-action:hover { color: #0041ba; }
.ds-tech-capability-action:focus-visible { outline: 2px solid #2a76f4; outline-offset: 4px; border-radius: 2px; }
#technology-architecture-title { scroll-margin-top: 105px; }
.ds-tech-layer-list > li { list-style: none; min-width: 0; }
.ds-tech-layer-item {
  width: 100%;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.ds-tech-layer-item .ds-tech-layer-desc { margin: 0; padding: 0 16px; color: #607493; font-size: 11px; line-height: 1.55; }
.ds-tech-layer-item:hover,
.ds-tech-layer-item:focus-visible,
.ds-tech-layer-item[aria-pressed="true"] {
  border-color: #70aaff;
  background: #f6fbff;
  box-shadow: 0 8px 22px rgba(31, 111, 229, .16), 0 0 0 2px rgba(67, 151, 255, .09);
  outline: none;
}
@media (max-width: 560px) {
  .ds-tech-layer-item .ds-tech-layer-desc { grid-column: 2; padding: 3px 14px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ds-tech-stack .ds-tech-stack-layer, .ds-tech-layer-item { transition: none; }
}

@media (max-width: 560px) {
  .ds-tech-visual::after { inset: -18px -24px -22px; }
}
