/* 对标 Welcome Hero 交互 + 梦境品牌视觉 */

.dl-welcome {
  --dl-cream: #f0e0bc;
  --dl-gold: #d4b87a;
  --dl-gold-bright: #e8d4a8;
  --dl-violet: #b8a0e8;
  --dl-void: #030303;
  --color-text-primary: rgba(240, 224, 188, 0.96);
  --color-text-secondary: rgba(232, 212, 168, 0.58);
  --color-text-tertiary: rgba(232, 212, 168, 0.38);
  --color-primary: var(--dl-gold-bright);
  --color-primary-deep: var(--dl-gold);
  --color-accent: var(--dl-violet);
  --dl-glow: rgba(212, 184, 122, 0.35);
  --dl-glow-soft: rgba(212, 184, 122, 0.12);
  --dl-glow-violet: rgba(184, 160, 232, 0.14);
  --bg-page: var(--dl-void);
  --app-rem: 14.88px;
  background: var(--dl-void);
  color: var(--color-text-primary);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--app-rem);
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

.dl-welcome *,
.dl-welcome *::before,
.dl-welcome *::after {
  box-sizing: border-box;
}

/* —— 全局背景 —— */
.dl-welcome__global-bg {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.dl-welcome__gradient-flow {
  animation: dl-flow-rotate 60s linear infinite;
  background: conic-gradient(
    transparent 0deg,
    rgba(212, 184, 122, 0.06) 60deg,
    transparent 120deg,
    rgba(184, 160, 232, 0.05) 180deg,
    transparent 240deg,
    rgba(212, 184, 122, 0.04) 300deg,
    transparent 360deg
  );
  inset: -50%;
  position: absolute;
}

@keyframes dl-flow-rotate {
  to {
    transform: rotate(360deg);
  }
}

.dl-welcome__orb {
  animation: dl-orb-float 25s ease-in-out infinite;
  border-radius: 50%;
  filter: blur(7.14rem);
  position: absolute;
}

.dl-welcome__orb--1 {
  background: radial-gradient(circle, rgba(212, 184, 122, 0.16) 0%, transparent 70%);
  height: 53.57rem;
  right: -20%;
  top: -30%;
  width: 53.57rem;
}

.dl-welcome__orb--2 {
  animation-delay: -8s;
  background: radial-gradient(circle, rgba(184, 160, 232, 0.12) 0%, transparent 70%);
  bottom: -25%;
  height: 47.62rem;
  left: -15%;
  width: 47.62rem;
}

.dl-welcome__orb--3 {
  animation-delay: -16s;
  background: radial-gradient(circle, rgba(212, 184, 122, 0.08) 0%, transparent 70%);
  height: 29.76rem;
  left: 25%;
  top: 40%;
  width: 29.76rem;
}

@keyframes dl-orb-float {
  0%,
  100% {
    transform: translate(0) scale(1);
  }

  25% {
    transform: translate(4.76rem, -2.98rem) scale(1.15);
  }

  50% {
    transform: translate(-2.98rem, 4.76rem) scale(0.9);
  }

  75% {
    transform: translate(-4.76rem, -1.79rem) scale(1.1);
  }
}

.dl-welcome__grid {
  animation: dl-grid-pulse 10s ease-in-out infinite;
  background-image:
    linear-gradient(rgba(212, 184, 122, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 184, 122, 0.04) 1px, transparent 1px);
  background-size: 3.57rem 3.57rem;
  inset: 0;
  position: absolute;
}

@keyframes dl-grid-pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.dl-welcome__particles {
  inset: 0;
  position: absolute;
}

.dl-welcome__particle {
  animation: dl-particle-drift 20s ease-in-out infinite;
  background: rgba(232, 212, 168, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0.6rem rgba(212, 184, 122, 0.45);
  position: absolute;
}

@keyframes dl-particle-drift {
  0%,
  100% {
    opacity: 0;
    transform: translate(0);
  }

  10%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(2.98rem, -7.14rem);
  }
}

.dl-welcome__conn-svg {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.dl-welcome__conn-line {
  animation: dl-conn-flow 12s linear infinite;
  fill: none;
  stroke: rgba(212, 184, 122, 0.12);
  stroke-dasharray: 200;
  stroke-dashoffset: 200px;
  stroke-width: 0.5px;
}

.dl-welcome__conn-line--2 {
  animation-delay: -4s;
  stroke: rgba(184, 160, 232, 0.12);
}

.dl-welcome__conn-line--3 {
  animation-delay: -8s;
  stroke: rgba(212, 184, 122, 0.08);
}

@keyframes dl-conn-flow {
  0% {
    stroke-dashoffset: 200px;
  }

  50% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -200px;
  }
}

/* —— Hero —— */
.dl-hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 4.5rem;
  position: relative;
  z-index: 1;
}

