/* ==============================================================================
 * XDM CNC - Liaobu Factory Heavy-Duty Series (XDM-V540 Box-Way VMC)
 * Cinematic Industrial Design: Deep Forest Green Accent + Titanium Dark Base + High-Precision White Canvas
 * ============================================================================== */

:root {
  /* ── Deep Forest Green Brand Accent (墨绿色品牌色) ── */
  --dm-green-primary: #007A33;
  --dm-green-hover:   #006328;
  --dm-green-dark:    #004D20;
  --dm-green-tint:    #EBF7EE;
  --dm-green-border:  #A3D9B5;
  --dm-green-accent:  #059669;

  /* ── Titanium Grey Infrastructure (钛灰基建) ── */
  --dm-titanium-950:  #0F141C;
  --dm-titanium-900:  #1A202C;
  --dm-titanium-800:  #232D37; /* Sticky Nav Bar & Dark Structure */
  --dm-titanium-700:  #334155;
  --dm-titanium-600:  #475569;
  --dm-titanium-500:  #64748B;
  --dm-titanium-400:  #94A3B8;
  --dm-titanium-300:  #CBD5E1;
  --dm-titanium-200:  #E2E8F0;
  --dm-titanium-100:  #F1F5F9;
  --dm-titanium-50:   #F8FAFC;

  /* ── White Canvas (高精度白底) ── */
  --dm-bg-white:      #FFFFFF;
  --dm-text-heading:  #0F172A;
  --dm-text-body:     #334155;
  --dm-text-muted:    #64748B;

  /* ── Accents & Badges ── */
  --dm-whatsapp:       #25D366;
  --dm-whatsapp-hover: #20BD5A;
  --dm-red-alert:      #DC2626;
  --dm-red-tint:       #FEF2F2;
  --dm-red-border:     #FECACA;

  /* ── Shadows & Depth ── */
  --dm-shadow-sm:     0 2px 5px rgba(15, 23, 42, 0.05);
  --dm-shadow-md:     0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 3px 8px -2px rgba(15, 23, 42, 0.04);
  --dm-shadow-lg:     0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 6px 16px -3px rgba(15, 23, 42, 0.06);
  --dm-shadow-dark:   0 20px 48px rgba(15, 20, 28, 0.35);
  --dm-shadow-green:  0 6px 20px rgba(0, 122, 51, 0.35);
}

/* ==============================================================================
 * GLOBAL UTILITIES & ANIMATIONS
 * ============================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 135px;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 122, 51, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 122, 51, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 122, 51, 0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes border-pulse-green {
  0%, 100% {
    border-color: var(--dm-green-primary);
    box-shadow: 0 0 12px rgba(0, 122, 51, 0.35);
  }
  50% {
    border-color: #34D399;
    box-shadow: 0 0 24px rgba(5, 150, 105, 0.65);
  }
}

@keyframes line-shimmer {
  0%, 100% {
    width: 48px;
    opacity: 0.85;
  }
  50% {
    width: 84px;
    opacity: 1;
  }
}

/* Base Wrapper Scoping */
.ld-series-green {
  background-color: var(--dm-bg-white);
  color: var(--dm-text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: clip; /* clip allows position: sticky to work properly in modern browsers! */
  -webkit-font-smoothing: antialiased;
}

.ld-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ==============================================================================
 * SECTION SHARED LAYOUT (White / Light Titanium Alternation)
 * ============================================================================== */
.ld-section {
  padding: 100px 0;
  position: relative;
  background-color: var(--dm-bg-white);
}

.ld-section-alt {
  background-color: var(--dm-titanium-50);
  border-top: 1px solid var(--dm-titanium-200);
  border-bottom: 1px solid var(--dm-titanium-200);
}

.ld-section-darkest {
  background-color: var(--dm-titanium-950);
  color: #FFFFFF;
}

.ld-section-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ld-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--dm-green-primary);
  background: var(--dm-green-tint);
  border: 1px solid var(--dm-green-border);
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.ld-section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--dm-text-heading);
  margin: 0 0 16px 0;
  letter-spacing: -0.6px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.ld-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--dm-green-primary) 0%, var(--dm-green-accent) 100%);
  border-radius: 2px;
  animation: line-shimmer 4s ease-in-out infinite;
}

.ld-section-desc {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--dm-titanium-600);
  margin: 0;
  line-height: 1.65;
}

/* ==============================================================================
 * 1. HERO SECTION (Cinematic Machining Atmosphere - The Pocket Battleship)
 * ============================================================================== */
.ld-hero {
  position: relative;
  min-height: 100vh;
  min-height: calc(100vh - var(--header-height, 0px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: 
    linear-gradient(90deg, rgba(7, 11, 17, 0.96) 0%, rgba(7, 11, 17, 0.88) 30%, rgba(7, 11, 17, 0.15) 45%, transparent 55%, rgba(7, 11, 17, 0.35) 80%, rgba(7, 11, 17, 0.75) 100%),
    linear-gradient(180deg, rgba(7, 11, 17, 0.60) 0%, transparent 15%, transparent 68%, rgba(7, 11, 17, 0.98) 100%),
    url('/statics/xdm/images/heavy_duty/v540/Cinematic%20CNC%20Milling%20Splash.webp') center 30% / cover no-repeat;
  color: #FFFFFF;
  padding: 30px 0 0 0;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: none; /* Seamless integration with sticky tab bar */
  margin-bottom: 0;
}

.ld-hero-main-container {
  width: 100%;
  max-width: 1720px;
  margin: auto auto;
  padding: 10px 48px;
  box-sizing: border-box;
}

.ld-hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 40px;
}

.ld-hero-content {
  flex: 0 1 580px;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  text-align: left;
  z-index: 2;
}

/* [发光胶囊标签] */
.ld-hero-glow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 230, 118, 0.10);
  border: 1px solid rgba(0, 230, 118, 0.45);
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.22);
  width: fit-content;
}

.ld-hero-glow-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 10px #00E676;
  animation: pulse-green 1.5s infinite ease-in-out;
  display: inline-block;
}

.ld-hero-glow-pill .pill-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #00E676;
}

/* [主标题 H1] */
.ld-hero-headline {
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin: 0 0 20px 0;
}

.ld-hero-headline .hl-white {
  color: #FFFFFF;
  display: block;
}

.ld-hero-headline .hl-green {
  color: #00E676;
  display: block;
  text-shadow: 0 0 35px rgba(0, 230, 118, 0.45), 0 0 12px rgba(0, 230, 118, 0.35);
}

/* [副标题 - 浅钛灰] */
.ld-hero-lead {
  font-size: clamp(15.5px, 1.2vw, 18px);
  color: #CBD5E1;
  line-height: 1.65;
  margin: 0 0 32px 0;
  max-width: 540px;
}

