/* 首页 · 行业应用（编辑级展示） */

.home-industries--editorial {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(201, 169, 98, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 80%, rgba(94, 179, 255, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.4) 0%, #05070a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-industries--editorial.home-screen {
  padding-block: 0;
}

.home-industries__inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding-inline: var(--layout-pad);
}

.home-industries__head {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
}

.home-industries__head .section-title {
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  letter-spacing: -0.04em;
}

.home-industries__foot {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
}

.home-industries__foot a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 98, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.home-industries__foot a:hover {
  color: #e8d4a8;
  border-color: rgba(201, 169, 98, 0.65);
}

.industry-apps {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.industry-apps__loading {
  text-align: center;
}

/* —— 导航条 —— */
.industry-apps__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

.industry-apps__nav {
  position: relative;
}

.industry-apps__nav::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3rem;
  background: linear-gradient(90deg, transparent, #05070a 90%);
  pointer-events: none;
}

.industry-apps__nav-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.industry-apps__nav-track::-webkit-scrollbar {
  display: none;
}

.industry-apps__tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.industry-apps__tab:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.industry-apps__tab.is-active {
  color: #f5f7fb;
  border-color: rgba(201, 169, 98, 0.45);
  background: linear-gradient(
    135deg,
    rgba(201, 169, 98, 0.18) 0%,
    rgba(94, 179, 255, 0.08) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 28px rgba(0, 0, 0, 0.35);
}

.industry-apps__tab-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(201, 169, 98, 0.85);
  opacity: 0.7;
}

.industry-apps__tab.is-active .industry-apps__tab-num {
  opacity: 1;
}

.industry-apps__tab-label {
  white-space: nowrap;
}

/* —— 主舞台 —— */
.industry-apps__stage {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-card) + 4px);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 42%,
    rgba(5, 7, 10, 0.5) 100%
  );
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.industry-apps__stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.55),
    rgba(94, 179, 255, 0.35),
    transparent
  );
  pointer-events: none;
}

.industry-apps__panel {
  animation: industryPanelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes industryPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.industry-apps__hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.industry-apps__hero-index {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #e8d4a8 0%, #c9a962 40%, rgba(94, 179, 255, 0.65) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.95;
}

.industry-apps__hero-text h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.industry-apps__summary {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 52em;
}

.industry-apps__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.industry-apps__chip {
  padding: 0.28rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(245, 247, 251, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
}

/* —— 能力卡片网格 —— */
.industry-apps__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.industry-apps__tile {
  display: flex;
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.2rem);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.industry-apps__tile:hover {
  border-color: rgba(201, 169, 98, 0.28);
  background: rgba(201, 169, 98, 0.06);
  transform: translateY(-2px);
}

.industry-apps__tile-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(201, 169, 98, 0.75);
  padding-top: 0.15rem;
}

.industry-apps__tile-body strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.industry-apps__tile-body p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .industry-apps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .industry-apps__grid {
    grid-template-columns: 1fr;
  }

  .industry-apps__hero {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .industry-apps__hero-index {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-apps__panel {
    animation: none;
  }
}

/* 产品页内嵌（无全宽底带） */
.home-industries:not(.home-industries--editorial) {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.home-industries:not(.home-industries--editorial) .home-industries__foot {
  display: none;
}
