/* ==========================================================================
   NuVolta JDM (Joint Design Manufacturer) Page Styles
   Self-contained, responsive (Desktop / Tablet / Mobile), zero CDN dependency
   ========================================================================== */

.jdm-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  background-color: #ffffff;
  overflow-x: hidden;
}

.jdm-page *,
.jdm-page *::before,
.jdm-page *::after {
  box-sizing: border-box;
}

.jdm-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   SECTION 1: Hero Banner (Full-screen dark PCB macro + gradient overlay)
   -------------------------------------------------------------------------- */
.jdm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0b162c;
  background-image: url("/dist/images/jdm/hero-pcb.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 120px 0 88px;
}

.jdm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 18, 38, 0.94) 0%,
    rgba(11, 24, 52, 0.80) 48%,
    rgba(11, 24, 52, 0.34) 100%
  );
  z-index: 1;
}

.jdm-hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to top, rgba(9, 18, 38, 0.72), transparent);
  z-index: 1;
  pointer-events: none;
}

.jdm-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.jdm-hero-content {
  max-width: 780px;
}

.jdm-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}

.jdm-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.25s ease;
}

.jdm-breadcrumb a:hover {
  color: #ffffff;
}

.jdm-breadcrumb .sep {
  opacity: 0.45;
}

.jdm-breadcrumb .current {
  color: #60a5fa;
  font-weight: 600;
}

.jdm-hero-title {
  margin: 0 0 22px;
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

.jdm-hero-subtitle {
  margin: 0 0 38px;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.94);
  max-width: 650px;
}

.jdm-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-decoration: none;
  border: 1.5px solid rgba(147, 197, 253, 0.55);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.jdm-ghost-btn:hover {
  color: #ffffff;
  background: rgba(11, 92, 255, 0.28);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 92, 255, 0.32);
}

.jdm-ghost-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.jdm-ghost-btn:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   SECTION 2: JDM Business Overview (Clean White Background)
   -------------------------------------------------------------------------- */
.jdm-overview {
  background-color: #ffffff;
  padding: 96px 0 80px;
}

.jdm-overview-title {
  margin: 0 auto 32px;
  max-width: 860px;
  text-align: center;
  font-size: clamp(26px, 3.3vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #111827;
}

.jdm-overview-body {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
  font-size: 18px;
  line-height: 1.85;
  color: #374151;
}

.jdm-overview-body p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION 3: Key Metrics (Pure CSS Watermark + Accent Effects, 4 cols -> 2x2)
   -------------------------------------------------------------------------- */
.jdm-metrics {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 56px 0 88px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #eef2f6;
}

.jdm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.jdm-metric-item {
  position: relative;
  text-align: center;
  padding: 36px 16px 28px;
  overflow: hidden;
  border-radius: 16px;
}

/* Thin static brand accent bar above number */
.jdm-metric-item::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #0b5cff, #38bdf8);
  opacity: 0.85;
}

/* Oversized translucent watermark of same number (pure CSS, static) */
.jdm-metric-item::before {
  content: attr(data-watermark);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
  font-size: clamp(64px, 6.2vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(11, 92, 255, 0.055);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.jdm-metric-value {
  position: relative;
  z-index: 1;
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0b5cff 0%, #0047b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(11, 92, 255, 0.16));
  margin-bottom: 12px;
}

.jdm-metric-label {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   SECTION 4: JDM Products (PCBA & Module — Pure CSS Hover Gradient Inversion)
   -------------------------------------------------------------------------- */
.jdm-products {
  background-color: #ffffff;
  padding: 88px 0;
}

.jdm-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.jdm-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 44px 44px 38px;
  border-radius: 24px;
  background-color: #f8fafc;
  border: 1px solid #e5ebf3;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.45s ease, box-shadow 0.45s ease;
}

/* Smooth blue gradient hover overlay (pure CSS, zero layout shift) */
.jdm-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0b5cff 0%, #0050d0 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
}

/* Subtle circuit-line & geometric tech pattern layer */
.jdm-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260' viewBox='0 0 420 260' fill='none'%3E%3Cpath d='M220 260V210L260 170H340L370 140H420' stroke='%230B5CFF' stroke-opacity='0.14' stroke-width='1.5'/%3E%3Cpath d='M270 260V228L302 196H375L405 166H420' stroke='%230B5CFF' stroke-opacity='0.12' stroke-width='1.5'/%3E%3Cpath d='M160 260V235L190 205H255' stroke='%230B5CFF' stroke-opacity='0.10' stroke-width='1.5'/%3E%3Ccircle cx='260' cy='170' r='3.5' fill='%230B5CFF' fill-opacity='0.18'/%3E%3Ccircle cx='340' cy='170' r='3.5' fill='%230B5CFF' fill-opacity='0.18'/%3E%3Ccircle cx='370' cy='140' r='3.5' fill='%230B5CFF' fill-opacity='0.18'/%3E%3Ccircle cx='302' cy='196' r='3.5' fill='%230B5CFF' fill-opacity='0.16'/%3E%3Cpath d='M312 36H342L364 88L386 36H412L376 120H352L326 60L300 120H276L312 36Z' fill='%230B5CFF' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 360px auto;
  pointer-events: none;
  z-index: 1;
  transition: filter 0.45s ease, opacity 0.45s ease;
}