/* 2 Action Buttons */
.ld-hero-cta-duo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.ld-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #00A854;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 168, 84, 0.45);
  transition: all 0.3s ease;
  animation: pulse-green 2.5s infinite ease-in-out;
}

.ld-hero-btn-primary:hover {
  background: #009348;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 168, 84, 0.65);
  color: #FFFFFF;
}

.ld-hero-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.15);
  border: 1.5px solid #25D366;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.ld-hero-btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

/* ==============================================================================
 * RIGHT MEDIA BOX (Photo -> Video Layered Crossfade in EXACT SAME SPOT)
 * ============================================================================== */
.ld-hero-stage-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
  z-index: 2;
}

.ld-hero-media-box {
  position: relative;
  width: 440px;
  aspect-ratio: 9 / 13;
  max-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(0, 176, 80, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 168, 84, 0.2);
}

/* Floating Switcher Pills */
.ld-media-switch-bar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 4px;
  background: rgba(10, 14, 20, 0.80);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 3px;
}

.media-tab-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.media-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.media-tab-btn.active {
  background: #00A854;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 168, 84, 0.4);
}

/* Both Photo and Video layers sit at position absolute, inset 0 */
.ld-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ld-media-layer.active {
  opacity: 1;
  pointer-events: auto;
}

/* Layer 1: Machine Cutout Photo */
.ld-media-layer.layer-photo {
  z-index: 1;
  background: radial-gradient(circle at 50% 55%, rgba(0, 168, 84, 0.15) 0%, rgba(10, 14, 20, 0.8) 75%);
}

.ld-media-machine-img {
  position: relative;
  z-index: 2;
  width: 88%;
  height: auto;
  max-height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.9));
}

.ld-photo-glow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.35) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
}

.ld-stage-timer-pill {
  position: absolute;
  bottom: 14px;
  z-index: 5;
  background: rgba(10, 14, 20, 0.88);
  border: 1px solid rgba(0, 230, 118, 0.5);
  color: #00E676;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.timer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 8px #00E676;
  animation: pulse-green 1.2s infinite ease-in-out;
  display: inline-block;
}

/* Layer 2: 9:16 Video (Crossfades in the EXACT same spot) */
.ld-media-layer.layer-video {
  z-index: 2;
}

.ld-media-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-video-telemetry-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.badge-rec {
  background: rgba(15, 20, 28, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-red {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: pulse-green 1.5s infinite ease-in-out;
  display: inline-block;
}

.btn-sound {
  pointer-events: auto;
  background: rgba(0, 122, 51, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-sound:hover {
  background: var(--dm-green-hover);
  transform: translateY(-1px);
}

.btn-sound.unmuted {
  background: #059669;
  border-color: #34D399;
}

.ld-video-telemetry-bottom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 20, 28, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 5;
  text-align: left;
}

.ld-video-telemetry-bottom strong {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}

.ld-video-telemetry-bottom span {
  color: #00E676;
  font-size: 11px;
  font-weight: 600;
}

/* ==============================================================================
 * BOTTOM HORIZONTAL TELEMETRY BAR (6 Integrated Selling Points - NO ICONS)
 * ============================================================================== */
.ld-hero-telemetry-bar {
  width: 100%;
  background: #0A0F16;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  padding: 18px 0 14px 0;
  margin-top: auto;
  margin-bottom: 0;
}

.ld-hero-telem-container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}

.ld-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.ld-telem-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 24px;
  box-sizing: border-box;
}

.ld-telem-item:last-child {
  border-right: none;
  padding-right: 0;
}

.telem-body {
  display: flex;
  flex-direction: column;
}

.telem-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 6px;
}

.telem-val {
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.telem-val.telem-val-text {
  font-size: clamp(15.5px, 1.05vw, 18px);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.telem-val .unit {
  font-size: 13.5px;
  font-weight: 700;
  color: #00E676;
}

.telem-val .sep {
  color: #64748B;
  font-weight: 400;
  margin: 0 3px;
}

.telem-sub {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.4;
}

/* ==============================================================================
 * 2. STICKY NAVIGATION BAR (钛灰基建 + 绿色发光底边)
 * ============================================================================== */
.ld-sticky-tab-bar {
  background-color: #0A0F16; /* Pitch dark identical to hero telemetry bar, eliminating all backlight leak */
  border-top: none;
  border-bottom: 2px solid var(--dm-green-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 2px 8px rgba(0, 122, 51, 0.25);
  position: sticky;
  top: 80px; /* Aligns directly beneath the 80px fixed .site-header! */
  z-index: 8000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: top 0.2s ease, background-color 0.2s ease;
  margin-top: 0;
}

.ld-tab-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}

.ld-tab-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ld-tab-model {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ld-tab-pill {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--dm-green-primary);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ld-tab-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.ld-tab-nav::-webkit-scrollbar {
  display: none;
}

.ld-tab-item {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 16px;
  line-height: 52px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ld-tab-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.ld-tab-item.active {
  color: #FFFFFF;
  border-bottom-color: var(--dm-green-primary);
  background: rgba(0, 122, 51, 0.2);
}

.ld-tab-cta {
  background: var(--dm-green-primary);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 122, 51, 0.35);
}

.ld-tab-cta:hover {
  background-color: var(--dm-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 122, 51, 0.5);
}

/* ==============================================================================
 * SECTION 2: STRUCTURAL ARCHITECTURE & GLOBAL SELLING POINTS (.ld-anatomy-*)
 * Interactive CAD Blueprint, 14 Engineering Innovations, 360 Walkaround, CTS & Proving Ground
 * ============================================================================== */
.ld-anatomy-section {
  position: relative;
  background-color: #FFFFFF;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(0, 122, 51, 0.04) 0%, transparent 65%),
    radial-gradient(#E2E8F0 1.2px, transparent 1.2px);
  background-size: 100% 100%, 28px 28px;
  overflow: hidden;
}

/* ── Top Navigation Tabs for Section 2 ── */
.ld-anatomy-nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}

.ld-anatomy-nav-pills {
  display: inline-flex;
  background: var(--dm-titanium-100);
  border: 1px solid var(--dm-titanium-200);
  padding: 5px;
  border-radius: 9999px;
  gap: 6px;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04);
  flex-wrap: wrap;
  justify-content: center;
}

.ld-anatomy-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--dm-titanium-700);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.ld-anatomy-nav-btn:hover {
  color: var(--dm-green-primary);
  background: rgba(255, 255, 255, 0.8);
}

.ld-anatomy-nav-btn.active {
  background: var(--dm-green-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 122, 51, 0.3);
}

.ld-anatomy-nav-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ── Tab Views Container ── */
.ld-anatomy-tab-content {
  position: relative;
  width: 100%;
}

.ld-anatomy-view-panel {
  display: none;
  animation: fadeInPanel 0.3s ease;
}

.ld-anatomy-view-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── VIEW 1: 14-POINT CAD BLUEPRINT STAGE ── */
.ld-blueprint-stage {
  display: grid;
  grid-template-columns: 370px minmax(360px, 1fr) 370px;
  gap: 22px;
  align-items: stretch;
  position: relative;
  margin-bottom: 28px;
}

/* Central Machine CAD Canvas */
.ld-blueprint-canvas-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  background: #F8FAFC;
  background-image: radial-gradient(rgba(148, 163, 184, 0.28) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  border: 1px solid var(--dm-titanium-200);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  padding: 56px 16px 28px 16px;
  overflow: visible;
}

.ld-blueprint-img {
  max-width: 100%;
  max-height: 440px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.14));
  transition: transform 0.4s ease;
  user-select: none;
  pointer-events: none;
}

