/* ============================================================
   行业应用 · Industry Applications — page styles
   Scoped under .ind-page so they never collide with styles.css
   Harmonised to the corporate green (#1EA097)
   ============================================================ */

.ind-page {
  /* local brand ramp derived from the site green */
  --ind-brand: #1EA097;
  --ind-brand-deep: #137A6E;
  --ind-brand-light: #E8F6F4;
  --ind-brand-soft: #D4EFEA;
  --ind-ink: var(--ink);
  --ind-ink-2: #2A3A40;
  --ind-ink-3: #5A6A70;
  --ind-ink-4: #8A9499;
  --ind-line: var(--line);
  --ind-bg-2: #F4F6F5;

  /* 四阶段配色 — 同一青绿的明度阶梯 */
  --stage-1: #137A6E;
  --stage-2: #1EA097;
  --stage-3: #45C9B5;
  --stage-4: #8FE0D0;

  line-height: 1.65;
}

/* ========== HERO ========== */
.ind-hero {
  position: relative;
  background: #fff;
  color: var(--ind-ink);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--ind-line);
}
.ind-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ind-hero-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(22,80,168,.025) 0 1px,
    transparent 1px 36px
  );
}
.ind-hero-glow {
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30,160,151,.10), transparent 70%);
  left: -160px; top: -180px;
  filter: blur(50px);
}
.ind-hero-glow.b {
  right: -240px; bottom: -260px; left: auto; top: auto;
  background: radial-gradient(closest-side, rgba(22,80,168,.12), transparent 70%);
}
/* blueprint corner brackets — same language as the cases banner */
.ind-hero::before, .ind-hero::after {
  content: ""; position: absolute;
  width: 64px; height: 64px;
  border: 1.5px solid rgba(30,160,151,.55);
  z-index: 1; pointer-events: none;
}
.ind-hero::before { top: 96px; left: 36px; border-right: none; border-bottom: none; }
.ind-hero::after {
  bottom: 36px; right: 36px;
  border-left: none; border-top: none;
  border-color: rgba(22,80,168,.45);
}
.ind-hero-content {
  position: relative; z-index: 2;
  padding: clamp(80px, 11vw, 140px) 0 clamp(70px, 9vw, 110px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.ind-hero-eyebrow {
  display: inline-flex;
  font-family: var(--font-en);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  color: var(--ind-brand-deep);
  margin-bottom: 14px;
}
.ind-hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--ind-ink);
  white-space: nowrap;
}
.ind-hero-title .accent { color: var(--ind-brand); }
.ind-hero-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
  margin: 22px auto 0;
  max-width: 760px;
  line-height: 1.65;
  text-align: center;
}
@media (max-width: 720px) {
  .ind-hero-title { white-space: normal; font-size: 28px; }
}

