/* ═══════════════════════════════════════════════════════════
   全站浅色 Top Banner（共用）
   结构：.hero-wrap.industry-hero
         > .hero-bg > img          （全幅背景图，各页替换 src）
         > .hero-inner
            > .hero-left           （badge / 标题 / 描述 / CTA）
            > .hero-right > img    （可选右侧封面图；有则左右分栏）
         > .hero-highlights        （可选底部卖点条）
   高度：tokens.css --banner-height
═══════════════════════════════════════════════════════════ */

.hero-wrap.industry-hero {
  --ind-blue: #00579c;
  --ind-title: #0f172a;
  --ind-sub: #64748b;
  position: relative;
  overflow: hidden;
  background: #eef3fb;
}

/* 背景图：铺满整块 banner，偏右对齐（设计稿右侧插画） */
.hero-wrap.industry-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  line-height: 0;
  pointer-events: none;
  background: #eef3fb;
}

.hero-wrap.industry-hero .hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-wrap.industry-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width, 1440px);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  /* 全站固定顶栏避让：左文 / 左文右图统一 */
  padding: calc(var(--nav-height, 64px) + 24px) 48px 48px;
  min-height: var(--banner-height);
  display: flex;
  align-items: center;
}

.hero-wrap.industry-hero .hero-left {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  min-width: 0;
}

/* 左文右图（.hero-right 封面） */
.hero-wrap.industry-hero:has(.hero-right) .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
  gap: var(--space-card) 40px;
  align-items: center;
}
.hero-wrap.industry-hero:has(.hero-right) .hero-left {
  max-width: none;
}
.hero-wrap.industry-hero .hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.hero-wrap.industry-hero .hero-right img,
.hero-wrap.industry-hero .hero-right video {
  display: block;
  width: 90%;
  max-width: 404px;
  height: auto;
}

/* 可选徽章（About / Technical 等）— 与全站 .lbl 统一：- Text - */
.hero-wrap.industry-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: var(--font-size-caption, 12px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ind-blue, #00579c);
  box-shadow: inset 0px -7px 12px 0px rgba(0, 87, 156, 0.12);
  border: none;
  border-radius: var(--radius-pill, 999px);
  padding: 8px 18px;
  margin: 0 0 var(--space-card, 20px);
  box-sizing: border-box;
}
.hero-wrap.industry-hero .hero-badge::before { content: '- '; }
.hero-wrap.industry-hero .hero-badge::after { content: ' -'; }

.hero-wrap.industry-hero .hero-h1 {
  margin: 0 0 var(--space-card);
  font-size: var(--hero-h1-size, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var( --color-title);
}

/* 设计稿标题为统一深色，accent 不另染色 */
.hero-wrap.industry-hero .hero-h1 .accent {
  color: inherit;
  -webkit-text-fill-color: currentColor;
  font-weight: inherit;
}

.hero-wrap.industry-hero .hero-p {
  margin: 0 0 var(--space-module);
  font-size: var(--font-size-subtitle);
  line-height: 1.5;
  color: var( --color-text-secondary);
  
}

.hero-wrap.industry-hero .hero-eyebrow {
  font-size: var(--font-size-base, 16px);
  font-weight: 500;
  color: var(--ind-sub, #64748b);
  margin-bottom: 16px;
}

/* 可选状态条（Contact 等） */
.hero-wrap.industry-hero .hero-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 9px;
  font-size: var(--font-size-base);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.16);
  box-sizing: border-box;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
}

.hero-wrap.industry-hero .hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: industry-hero-dot-pulse 2s infinite;
}

@keyframes industry-hero-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-wrap.industry-hero .hero-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 0;
}