.ld-blueprint-canvas-wrap::before {
  content: 'XDM-V540 MONOLITHIC BODY';
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--dm-titanium-400);
  font-family: monospace;
  pointer-events: none;
}

.ld-blueprint-canvas-wrap::after {
  content: '1:1 CAD TOPOLOGY';
  position: absolute;
  bottom: 14px;
  right: 18px;
  top: auto;
  left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--dm-green-primary);
  background: var(--dm-green-tint);
  border: 1px solid var(--dm-green-border);
  padding: 2px 7px;
  border-radius: 4px;
  pointer-events: none;
}

/* Hotspots on the 3D Machine Body */
.ld-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dm-green-primary);
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 51, 0.35), 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  animation: hotspot-radar 2.6s infinite ease-out;
}

.ld-hotspot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
}

@keyframes hotspot-radar {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 122, 51, 0.7), 0 4px 10px rgba(0, 0, 0, 0.25);
  }
  60% {
    box-shadow: 0 0 0 12px rgba(0, 122, 51, 0), 0 4px 10px rgba(0, 0, 0, 0.25);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 122, 51, 0), 0 4px 10px rgba(0, 0, 0, 0.25);
  }
}

.ld-hotspot:hover,
.ld-hotspot.active {
  transform: translate(-50%, -50%) scale(1.35);
  background: #059669;
  box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.45), 0 0 20px rgba(0, 122, 51, 0.85);
  animation: none;
}

.ld-hotspot-label {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #0F172A;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
  padding: 5px 11px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 35;
  border: 1px solid #10B981;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 10px rgba(16, 185, 129, 0.25);
}

.ld-hotspot-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #0F172A transparent transparent transparent;
}

#hotspot-l1 .ld-hotspot-label,
#hotspot-r1 .ld-hotspot-label {
  bottom: auto;
  top: calc(100% + 10px);
}

#hotspot-l1 .ld-hotspot-label::after,
#hotspot-r1 .ld-hotspot-label::after {
  top: auto;
  bottom: 100%;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #0F172A transparent;
}

.ld-hotspot:hover .ld-hotspot-label,
.ld-hotspot.active .ld-hotspot-label {
  opacity: 1;
}

/* Callout Columns (Left and Right) */
.ld-callout-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.ld-callout-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--dm-titanium-200);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ld-callout-card:hover,
.ld-callout-card.active {
  border-color: var(--dm-green-primary);
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
  box-shadow: 0 8px 24px rgba(0, 122, 51, 0.16);
}

.ld-callout-col.col-left .ld-callout-card:hover,
.ld-callout-col.col-left .ld-callout-card.active {
  transform: translateX(4px);
  border-right: 4px solid var(--dm-green-primary);
}

.ld-callout-col.col-right .ld-callout-card:hover,
.ld-callout-col.col-right .ld-callout-card.active {
  transform: translateX(-4px);
  border-left: 4px solid var(--dm-green-primary);
}

.ld-callout-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.ld-callout-num {
  font-size: 11px;
  font-weight: 800;
  font-family: monospace;
  color: var(--dm-titanium-500);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ld-callout-metric-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--dm-green-primary);
  background: var(--dm-green-tint);
  border: 1px solid var(--dm-green-border);
  padding: 2.5px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.ld-callout-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--dm-text-heading);
  line-height: 1.3;
}

.ld-callout-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dm-green-accent);
  line-height: 1.35;
}

.ld-callout-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--dm-titanium-600);
  margin: 2px 0 4px 0;
}

.ld-callout-gain {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: var(--dm-titanium-50);
  border-left: 3px solid var(--dm-green-primary);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--dm-titanium-800);
  margin-top: 2px;
}

.ld-callout-gain svg {
  color: var(--dm-green-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Bottom inspector removed in favor of direct integrated 6-card display */
.ld-blueprint-inspector { display: none !important; }

.ld-inspector-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ld-inspector-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.ld-inspector-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ld-inspector-metric-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--dm-green-primary);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.ld-inspector-index-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--dm-green-primary);
  background: var(--dm-green-tint);
  border: 1px solid var(--dm-green-border);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ld-inspector-nav-controls {
  display: flex;
  gap: 8px;
}

.ld-inspector-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--dm-titanium-200);
  background: var(--dm-titanium-50);
  color: var(--dm-titanium-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ld-inspector-ctrl-btn:hover {
  background: var(--dm-green-primary);
  border-color: var(--dm-green-primary);
  color: #FFFFFF;
}

.ld-inspector-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--dm-text-heading);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.ld-inspector-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dm-green-dark);
  margin: 0 0 12px 0;
}

.ld-inspector-desc {
  font-size: 14.5px;
  color: var(--dm-titanium-600);
  line-height: 1.65;
  margin: 0 0 18px 0;
}

.ld-inspector-benefit-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dm-green-tint);
  border: 1px solid var(--dm-green-border);
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--dm-green-dark);
  font-size: 13.5px;
  font-weight: 700;
}

.ld-inspector-benefit-bar svg {
  flex-shrink: 0;
  color: var(--dm-green-primary);
}

/* ── VIEW 2: 360° WALKAROUND VIDEO STAGE ── */
.ld-walkaround-stage {
  padding: 8px 0;
}

.ld-walkaround-notice {
  background: var(--dm-titanium-900);
  border: 1px solid var(--dm-titanium-700);
  border-left: 4px solid var(--dm-green-primary);
  border-radius: 10px;
  padding: 16px 22px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
}

.ld-walkaround-notice-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 122, 51, 0.25);
  color: var(--dm-green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ld-walkaround-notice-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.ld-walkaround-notice-text strong {
  color: #FFFFFF;
}

.ld-walkaround-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: center;
}

/* Reused CTS, Footprint, and Workpiece styles */
.ld-cts-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

.ld-cts-card {
  background: var(--dm-bg-white);
  border: 1px solid var(--dm-titanium-200);
  border-top: 4px solid var(--dm-green-primary);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--dm-shadow-sm);
}

.ld-cts-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dm-text-heading);
  margin: 14px 0 16px 0;
}

.ld-footprint-compare {
  background: var(--dm-titanium-800);
  border: 1px solid var(--dm-titanium-700);
  border-radius: 12px;
  padding: 36px;
  color: #FFFFFF;
  box-shadow: var(--dm-shadow-md);
}