/* ========== Industry Anchor Nav (sticky beneath the site nav) ========== */
.industry-nav {
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--ind-line);
  position: sticky; top: 71px; z-index: 40;
}
.industry-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; }
.industry-nav a {
  flex: 1 0 auto;
  text-align: center;
  padding: 12px 22px;
  border-radius: 12px;
  color: var(--ind-ink-3);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.industry-nav a:hover { background: var(--bg-soft); color: var(--ind-ink); border-color: var(--ind-line); }
.industry-nav a.active {
  background: var(--ind-brand);
  color: #fff;
  border-color: var(--ind-brand);
  box-shadow: 0 8px 20px rgba(30,160,151,.30);
}
.industry-nav a.active:hover { background: var(--ind-brand); color: #fff; }
.industry-nav a .label {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--ind-ink-4);
  letter-spacing: .16em;
  margin-bottom: 4px;
  transition: color .2s;
}
.industry-nav a.active .label { color: rgba(255,255,255,.82); }

/* ========== Industry Section ========== */
.industry { padding: clamp(64px, 8vw, 100px) 0; position: relative; }
.industry + .industry { border-top: 1px solid var(--ind-line); }

.industry-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ind-line);
}
.industry-header-left .ind-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: .22em;
  color: var(--ind-brand-deep); font-weight: 600;
  margin-bottom: 16px;
}
.industry-header-left .ind-eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--ind-brand);
}
.industry-header-left h2 {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 700;
  color: var(--ind-ink); line-height: 1.2;
  letter-spacing: -.01em; margin: 0 0 16px;
}
.industry-header-left .desc {
  font-size: 16px; color: var(--ind-ink-3);
  max-width: 640px; line-height: 1.8; margin: 0;
}
.industry-header-icon {
  width: 92px; height: 92px;
  background: var(--ind-brand-light);
  color: var(--ind-brand-deep);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.industry-header-icon svg { width: 52px; height: 52px; stroke-width: 1.3; }

/* ========== Stats Strip ========== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border: 1px solid var(--ind-line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 46px;
}
.stat-cell { padding: 30px 28px; border-right: 1px solid var(--ind-line); }
.stat-cell:last-child { border-right: none; }
.stat-cell .stat-label {
  font-family: var(--font-en);
  font-size: 11px; color: var(--ind-brand-deep);
  letter-spacing: .14em; margin-bottom: 14px;
}
.stat-cell .stat-num {
  font-family: var(--font-en);
  font-size: 42px; font-weight: 700;
  color: var(--ind-ink); line-height: 1;
  letter-spacing: -.02em; margin-bottom: 10px;
}
.stat-cell .stat-num .unit {
  font-size: 16px; color: var(--ind-ink-3);
  font-weight: 500; margin-left: 2px; font-family: var(--font-cn);
}
.stat-cell .stat-desc {
  font-size: 12.5px; color: var(--ind-ink-3);
  letter-spacing: .02em; line-height: 1.5;
}

/* ========== Process Flow ========== */
.process-section { margin-bottom: 46px; }
.process-header { margin-bottom: 24px; }
.process-header h3 {
  font-size: clamp(20px, 2.2vw, 23px); font-weight: 600;
  color: var(--ind-ink); margin: 0 0 8px;
}
.process-header p { font-size: 14px; color: var(--ind-ink-3); margin: 0; }

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ind-line);
  border: 1px solid var(--ind-line);
  border-radius: 14px;
  overflow: hidden;
}
.stage { background: #fff; padding: 30px 24px; transition: background .25s; }
.stage:hover { background: var(--ind-bg-2); }
.stage-num {
  display: inline-block;
  padding: 4px 10px; border-radius: 5px;
  color: #fff;
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .14em; white-space: nowrap;
  margin-bottom: 18px; font-weight: 600;
}
.stage:nth-child(1) .stage-num { background: var(--stage-1); }
.stage:nth-child(2) .stage-num { background: var(--stage-2); }
.stage:nth-child(3) .stage-num { background: var(--stage-3); color: var(--ind-ink); }
.stage:nth-child(4) .stage-num { background: var(--stage-4); color: var(--ind-ink); }
.stage-title { font-size: 18px; font-weight: 700; color: var(--ind-ink); margin-bottom: 12px; }
.stage-count {
  font-family: var(--font-en);
  font-size: 13px; color: var(--ind-ink-3);
  margin-bottom: 18px; letter-spacing: .02em;
}
.stage-count .big {
  font-size: 28px; color: var(--ind-brand-deep);
  font-weight: 700; margin-right: 4px;
}
.stage-items { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px dashed var(--ind-line); }
.stage-items li {
  font-size: 13px; color: var(--ind-ink-2);
  padding: 7px 0; display: flex; align-items: center; gap: 9px; line-height: 1.5;
}
.stage-items li::before {
  content: ''; width: 4px; height: 4px;
  background: var(--ind-brand); border-radius: 50%; flex-shrink: 0;
}

/* ========== Auto Parts Grid ========== */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ind-line);
  border: 1px solid var(--ind-line);
  border-radius: 14px;
  overflow: hidden;
}
.part-card {
  background: #fff; padding: 26px 22px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: background .25s;
}
.part-card:hover { background: var(--ind-bg-2); }
.part-num {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ind-brand-light); color: var(--ind-brand-deep);
  font-family: var(--font-en); font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.part-name { font-size: 16px; font-weight: 700; color: var(--ind-ink); margin-bottom: 7px; }
.part-desc { font-size: 13px; color: var(--ind-ink-3); line-height: 1.6; }

/* ========== Line Render Figure ========== */
.line-render {
  margin-bottom: 46px;
  border: 1px solid #163b40;
  border-radius: 14px;
  overflow: hidden;
  background: #0a1a2f;
}
.line-render-head {
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(100deg, #0e3a39 0%, #0b2230 52%, #0a1a2f 100%);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
}
.line-render-head h3 { font-size: 20px; font-weight: 600; color: #fff; margin: 0; }
.line-render-head .lr-label {
  font-family: var(--font-en);
  font-size: 11px; color: #34C9BD; letter-spacing: .14em;
}
.line-render-img {
  padding: 22px;
  background: radial-gradient(120% 150% at 50% 28%, #112c41 0%, #0a1a2f 68%);
  overflow: hidden;
}
.line-render-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* ========== Industry Tail Note ========== */
.industry-tail {
  background: var(--ind-bg-2);
  border: 1px solid var(--ind-line);
  border-radius: 14px;
  padding: 26px 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.industry-tail .tail-label {
  font-family: var(--font-en);
  font-size: 11px; color: var(--ind-brand-deep);
  letter-spacing: .14em; margin-bottom: 5px;
}
.industry-tail .tail-text { font-size: 14px; color: var(--ind-ink-2); font-weight: 500; }
.industry-tail .tail-cta {
  color: var(--ind-brand-deep);
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s, color .2s;
}
.industry-tail .tail-cta:hover { color: var(--ind-ink); gap: 10px; }

/* ========== CTA Section ========== */
.ind-cta {
  background: rgba(10, 26, 47, 0.96);
  color: #fff;
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.ind-cta::before {
  content: '';
  position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(30,160,151,0.20), transparent 64%);
  pointer-events: none;
}
.ind-cta-inner { position: relative; z-index: 1; }
.ind-cta h2 {
  font-size: clamp(26px, 3.4vw, 34px); font-weight: 700;
  margin: 0 0 14px; letter-spacing: -.01em;
}
.ind-cta p { font-size: 15px; color: rgba(255,255,255,0.7); margin: 0 0 30px; }
.ind-cta .phone {
  margin-top: 24px;
  font-family: var(--font-en);
  font-size: 20px; color: var(--ind-brand);
  letter-spacing: .16em;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .industry-header { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .parts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stats-strip { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--ind-line); }
  .stat-cell:last-child { border-bottom: none; }
  .process-flow { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: 1fr; }
}

/* ========== Interactive Vehicle Map (automotive) ========== */
.av-stage {
  position: relative;
  padding: 30px 22px 26px;
  background: radial-gradient(120% 150% at 50% 24%, #112c41 0%, #0a1a2f 70%);
  overflow: hidden;
}
.av-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
}
.av-canvas {
  position: relative; z-index: 2;
  width: 100%; max-width: 980px; margin: 0 auto;
  aspect-ratio: 1100 / 540;
}
.av-canvas svg { width: 100%; height: 100%; display: block; overflow: visible; }

.av-hotspots { position: absolute; inset: 0; }
.av-hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 3; }
.av-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: #0a1a2f; border: 2px solid #34C9BD;
  color: #34C9BD; font-family: var(--font-en);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.22s ease;
  position: relative;
}
.av-dot::after {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 1px solid rgba(52,201,189,0.35);
  animation: avPulse 2.6s ease-out infinite;
}
@keyframes avPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(2.0); opacity: 0; }
  100% { opacity: 0; }
}
.av-tag {
  position: absolute; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.92);
  background: rgba(8,18,28,0.55);
  padding: 3px 9px; border-radius: 4px;
  pointer-events: none; transition: all 0.22s ease;
}
.av-hotspot.tag-right .av-tag { left: 40px; }
.av-hotspot.tag-left .av-tag { right: 40px; }