/* CTA：蓝胶囊 + 左侧白圆箭头（对齐设计稿，高度 41px） */
.hero-wrap.industry-hero .btn-ind-demo,
.hero-wrap.industry-hero a.btn-p.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 41px;
  min-height: 41px;
  background: var(--ind-blue, #00579c) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 4px 20px 4px 4px !important;
  font-size: var(--font-size-body, 15px) !important;
  font-weight: 600 !important;
  line-height: 1;
  text-decoration: none !important;
  box-sizing: border-box;
  box-shadow: 0 10px 28px -12px rgba(0, 87, 156, 0.55);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-wrap.industry-hero .btn-ind-demo .ic,
.hero-wrap.industry-hero a.btn-p.btn-hero .ic {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  color: var(--ind-blue, #00579c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-wrap.industry-hero .btn-ind-demo .ic svg,
.hero-wrap.industry-hero a.btn-p.btn-hero .ic svg {
  width: 14px;
  height: 14px;
  display: block;
}

.hero-wrap.industry-hero .btn-ind-demo:hover,
.hero-wrap.industry-hero a.btn-p.btn-hero:hover {
  background: #004a85 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px rgba(0, 87, 156, 0.6);
}

/* 次按钮：描边胶囊（About Contact us 等） */
.hero-wrap.industry-hero .btn-ind-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  height: 41px;
  min-height: 41px;
  padding: 0 21px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.01);

  box-shadow: inset 0px -7px 12px 0px rgba(0, 87, 156, 0.12);
  color: var(--ind-blue, #00579c) !important;
  font-size: var(--font-size-body, 15px);
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.hero-wrap.industry-hero .btn-ind-ghost:hover {
  background: rgba(0, 87, 156, 0.07);
  border-color: #004a85;
  color: #004a85 !important;
}

/* 锚点跳转 chips（Product Downloads 等） */
.hero-wrap.industry-hero .hero-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.hero-wrap.industry-hero .hero-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  min-height: 41px;
  padding: 0 18px;
  border-radius: 100px;
  background: linear-gradient(88deg, #d2e7ff4d 1%, #d2e7ff1a 80%);

  border: 1px solid rgba(0, 87, 156, 0.3);
  color: var(--color-primary, #00579c);
  font-family: var(--font-sans, var(--font));
  font-size: var(--font-size-body, 14px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-wrap.industry-hero .hero-jump-btn:hover {
  background: var(--color-primary, #00579c);
  border-color: var(--color-primary, #00579c);
  color: #fff;
  transform: translateY(-2px);
}

/* 底部卖点条 */
.hero-wrap.industry-hero .hero-highlights {
  position: relative;
  z-index: 1;

}

.hero-wrap.industry-hero .hero-highlights-inner {
  max-width: var(--max-width, 1440px);
  margin: 0 auto;
  padding: 22px 48px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px 40px;
  box-sizing: border-box;
}

.hero-wrap.industry-hero .hero-hl-main,
.hero-wrap.industry-hero .hero-hl-item {
  flex: 0 0 auto;
  width: auto;
  box-sizing: border-box;
  line-height: 1.45;
}

.hero-wrap.industry-hero .hero-hl-main {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--ind-title);
}

.hero-wrap.industry-hero .hero-hl-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--ind-blue);
}

/* 兼容旧结构：右侧列图（无 .hero-bg 时） */
.hero-wrap.industry-hero .hero-right-col {
  display: none;
}

.hero-wrap.industry-hero:not(:has(.hero-bg)) .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 24px 40px;
}

.hero-wrap.industry-hero:not(:has(.hero-bg)) .hero-right-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-wrap.industry-hero:not(:has(.hero-bg)) .hero-glass-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 1100px) {
  .hero-wrap.industry-hero .hero-inner {
    padding: calc(var(--nav-height, 64px) + 16px) 32px 40px;
  }

  .hero-wrap.industry-hero .hero-highlights-inner {
    padding: 20px 32px 24px;
    gap: 16px 28px;
  }
}

@media (max-width: 960px) {
  .hero-wrap.industry-hero .hero-bg img {
    object-position: center bottom;
    opacity: 0.55;
  }

  .hero-wrap.industry-hero .hero-inner {
    padding: calc(var(--nav-height, 64px) + 24px) var(--space-gutter) 36px;
  }

  .hero-wrap.industry-hero .hero-left {
    max-width: none;
  }

  .hero-wrap.industry-hero .hero-p {
    font-size: 16px;
    max-width: none;
  }

  .hero-wrap.industry-hero .hero-highlights-inner {
    padding: 18px 24px 22px;
  }

  .hero-wrap.industry-hero:not(:has(.hero-bg)) .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-wrap.industry-hero:not(:has(.hero-bg)) .hero-right-col {
    display: none;
  }

  .hero-wrap.industry-hero:has(.hero-right) .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: flex-start;
  }
  .hero-wrap.industry-hero:has(.hero-right) .hero-left {
    order: 1;
  }
  .hero-wrap.industry-hero:has(.hero-right) .hero-right {
    order: 2;
    justify-content: center;
  }
  .hero-wrap.industry-hero:has(.hero-right) .hero-right img,
  .hero-wrap.industry-hero:has(.hero-right) .hero-right video {
    max-width: 378px;
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-wrap.industry-hero .hero-inner {
    padding: calc(var(--nav-height, 64px) + 16px) 20px 36px;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-wrap.industry-hero .hero-bg img {
    object-position: center bottom;
    opacity: 0.35;
  }

  .hero-wrap.industry-hero .hero-inner {
    padding: calc(var(--nav-height, 64px) + 16px) var(--space-gutter) 28px;
  }

  .hero-wrap.industry-hero:has(.hero-right) .hero-inner {
    gap: var(--space-card);
  }
  .hero-wrap.industry-hero:has(.hero-right) .hero-right img,
  .hero-wrap.industry-hero:has(.hero-right) .hero-right video {
    max-width: 60%;
  }

  .hero-wrap.industry-hero .hero-h1 {
    margin-bottom: 14px;
  }

  .hero-wrap.industry-hero .hero-h1 br {
    display: none;
  }

  .hero-wrap.industry-hero .hero-p {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .hero-wrap.industry-hero .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .hero-wrap.industry-hero .hero-btns.hero-jump {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-wrap.industry-hero .hero-jump-btn {
    font-size: var(--font-size-caption, 11px);
    padding: 0 14px;
    height: 36px;
    min-height: 36px;
  }

  .hero-wrap.industry-hero .btn-ind-demo,
  .hero-wrap.industry-hero a.btn-p.btn-hero,
  .hero-wrap.industry-hero .btn-ind-ghost {
    width: auto;
    flex: 0 0 auto;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-wrap.industry-hero .hero-highlights-inner {
    gap: 12px;
    padding: 16px 16px 20px;
  }

  .hero-wrap.industry-hero .hero-hl-main,
  .hero-wrap.industry-hero .hero-hl-item {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wrap.industry-hero .btn-ind-demo:hover,
  .hero-wrap.industry-hero a.btn-p.btn-hero:hover {
    transform: none;
  }
}