.dl-hero__inner {
  align-items: center;
  display: flex;
  flex: 1 1 0%;
  justify-content: center;
  margin: 0 auto;
  max-width: 90rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 3;
  width: 100%;
}

.dl-hero__center {
  max-width: 52rem;
  position: relative;
  text-align: center;
  width: 100%;
}

/* Orbit — 对标 orbit-container */
.dl-orbit {
  --orbit-r: 26rem;
  height: 0;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: scale(0) rotate(-360deg);
  width: 0;
  z-index: -1;
}

.dl-orbit--go {
  animation: dl-orbit-entrance 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dl-orbit-entrance {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-360deg);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1.25) rotate(0deg);
  }
}

.dl-orbit__spin {
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 0;
  will-change: transform;
}

.dl-orbit--go .dl-orbit__spin {
  animation: dl-orbit-rotate 80s linear infinite;
}

@keyframes dl-orbit-rotate {
  to {
    transform: rotate(360deg);
  }
}

.dl-orbit__item {
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  transform: rotate(var(--angle)) translateY(calc(var(--orbit-r) * -1));
  width: 0;
}

.dl-orbit__icon-wrap {
  align-items: center;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  opacity: 0;
  pointer-events: auto;
  transform: rotate(calc(var(--angle) * -1)) translateX(-50%);
  transition: opacity 1.5s;
  width: 3.81rem;
}

.dl-orbit--go .dl-orbit__icon-wrap {
  animation: dl-orbit-counter 80s linear infinite;
  opacity: 0.5;
}

.dl-orbit__icon-wrap:hover {
  opacity: 1 !important;
  transition: opacity 0.3s;
}

@keyframes dl-orbit-counter {
  to {
    transform: rotate(calc(var(--angle) * -1 - 360deg)) translateX(-50%);
  }
}

.dl-orbit__item--dim .dl-orbit__icon-wrap {
  opacity: 0 !important;
  transition: opacity 0.3s !important;
}

.dl-orbit__icon {
  background: rgb(18, 16, 14);
  border: 1px solid rgba(232, 212, 168, 0.12);
  border-radius: 0.48rem;
  filter: drop-shadow(rgba(212, 184, 122, 0.12) 0 0 0.48rem);
  flex-shrink: 0;
  height: 1.79rem !important;
  max-height: 1.79rem !important;
  max-width: 1.79rem !important;
  min-height: 1.79rem;
  min-width: 1.79rem;
  object-fit: cover;
  padding: 0.24rem;
  transition: filter 0.3s, border-color 0.3s;
  width: 1.79rem !important;
}

.dl-orbit__icon-wrap:hover .dl-orbit__icon {
  border-color: rgba(212, 184, 122, 0.3);
  filter: drop-shadow(rgba(212, 184, 122, 0.3) 0 0 0.71rem);
}

.dl-orbit__name {
  color: rgba(232, 212, 168, 0.38);
  font-size: 0.55rem;
  letter-spacing: 0.02em;
  max-width: 3.81rem;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  transition: color 0.3s;
  white-space: nowrap;
}

.dl-orbit__icon-wrap:hover .dl-orbit__name {
  color: rgba(232, 212, 168, 0.82);
}

/* Hero copy */
.dl-hero__chip {
  align-items: center;
  background: rgba(212, 184, 122, 0.06);
  border: 1px solid rgba(212, 184, 122, 0.16);
  border-radius: 99rem;
  color: var(--color-primary);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 0.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  padding: 0.35rem 1.1rem;
}

.dl-hero__chip-pulse {
  animation: dl-chip-pulse 2s ease-in-out infinite;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0.48rem var(--color-primary);
  height: 0.36rem;
  width: 0.36rem;
}

@keyframes dl-chip-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.dl-hero__h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.dl-hero__line1,
.dl-hero__line2 {
  display: block;
}