.jdm-product-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(11, 92, 255, 0.22);
}

.jdm-product-card:hover::before {
  opacity: 1;
}

.jdm-product-card:hover::after {
  filter: brightness(0) invert(1);
  opacity: 0.24;
}

.jdm-product-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.jdm-product-card h3 {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  transition: color 0.45s ease;
}

.jdm-product-card p {
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
  max-width: 440px;
  transition: color 0.45s ease;
}

.jdm-product-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #4b5563;
  transition: color 0.45s ease;
}

.jdm-product-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  border: 1.5px solid #9ca3af;
  color: #4b5563;
  transition: border-color 0.45s ease, color 0.45s ease, background-color 0.45s ease;
}

.jdm-product-cta-icon svg {
  width: 14px;
  height: 14px;
}

.jdm-product-card:hover h3 {
  color: #ffffff;
}

.jdm-product-card:hover p {
  color: rgba(239, 246, 255, 0.92);
}

.jdm-product-card:hover .jdm-product-cta {
  color: #ffffff;
}

.jdm-product-card:hover .jdm-product-cta-icon {
  border-color: #ffffff;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   SECTION 5: Reference Designs (2x2 Equal-Height Cards, Brand Blue CTA)
   -------------------------------------------------------------------------- */
.jdm-refdesigns {
  background-color: #f8fafc;
  padding: 88px 0;
}

.jdm-section-heading {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 780px;
}

.jdm-section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

.jdm-section-heading p {
  margin: 0;
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}

.jdm-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.jdm-ref-card {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #eef2f6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.jdm-ref-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #0f172a;
}

.jdm-ref-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jdm-ref-body {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jdm-ref-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.jdm-ref-desc {
  margin: 0 0 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.68;
  color: #4b5563;
}

.jdm-ref-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.jdm-ref-divider::before,
.jdm-ref-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}

.jdm-ref-divider span {
  font-size: 14px;
  font-weight: 600;
  color: #0b5cff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.jdm-ref-features {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  flex: 1;
}

.jdm-ref-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #374151;
  margin-bottom: 10px;
}

.jdm-ref-features li:last-child {
  margin-bottom: 0;
}

.jdm-ref-chevron {
  color: #0b5cff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

.jdm-ref-btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(90deg, #0b5cff 0%, #0050d0 100%);
  transition: filter 0.25s ease;
}

.jdm-ref-btn:hover {
  color: #ffffff;
  filter: brightness(0.90);
}

/* --------------------------------------------------------------------------
   SECTION 6: What JDM Can Offer for Your Products (Interactive Orange Tabs)
   -------------------------------------------------------------------------- */
.jdm-offer {
  background-color: #ffffff;
  padding: 96px 0;
}

.jdm-offer-title {
  margin: 0 auto 52px;
  text-align: center;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  color: #111827;
  line-height: 1.22;
}

.jdm-offer-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.jdm-offer-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jdm-offer-tab {
  appearance: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  border-radius: 8px;
  background-color: #9ca3af;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.jdm-offer-tab:hover {
  background-color: #6b7280;
}

.jdm-offer-tab.is-active {
  background-color: #f26522;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(242, 101, 34, 0.28);
}

.jdm-offer-tab.is-active:hover {
  background-color: #df5717;
}

.jdm-offer-panels {
  background-color: #f9fafb;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 40px 44px;
  min-height: 310px;
}

.jdm-offer-panel {
  display: none;
  animation: jdmFadeIn 0.3s ease;
}

.jdm-offer-panel.is-active {
  display: block;
}

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

.jdm-offer-panel h3 {
  margin: 0 0 26px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  color: #f26522;
  line-height: 1.25;
}

.jdm-offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jdm-offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.72;
  color: #374151;
}

