/* ==========================================================================
   SECTION 09: TIÊU CHUẨN KỸ THUẬT (TECHNICAL SPECIFICATIONS)
   Matsuya R&D Vietnam - Model: MRD-BWT002
   Namespace: .mrd-specs-*
   Thiết kế: Industrial Data Dashboard 2 cột chuẩn Nhật Bản
   ========================================================================== */

.mrd-specs-wrapper {
  padding: 84px 0;
  background-color: #ffffff;
  position: relative;
  border-top: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.mrd-specs-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   HEADER SECTION CANH TRÁI CHUẨN ĐỒNG BỘ TOÀN LANDING PAGE
   -------------------------------------------------------------------------- */
.mrd-specs-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 40px;
}

/* Huy hiệu Tag */
.mrd-specs-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 159, 227, 0.08);
  border: 1px solid rgba(0, 159, 227, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  color: #0077b6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 159, 227, 0.06);
}

.mrd-specs-tag-dot {
  width: 7px;
  height: 7px;
  background-color: #009fe3;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 159, 227, 0.8);
}

/* Tiêu đề H2 Uy Lực */
.mrd-specs-title {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.mrd-specs-title .mrd-highlight {
  color: #009fe3;
  white-space: nowrap;
}

/* Mô tả cô đọng */
.mrd-specs-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  max-width: 800px;
}

/* --------------------------------------------------------------------------
   THẺ DATA DASHBOARD TIÊU CHUẨN KỸ THUẬT (2 CỘT CÂN ĐỐI)
   -------------------------------------------------------------------------- */
.mrd-specs-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}