.ld-footprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.ld-fp-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.3s ease;
}

.ld-fp-box.v540 {
  background: rgba(0, 122, 51, 0.2);
  border: 2px solid var(--dm-green-primary);
  box-shadow: 0 0 16px rgba(0, 122, 51, 0.35);
  animation: border-pulse-green 2.5s infinite ease-in-out;
}

.ld-fp-dim {
  font-size: 22px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 8px 0;
  letter-spacing: -0.5px;
}

.ld-fp-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.ld-fp-box.v540 .ld-fp-sub {
  color: #A3D9B5;
  font-weight: 600;
}

.ld-workpiece-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ld-wp-card {
  position: relative;
  background: var(--dm-bg-white);
  border: 1px solid var(--dm-titanium-200);
  border-radius: 12px;
  padding: 32px 28px 24px 28px;
  box-shadow: var(--dm-shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ld-wp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--dm-green-primary) 0%, var(--dm-green-accent) 100%);
}

.ld-wp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dm-shadow-md);
}

.ld-wp-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--dm-green-primary);
  background: var(--dm-green-tint);
  border: 1px solid var(--dm-green-border);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ld-wp-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--dm-text-heading);
  margin: 0 0 10px 0;
}

.ld-wp-card p {
  font-size: 14px;
  color: var(--dm-titanium-600);
  line-height: 1.6;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.ld-wp-params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 10px;
  column-gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--dm-titanium-200);
  font-size: 13px;
}

.ld-wp-param-label {
  color: var(--dm-titanium-500);
}

.ld-wp-param-val {
  color: var(--dm-text-heading);
  font-weight: 700;
  text-align: right;
}

/* ==============================================================================
 * SECTION 3: THE ASYMMETRIC SHOWDOWN (#market-audit)
 * "Visual Execution Stand" (视觉处决台): Left Flawed Alternatives vs Right XDM-V540 Pocket Ripper
 * ============================================================================== */
.ld-showdown-section {
  position: relative;
  background-color: var(--dm-titanium-50);
  border-top: 1px solid var(--dm-titanium-200);
  border-bottom: 1px solid var(--dm-titanium-200);
}

/* ── The Buyer's Dilemma Box (Why Buyers Choose Wrong) ── */
.ld-dilemma-card {
  background: var(--dm-titanium-950);
  border: 1px solid var(--dm-titanium-800);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.ld-dilemma-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DC2626 0%, #F59E0B 35%, var(--dm-green-primary) 100%);
}

.ld-dilemma-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.ld-dilemma-h3 {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.3px;
}

.ld-dilemma-badge {
  font-size: 11px;
  font-weight: 800;
  color: #FCA5A5;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ld-dilemma-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}

.ld-dilemma-choice {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}

.ld-choice-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ld-choice-tag.flawed {
  color: #F87171;
}

.ld-choice-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.ld-choice-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

.ld-dilemma-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ld-vs-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
}

.ld-dilemma-resolution {
  margin-top: 24px;
  background: rgba(0, 122, 51, 0.2);
  border: 1.5px solid var(--dm-green-primary);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #A3D9B5;
  font-size: 13.5px;
  font-weight: 600;
}

.ld-dilemma-resolution strong {
  color: #FFFFFF;
}

/* ── 4 Survival Dimensions Head-to-Head Cards ── */
.ld-dimension-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ld-dimension-card {
  background: #FFFFFF;
  border: 1px solid var(--dm-titanium-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ld-dimension-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

.ld-dimension-header-bar {
  background: #F1F5F9;
  border-bottom: 1px solid var(--dm-titanium-200);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ld-dimension-seq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--dm-titanium-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ld-dimension-seq .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dm-green-primary);
}

.ld-dimension-summary {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dm-titanium-500);
}

/* Split Columns */
.ld-dimension-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left Column: Flawed Alternative (Shallow Titanium Grey) */
.ld-split-col.col-flawed {
  background-color: #F8FAFC;
  border-right: 1px solid var(--dm-titanium-200);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}

.ld-split-badge.badge-flawed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  color: #DC2626;
  background: #FEE2E2;
  border: 1px solid #FECACA;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ld-split-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.col-flawed .ld-split-title {
  color: var(--dm-text-heading);
}

.ld-split-body {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.col-flawed .ld-split-body {
  color: var(--dm-titanium-600);
}

/* Right Column: XDM-V540 Pocket Ripper (Armored Deep Forest Green #0D3B2A) */
.ld-split-col.col-victory {
  background: linear-gradient(150deg, #0A111C 0%, #111D2D 60%, #0D1622 100%);
  border-left: 3px solid #10B981;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(16, 185, 129, 0.25), 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ld-split-badge.badge-victory {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  color: #34D399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.45);
  padding: 4px 11px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.18);
}

.col-victory .ld-split-title {
  color: #FFFFFF;
}

.col-victory .ld-split-body {
  color: rgba(255, 255, 255, 0.82);
}

/* ── Visual Comparison Bars & Schematics ── */
.ld-visual-meter-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--dm-titanium-200);
}