.jdm-offer-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border-radius: 50%;
  background-color: rgba(242, 101, 34, 0.12);
  color: #f26522;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.jdm-offer-list strong {
  color: #111827;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   SECTION 7: Start Designing Today — Glassmorphism Consultation Form
   -------------------------------------------------------------------------- */
.jdm-contact {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(135deg, #0a2472 0%, #0d3b9e 46%, #0f172a 100%);
  overflow: hidden;
  color: #ffffff;
}

.jdm-contact-glow-1 {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.jdm-contact-glow-2 {
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.jdm-contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 56px;
  align-items: center;
}

.jdm-contact-left h2 {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.jdm-contact-left p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(219, 234, 254, 0.86);
}

.jdm-contact-left a {
  color: #93c5fd;
  text-decoration: underline;
}

.jdm-glass-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 38px 40px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.jdm-form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.jdm-form-row.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.jdm-form-row.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.jdm-form-row.cols-1 {
  grid-template-columns: 1fr;
}

.jdm-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.jdm-field label .req {
  color: #60a5fa;
  font-weight: 700;
  margin-left: 2px;
}

.jdm-field input,
.jdm-field textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 14.5px;
  font-family: inherit;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jdm-field textarea {
  resize: vertical;
  min-height: 112px;
}

.jdm-field input::placeholder,
.jdm-field textarea::placeholder {
  color: rgba(226, 232, 240, 0.68);
}

.jdm-field input:focus,
.jdm-field textarea:focus {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(147, 197, 253, 0.9);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.28);
}

.jdm-form-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 6px;
}

.jdm-captcha-group {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex: 1;
  max-width: 380px;
}

.jdm-captcha-group .jdm-field {
  flex: 1;
}