/* Banner Header Bảng Xanh Navy Công Nghiệp */
.mrd-specs-card-banner {
  background: linear-gradient(135deg, #0a2540 0%, #004b87 100%);
  color: #ffffff;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 2px solid #009fe3;
}

.mrd-specs-mobile-col-header {
  display: none;
}

.mrd-specs-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mrd-specs-banner-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 159, 227, 0.25);
  border: 1px solid rgba(0, 159, 227, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.mrd-specs-banner-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mrd-specs-banner-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.mrd-specs-banner-sub {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.mrd-specs-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.3px;
}

.mrd-specs-banner-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

/* --------------------------------------------------------------------------
   THÂN BẢNG THÔNG SỐ (UNIFIED ROWS - ĐỒNG BỘ THẲNG HÀNG 100% TUYỆT ĐỐI)
   -------------------------------------------------------------------------- */
.mrd-specs-body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Từng hàng ngang đồng bộ kéo dài từ mép trái sang mép phải */
.mrd-specs-table-row {
  display: flex;
  width: 100%;
  align-items: stretch;
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.mrd-specs-table-row:last-child {
  border-bottom: none;
}

/* Hiệu ứng sọc xen kẽ Zebra - Tương phản rõ nét trên toàn bộ hàng ngang */
.mrd-specs-table-row:nth-child(even) {
  background-color: #edf3f8; /* Xám xanh công nghiệp rõ nét */
}

.mrd-specs-table-row:nth-child(odd) {
  background-color: #ffffff;
}

/* Hover nổi bật cả hàng */
.mrd-specs-table-row:hover {
  background-color: #e0f2fe; /* Highlight xanh cyan khi rê chuột */
}

/* 2 Nửa Cột Cân Đối (Trái & Phải) trong cùng 1 hàng ngang */
.mrd-specs-cell-pair {
  flex: 1 1 50%;
  width: 50%;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 26px;
  box-sizing: border-box;
}

/* Vạch kẻ đứng ở giữa: Thẳng tắp 100% từ đỉnh xuống đáy */
.mrd-specs-cell-pair.mrd-specs-left {
  border-right: 2px solid #cbd5e1;
}

/* Cột Tên Thông Số (Label) */
.mrd-specs-label {
  flex: 0 0 42%;
  width: 42%;
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.mrd-specs-label-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #009fe3;
  flex-shrink: 0;
  opacity: 0.8;
}

/* Cột Giá Trị Thông Số (Value) */
.mrd-specs-value {
  flex: 1;
  font-size: 14.5px;
  color: #334155;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  box-sizing: border-box;
}

/* Nhấn mạnh thông số quan trọng */
.mrd-specs-value strong {
  color: #004b87;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Nhãn Tag "Có thể mở rộng tùy chỉnh" (Hình chữ nhật bo nhẹ 4px) */
.mrd-specs-custom-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(0, 159, 227, 0.08);
  border: 1px solid rgba(0, 159, 227, 0.25);
  border-radius: 4px;
  color: #0077b6;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Nhãn Tự Động 100% (Badge Xanh) */
.mrd-specs-auto-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: linear-gradient(135deg, rgba(0, 159, 227, 0.12) 0%, rgba(0, 75, 135, 0.16) 100%);
  border: 1px solid rgba(0, 159, 227, 0.35);
  border-radius: 4px;
  color: #006da8;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   FOOTER GHI CHÚ VÀ CTA CỦA BẢNG THÔNG SỐ
   -------------------------------------------------------------------------- */
.mrd-specs-footer {
  background: #f8fafc;
  border-top: 1.5px solid #e2e8f0;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.mrd-specs-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 680px;
}

.mrd-specs-note-icon {
  color: #009fe3;
  flex-shrink: 0;
  margin-top: 2px;
}

.mrd-specs-note-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mrd-specs-note-text {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
}

.mrd-specs-note-text strong {
  color: #1e293b;
}

.mrd-specs-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Nút Tải Brochure / Datasheet PDF */
.mrd-specs-btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mrd-specs-btn-pdf svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  color: #ef4444; /* Icon PDF đỏ chuẩn công nghiệp */
}

.mrd-specs-btn-pdf:hover {
  border-color: #009fe3;
  color: #009fe3;
  box-shadow: 0 4px 14px rgba(0, 159, 227, 0.15);
  transform: translateY(-2px);
}

/* Nút Yêu Cầu Tư Vấn Kỹ Thuật */
.mrd-specs-btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #009fe3 0%, #0077b6 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 159, 227, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mrd-specs-btn-quote svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.mrd-specs-btn-quote:hover {
  background: linear-gradient(135deg, #0088c4 0%, #006094 100%);
  box-shadow: 0 6px 20px rgba(0, 159, 227, 0.4);
  transform: translateY(-2px);
}

.mrd-specs-btn-quote:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .mrd-specs-wrapper {
    padding: 64px 0;
  }

  .mrd-specs-title {
    font-size: 28px;
  }

  .mrd-specs-table-row {
    flex-direction: column;
  }

  .mrd-specs-cell-pair {
    width: 100%;
    flex: 1 1 100%;
    padding: 14px 20px;
  }

  .mrd-specs-cell-pair.mrd-specs-left {
    border-right: none;
    border-bottom: 1px dashed #cbd5e1;
  }

  .mrd-specs-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .mrd-specs-actions {
    width: 100%;
  }

  .mrd-specs-btn-pdf,
  .mrd-specs-btn-quote {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .mrd-specs-wrapper {
    padding: 48px 0;
  }

  .mrd-specs-title {
    font-size: 24px;
  }

  .mrd-specs-desc {
    font-size: 14px;
  }

  .mrd-specs-card-banner {
    padding: 14px 18px;
  }

  .mrd-specs-banner-title {
    font-size: 15px;
  }

  .mrd-specs-cell-pair {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .mrd-specs-label {
    flex: 1 1 100%;
    width: 100%;
    font-size: 14px;
  }

  .mrd-specs-value {
    flex: 1 1 100%;
    width: 100%;
    font-size: 14px;
  }

  .mrd-specs-footer {
    padding: 18px 16px;
  }

  .mrd-specs-actions {
    flex-direction: column;
    width: 100%;
  }

  .mrd-specs-btn-pdf,
  .mrd-specs-btn-quote {
    width: 100%;
    text-align: center;
  }
}