.col-victory .ld-visual-meter-block {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ld-meter-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.col-flawed .ld-meter-label-row {
  color: var(--dm-titanium-600);
}

.col-victory .ld-meter-label-row {
  color: #A3D9B5;
}

.ld-meter-track {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.col-victory .ld-meter-track {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ld-meter-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
}

.ld-meter-fill.flawed-fill {
  background: #EF4444;
}

.ld-meter-fill.victory-fill {
  background: linear-gradient(90deg, #007A33 0%, #10B981 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* ── Footprint Schematic Box Comparison ── */
.ld-footprint-schematic-wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}

.ld-schematic-box {
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: monospace;
}

.ld-schematic-box.flawed-box {
  border: 2px dashed #EF4444;
  background: rgba(239, 68, 68, 0.06);
  color: #DC2626;
  width: 100%;
}

.ld-schematic-box.victory-box {
  border: 1.5px solid #10B981;
  background: rgba(16, 185, 129, 0.08);
  color: #6EE7B7;
  width: 100%;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.ld-schematic-box.victory-box .ld-schematic-dim {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 900;
}

.ld-schematic-box.victory-box .ld-schematic-note {
  color: #34D399;
  font-weight: 700;
}

.ld-schematic-dim {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}

.ld-schematic-note {
  font-size: 11px;
  opacity: 0.85;
}

/* ── Verified Physical Evidence Proof Row ── */
.ld-evidence-proof-card {
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ld-evidence-thumb {
  width: 72px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ld-evidence-info {
  display: flex;
  flex-direction: column;
}

.ld-evidence-tag {
  font-size: 10px;
  font-weight: 800;
  color: #34D399;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.ld-evidence-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

/* ── Responsive Rules for Blueprint & Inspector ── */
@media (max-width: 1100px) {
  .ld-blueprint-stage {
    grid-template-columns: 280px minmax(320px, 1fr) 280px;
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  .ld-blueprint-stage {
    grid-template-columns: 1fr;
  }
  .ld-blueprint-canvas-wrap {
    min-height: 480px;
  }
  .ld-callout-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .ld-inspector-grid {
    grid-template-columns: 1fr;
  }
  .ld-walkaround-grid {
    grid-template-columns: 1fr;
  }
  .ld-cts-showcase {
    grid-template-columns: 1fr;
  }
  .ld-audit-placeholder-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ld-callout-col {
    grid-template-columns: 1fr;
  }
  .ld-blueprint-canvas-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  background: #F8FAFC;
  background-image: radial-gradient(rgba(148, 163, 184, 0.28) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  border: 1px solid var(--dm-titanium-200);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  padding: 56px 16px 28px 16px;
  overflow: visible;
}
  .ld-blueprint-inspector {
    padding: 20px 18px;
  }
  .ld-inspector-title {
    font-size: 19px;
  }
  .ld-audit-placeholder-box {
    padding: 28px 18px;
  }
}


/* ==============================================================================
 * 9. CERTIFIED INSPECTION & DOWNLOADS (.ld-download-card)
 * ============================================================================== */
.ld-downloads-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.ld-download-card {
  background: var(--dm-bg-white);
  border: 1px solid var(--dm-titanium-200);
  border-radius: 12px;
  padding: 22px 28px;
  box-shadow: var(--dm-shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon title button"
    "icon desc button";
  align-items: center;
  column-gap: 24px;
  row-gap: 6px;
  transition: all 0.3s ease;
}

.ld-download-card:hover {
  background-color: var(--dm-green-tint);
  border-color: var(--dm-green-border);
  transform: translateX(4px);
  box-shadow: var(--dm-shadow-md);
}

.ld-dl-header {
  grid-area: icon;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
}

.ld-dl-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ld-download-card:hover .ld-dl-icon {
  transform: scale(1.08);
}

.ld-dl-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--dm-titanium-500);
  background: var(--dm-titanium-100);
  border: 1px solid var(--dm-titanium-200);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.ld-download-card h4 {
  grid-area: title;
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--dm-text-heading);
}

.ld-download-card p {
  grid-area: desc;
  margin: 0;
  font-size: 13.5px;
  color: var(--dm-titanium-600);
  line-height: 1.5;
}

.ld-dl-btn {
  grid-area: button;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--dm-titanium-100);
  color: var(--dm-titanium-800);
  border: 1px solid var(--dm-titanium-300);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.ld-download-card:hover .ld-dl-btn {
  background-color: var(--dm-green-primary);
  color: #FFFFFF;
  border-color: var(--dm-green-primary);
  box-shadow: 0 4px 12px rgba(0, 122, 51, 0.35);
}

/* ==============================================================================
 * 10. TECHNICAL SPECIFICATIONS GRID (.ld-specs-grid)
 * ============================================================================== */
.ld-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ld-specs-card {
  position: relative;
  background: var(--dm-bg-white);
  border: 1px solid var(--dm-titanium-200);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--dm-shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ld-specs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dm-green-primary) 0%, var(--dm-green-accent) 100%);
}

.ld-specs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dm-shadow-md);
}

.ld-specs-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dm-text-heading);
  margin: 0 0 20px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dm-titanium-200);
}

.ld-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.ld-specs-table tr:nth-child(even) {
  background-color: var(--dm-titanium-50);
}

.ld-specs-table td {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--dm-titanium-200);
}

.ld-specs-table tr:last-child td {
  border-bottom: none;
}

.ld-specs-table td.label {
  color: var(--dm-titanium-600);
  font-weight: 500;
  width: 55%;
}

.ld-specs-table td.val {
  color: var(--dm-text-heading);
  font-weight: 700;
  text-align: right;
  width: 45%;
}

/* ==============================================================================
 * 11. QUALITY FAT SECTION (.ld-fat-grid)
 * ============================================================================== */
.ld-fat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ld-fat-item {
  background: var(--dm-bg-white);
  border: 1px solid var(--dm-titanium-200);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--dm-shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ld-fat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--dm-shadow-md);
}

.ld-fat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dm-green-tint);
  border: 2px solid var(--dm-green-border);
  color: var(--dm-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ld-fat-item:hover .ld-fat-icon {
  transform: scale(1.1);
  background-color: #DEF7EC;
}

.ld-fat-item h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dm-text-heading);
  margin: 0 0 10px 0;
}

.ld-fat-item p {
  font-size: 13.5px;
  color: var(--dm-titanium-600);
  line-height: 1.55;
  margin: 0;
}

/* ==============================================================================
 * 12. RFQ FORM SECTION (.ld-rfq-wrapper)
 * ============================================================================== */
.ld-rfq-wrapper {
  background: var(--dm-titanium-800);
  border: 1px solid var(--dm-titanium-700);
  border-radius: 16px;
  padding: 48px;
  color: #FFFFFF;
  box-shadow: 0 24px 48px rgba(15, 20, 28, 0.4);
  max-width: 1320px;
  margin: 0 auto;
}

.ld-rfq-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 48px;
  align-items: start;
}

.ld-rfq-info {
  display: flex;
  flex-direction: column;
}

.ld-rfq-form-col {
  width: 100%;
}

.ld-rfq-benefit-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ld-rfq-benefit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.ld-rfq-benefit-list li svg {
  color: var(--dm-green-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.ld-reused-form,
.ld-form {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 36px 36px;
  color: var(--dm-text-heading);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  width: 100%;
  box-sizing: border-box;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.form-col-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.form-col-message {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Phone input layout inside RFQ Form */
.ld-reused-form .phone-group {
  display: flex !important;
  width: 100% !important;
  align-items: stretch !important;
}

.ld-reused-form .country-code-wrapper,
.ld-reused-form .custom-select-wrapper {
  width: 95px !important;
  min-width: 95px !important;
  max-width: 95px !important;
  flex: 0 0 95px !important;
}

.ld-reused-form .country-code-trigger,
.ld-reused-form .custom-select-trigger {
  padding: 12px 10px !important;
  font-size: 13.5px !important;
  border-radius: 8px 0 0 8px !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.ld-reused-form .phone-group .custom-input,
.ld-reused-form .phone-group input[name="phone"] {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
}

.form-group-item {
  display: flex;
  flex-direction: column;
}

.form-group-item.form-group-textarea {
  height: 100%;
}

.form-group-item label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dm-titanium-700);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-group-item label .req {
  color: var(--dm-red-alert);
  font-weight: 800;
}

.form-group-item input,
.form-group-item textarea,
.ld-form-input,
.ld-form-select,
.ld-form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid var(--dm-titanium-300);
  border-radius: 8px;
  box-sizing: border-box;
  font-family: inherit;
  color: var(--dm-text-heading);
  background-color: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group-item input:focus,
.form-group-item textarea:focus,
.ld-form-input:focus,
.ld-form-select:focus,
.ld-form-textarea:focus {
  outline: none;
  border-color: var(--dm-green-primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 51, 0.2);
}

.form-group-item textarea {
  flex: 1;
  min-height: 200px;
  resize: vertical;
  line-height: 1.55;
}

.form-privacy-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--dm-titanium-200);
}

.form-privacy-checkbox {
  font-size: 12.5px;
  color: var(--dm-titanium-600);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  line-height: 1.5;
}

.form-privacy-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--dm-green-primary);
  flex-shrink: 0;
}