.jdm-captcha-box {
  height: 45px;
  min-width: 112px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.jdm-captcha-box:hover {
  opacity: 0.9;
}

.jdm-captcha-box canvas {
  display: block;
  width: 112px;
  height: 45px;
}

.jdm-submit-btn {
  appearance: none;
  border: none;
  height: 46px;
  min-width: 184px;
  padding: 0 24px;
  border-radius: 8px;
  background: linear-gradient(90deg, #2563eb 0%, #0b5cff 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.38);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.jdm-submit-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.jdm-submit-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.jdm-submit-btn-icon svg {
  width: 13px;
  height: 13px;
}

.jdm-form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.jdm-form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(252, 165, 165, 0.55);
  color: #fee2e2;
}

.jdm-form-status.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(110, 231, 183, 0.55);
  color: #d1fae5;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (Tablet <= 991px, Mobile <= 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .jdm-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .jdm-offer-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jdm-offer-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .jdm-offer-tab {
    text-align: center;
    padding: 14px 12px;
    font-size: 14.5px;
  }

  .jdm-contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .jdm-container {
    padding: 0 18px;
  }

  .jdm-hero {
    min-height: 82vh;
    padding: 96px 0 64px;
  }

  .jdm-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(9, 18, 38, 0.78) 0%,
      rgba(9, 18, 38, 0.88) 65%,
      rgba(9, 18, 38, 0.94) 100%
    );
  }

  .jdm-hero-title {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .jdm-hero-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .jdm-overview {
    padding: 64px 0 52px;
  }

  .jdm-overview-body {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .jdm-metrics {
    padding: 40px 0 56px;
  }

  .jdm-metric-item {
    padding: 26px 10px 20px;
  }

  .jdm-metric-value {
    font-size: 32px;
  }

  .jdm-metric-label {
    font-size: 13.5px;
  }

  .jdm-products {
    padding: 56px 0;
  }

  .jdm-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .jdm-product-card {
    min-height: 220px;
    padding: 28px 24px 26px;
    border-radius: 18px;
  }

  .jdm-product-card h3 {
    font-size: 26px;
  }

  .jdm-refdesigns {
    padding: 56px 0;
  }

  .jdm-ref-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jdm-ref-img-wrap {
    height: 210px;
  }

  .jdm-ref-body {
    padding: 24px 20px 22px;
  }

  .jdm-ref-title {
    font-size: 21px;
  }

  .jdm-offer {
    padding: 64px 0;
  }

  .jdm-offer-title {
    margin-bottom: 32px;
  }

  .jdm-offer-panels {
    padding: 26px 20px;
    min-height: auto;
  }

  .jdm-offer-list li {
    font-size: 15px;
  }

  .jdm-contact {
    padding: 64px 0;
  }

  .jdm-contact-left h2 {
    font-size: 38px;
  }

  .jdm-glass-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .jdm-form-row.cols-3,
  .jdm-form-row.cols-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jdm-form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .jdm-captcha-group {
    max-width: 100%;
  }

  .jdm-submit-btn {
    width: 100%;
  }
}

/* === JDM 2.0 EXTENSIONS START === */

/* Hero secondary CTA button */
.jdm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.jdm-ghost-btn.is-primary {
  background: linear-gradient(90deg, #0b5cff 0%, #0050d0 100%);
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 10px 28px rgba(11, 92, 255, 0.36);
}

.jdm-ghost-btn.is-primary:hover {
  background: linear-gradient(90deg, #1d6bff 0%, #0046ba 100%);
  transform: translateY(-2px);
}

/* Core 4-column & 3-column Watermarked Stats Strips */
.jdm-stats {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 64px 0 72px;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.jdm-stats.is-compact {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.jdm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.jdm-stats-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.jdm-stat-item {
  position: relative;
  text-align: center;
  padding: 28px 18px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.jdm-stat-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  font-size: clamp(64px, 6.2vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: rgba(11, 92, 255, 0.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.jdm-stat-watermark.is-medium {
  font-size: clamp(50px, 5vw, 76px);
}

.jdm-stat-bar {
  position: relative;
  z-index: 1;
  display: block;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b5cff 0%, #38bdf8 100%);
  margin-bottom: 14px;
}

.jdm-stat-num {
  position: relative;
  z-index: 1;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0b5cff 0%, #0046ba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.jdm-stat-num.is-medium {
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.01em;
}

.jdm-stat-label {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  font-weight: 600;
  color: #4b5563;
  line-height: 1.45;
}

/* Ensure footer WeCom card is always visible on JDM page even before scroll triggers */
.jdm-page .footerWecom {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Section 4.1: Dual-Row Seamless Scrolling Customer Logo Wall */
.jdm-logo-section {
  background: #ffffff;
  padding: 80px 0 64px;
  border-top: 1px solid #f1f5f9;
}

.jdm-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.jdm-section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b5cff;
  background: #eff6ff;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.jdm-section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.jdm-section-sub {
  margin: 0;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.65;
}

.jdm-logo-wall {
  position: relative;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.jdm-marquee-row {
  display: flex;
  width: max-content;
  will-change: transform;
}

.jdm-marquee-row.is-left {
  animation: jdmMarqueeLeft 34s linear infinite;
}

.jdm-marquee-row.is-right {
  animation: jdmMarqueeRight 36s linear infinite;
}

.jdm-marquee-row:hover {
  animation-play-state: paused;
}

.jdm-marquee-group {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  flex-shrink: 0;
}

.jdm-logo-card {
  width: 224px;
  height: 86px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.jdm-logo-card.is-warm {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(242, 101, 34, 0.16);
}

.jdm-logo-card.is-cool {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(11, 92, 255, 0.15);
}

.jdm-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.jdm-logo-card img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes jdmMarqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes jdmMarqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Section 4.2: Customer Production Case Cards (2x2 Grid) */
.jdm-cases-section {
  background: #f8fafc;
  padding: 72px 0 88px;
}

.jdm-case-img-wrap {
  position: relative;
  height: 290px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eef2f7;
  overflow: hidden;
}

.jdm-case-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.jdm-case-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0b5cff;
  background: rgba(239, 246, 255, 0.94);
  border: 1px solid rgba(11, 92, 255, 0.22);
  backdrop-filter: blur(4px);
}

.jdm-case-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 28px 26px;
}

.jdm-case-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

.jdm-case-subtitle {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #0b5cff;
  letter-spacing: 0.04em;
}

.jdm-case-desc {
  margin: 0;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  max-width: 460px;
}

/* Section 5.2: Standard Module Family (Photos + Interactive Matrix Table) */
.jdm-module-family {
  background: #ffffff;
  padding: 40px 0 92px;
}

.jdm-module-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 44px;
}

.jdm-module-photo-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.jdm-module-photo-stage {
  background: #ffffff;
  padding: 24px 28px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  border-bottom: 1px solid #f1f5f9;
}

.jdm-module-photo-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.jdm-module-photo-meta {
  padding: 20px 24px 22px;
  background: #f8fafc;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}

.jdm-module-photo-meta h4 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.jdm-module-photo-meta p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
}

.jdm-module-pill {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #f26522;
  background: #fff7ed;
  border: 1px solid rgba(242, 101, 34, 0.25);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.jdm-module-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.jdm-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jdm-filter-btn {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jdm-filter-btn:hover {
  border-color: #0b5cff;
  color: #0b5cff;
}

.jdm-filter-btn.is-active {
  background: linear-gradient(90deg, #0b5cff 0%, #0050d0 100%);
  border-color: #0b5cff;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(11, 92, 255, 0.24);
}

.jdm-module-note {
  font-size: 13px;
  color: #6b7280;
}

.jdm-module-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  background: #ffffff;
}

.jdm-module-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.jdm-module-table thead th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  padding: 15px 16px;
  font-size: 13.5px;
  white-space: nowrap;
}

.jdm-module-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
  color: #374151;
  vertical-align: middle;
}

.jdm-module-table tbody tr:last-child td {
  border-bottom: none;
}

.jdm-module-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.jdm-module-table tbody tr:hover {
  background: #eff6ff;
}

.jdm-module-table tbody tr.is-hidden {
  display: none;
}

.jdm-model-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 15px;
}

.jdm-gen-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.jdm-gen-tag.is-qi22 {
  background: #eff6ff;
  color: #0b5cff;
  border: 1px solid rgba(11, 92, 255, 0.22);
}

.jdm-gen-tag.is-qi20 {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.jdm-qi-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: #0f172a;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

.jdm-sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0b5cff;
  background: #eff6ff;
  border: 1px solid rgba(11, 92, 255, 0.25);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jdm-sample-btn:hover {
  background: #0b5cff;
  color: #ffffff;
  border-color: #0b5cff;
}

@media (max-width: 991px) {
  .jdm-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .jdm-stats-grid.cols-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .jdm-module-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .jdm-logo-card {
    width: 176px;
    height: 74px;
    padding: 12px 18px;
  }

  .jdm-logo-card img {
    max-height: 36px;
  }
}

@media (max-width: 640px) {
  .jdm-logo-section {
    padding: 56px 0 44px;
  }

  .jdm-cases-section {
    padding: 52px 0 64px;
  }

  .jdm-case-img-wrap {
    height: 220px;
    padding: 14px 16px;
  }

  .jdm-case-body {
    padding: 22px 18px 20px;
  }

  .jdm-case-title {
    font-size: 19px;
  }

  .jdm-module-family {
    padding: 24px 0 64px;
  }

  .jdm-module-photo-stage {
    height: 190px;
    padding: 16px;
  }

  .jdm-module-photo-meta {
    flex-direction: column;
    padding: 16px 18px;
  }

  .jdm-logo-card {
    width: 152px;
    height: 64px;
    padding: 10px 14px;
    border-radius: 12px;
  }

  .jdm-logo-card img {
    max-height: 30px;
  }
}
/* === JDM 2.0 EXTENSIONS END === */