.dl-hero__typing {
  animation: dl-gradient-shift 5s ease-in-out infinite;
  background: linear-gradient(90deg, var(--dl-cream), var(--dl-gold-bright), var(--dl-violet), var(--dl-gold));
  background-clip: text;
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes dl-gradient-shift {
  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.dl-hero__cursor {
  animation: dl-blink 1s step-end infinite;
  color: var(--color-primary);
  font-weight: 300;
}

@keyframes dl-blink {
  50% {
    opacity: 0;
  }
}

.dl-hero__sub {
  color: var(--color-text-secondary);
  font-size: clamp(0.92rem, 2.2vw, 1.1rem);
  line-height: 1.75;
  margin: 0 auto 2.5rem;
  max-width: 38rem;
}

.dl-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.dl-cta-main {
  align-items: center;
  background: linear-gradient(135deg, var(--dl-gold-bright), var(--dl-gold));
  border: none;
  border-radius: 99rem;
  box-shadow:
    rgba(212, 184, 122, 0.35) 0 0 1.79rem,
    rgba(212, 184, 122, 0.2) 0 0.24rem 1.19rem;
  color: var(--dl-void);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  transition: 0.3s;
}

.dl-cta-main:hover {
  box-shadow:
    rgba(212, 184, 122, 0.5) 0 0 2.98rem,
    rgba(212, 184, 122, 0.3) 0 0.48rem 1.79rem;
  transform: translateY(-0.12rem);
}

.dl-cta-main svg {
  flex-shrink: 0;
  height: 0.8rem !important;
  max-height: 0.8rem !important;
  max-width: 0.8rem !important;
  min-height: 0.8rem;
  min-width: 0.8rem;
  transition: transform 0.2s;
  width: 0.8rem !important;
}

.dl-cta-main:hover svg {
  transform: translateX(0.18rem);
}

.dl-cta-sub {
  align-items: center;
  background: rgba(232, 212, 168, 0.04);
  border: 1px solid rgba(232, 212, 168, 0.12);
  border-radius: 99rem;
  color: var(--color-text-primary);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  transition: 0.3s;
}

.dl-cta-sub:hover {
  background: rgba(212, 184, 122, 0.06);
  border-color: rgba(212, 184, 122, 0.3);
  color: var(--color-primary);
}

.dl-hero__nums {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.dl-num-block {
  text-align: center;
}

.dl-num-val {
  background: linear-gradient(var(--dl-cream) 30%, rgba(212, 184, 122, 0.65)) text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.dl-num-label {
  color: var(--color-text-tertiary);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}

.dl-num-sep {
  background: linear-gradient(transparent, rgba(212, 184, 122, 0.22), transparent);
  height: 2rem;
  width: 1px;
}

/* Spotlight — 对标：轨道飞出 → 侧边展示 → 飞回消失 */
.dl-spotlight {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -50%) scale(0.3);
  visibility: hidden;
  will-change: left, top, transform, opacity;
  z-index: 10;
}

.dl-spotlight.is-active {
  visibility: visible;
}

.dl-spotlight.is-settled .dl-spotlight__card {
  animation: dl-spotlight-settle 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.dl-spotlight.is-settled .dl-spotlight__img {
  animation: dl-spotlight-glow 2.2s ease-in-out infinite;
}

@keyframes dl-spotlight-settle {
  0% {
    transform: scale(0.94);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes dl-spotlight-glow {
  0%,
  100% {
    filter: drop-shadow(rgba(212, 184, 122, 0.32) 0 0 0.75rem);
  }

  50% {
    filter: drop-shadow(rgba(212, 184, 122, 0.58) 0 0 1.35rem);
  }
}

.dl-spotlight__card {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 14rem;
  min-width: 8rem;
}

.dl-spotlight__img {
  background: rgb(18, 16, 14);
  border: 1px solid rgba(232, 212, 168, 0.12);
  border-radius: 0.6rem;
  filter: drop-shadow(rgba(212, 184, 122, 0.3) 0 0 0.8rem);
  flex-shrink: 0;
  height: 3rem !important;
  margin-bottom: 0.5rem;
  max-height: 3rem !important;
  max-width: 3rem !important;
  min-height: 3rem;
  min-width: 3rem;
  object-fit: cover;
  padding: 0.3rem;
  width: 3rem !important;
}

.dl-spotlight__name {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.dl-spotlight__desc {
  color: rgba(232, 212, 168, 0.72);
  font-size: 0.72rem;
  line-height: 1.6;
  margin: 0;
  min-height: 1.15rem;
  text-align: center;
}

.dl-spotlight__cursor {
  animation: dl-blink 1s step-end infinite;
  color: var(--color-primary);
  font-weight: 300;
}

/* —— 业务区块 —— */
.dl-sec {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.dl-sec__inner {
  margin: 0 auto;
  max-width: 76rem;
  padding: 0 2rem;
}

.dl-sec__head {
  margin-bottom: 4rem;
  text-align: center;
}

.dl-sec__chip {
  background: rgba(212, 184, 122, 0.06);
  border: 1px solid rgba(212, 184, 122, 0.12);
  border-radius: 99rem;
  color: var(--color-primary);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  padding: 0.3rem 1rem;
  text-transform: uppercase;
}

.dl-sec__h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.dl-grad {
  background: linear-gradient(90deg, var(--dl-cream), var(--dl-gold-bright), var(--dl-violet));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dl-sec__p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 42rem;
}

.dl-cap-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .dl-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 72rem) {
  .dl-cap-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dl-cap-card {
  background: rgba(232, 212, 168, 0.02);
  border: 1px solid rgba(232, 212, 168, 0.08);
  border-radius: 1rem;
  color: inherit;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 2rem 1.5rem;
  position: relative;
  text-decoration: none;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}

.dl-cap-card::before {
  background: radial-gradient(circle at 50% 0, rgba(212, 184, 122, 0.08), transparent 70%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.35s;
}

.dl-cap-card:hover {
  border-color: rgba(212, 184, 122, 0.25);
  box-shadow:
    rgba(0, 0, 0, 0.3) 0 1.19rem 2.38rem,
    rgba(212, 184, 122, 0.08) 0 0 1.79rem;
  transform: translateY(-0.36rem);
}

.dl-cap-card:hover::before {
  opacity: 1;
}

.dl-cap-num {
  color: rgba(212, 184, 122, 0.08);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
}

.dl-cap-icon {
  align-items: center;
  background: rgba(212, 184, 122, 0.08);
  border: 1px solid rgba(212, 184, 122, 0.14);
  border-radius: 0.7rem;
  color: var(--color-primary);
  display: flex;
  font-size: 1.15rem;
  height: 2.8rem;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: background 0.3s, box-shadow 0.3s;
  width: 2.8rem;
}

.dl-cap-card:hover .dl-cap-icon {
  background: rgba(212, 184, 122, 0.15);
  box-shadow: rgba(212, 184, 122, 0.2) 0 0 0.95rem;
}

.dl-cap-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  position: relative;
}

.dl-cap-desc {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  position: relative;
}

.dl-cap-go {
  align-items: center;
  color: var(--color-primary);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.4rem;
  position: relative;
  transition: gap 0.2s;
  white-space: nowrap;
}

.dl-cap-card:hover .dl-cap-go {
  gap: 0.65rem;
}

.dl-cap-go svg {
  flex-shrink: 0;
  height: 0.7rem !important;
  max-height: 0.7rem !important;
  max-width: 0.7rem !important;
  min-height: 0.7rem;
  min-width: 0.7rem;
  transition: transform 0.2s;
  width: 0.7rem !important;
}

.dl-cap-card:hover .dl-cap-go svg {
  transform: translateX(0.18rem);
}

/* —— 首页：仅 Header 品牌字色 —— */
.home-welcome-page {
  background: var(--dl-void);
}

.home-welcome-page header.-light .-w a.-nl .the.-h5,
.home-welcome-page header.-light .-w a.-nl .assembly.-h5 {
  color: var(--dl-cream) !important;
  text-shadow: none !important;
}

.home-welcome-page header.-light .-w a.-nl .obsidian.-h5 {
  color: rgba(240, 224, 188, 0.45) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

@media (max-width: 48rem) {
  .dl-hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .dl-hero__inner {
    padding: 0 1rem;
  }

  .dl-hero__nums {
    gap: 1.2rem;
  }

  .dl-num-val {
    font-size: 1.4rem;
  }

  .dl-orbit {
    --orbit-r: 24rem;
  }

  .dl-orbit__icon {
    height: 1.31rem !important;
    max-height: 1.31rem !important;
    max-width: 1.31rem !important;
    min-height: 1.31rem;
    min-width: 1.31rem;
    padding: 0.18rem;
    width: 1.31rem !important;
  }

  .dl-orbit__name {
    font-size: 0.48rem;
    max-width: 2.98rem;
  }

  .dl-spotlight {
    display: none;
  }

  .dl-sec {
    padding: 4rem 0;
  }

  .dl-sec__inner {
    padding: 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-orbit--go,
  .dl-orbit--go .dl-orbit__spin,
  .dl-orbit--go .dl-orbit__icon-wrap,
  .dl-welcome__gradient-flow,
  .dl-welcome__orb,
  .dl-welcome__grid,
  .dl-welcome__particle,
  .dl-hero__typing,
  .dl-hero__chip-pulse {
    animation: none !important;
  }

  .dl-orbit {
    opacity: 0.35;
    transform: scale(1);
  }

  .dl-orbit__icon-wrap {
    opacity: 0.35;
  }
}