.form-privacy-checkbox a {
  color: var(--dm-green-primary);
  text-decoration: underline;
}

.form-submit-row {
  margin-top: 20px;
}

.contact-main-submit-btn,
.ld-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background-color: var(--dm-green-primary);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid var(--dm-green-primary);
  box-shadow: var(--dm-shadow-green);
  cursor: pointer;
  transition: all 0.25s ease;
  animation: pulse-green 2.5s infinite ease-in-out;
}

.contact-main-submit-btn:hover,
.ld-form-submit:hover {
  background-color: var(--dm-green-hover);
  border-color: var(--dm-green-hover);
  transform: translateY(-1px);
}

.form-message {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
}

/* ==============================================================================
 * 13. MOBILE STICKY CTA BAR (Max-Width 768px Only)
 * ============================================================================== */
.ld-mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .ld-mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 20, 28, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 16px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }

  .ld-mobile-sticky-cta .ld-mobile-cta-btn,
  .ld-mobile-sticky-cta a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--dm-green-primary) 0%, var(--dm-green-dark) 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 122, 51, 0.45);
    animation: pulse-green 2.5s infinite ease-in-out;
  }
}

/* ==============================================================================
 * 14. RESPONSIVE BREAKPOINTS (1024px Tablet / 768px Hero & CTA / 640px Mobile)
 * ============================================================================== */

/* ── Tablet (Max-Width 1024px) ── */
@media (max-width: 1024px) {
  .ld-hero-grid {
    flex-direction: column;
    gap: 40px;
  }

  .ld-hero-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .ld-hero-stage-wrap {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .ld-hero-telem-container {
    padding: 0 24px;
  }

  .ld-telemetry-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }

  .ld-telem-item:nth-child(3) {
    border-right: none;
  }

  .ld-pain-grid,
  .ld-gallery-grid,
  .ld-workpiece-grid,
  .ld-fat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ld-video-section-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 36px;
  }

  .ld-cts-showcase,
  .ld-specs-grid,
  .ld-rfq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── Hero, Comparison Table & Mobile CTA Specific (Max-Width 768px) ── */
@media (max-width: 768px) {
  .ld-hero {
    min-height: auto;
    padding: 30px 0 24px 0;
  }

  .ld-hero-main-container {
    padding: 10px 16px 20px 16px;
  }

  .ld-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .ld-hero-content {
    order: 1;
    text-align: left;
    max-width: 100%;
  }

  .ld-hero-glow-pill {
    font-size: 11.5px;
    padding: 5px 14px;
    margin-bottom: 14px;
  }

  .ld-hero-glow-pill .pill-text {
    font-size: 11.5px;
    letter-spacing: 1px;
  }

  .ld-hero-headline {
    font-size: clamp(30px, 8vw, 44px);
    letter-spacing: -0.8px;
    margin-bottom: 14px;
  }

  .ld-hero-lead {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.55;
  }

  .ld-hero-cta-duo {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .ld-hero-btn-primary,
  .ld-hero-btn-whatsapp {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
  }

  .ld-hero-stage-wrap {
    order: 2;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .ld-hero-media-box {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 13;
    margin: 0 auto;
  }

  .ld-hero-telem-container {
    padding: 0 16px;
  }

  .ld-hero-telemetry-bar {
    padding: 16px 0;
    margin-top: 24px;
  }

  .ld-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .ld-telem-item {
    border-right: none;
    padding-right: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ld-telem-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .telem-val {
    font-size: 14.5px;
  }

  /* Comparison Table Mobile Card Transformation */
  .ld-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .ld-compare-table,
  .ld-compare-table thead,
  .ld-compare-table tbody {
    display: block;
    width: 100%;
  }

  .ld-compare-table thead {
    display: none;
  }

  .ld-compare-table tr {
    display: block;
    background: var(--dm-bg-white);
    border: 1px solid var(--dm-titanium-200);
    border-radius: 12px;
    margin-bottom: 24px;
    padding: 20px;
    box-shadow: var(--dm-shadow-sm);
  }

  .ld-compare-table td {
    display: block;
    width: 100% !important;
    padding: 0;
    border: none !important;
    box-sizing: border-box;
    background: transparent !important;
  }

  .ld-compare-table td:first-child {
    font-size: 17px;
    font-weight: 800;
    color: var(--dm-text-heading);
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--dm-titanium-200) !important;
  }

  .ld-compare-table td.col-budget {
    background: var(--dm-titanium-50) !important;
    border: 1px solid var(--dm-titanium-200) !important;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    font-size: 13.5px;
  }

  .ld-compare-table td.col-budget::before {
    content: "Standard Budget VMC:";
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dm-titanium-500);
    margin-bottom: 6px;
  }

  .ld-compare-table td.col-v540 {
    background: var(--dm-green-tint) !important;
    border: 1px solid var(--dm-green-border) !important;
    border-left: 4px solid var(--dm-green-primary) !important;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13.5px;
  }

  .ld-compare-table td.col-v540::before {
    content: "XDM-V540 Box-Way VMC:";
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dm-green-primary);
    margin-bottom: 6px;
  }

  /* Downloads Card Mobile Layout */
  .ld-download-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "title"
      "desc"
      "button";
    row-gap: 14px;
    padding: 20px;
  }

  .ld-dl-header {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }

  .ld-dl-btn {
    width: 100%;
    min-height: 44px;
  }

  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-group-item textarea {
    min-height: 140px;
  }
}

