/* Section 1: Banner Video */
.banner-video { position: relative; width: 100vw; min-height: 400px; overflow: hidden; background: #111; display: flex; align-items: center; justify-content: center; }
.banner-bg-video { width: 100%; height: auto; min-height: 400px; object-fit: contain; display: block; }
.banner-overlay { position: absolute; top: 0; left: 0; width: 100vw; height: 100%; display: flex; align-items: flex-start; justify-content: flex-start; pointer-events: none; }
.banner-text-group { margin-left: 30px; margin-top: 30px; color: #fff; max-width: 700px; z-index: 2; text-align: left; }
.banner-subtitle { font-size: 1.2rem; margin-bottom: 1.2em; font-weight: 500; letter-spacing: 0.05em; text-shadow: 0 2px 8px #000; }
.banner-title { font-size: 3rem; font-weight: bold; margin-bottom: 0.7em; letter-spacing: 0.05em; text-shadow: 0 2px 8px #000; }
.banner-desc { font-size: 1.1rem; margin-bottom: 0.7em; line-height: 1.6; text-shadow: 0 2px 8px #000; }

/* Section 2: Features */
.section2 { background: #fff; padding: 4em 0; text-align: center; }
.section-title.green { color: #008040; font-weight: bold;font-weight: 900; }
.section2-subtitle { font-size: 24px; font-weight: 600; margin-bottom: 0.5em; color: #333; }
.section2-desc { color: #333 }
.features-list { display: flex; justify-content: center; gap: 2em; flex-wrap: wrap; }
.feature-item { display: flex; flex-direction: column; align-items: center; max-width: 320px; }
.feature-item img { width: 100%; max-width: 320px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.07); margin-bottom: 0.7em; }
.feature-caption { font-weight: 600; font-size: 1rem; }

/* Section 3: Modes */
.section3 { background: #fafbfc; padding: 4em 0; text-align: center; }
.section3-subtitle { text-align: center; font-size: 24px; font-weight: 600; margin-bottom: 1em; color: #333; }
.modes-list { display: flex; justify-content: center; gap: 2em; flex-wrap: wrap; margin-bottom: 2.5em; }
.mode-item { display: flex; flex-direction: column; align-items: center; max-width: 250px; }
.mode-item img { width: 100%; max-width: 250px; border-radius: 10px; margin-bottom: 0.5em; }
.mode-caption { font-size: 0.98rem; font-weight: 500; text-align: center; }
.modes-bottom { display: flex; justify-content: center; align-items: flex-start; gap: 10em; flex-wrap: wrap; }
.modes-bottom-left, .modes-bottom-center { display: flex; flex-direction: column; align-items: center; }
.modes-bottom-left img, .modes-bottom-center img { max-width: 100%; border-radius: 10px; margin-bottom: 0.5em; }
.robot-labels { display: flex; flex-direction: column; gap: 0.2em; font-size: 0.95rem; color: #333; }
.modes-bottom-right { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 1em; min-width: 180px; margin-top: 10%; }
.mode-buttons { display: flex; flex-direction: column; gap: 1em; }
.mode-btn { display: block; background: #222; color: #fff; padding: 0.9em 1.5em; border-radius: 24px; text-decoration: none; font-weight: bold; font-size: 1rem; transition: background 0.2s; text-align: left; }
.mode-btn:hover { background: #008040; }

/* Section 4: Specs */
.section4 { background: #fff; padding: 4em 0; text-align: center;}
.specs-flex { display: flex; gap: 0em; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.specs-table-wrap { min-width: 320px; width: 586px; }
.specs-table { width: 100%; border-collapse: collapse; margin-top: 1em; }
.specs-table th, .specs-table td { border: 1px solid #222; padding: 0.6em 0.6em; text-align: left; font-size: 16px; }
.specs-table th { font-weight: bold; width: 29%; }
.specs-table td { background: #fff; color: #222; }
.specs-img-wrap { min-width: 220px; max-width: 466px; }
.specs-img-wrap img { width: 100%; margin-top: 5%; }

.specs-form {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0;
  margin: 0 auto 2em auto;
  box-sizing: border-box;
  max-width: 500px;
}
.specs-form-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 0;
  min-height: 48px;
}
.specs-form-row:last-child {
  border-bottom: none;
}
.specs-form-row label {
  flex: 0 0 40%;
  padding: 12px 16px;
  font-weight: 600;
  color: #222;
  background: #f8f8f8;
  border-right: 1px solid #eee;
  font-size: 1rem;
  text-align: left;
}
.specs-form-row input[type="text"] {
  flex: 1 1 60%;
  border: none;
  background: #fff;
  padding: 12px 16px;
  font-size: 1rem;
  color: #222;
  outline: none;
}
.specs-form-row input[type="text"]:focus {
  background: #f0f8ff;
}
@media (max-width: 900px) {
  .specs-form { max-width: 100%; }
  .specs-form-row label, .specs-form-row input[type="text"] { font-size: 0.95rem; padding: 10px 8px; }
}
@media (max-width: 600px) {
  .specs-form-row { flex-direction: column; align-items: stretch; }
  .specs-form-row label, .specs-form-row input[type="text"] { width: 100%; border-right: none; border-bottom: 1px solid #eee; text-align: left; }
  .specs-form-row input[type="text"] { border-bottom: none; }
}

/* Section 5: Demo */
.section5 { background: #f8f8f8; padding: 4em 0; text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .banner-video { min-height: 300px; }
  .banner-bg-video { min-height: 300px; }
  .banner-title { font-size: 1.5rem; }
  .banner-text-group { margin-left: 30px; margin-top: 30px; max-width: 95vw; }
  .features-list, .modes-list, .specs-flex, .modes-bottom { flex-direction: column; gap: 1.5em; align-items: center; }
  .specs-img-wrap, .specs-table-wrap { max-width: 100%; min-width: 0; }
}
@media (max-width: 600px) {
  .banner-video { min-height: 250px; }
  .banner-bg-video { min-height: 250px; }
  .banner-title { font-size: 1.1rem; }
  .banner-subtitle { font-size: 0.95rem; }
  .banner-desc { font-size: 0.9rem; }
  .banner-text-group { margin-left: 30px; margin-top: 30px; max-width: 98vw; }
  .section1, .section2, .section3, .section4, .section5, .features-section, .modes-section, .specs-section {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
  }
  .section-title { 
    font-size: 24px; 
    margin-bottom: 25px;
  }
  .features-list, .modes-list, .specs-flex, .modes-bottom { gap: 1em; }
  .feature-item img, .mode-item img, .modes-bottom-left img, .modes-bottom-center img, .specs-img-wrap img { max-width: 100vw; }
} 

/*custom*/
.btn-not-common .btn-pudu {
    width: 290px;
    height: 60px;
    padding: 19px 0 0 23px;
    color: #fff;
    font-size: 16px;
    cursor: default;
}

/* Section Title Centered */
.section-title {
  position: relative;
  padding: 0 0 25px;
  margin: 0 0 40px;
  color: #0C7947;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  font-weight: 900;
}
.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 50px;
  border-bottom: 2px solid #0C7947;
}
.btn-not-common .btn.arrow::after {
  display: none;
}

.btn-hik-contact {
  width: 290px;
  height: 60px;
  padding: 19px 0 0 0; 
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
}
.section2 .container,
.section3 .container,
.section4 .container,
.section5 .container {
 /*max-width: 1200px;*/
  margin: 0 auto;
}

/* Section Full Width + Padding */
.section1, .section2, .section3, .section4, .section5, .features-section, .modes-section, .specs-section {
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 4em 60px;
}

/* Xen kẽ background section */
.section1, .section3, .specs-section {
  background: #fff;
}
.section2, .section4, .features-section.bg-alt, .modes-section.bg-alt {
  background: #f6f6f6;
}

/* Responsive padding */
@media (max-width: 900px) {
  .section1, .section2, .section3, .section4, .section5, .features-section, .modes-section, .specs-section {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 3em;
    padding-bottom: 3em;
  }
  .section-title {
    margin-bottom: 30px;
    font-size: 28px;
  }
}

/* Banner Details Below Video */
.banner-details-below {
  width: 100vw;
  /*background: linear-gradient(90deg, #e8fff3 0%, #f8f8f8 100%);*/
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0 20px 0;
  margin-bottom: 0;
}
.banner-details-inner {
  display: flex;
  flex-direction: row;
  gap: 32px;
  max-width: 1100px;
  width: 95vw;
  justify-content: center;
  flex-wrap: wrap;
}
.banner-detail-row {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(12,121,71,0.10), 0 1.5px 6px rgba(44,200,112,0.07);
  padding: 32px 28px 24px 28px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 6px solid #0C7947;
}
.banner-detail-row:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(12,121,71,0.18), 0 2px 8px rgba(44,200,112,0.10);
}
.banner-detail-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0C7947;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.banner-detail-desc {
  font-size: 1.05rem;
  color: #222;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .banner-details-inner {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .banner-detail-row {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
    padding: 22px 12px 18px 16px;
  }
}
@media (max-width: 600px) {
  .banner-details-below {
    padding: 18px 0 8px 0;
  }
  .banner-detail-title {
    font-size: 1.05rem;
  }
  .banner-detail-desc {
    font-size: 0.98rem;
  }
}

/* Hero Row (HIK Intro) */
.hik-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100vw;
  max-width: 100%;
  padding: 60px 0 40px 0;
  background: #fff;
  box-sizing: border-box;
  gap: 40px;
  border-bottom: 2px solid #e0e0e0;
}
.hik-hero-left {
  flex: 1 1 480px;
  padding-left: 5vw;
  min-width: 320px;
}
.hik-hero-title {
  color: #0C7947;
  font-size: 2.3rem;
  font-weight: 900;
  text-align: left;
  margin-bottom: 18px;
  position: relative;
  letter-spacing: 0.04em;
}
.hik-hero-title::after {
  content: '';
  display: block;
  width: 60px;
  border-bottom: 3px solid #0C7947;
  margin-top: 10px;
}
.hik-hero-desc {
  color: #222;
  font-size: 16px;
  line-height: 2.0;
  text-align: left;
  font-weight: 400;
  margin-top: 18px;
  letter-spacing: 0.01em;
}
.hik-hero-right {
  flex: 1 1 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 320px;
  /*max-width: 520px;*/
  padding-right: 5vw;
}
.hik-hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 900px) {
  .hik-hero-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 30px 0 20px 0;
  }
  .hik-hero-left, .hik-hero-right {
    padding: 0 18px;
    max-width: 98vw;
  }
  .hik-hero-img {
    max-width: 260px;
    margin: 0 auto;
  }
  .hik-hero-title {
    font-size: 1.5rem;
  }
  .hik-hero-title::after {
    width: 40px;
    border-bottom-width: 2px;
  }
  .hik-hero-desc {
    font-size: 16px;
  }
}

/* Section 1: Product Overview - HIK Style */
.section1 {
  background: #fff;
}
.section1 .container {
  /**max-width: 1200px;*/
  margin: 0 auto;
}

/* HIK Grid Layout */
.hik-grid-layout {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hik-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Demo Container */
.demo {
  position: relative;
  width: 270px;
  height: 235px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.demo.special {
  height: 500px;
}

.demo:hover {
  transform: translateY(-5px);
}

/* Background Layers */
.demo .top,
.demo .middle,
.demo .bottom {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.demo .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Product Image Container */
.productImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
  /*display: flex;*/
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  font-size: 28px;
}

.productImg.is-software {
  background-size: contain;
  background-position: center top;
}

/* Product Text */
.productImg .name {
  font-size: 28px;
  font-weight: 700;
  color: #888;
  margin-bottom: 5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.productImg .introduction {
  font-size: 16px;
  color: #888;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.textOverflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* SVG Border */
.demo svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.demo svg polyline {
  fill: none;
  stroke: #000;
  stroke-width: 2;
}

.demo svg polyline:last-child {
  stroke: #ea7f31;
}

/* Hover Effects */
.demo:hover .productImg:first-of-type {
  opacity: 0;
}

.demo:hover .productImg:last-of-type {
  display: flex !important;
}

/* Enhanced Hover Effect - chỉ thêm border cam */
.demo:hover {
  /*  border: 3px solid #ea7f31;
  box-shadow: 0 0 0 3px rgba(234, 127, 49, 0.3);*/
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hik-grid-layout {
    gap: 15px;
  }
  .hik-column {
    gap: 15px;
  }
  .demo {
    width: 250px;
    height: 220px;
  }
  .demo.special {
    height: 450px;
  }
}

/* iPad Portrait & Landscape */
@media (max-width: 1024px) and (min-width: 769px) {
  .hik-grid-layout {
    gap: 18px;
    padding: 0 20px;
  }
  .hik-column {
    gap: 18px;
  }
  .demo {
    width: 240px;
    height: 220px;
  }
  .demo.special {
    height: 440px;
  }
  .productImg .name {
    font-size: 20px;
  }
  .productImg .introduction {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .hik-grid-layout {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hik-column {
    gap: 15px;
    flex: 0 0 calc(50% - 7.5px);
    max-width: 270px;
  }
  .demo {
    width: 100%;
    height: 220px;
  }
  .demo.special {
    height: 420px;
  }
  .productImg .name {
    font-size: 18px;
  }
  .productImg .introduction {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .hik-grid-layout {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0 15px;
  }
  .hik-column {
    gap: 20px;
    width: 100%;
    max-width: 400px;
  }
  .demo {
    width: 100%;
    height: 280px;
    max-width: none;
  }
  .demo.special {
    height: 350px;
  }
  .productImg {
    padding: 20px;
  }
  .productImg .name {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .productImg .introduction {
    font-size: 14px;
    line-height: 1.3;
  }
}

@media (max-width: 600px) {
  .hik-grid-layout {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0 20px;
  }
  .hik-column {
    gap: 20px;
    width: 100%;
    max-width: 350px;
  }
  .demo {
    width: 100%;
    height: 260px;
    max-width: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .demo.special {
    height: 320px;
  }
  .productImg {
    padding: 18px;
  }
  .productImg .name {
    font-size: 20px;
    margin-bottom: 6px;
    font-weight: 700;
  }
  .productImg .introduction {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .demo {
    height: 220px;
  }
  .demo.special {
    height: 280px;
  }
  .productImg {
    padding: 12px;
  }
  .productImg .name {
    font-size: 16px;
  }
  .productImg .introduction {
    font-size: 11px;
  }
}



@media (max-width: 900px) {
  .hik-hero-content {
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
  }
  .hik-hero-left, .hik-hero-right {
    min-width: 0;
    width: 100%;
  }
  .hik-hero-img {
    max-width: 98vw;
    min-width: 0;
  }
  .hik-hero-desc {
    font-size: 16px;
  }
}

/* Specs Table Style for Section 3 - border bottom only, no outer border */
.specs-table {
  width: 100%;
  font-size: 16px;
  color: #222;
  margin: 0 auto;
  background: #fff;
  min-width: 340px;
  max-width: 930px;
  border: none;
  border-spacing: 0;
}
.specs-table th, .specs-table td {
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 18px;
  text-align: left;
  font-weight: 400;
  background: none;
}
.specs-table th {
  font-weight: 700;
  width: 38%;
  background: none;
}
.specs-table tr:last-child th, .specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table tr {
  height: 48px;
}
@media (max-width: 950px) {
  .specs-table {
    min-width: 0;
    max-width: 100vw;
  }
}

.section3.specs-section {
  background: #fff;
}
.section3 .container {
  width: 100%;
  margin: 0 auto;
}
.section3 .hik-hero-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 60px;
  margin-top: 30px;
}
.section3 .hik-hero-left, .section3 .hik-hero-right {
  min-width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section3 .hik-hero-img {
  width: 100%;
  height: auto;
  max-width: 520px;
  min-width: 320px;
  display: block;
}
@media (max-width: 900px) {
  .section3 .hik-hero-content {
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
  }
  .section3 .hik-hero-left, .section3 .hik-hero-right {
    min-width: 0;
    width: 100%;
  }
  .section3 .hik-hero-img {
    max-width: 98vw;
    min-width: 0;
  }
  .specs-table {
    min-width: 0;
    max-width: 100vw;
  }
}

/* Section 4: Modes Grid - update gap, subtitle, no border-radius */
.section4-subtitle {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-bottom: 18px;
  margin-top: 18px;
}
.modes-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}
.mode-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  background: none;
  position: relative;
}
.mode-img-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.mode-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  background: #181818;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: block;
}
.mode-caption-top {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  text-align: left;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
  text-shadow: 0 2px 8px #000;
  pointer-events: none;
  padding-left: 9px;
}
.mode-caption-bottom {
  font-size: 15px;
  color: #222;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 1200px) {
  .modes-grid {
    gap: 24px;
  }
  .mode-col, .mode-img-wrap, .mode-img {
    width: 180px;
    height: 180px;
  }
}
@media (max-width: 900px) {
  .modes-grid {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
  }
  .mode-col, .mode-img-wrap, .mode-img {
    width: 44vw;
    max-width: 220px;
    height: 44vw;
    max-height: 220px;
  }
}
@media (max-width: 600px) {
  .modes-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .mode-col, .mode-img-wrap, .mode-img {
    width: 90vw;
    max-width: 220px;
    height: 90vw;
    max-height: 220px;
  }
}

/* Section 5: Features - 2 column rows */
.section5.features-section {
  background: #fff;
}
.section5 .container {
  width: 100%;
  margin: 0 auto;
}
.section5-subtitle {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-bottom: 18px;
  margin-top: 18px;
}
.section5-desc {
  text-align: center;
  font-size: 16px;
  color: #222;
  margin-bottom: 38px;
}
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}
.feature-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 48px;
  width: 100%;
}
.feature-img-wrap {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-img {
  width: 420px;
  height: auto;
  object-fit: cover;
  display: block;
}
.feature-text {
  flex: 1 1 0;
  font-size: 16px;
  color: #222;
  line-height: 2.0;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 1060px;
}
@media (max-width: 1200px) {
  .feature-img-wrap {
    flex: 0 0 280px;
  }
  .feature-img {
    width: 280px;
  }
  .feature-row {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .feature-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-img-wrap, .feature-img {
    width: 100%;
  }
  .feature-text {
    max-width: 98vw;
  }
}

/* Responsive text cho tiếng Việt */
@media (max-width: 768px) {
  [lang="vi"] .hik-hero-desc,
  .lang-vi .hik-hero-desc {
    word-break: break-word;
    line-height: 1.8;
  }
  
  [lang="vi"] .hik-hero-desc br,
  .lang-vi .hik-hero-desc br {
    display: none;
  }
  
  [lang="vi"] .feature-text,
  .lang-vi .feature-text {
    word-break: break-word;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  [lang="vi"] .hik-hero-desc,
  .lang-vi .hik-hero-desc {
    font-size: 14px;
    line-height: 1.9;
  }
  
  [lang="vi"] .feature-text,
  .lang-vi .feature-text {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* Feature Image Container với Text Overlay cho Section 5 */
.feature-img-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.feature-img-overlay {
  position: absolute;
  bottom: 3px;
  left: 3px;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  z-index: 2;
  white-space: nowrap;
  text-align: left;
}

/* Responsive cho feature overlay */
@media (max-width: 900px) {
  .feature-img-overlay {
    font-size: 12px;
    padding: 6px 10px;
    bottom: 2px;
    left: 2px;
  }
}

@media (max-width: 600px) {
  .feature-img-overlay {
    font-size: 11px;
    padding: 5px 8px;
    bottom: 2px;
    left: 2px;
    white-space: normal;
    max-width: 90%;
  }
}

/* Section 3: Single Tab Design */

/* Single Tab Container */
.hik-single-specs {
  max-width: 1200px;
  margin: 30px auto;
  position: relative;
}

/* Tab Content Management */
.hik-tab-contents {
  position: relative;
}

.hik-tab-content-item {
  display: none;
}

.hik-tab-content-item.active {
  display: block;
}

/* Tab Header */
.hik-single-tab-header {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.hik-single-tab-title,
.hik-single-tab-subtitle {
  font-size: 28px;
  font-weight: 500;
  color: #888;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hik-single-tab-title.active,
.hik-single-tab-subtitle.active {
  font-weight: 600;
  color: #0C7947;
}

.hik-single-tab-title.active::after,
.hik-single-tab-subtitle.active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #0C7947;
}

.hik-single-tab-title:hover,
.hik-single-tab-subtitle:hover {
  color: #0C7947;
}

/* Key Specs Grid */
.hik-single-key-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
  justify-items: stretch;
  align-items: start;
  padding: 0 80px 0 140px;
}

.hik-single-content {
  padding: 0 110px 0 80px;
}

.hik-single-spec-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 15px;
}

.hik-spec-icon-flat {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
}

.hik-spec-icon-flat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hik-spec-text-flat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.hik-single-spec-item { width: 100%; }

.hik-spec-value-flat {
  font-size: 28px;
  font-weight: 700;
  color: #888;
  line-height: 1.5;
}

.hik-spec-label-flat {
  font-size: 16px;
  color: #888;
  line-height: 1.2;
  text-align: left;
}

/* Navigation Arrows */
.hik-single-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.hik-single-navigation .hot-btn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  pointer-events: auto;
}

.hik-single-navigation .hot-btn:hover {
  color: #0C7947;
  background: #fff;
}

/* Bottom Section: Robot Image + Specs Table */
.hik-tab-content {
  margin-top: 40px;
}

.hik-tab-panel {
  display: none;
}

.hik-tab-panel.active {
  display: block;
}

.hik-specs-layout-flat {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hik-specs-left-flat {
  flex: 0 0 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hik-robot-img-flat {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hik-specs-right-flat {
  flex: 1;
}

.hik-specs-table-flat {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hik-spec-row-flat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.hik-spec-row-flat:last-child {
  border-bottom: none;
}

.hik-spec-name-flat {
  font-weight: 400;
  color: #333;
  font-size: 16px;
}

.hik-spec-data-flat {
  font-weight: 400;
  color: #333;
  font-size: 16px;
}

/* Responsive cho Single Tab Design */
@media (max-width: 1200px) {
  .hik-single-specs {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .hik-specs-layout-flat {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .hik-single-key-specs {
    padding: 0 40px;
  }
  
  .hik-single-content {
    padding: 0 40px;
  }
}

/* iPad Portrait & Landscape untuk Section 3 */
@media (max-width: 1024px) and (min-width: 769px) {
  .hik-single-tab-header {
    gap: 60px;
    margin-bottom: 25px;
  }
  
  .hik-single-tab-title,
  .hik-single-tab-subtitle {
    font-size: 24px;
  }
  
  .hik-single-key-specs {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    padding: 0 30px;
  }
  
  .hik-single-content {
    padding: 0 30px;
  }
  
  .hik-specs-layout-flat {
    gap: 40px;
  }
  
  .hik-specs-left-flat {
    flex: 0 0 380px;
  }
  
  .hik-spec-value-flat {
    font-size: 24px;
  }
  
  .hik-spec-label-flat {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .hik-single-tab-header {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .hik-single-tab-title,
  .hik-single-tab-subtitle {
    font-size: 20px;
  }
  
  .hik-single-key-specs {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
  }
  
  .hik-single-content {
    padding: 0 20px;
  }
  
  .hik-specs-layout-flat {
    flex-direction: column;
    gap: 25px;
    padding: 0;
  }
  
  .hik-specs-left-flat {
    flex: none;
    display: flex;
    justify-content: center;
  }
  
  .hik-robot-img-flat {
    max-width: 300px;
  }
  
  .hik-spec-value-flat {
    font-size: 22px;
  }
  
  .hik-spec-label-flat {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .hik-single-tab-header {
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 10px 15px 10px;
    margin-bottom: 15px;
  }
  
  .hik-single-tab-title,
  .hik-single-tab-subtitle {
    white-space: nowrap;
    font-size: 16px;
    min-width: max-content;
  }
  
  .hik-single-key-specs {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 18px;
    padding: 0 15px;
  }
  
  .hik-single-content {
    padding: 0 15px;
  }
  
  /* Mobile: Revert to vertical layout (icon top, text bottom) */
  .hik-single-spec-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 12px;
    background: rgba(249, 249, 249, 0.5);
    border-radius: 8px;
  }
  
  .hik-spec-icon-flat {
    width: 48px;
    height: 48px;
  }
  
  .hik-spec-text-flat {
    align-items: center;
  }
  
  .hik-spec-label-flat {
    text-align: center;
    font-size: 13px;
  }
  
  .hik-spec-value-flat {
    font-size: 20px;
    font-weight: 700;
  }
  
  .hik-single-navigation .hot-btn {
    width: 45px;
    height: 45px;
  }
  
  .hik-specs-layout-flat {
    gap: 20px;
  }
  
  .hik-specs-left-flat {
    flex: none;
  }
  
  .hik-robot-img-flat {
    max-width: 250px;
  }
  
  .hik-spec-row-flat {
    padding: 10px 0;
  }
  
  .hik-spec-name-flat,
  .hik-spec-data-flat {
    font-size: 14px;
  }
}

/* Section 4 Responsive */
/* iPad Portrait & Landscape untuk Section 4 */
@media (max-width: 1024px) and (min-width: 769px) {
  .hik-section4-specs .hik-single-tab-header {
    gap: 80px;
  }
  
  .hik-section4-specs .hik-single-tab-title,
  .hik-section4-specs .hik-single-tab-subtitle {
    font-size: 24px;
  }
  
  .hik-section4-specs .hik-single-key-specs {
    padding: 0 30px;
  }
  
  .hik-section4-specs .hik-single-content {
    padding: 0 30px;
  }
}

@media (max-width: 900px) {
  .hik-section4-specs .hik-single-tab-header {
    gap: 40px;
    margin-bottom: 20px;
  }
  
  .hik-section4-specs .hik-single-tab-title,
  .hik-section4-specs .hik-single-tab-subtitle {
    font-size: 20px;
  }
  
  .hik-section4-specs .hik-single-key-specs {
    padding: 0 20px;
  }
  
  .hik-section4-specs .hik-single-content {
    padding: 0 20px;
  }
  
  .hik-section4-specs .hik-robot-img-flat {
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .hik-section4-specs .hik-single-tab-header {
    gap: 25px;
    padding: 0 10px 15px 10px;
    margin-bottom: 15px;
  }
  
  .hik-section4-specs .hik-single-tab-title,
  .hik-section4-specs .hik-single-tab-subtitle {
    font-size: 16px;
    min-width: max-content;
  }
  
  .hik-section4-specs .hik-single-key-specs {
    padding: 0 15px;
    gap: 18px;
  }
  
  .hik-section4-specs .hik-single-content {
    padding: 0 15px;
  }
  
  .hik-section4-specs .hik-single-spec-item {
    background: rgba(249, 249, 249, 0.5);
    border-radius: 8px;
    padding: 12px;
  }
  
  .hik-section4-specs .hik-robot-img-flat {
    max-width: 250px;
  }
}

/* Section 5: Special Layout (Image Left 30% + Specs Right 70%) */
.hik-section5-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hik-section5-left {
  flex: 0 0 39%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hik-section5-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hik-section5-right {
  flex: 0 0 61%;
}

.hik-section5-key-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.hik-section5-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  max-width: 600px;
}

/* Responsive cho Section 5 */
@media (max-width: 1200px) {
  .hik-section5-layout {
    max-width: 100%;
    padding: 0 20px;
    gap: 30px;
  }
  
  .hik-section5-key-specs {
    gap: 20px;
  }
}

/* iPad Portrait & Landscape för Section 5 & 6 */
@media (max-width: 1024px) and (min-width: 769px) {
  .hik-section5-specs .hik-single-tab-header,
  .hik-section6-specs .hik-single-tab-header {
    gap: 60px;
  }
  
  .hik-section5-specs .hik-single-tab-title,
  .hik-section5-specs .hik-single-tab-subtitle,
  .hik-section6-specs .hik-single-tab-title,
  .hik-section6-specs .hik-single-tab-subtitle {
    font-size: 24px;
  }
  
  .hik-section5-layout {
    gap: 35px;
  }
  
  .hik-section5-left {
    flex: 0 0 42%;
  }
  
  .hik-section5-right {
    flex: 0 0 58%;
  }
}

@media (max-width: 900px) {
  .hik-section5-specs .hik-single-tab-header,
  .hik-section6-specs .hik-single-tab-header {
    gap: 40px;
    margin-bottom: 20px;
  }
  
  .hik-section5-specs .hik-single-tab-title,
  .hik-section5-specs .hik-single-tab-subtitle,
  .hik-section6-specs .hik-single-tab-title,
  .hik-section6-specs .hik-single-tab-subtitle {
    font-size: 20px;
  }
  
  .hik-section5-layout {
    flex-direction: column;
    gap: 25px;
    padding: 0 20px;
  }
  
  .hik-section5-left,
  .hik-section5-right {
    flex: none;
    width: 100%;
  }
  
  .hik-section5-img {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .hik-section5-key-specs {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .hik-section5-specs .hik-single-tab-header,
  .hik-section6-specs .hik-single-tab-header {
    gap: 25px;
    padding: 0 10px 15px 10px;
    margin-bottom: 15px;
  }
  
  .hik-section5-specs .hik-single-tab-title,
  .hik-section5-specs .hik-single-tab-subtitle,
  .hik-section6-specs .hik-single-tab-title,
  .hik-section6-specs .hik-single-tab-subtitle {
    font-size: 16px;
    min-width: max-content;
  }
  
  .hik-section5-layout {
    padding: 0 15px;
    gap: 20px;
  }
  
  .hik-section5-img {
    max-width: 220px;
  }
  
  .hik-section5-key-specs {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 18px;
  }
  
  .hik-section5-table {
    margin-top: 15px;
  }
  
  /* Mobile: Revert to vertical layout (icon top, text bottom) */
  .hik-section5-key-specs .hik-single-spec-item,
  .hik-section6-specs .hik-single-spec-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    background: rgba(249, 249, 249, 0.5);
    border-radius: 8px;
    padding: 12px;
  }
  
  .hik-section5-key-specs .hik-spec-icon-flat,
  .hik-section6-specs .hik-spec-icon-flat {
    width: 48px;
    height: 48px;
  }
  
  .hik-section5-key-specs .hik-spec-text-flat,
  .hik-section6-specs .hik-spec-text-flat {
    align-items: center;
  }
  
  .hik-section5-key-specs .hik-spec-label-flat,
  .hik-section6-specs .hik-spec-label-flat {
    text-align: center;
    font-size: 13px;
  }
  
  .hik-section5-key-specs .hik-spec-value-flat,
  .hik-section6-specs .hik-spec-value-flat {
    font-size: 18px;
    font-weight: 700;
  }
  
  .hik-section5-table .hik-spec-row-flat {
    padding: 8px 0;
  }
  
  .hik-section5-table .hik-spec-name-flat,
  .hik-section5-table .hik-spec-data-flat {
    font-size: 14px;
  }
}

/* Section 7: Practice Grid (4 images in a row) */
.hik-practice-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hik-practice-item {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.hik-practice-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hik-practice-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hik-practice-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: 15px;
  line-height: 1.4;
}

/* Responsive cho Section 7 */
@media (max-width: 1200px) {
  .hik-practice-grid {
    gap: 20px;
    padding: 0 20px;
  }
  
  .hik-practice-item {
    max-width: 250px;
  }
}

@media (max-width: 900px) {
  .hik-practice-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .hik-practice-item {
    flex: 0 0 calc(50% - 10px);
    max-width: none;
  }
}

@media (max-width: 600px) {
  .hik-practice-grid {
    flex-direction: column;
    gap: 25px;
  }
  
  .hik-practice-item {
    flex: none;
    max-width: 100%;
  }
  
  .hik-practice-img {
    height: 180px;
  }
  
  .hik-practice-title {
    font-size: 15px;
    margin-top: 12px;
  }
}