.av-pop {
  position: absolute; top: 50%; transform: translateY(-50%) scale(0.96);
  width: 244px; background: #fff; color: var(--ind-ink, #16242A);
  border-radius: 10px; padding: 16px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 5;
}
.av-hotspot.tag-right .av-pop { left: 46px; }
.av-hotspot.tag-left .av-pop { right: 46px; }
.av-pop-idx {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 1px;
  color: #178A82; margin-bottom: 4px;
}
.av-pop-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #16242A; }
.av-pop-desc { font-size: 13px; color: #5A6A70; line-height: 1.6; }
.av-pop::before {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
}
.av-hotspot.tag-right .av-pop::before { left: -6px; }
.av-hotspot.tag-left .av-pop::before { right: -6px; }

.av-hotspot:hover { z-index: 10; }
.av-hotspot:hover .av-dot {
  background: #34C9BD; color: #06201F; transform: scale(1.18);
  box-shadow: 0 0 0 6px rgba(52,201,189,0.18);
}
.av-hotspot:hover .av-dot::after { animation: none; opacity: 0; }
.av-hotspot:hover .av-tag { opacity: 0; }
.av-hotspot:hover .av-pop { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }

.av-hint {
  position: relative; z-index: 2; text-align: center;
  margin-top: 22px; font-size: 12px; color: rgba(255,255,255,0.42);
  font-family: var(--font-en); letter-spacing: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .av-dot::after { animation: none; }
}
@media (max-width: 760px) {
  /* keep popovers from overflowing on narrow screens */
  .av-pop { width: 200px; }
  .av-stage { padding: 22px 12px 20px; }
}

/* ========== Capabilities (三大视觉检测能力) ========== */
.cap-section { margin-bottom: 46px; }
.cap-head { margin-bottom: 36px; }
.cap-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-600); font-weight: 600; margin-bottom: 16px;
}
.cap-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--green); }
.cap-head h3 { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.5px; margin: 0 0 12px; }
.cap-head p { font-size: 15px; color: var(--muted); max-width: none; line-height: 1.75; margin: 0; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cap-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(14,26,31,0.08); border-color: rgba(30,160,151,0.35); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-icon {
  width: 52px; height: 52px; background: var(--green-50);
  color: var(--green-600); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.cap-icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
.cap-num {
  font-family: var(--font-en); font-size: 12px;
  color: var(--ind-ink-4, #8A9499); letter-spacing: 2px; margin-bottom: 8px;
}
.cap-card h4 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.cap-body { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 22px; }
.cap-parts { border-top: 1px dashed var(--line); padding-top: 18px; }
.cap-parts-label {
  font-family: var(--font-en); font-size: 10px;
  color: var(--green-600); letter-spacing: 1.5px; margin-bottom: 10px;
}
.cap-parts-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cap-chip {
  font-size: 12px; color: var(--ink-2); background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 100px;
}
@media (max-width: 960px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* EN labels are much wider than the CN they replace, so hotspot 06's tag ran
   into hotspot 08. In EN it opens to the left instead. */
html[lang="en"] .av-hotspot.flip-en .av-tag { left: auto; right: 40px; }
html[lang="en"] .av-hotspot.flip-en .av-pop { left: auto; right: 46px; }
html[lang="en"] .av-hotspot.flip-en .av-pop::before { left: auto; right: -6px; }