/* ── Mobile General (Max-Width 640px) ── */
@media (max-width: 640px) {
  .ld-section {
    padding: 64px 0;
  }

  .ld-container {
    padding: 0 16px;
  }

  .ld-pain-grid,
  .ld-gallery-grid,
  .ld-workpiece-grid,
  .ld-fat-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ld-footprint-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ld-cts-card,
  .ld-footprint-compare {
    padding: 24px 20px;
  }

  .ld-tab-inner {
    height: auto;
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ld-tab-nav {
    width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .ld-tab-item {
    scroll-snap-align: start;
    line-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .ld-tab-cta {
    display: none; /* Hidden on mobile header to save space for the fixed bottom CTA */
  }

  .ld-sibling-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    gap: 14px;
  }

  .ld-rfq-wrapper {
    padding: 28px 18px;
    border-radius: 12px;
  }

  .ld-reused-form,
  .ld-form {
    padding: 24px 18px;
  }

  .ld-specs-card {
    padding: 24px 18px;
  }

  .ld-specs-table td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

/* ── Part 2: Walkaround Video + Tough Alloy Proving Ground (with 16T ATC) ── */
.ld-walkaround-proving-stage {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--dm-titanium-200);
}

.ld-wp-split-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: flex-start;
}

.ld-atc-highlight-card {
  background: linear-gradient(135deg, var(--dm-green-tint) 0%, #FFFFFF 100%);
  border: 1.5px solid var(--dm-green-border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 20px;
  box-shadow: var(--dm-shadow-sm);
  display: flex;
  gap: 16px;
  align-items: center;
}

.ld-atc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--dm-green-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 122, 51, 0.3);
}

.ld-atc-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dm-text-heading);
  margin: 0 0 4px 0;
}

.ld-atc-content p {
  font-size: 13px;
  color: var(--dm-titanium-600);
  line-height: 1.5;
  margin: 0;
}

.ld-wp-compact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ld-wp-compact-card {
  background: #FFFFFF;
  border: 1px solid var(--dm-titanium-200);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--dm-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ld-wp-compact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--dm-green-primary);
}

.ld-wp-compact-card:hover {
  transform: translateX(4px);
  border-color: var(--dm-green-border);
  box-shadow: var(--dm-shadow-md);
}

.ld-wp-compact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ld-wp-compact-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--dm-green-primary);
  background: var(--dm-green-tint);
  border: 1px solid var(--dm-green-border);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ld-wp-compact-gain {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dm-green-dark);
}

.ld-wp-compact-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--dm-text-heading);
  margin: 0 0 6px 0;
}

.ld-wp-compact-desc {
  font-size: 13px;
  color: var(--dm-titanium-600);
  line-height: 1.55;
  margin: 0 0 14px 0;
}

.ld-wp-compact-params {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--dm-titanium-50);
  border: 1px solid var(--dm-titanium-200);
  border-radius: 8px;
  padding: 10px 14px;
}

.ld-param-item {
  display: flex;
  flex-direction: column;
}

.ld-param-item .p-label {
  font-size: 10.5px;
  color: var(--dm-titanium-500);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ld-param-item .p-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dm-text-heading);
}

@media (max-width: 1024px) {
  .ld-wp-split-grid {
    grid-template-columns: 1fr;
  }
  .ld-wp-compact-params {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ── Scheme A: Canvas Mode Toggle (CAD Skeleton vs 360 Exterior Video) ── */
.ld-canvas-view-toggle {
  position: absolute;
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--dm-titanium-200);
  padding: 4px;
  border-radius: 9999px;
  gap: 6px;
  z-index: 25;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.ld-canvas-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--dm-titanium-700);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ld-canvas-toggle-btn:hover {
  color: var(--dm-green-primary);
  background: rgba(0, 122, 51, 0.06);
}

.ld-canvas-toggle-btn.active {
  background: var(--dm-green-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 122, 51, 0.35);
}

/* ── Inner CAD Model Box: Hotspots are 100% strictly locked to THIS exact image bounds! ── */
.ld-cad-model-box {
  position: relative;
  display: inline-block;
  line-height: normal;
  max-width: 100%;
  flex: 0 0 auto;
}

.ld-cad-model-box .ld-blueprint-img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.14));
  transition: transform 0.4s ease;
  user-select: none;
  pointer-events: none;
}

/* ── Canvas Video Box (9:16 Video in exact same spot) ── */
.ld-canvas-video-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 480px;
  padding: 10px;
  animation: fadeInPanel 0.25s ease;
}

.ld-canvas-video-box video {
  max-height: 430px;
  width: auto;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: #000000;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  border: 4px solid var(--dm-titanium-800);
}

.ld-canvas-video-badge {
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dm-titanium-600);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 14px;
  border-radius: 9999px;
  border: 1px solid var(--dm-titanium-200);
}

/* ==============================================================================
 * SECTION 3: THE ASYMMETRIC SHOWDOWN (Clean Mobile-First Base + Desktop 3-Tier Subgrid)
 * ============================================================================== */

/* ── Base / Shared Styles ── */
.ld-dimension-split {
  display: flex;
  flex-direction: column;
}

.ld-split-col {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ld-split-col.col-flawed {
  background-color: #F8FAFC;
  border-bottom: 2px solid var(--dm-titanium-200);
}

.ld-split-col.col-victory {
  background: linear-gradient(150deg, #0A111C 0%, #111D2D 60%, #0D1622 100%);
  border-top: 3px solid #10B981;
  color: #FFFFFF;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(16, 185, 129, 0.25), 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ld-split-main {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.ld-split-main .ld-split-body {
  margin: 0;
  flex-grow: 1;
}

.ld-split-data-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
  margin-bottom: 18px;
}

.ld-split-data-block .ld-footprint-schematic-wrap,
.ld-split-data-block .ld-visual-meter-block {
  margin: 0;
  padding: 0;
  width: 100%;
}

.ld-split-footer {
  display: flex;
  align-items: center;
  min-height: 64px;
}

.ld-flawed-disclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dm-titanium-500);
  background: rgba(0, 0, 0, 0.02);
  border: 1px dashed var(--dm-titanium-300);
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
}

.ld-flawed-disclaimer svg {
  flex-shrink: 0;
  color: #EF4444;
}

/* ── Interactive High-Res Proof Hover Zoom Popover ── */
.ld-evidence-thumb-wrap {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-block;
  line-height: 0;
}

.ld-thumb-zoom-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.ld-evidence-thumb-wrap:hover .ld-thumb-zoom-badge {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.ld-popover-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: all 0.2s ease;
}

.ld-popover-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
}

.ld-evidence-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: 90vw;
  background: #0B111A;
  border: 1.5px solid #10B981;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(16, 185, 129, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s;
  pointer-events: none;
  z-index: 120;
  line-height: normal;
}

.ld-evidence-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 30px;
  border-width: 7px 7px 0 7px;
  border-style: solid;
  border-color: #10B981 transparent transparent transparent;
}

.ld-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 2px;
}

.ld-popover-tag {
  font-size: 11px;
  font-weight: 800;
  color: #34D399;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ld-popover-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #A3D9B5;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ld-popover-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ld-popover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ld-popover-caption {
  margin-top: 8px;
  padding: 2px 4px 0 4px;
  font-size: 12px;
  color: #E2E8F0;
  line-height: 1.45;
}

.ld-popover-caption strong {
  color: #34D399;
  margin-right: 4px;
}

