/* ══ COMPARISON SECTION ══ */

.s-compare .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SCROLL CONTAINER */
.compare-scroll {
  overflow-x: auto;
  margin-top: 40px;
}

/* TABLE */
.compare-table {
  min-width: 720px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

/* HEADER */
.ct-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.ct-head div {
  padding: 18px 20px;
}

.ct-head .highlight {
  color: var(--orange);
}

/* ROW */
.ct-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: 1px solid var(--gray-200);
}

.ct-row div {
  padding: 16px 20px;
  font-size: 0.98rem;
}

/* ALT ROW */
.ct-row.alt {
  background: #fafafa;
}

/* RIGHT COLUMN */
.ct-row .highlight {
  color: var(--orange);
  font-weight: 500;
}

/* TAG */
.tag {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  padding: 3px 6px;
  margin-left: 6px;
  border-radius: 4px;
}

/* SCROLLBAR */
.compare-scroll::-webkit-scrollbar {
  height: 6px;
}

.compare-scroll::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 10px;
}



/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {

  .ct-head div,
  .ct-row div {
    padding: 14px;
    font-size: 13px;
  }

}

/* ══ OVERVIEW SECTION ══ */



/* 🔥 SIDE GAP FIX */
.s-overview .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* BOX */
.ov-box {
  margin-top: 40px;
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}

/* LEFT / RIGHT */
.ov-left,
.ov-right {
  padding: 40px;
}

/* DIVIDER */
.ov-left {
  border-right: 1px solid var(--gray-200);
}

/* HIGHLIGHT TEXT */
.ov-highlight {
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

/* PARAGRAPHS */
.ov-left p,
.ov-right p {
  margin-bottom: 18px;
  font-size: 0.98rem;
}

/* TAGS */
.ov-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ov-tags span {
  border: 1px solid var(--gray-200);
  background-color: rgb(5, 6, 87);
  padding: 6px 10px;
  border-radius: 4px;
  color: #fafafa;
  font-size: 0.76rem;
}
.ov-tags span:hover{
    background-color: rgb(142, 201, 250);
}

/* 📱 MOBILE */
@media (max-width: 768px) {

  .ov-box {
    grid-template-columns: 1fr;
  }

  .ov-left {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .ov-left,
  .ov-right {
    padding: 24px;
  }

}
/* ===== OVERVIEW RESPONSIVE ===== */

.ov-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* tablet */
@media (max-width: 1024px) {
  .ov-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* mobile */
@media (max-width: 768px) {

  .ov-box {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ov-left,
  .ov-right {
    width: 100%;
  }

  .ov-highlight {
    font-size: 1rem;
    line-height: 1.5;
  }

  .ov-left p,
  .ov-right p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .ov-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

}
/* ===== INDUSTRIAL SECTION ===== */

.s-industrial {
  background: var(--navy);
  padding: 100px 64px;
  color: #fff;
}

/* HEAD */
.industrial-head {
  max-width: 720px;
  margin-bottom: 60px;
}

.industrial-title {
  font-size: clamp(1.9rem, 2.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
}

.industrial-sub {
  margin-top: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* GRID */
.industrial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.08);
}

/* CARD */
.ind-card {
  padding: 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: 0.3s;
  position: relative;
}

.ind-card:nth-child(3n) {
  border-right: none;
}

/* CODE TEXT */
.ind-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  display: block;
  margin-bottom: 14px;
}


/* TITLE */
.ind-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

/* BODY */
.ind-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

/* TAG */
.ind-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--orange);
  color: var(--orange);
}



/* HOVER */
.ind-card:hover {
  background: rgba(197, 110, 28, 0.438);
}

/* ===== RESPONSIVE ===== */

@media (max-width:1024px) {
  .industrial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ind-card:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width:768px) {
  .s-industrial {
    padding: 60px 20px;
  }

  .industrial-grid {
    grid-template-columns: 1fr;
  }

  .ind-card {
    border-right: none;
  }
}
.app-points {
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
}

.app-points li {
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.app-points li::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.6rem;
  color: var(--orange);
}
/* ===== DP500 COMPARISON FINAL RESPONSIVE FIX ===== */

/* SCROLL CONTAINER */
.s-compare .compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 40px;
}

/* TABLE WIDTH FIX */
.s-compare .compare-table {
  min-width: 900px; /* 🔥 IMPORTANT (increase from 720) */
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

/* GRID STRUCTURE FIX */
.s-compare .ct-head,
.s-compare .ct-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
}

/* CELL FIX */
.s-compare .ct-head div,
.s-compare .ct-row div {
  padding: 16px 18px;
  font-size: 0.95rem;
  white-space: nowrap; /* 🔥 prevents text breaking badly */
}

/* ALLOW FIRST COLUMN WRAP */
.s-compare .ct-row div:first-child,
.s-compare .ct-head div:first-child {
  white-space: normal;
}

/* MOBILE IMPROVEMENT */
@media (max-width: 768px) {

  .s-compare .compare-table {
    min-width: 850px; /* 🔥 keeps layout stable */
  }

  .s-compare .ct-head div,
  .s-compare .ct-row div {
    font-size: 13px;
    padding: 12px 14px;
  }

}.s-compare .ct-head {
  position: sticky;
  top: 0;
  z-index: 5;
}
/* ===== MOBILE COMPARISON TRANSFORM ===== */

@media (max-width: 768px) {

  /* hide header */
  .s-compare .ct-head {
    display: none;
  }

  /* stack rows */
  .s-compare .compare-table {
    min-width: 100%;
    border: none;
  }

  .s-compare .ct-row {
    display: block;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
  }

  /* each cell */
  .s-compare .ct-row div {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-200);
  }

  /* last row no border */
  .s-compare .ct-row div:last-child {
    border-bottom: none;
  }

  /* labels */
  .s-compare .ct-row div:nth-child(1)::before {
    content: "Specification";
    font-weight: 600;
    color: var(--text-muted);
  }

  .s-compare .ct-row div:nth-child(2)::before {
    content: "DP300";
    font-weight: 600;
    color: var(--text-muted);
  }

  .s-compare .ct-row div:nth-child(3)::before {
    content: "DP500";
    font-weight: 600;
    color: var(--orange);
  }

  /* align label + value */
  .s-compare .ct-row div::before {
    margin-right: 10px;
  }

  /* improve spacing */
  .s-compare .ct-row div {
    gap: 10px;
  }

}
.rv {
  opacity: 1 !important;
  transform: none !important;
}