/* ══════════════════════════════════════════════════════════════════════════════
 * DESKTOP ADAPTATION (min-width: 861px)
 * ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 861px) {
  .ld-popover-close-btn {
    display: none;
  }

  .ld-dimension-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .ld-split-col {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    padding: 30px 28px;
  }

  .ld-split-col.col-flawed {
    border-right: 1px solid var(--dm-titanium-200);
    border-bottom: none;
  }

  .ld-split-col.col-victory {
    border-left: 3px solid #10B981;
    border-top: none;
  }

  .ld-split-main {
    min-height: 195px;
    margin-bottom: 18px;
  }

  .ld-split-data-block {
    margin-bottom: 20px;
  }

  .ld-split-footer {
    min-height: 74px;
  }

  .ld-evidence-thumb-wrap:hover .ld-evidence-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .ld-evidence-thumb-wrap:hover .ld-popover-img {
    transform: scale(1.03);
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
 * MOBILE & TABLET ADAPTATION (max-width: 860px)
 * ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  /* 1. Canvas Mode Toggle & Clean Watermark Hide */
  .ld-blueprint-canvas-wrap::before,
  .ld-blueprint-canvas-wrap::after {
    display: none !important;
  }

  .ld-canvas-view-toggle {
    position: absolute;
    top: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 320px;
    justify-content: center;
    padding: 3px;
  }

  .ld-canvas-toggle-btn {
    flex: 1;
    justify-content: center;
    padding: 5px 8px;
    font-size: 11px;
  }

  .ld-blueprint-canvas-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  background: #F8FAFC;
  background-image: radial-gradient(rgba(148, 163, 184, 0.28) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  border: 1px solid var(--dm-titanium-200);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  padding: 56px 16px 28px 16px;
  overflow: visible;
}

  .ld-canvas-video-box {
    min-height: 380px;
    padding: 6px;
  }

  .ld-canvas-video-box video {
    max-height: 340px;
    max-width: 100%;
  }

  .ld-canvas-video-badge {
    font-size: 10.5px;
    padding: 4px 10px;
    text-align: center;
    max-width: 95%;
    white-space: normal;
    line-height: 1.35;
    margin-top: 10px;
  }

  /* 2. Dilemma Clash Box */
  .ld-dilemma-card {
    padding: 22px 16px;
    margin-bottom: 24px;
  }

  .ld-dilemma-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ld-dilemma-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ld-dilemma-choice {
    padding: 16px 16px;
  }

  .ld-dilemma-vs {
    margin: 4px 0;
  }

  .ld-vs-circle {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .ld-dilemma-resolution {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    font-size: 12.5px;
  }

  /* 3. 4 Survival Dimension Split Cards */
  .ld-dimension-list {
    gap: 24px;
  }

  .ld-dimension-card {
    border-radius: 12px;
  }

  .ld-dimension-header-bar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ld-dimension-summary {
    font-size: 11.5px;
  }

  .ld-dimension-split {
    display: flex !important;
    flex-direction: column !important;
  }

  .ld-split-col {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 20px 16px !important;
  }

  .ld-split-col.col-flawed {
    border-right: none !important;
    border-bottom: 2px solid var(--dm-titanium-200) !important;
  }

  .ld-split-col.col-victory {
    border-left: none !important;
    border-top: 3px solid #10B981 !important;
  }

  .ld-split-main {
    min-height: auto !important;
    margin-bottom: 14px !important;
  }

  .ld-split-data-block {
    min-height: auto !important;
    margin-bottom: 14px !important;
  }

  .ld-split-footer {
    min-height: auto !important;
  }

  .ld-split-title {
    font-size: 16.5px;
  }

  .ld-split-body {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .ld-footprint-schematic-wrap {
    flex-direction: column;
    gap: 8px;
  }

  .ld-evidence-proof-card {
    flex-direction: row;
    gap: 12px;
    padding: 10px 12px;
  }

  .ld-evidence-thumb {
    width: 64px;
    height: 48px;
  }

  /* 4. Touch Popover Lightbox on Mobile */
  .ld-evidence-popover {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) scale(0.95);
    width: calc(100vw - 32px) !important;
    max-width: 380px !important;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 99999 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 0 100vmax rgba(0, 0, 0, 0.7) !important;
  }

  .ld-evidence-popover::after {
    display: none !important;
  }

  .ld-evidence-popover.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, -50%) scale(1) !important;
    pointer-events: auto !important;
  }

  .ld-popover-img-wrap {
    height: 190px;
  }
}

@media (max-width: 480px) {
  .ld-dilemma-card {
    padding: 18px 14px;
  }

  .ld-dilemma-h3 {
    font-size: 16.5px;
  }

  .ld-split-col.col-flawed,
  .ld-split-col.col-victory {
    padding: 18px 14px !important;
  }
}

/* ── Overview Tab Adaptation: Desktop Hidden / Mobile Upward Arrow ── */
@media (min-width: 769px) {
  .ld-tab-overview {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .ld-sticky-tab-bar {
    position: sticky !important;
    top: 80px;
    background-color: #0A0F16 !important;
    z-index: 8000 !important;
  }

  .ld-tab-inner {
    height: 46px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }

  .ld-tab-brand {
    display: none !important; /* Hide brand pill on mobile sticky bar so tabs have full width */
  }

  .ld-tab-nav {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 0 !important;
  }

  .ld-tab-nav::-webkit-scrollbar {
    display: none !important;
  }

  .ld-tab-item {
    line-height: 46px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
  }

  .ld-tab-overview {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 !important;
    margin-right: 4px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #34D399 !important;
    flex-shrink: 0 !important;
  }

  .ld-overview-desktop-text {
    display: none !important;
  }

  .ld-overview-mobile-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ld-overview-mobile-arrow svg {
    stroke: #34D399;
    transition: transform 0.2s ease, stroke 0.2s ease;
  }

  .ld-tab-overview:active .ld-overview-mobile-arrow svg {
    transform: translateY(-2px);
    stroke: #FFFFFF;
  }
}

/* ── Universal Applications Capability Banner (Not Limited to 3 Cases) ── */
.ld-applications-universal-bar {
  margin-top: 30px;
  background: linear-gradient(135deg, rgba(0, 122, 51, 0.05) 0%, rgba(15, 20, 28, 0.02) 100%);
  border: 1px solid rgba(0, 122, 51, 0.25);
  border-left: 4px solid var(--dm-green-primary);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.ld-universal-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.ld-universal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dm-green-tint);
  border: 1px solid var(--dm-green-border);
  color: var(--dm-green-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.ld-universal-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--dm-text-heading);
  margin-bottom: 4px;
}

.ld-universal-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--dm-titanium-600);
}

.ld-universal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dm-green-primary);
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 122, 51, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ld-universal-btn:hover {
  background: var(--dm-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 122, 51, 0.45);
}

@media (max-width: 768px) {
  .ld-applications-universal-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 16px;
  }
  .ld-universal-content {
    flex-direction: column;
    gap: 12px;
  }
  .ld-universal-btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}
