html {
  scrollbar-gutter: stable;
}
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter';
  background: white;
  color: black;
}

/* =========================================
   SHADER BACKGROUND
========================================= */

#shaderBackground {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.site-header,
.page {
  position: relative;
  z-index: 1;
}


/* =========================================
   FLOATING X
========================================= */

.rationale-x {
  position: fixed;

  top: 155px;
  right: 13vw;

  width: clamp(150px, 20vw, 230px);
  aspect-ratio: 1 / 1;

  z-index: 2;

  pointer-events: none;

  opacity: 1;

  transition:
    opacity 0.75s ease;
}


/* dua batang pembentuk X */

.rationale-x::before,
.rationale-x::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 90%;

  width: 160%;
  height: 40%;

  background: #1747ff;

  border-radius: 2px;

  transform-origin: center;

  /*
    sedikit blurry seperti screenshot
  */
  filter: blur(5px);

  box-shadow:
    0 0 10px rgba(23, 71, 255, 0.35);
}


.rationale-x::before {
  transform:
    translate(-50%, -50%)
    rotate(45deg);
}


.rationale-x::after {
  transform:
    translate(-50%, -50%)
    rotate(-45deg);
}


/* ketika sudah masuk topic-panels */

.rationale-x.hidden {
  opacity: 0;
}


/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 105px;

  box-sizing: border-box;
  padding: 14px 20px;

  background: transparent;

  z-index: 1000;

  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}


/* ketika header sudah berada di area topicGrid */
.site-header.on-topic-grid {
  background-color: #1d2020;
}


/* ketika header sudah masuk ke isi panel */
.site-header.on-topic-content {
  background-color: #ffffff;
}


/* text jadi gelap hanya saat background putih */
.site-header.on-topic-content .brand,
.site-header.on-topic-content .brand-r,
.site-header.on-topic-content .main-nav a,
.site-header.on-topic-content .copyright {
  color: #1d2020;
}

.site-header.on-topic-content .main-nav a.active-nav {
  border-color: #1d2020;
}

/* .site-header.solid {
  background-color: #1d2020;
} */

.brand {
  font-family: 'Jost';
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 14px;
  color: white;
}

.brand-r {
  font-size: 12px;
  vertical-align: top;
  position: relative;
  top:2px;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.left-group {
  min-width: 0;
}

.main-nav {
  display: grid;

  /*
    Posisi setiap menu dikunci.
    Ubah angka ini hanya kalau ingin
    mengatur jarak global antar menu.
  */
  grid-template-columns:
    180px
    220px
    180px
    100px;

  align-items: center;

  column-gap: 0;

  white-space: nowrap;

  /*
    Agar teks RATIONALE sejajar
    dengan posisi awal nav.
  */
  margin-left: -10px;
}


.main-nav a {
  box-sizing: border-box;

  width: max-content;

  text-decoration: none;

  padding: 3px 10px;

  border: 1px solid transparent;
  border-radius: 8px;

  line-height: 1.1;

  justify-self: start;
  color: white;
}

.main-nav a.active-nav {
  border-color: white;
}

.copyright {
  font-size: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  color: white;
}

/* PAGE */
.page {
  position: relative;
  padding-top: 110px;
}

.hero {
  min-height: 140vh;
  background: transparent;
}

.hero-placeholder {
  padding: 40px 24px;
  font-size: 20px;
}

/* TARGET SECTION */
.target-section {
  position: relative;
  background: transparent;
  color: white;
  padding-top: 120px;
}

/* FLOATING TITLE */
.floating-title {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  z-index: 999;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: white;
  pointer-events: none;
}

.title-left {
  text-align: left;
}

.title-center {
  text-align: center;
}

.title-right {
  text-align: right;
}

.floating-title.stopped {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: auto;
}

/* TOPICS */
.topics-area {
  background: transparent;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.topic-card {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: white;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  min-height: 120px;
  padding: 28px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.topic-card:hover {
  background: #1747ff;
}

.topic-card.active {
  background: #1747ff;
}

.topic-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.topic-icon {
  display: block;
  width: 40px;
  height: 27.7px;
  flex-shrink: 0;

  background: url("assets/icon/MataTutup.svg") center / contain no-repeat;
}

.topic-card.active .topic-icon {
  background-image: url("assets/icon/MataBuka.svg");
}

/* Hilangkan ikon bawaan sebelumnya */
.topic-icon::before,
.topic-icon::after {
  content: none !important;
  display: none !important;
}

/* PANELS */
.topic-panels {
  min-height: 300px;
  /* padding: 36px 24px 56px; */
  background: #000;
}

.topic-panel {
  display: none;
  color: white;
  font-size: 18px;
  line-height: 1.7;
}

.topic-panel.active {
  display: block;
}

/* FOOTER */
.footer {
  background: #000;
  color: #fff;
  padding: 34px 24px 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  column-gap: 40px;
  align-items: end;
}

.footer-left {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 37px;
  align-items: start;
}

.footer-center p {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: justify;
}

/* .footer-center p:first-child {
  box-sizing: border-box;
  padding-right: clamp(20px, 2vw, 40px);
} */

.footer-right {
  font-size: 9px;
  font-weight: 300;
  text-align: right;
  white-space: nowrap;
}

/* Panel 1 */
.editorial-block {
  background: white;
  color: #000;
  padding: 28px 20px 34px;
}

.editorial-headline {
  margin-bottom: 26px;
}

.headline-line {
  font-family: 'Inter', sans-serif;
  font-size: 58px;
  font-weight: 650;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: justify;
  text-align-last: justify;
}

.headline-line::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.headline-line.last {
  text-align: left;
  text-align-last: left;
}

.headline-line.last::after {
  display: none;
}

.editorial-caption {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 250;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.85);
  max-width: 1500px;
  letter-spacing: 0.05em;
  text-align: justify;
  padding-bottom: 170px;
}
.image-collage {
  display: grid;
  grid-template-columns: 38% 24% 38%;
  align-items: start;
  margin-top: 28px;
  padding-bottom: 20px;
}

.collage-left,
.collage-right {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.collage-gap {
  min-height: 1px;
}

.collage-item {
  margin: 0;
  background: transparent;
}

.collage-item img {
  display: block;
  width: 100%;
  height: auto;
}

#panel1imgleft{
  width: 96.6%;
}

#panel1captleft{
  width: 96.6%;
}


.collage-item {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.collage-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.25s ease;
}

.collage-item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  background: #1747ff;
  color: white;
  padding: 20px 24px;
  font-size: 17px;
  line-height: 1.25;
  font-style: italic;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.collage-item:hover img {
  filter: brightness(0.55);
}

.collage-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* caption biru */
.with-caption {
  background: #1747ff;
}

.with-caption figcaption {
  color: white;
  font-size: 12px;
  line-height: 1.2;
  font-style: italic;
  padding: 10px 12px;
}

/* gambar 4 dan 5 melebar ke tengah */
.wide-left {
  width: calc(100% + 63%);
}

/* supaya tetap tidak menabrak kolom kanan */
.collage-left {
  position: relative;
  z-index: 1;
}

.collage-right {
  position: relative;
  z-index: 2;
}

#panel1disc {
  padding-bottom: 200px;
  color: #C7C7C7;
  font-style: italic;
  font-size: 10px;
}


/* Panel 2 */
.panel-two {
  background: white;
  color: #000;
  padding: 24px 24px 36px;
  position: relative;
}

.panel-two-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
}

.panel-two-title {
  text-align: center;
  font-size: 62px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 80px;
}

.panel-two-top-image {
  width: 260px;
  height: 260px;
  margin-bottom: 90px;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel-two-top-image img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.panel-two-middle-text {
  /* max-width: 980px; */
  letter-spacing: 0.01em;
  margin: 0 auto 42px;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
}

.panel-two-middle-text p {
  margin: 0;
}

.panel-two-statement {
  /* max-width: 1180px; */
  letter-spacing: 0.01em;
  margin: 0 auto 54px;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 80px;
}

.panel-two-note {
  text-align: center;
  font-size: 9px;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.35);
  font-style: italic;
  /* margin-bottom: 24px; */
}

.panel-two-slider-section {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  column-gap: 18px;
  margin-bottom: 60px;
  height: 485px;
  min-width: 0;
}

.panel-two-arrow {
  width: 42px;
  height: 42px;

  border: none;
  background: transparent;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  justify-self: center;
}

.panel-two-arrow img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;

  transition: transform 0.2s ease;
}

.panel-two-arrow:hover img {
  transform: scale(1.08);
}

.panel-two-slider-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel-two-slider {
  width: 560px;
  max-width: 100%;
}

.panel-two-slider img {
  display: block;
  width: 100%;
  height: auto;
}

.panel-two-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  bottom: 140px;
  position: absolute;
  /* margin-top: 14px; */
}

.panel-two-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.panel-two-dot.active {
  background: linear-gradient(to left, #000 0%, #fff 100%);
}

.panel-two-footer-grid {
  display: grid;
  grid-template-columns: 0.7fr 3fr 1.6fr 1.8fr;
  column-gap: 42px;
  align-items: start;
}

.panel-two-meta {
  font-size: 11px;
  line-height: 1.2;
  height: 70px;
  overflow: hidden;
}

.meta-label {
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.meta-text {
  font-weight: 300;
  letter-spacing: 0.01em;
  text-align: justify;
}

@media (max-width: 1000px) {
  .panel-two-title {
    font-size: 46px;
  }

  .panel-two-slider {
    width: 360px;
  }

  .panel-two-footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
}

@media (max-width: 700px) {
  .panel-two {
    padding: 20px;
  }

  .panel-two-title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .panel-two-top-image {
    width: 160px;
    margin-bottom: 50px;
  }

  .panel-two-middle-text {
    font-size: 14px;
  }

  .panel-two-statement {
    font-size: 10px;
  }

  .panel-two-slider-section {
    grid-template-columns: 32px 1fr 32px;
    column-gap: 8px;
  }

  .panel-two-footer-grid {
    grid-template-columns: 1fr;
  }
}


/* Panel 3 */
.panel-three {
  background: white;
  color: #000;
  padding: 34px 20px 36px;
}

.panel-three-layout {
  padding-top: 20px;
  display: grid;

  grid-template-columns:
    minmax(0, 1.22fr)
    minmax(0, 0.78fr);

  column-gap: 42px;
  align-items: start;
}

.panel-three-text {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
}

.panel-three-toptext {
  font-size: 18px;
  line-height: 1.12;
  letter-spacing: 0.08em;
  font-weight: 300;
  margin-bottom: 330px;
}

.panel-three-toptext p {
  margin: 0;
}

.panel-three-headline {
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.panel-three-headline .line-1,
.panel-three-headline .line-2 {
  font-size: 62px;
  white-space: nowrap;
}

.panel-three-body {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.08em;
  padding-bottom: 15px;
}

.panel-three-body p {
  margin: 0;
}


.panel-three-slider-wrap {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  column-gap: 20px;
  margin-top: 96px;

  min-width: 0;
}

.panel-three-slider {
  width: 100%;
  min-width: 0;
}

.panel-three-slider img {
  display: block;

  width: 100%;
  max-width: 28.5vw;
  height: auto;

  object-fit: contain;
}

/* .panel-three-arrow {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.38);
  color: white;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 2px;
} */

.panel-three-arrow {
  width: 42px;
  height: 42px;

  border: none;
  background: transparent;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
}

.panel-three-arrow img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.panel-three-arrow img {
  transition: transform 0.2s ease;
}

.panel-three-arrow:hover img {
  transform: scale(1.08);
}

@media (max-width: 1100px) {
  .panel-three-layout {
    grid-template-columns: 1fr;
  }

  .panel-three-toptext {
    margin-bottom: 50px;
  }

  .panel-three-headline {
    font-size: 52px;
  }
}

@media (max-width: 700px) {
  .panel-three {
    padding: 20px;
  }

  .panel-three-toptext {
    font-size: 14px;
  }

  .panel-three-headline {
    font-size: 38px;
  }

  .panel-three-body {
    font-size: 14px;
  }

  .panel-three-slider-wrap {
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
  }

  .panel-three-arrow {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}


/* Panel 4 */
.panel-four {
  background: white;
  color: #000;
  padding: 24px 0 28px;
}

.panel-four-top {
  width: 100%;
}

.panel-four-title {
  margin: 0 0 150px;
  text-align: center;
  font-size: 50px;
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;
  padding-top: 50px;
}

.panel-four-copy {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-align: center;
}

.panel-four-copy-top {
  max-width: 1080px;
  margin: 0 auto 120px;
}

.panel-four-copy-middle {
  margin: 0 auto 150px;
}

.panel-four-bar-wrap {
  width: 100%;
  margin: 0 0 28px;
}

.panel-four-bar {
  width: 100%;

  height: clamp(95px, 7vw, 130px);

  position: relative;
  overflow: hidden;
}

.panel-four-triangle {
  position: absolute;

  left: 0;
  top: 0;

  height: 100%;
  width: auto;

  opacity: 1;

  transform: translateX(0);

  will-change: transform;
}

.panel-four-triangle.is-moving {
  animation:
    panelFourTriangleMove
    4s
    ease-in-out
    infinite
    alternate;
}

@keyframes panelFourTriangleMove {

  from {
    transform: translateX(0);
  }

  to {
    transform:
      translateX(
        var(--triangle-end)
      );
  }

}

.panel-four-cross {
  position: absolute;
  right: 0;
  top: 0;

  height: 100%;
  width: auto;

  opacity: 1;
}

/* .panel-four-slot {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  opacity: 0;
  animation: panelFourReveal 0.4s ease forwards;
}

.panel-four-slot.triangle {
  position: relative;
  overflow: hidden;
  background: #1747ff;
}

.panel-four-slot.triangle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #efefef;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  /* content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #efefef;
  clip-path: polygon(0 0, 100% 50%, 0 100%); 
}

.panel-four-slot.cross {
  background: #1747ff;
}

.panel-four-slot.cross::before,
.panel-four-slot.cross::after {
  /* content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 16%;
  background: #efefef;
  transform-origin: center; 
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180%;
  height: 30%;
  background: #efefef;
  transform-origin: center;
}

.panel-four-slot.cross::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.panel-four-slot.cross::after {
  transform: translate(-50%, -50%) rotate(-45deg);
} */

.panel-four-patent {
  padding: 0 34px;
  text-align: right;
  letter-spacing: 0.01em;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.2;
}

/* @keyframes panelFourReveal {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
} */


/* =========================================
   PANEL 4 DETAIL SECTION
========================================= */

.panel-four-detail {
  padding: 30px 24px 34px;
  /* background: #efefef; */
}

/* ---------- TOP SLIDER ---------- */

.panel-four-detail-slider-section {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  column-gap: 18px;
  margin-bottom: 60px;
  min-width: 0;
}

.panel-four-detail-arrow {
  width: 42px;
  height: 42px;

  border: none;
  background: transparent;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  justify-self: center;
}

.panel-four-detail-arrow img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;

  transition: transform 0.2s ease;
}

.panel-four-detail-arrow:hover img {
  transform: scale(1.08);
}


.panel-four-detail-slider {
  width: 100%;
  max-width: 980px;
  height: 600px; /* tinggi tetap */
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-four-detail-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- BOTTOM 3 COLUMNS ---------- */

.panel-four-detail-bottom {
  display: grid;
  grid-template-columns: 0.9fr 1.8fr 0.85fr;
  column-gap: 38px;
  align-items: stretch;
  height: 100px;
}

.panel-four-text-column,
.panel-four-icons-column,
.panel-four-legend-column {
  height: 100%;
}

/* ---------- LEFT CUSTOM SCROLL ---------- */

.panel-four-scrollbox {
  display: grid;
  grid-template-columns: 1fr 18px;
  column-gap: 10px;
  width: 100%;
  max-width: 380px;
  height: 100px;
  align-items: stretch;
}

.panel-four-scroll-viewport {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.panel-four-scroll-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 11px;
  line-height: 1.28;
  font-weight: 300;
  color: #000;
  will-change: transform;
}

.panel-four-scroll-content p {
  margin: 0 0 10px;
}

.panel-four-scrollbar {
  display: grid;
  grid-template-rows: 14px 1fr 14px;
  align-items: center;
  justify-items: center;
  height: 100%;
}

.panel-four-scroll-btn {
  width: 14px;
  height: 14px;
  border: none;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(0, 0, 0, 0.75);
  font-size: 8px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-four-scroll-track {
  position: relative;
  width: 8px;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
}

.panel-four-scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 36px;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 999px;
  cursor: grab;
}

.panel-four-scroll-thumb:active {
  cursor: grabbing;
}

/* ---------- CENTER ICONS ---------- */

.panel-four-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 100px);
  gap: 25px;
  align-items: center;
  justify-content: center;
  height: 100px;
  margin: 0 auto;
}

.panel-four-icon-card {
  margin: 0;
  width: 100px;
  height: 100px;
  background: #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel-four-icon-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- RIGHT LEGEND ---------- */

.panel-four-legend {
  width: 100%;
  max-width: 350px;
  justify-self: end;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1;
  height: 100px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  overflow: hidden;
}

.panel-four-legend-row {
  display: grid;
  grid-template-columns: 22px 12px 1fr;
  column-gap: 6px;
  align-items: center;

  padding: 0 10px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
/* .legend-symbol {
  text-align: center;
} */

.legend-symbol {
  width: 13px;
  height: 13px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.legend-symbol img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.legend-equal {
  text-align: center;
}

.legend-text {
  text-align: left;
}

.panel-four-legend-row:last-child {
  border-bottom: none;
}

.panel-four-text-column,
.panel-four-icons-column,
.panel-four-legend-column {
  height: 100px;
  overflow: hidden;
}

/* =========================================
   PANEL 4 - SIMULATION
========================================= */
.panel-four-simulation {
  margin-top: 70px;
}

.simulation-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  position: relative;
}

.simulation-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.simulation-toolbar {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 280px);
  width: 920px;

  display: grid;
  grid-template-columns: 160px 150px 1fr 64px;
  height: 25px;
  box-sizing: border-box;

  border: 1px solid #1747ff;
  background: rgba(239, 239, 239, 0.96);
  z-index: 5;
}

.simulation-label,
.simulation-select-wrap,
.simulation-scene-label,
.simulation-nav {
  height: 25px;
  box-sizing: border-box;
}

.simulation-label {
  display: flex;
  align-items: center;
  background: #1747ff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 16px;
  height: 24px;
  text-transform: uppercase;
}

.simulation-select-wrap {
  position: relative;
  width: 150px;
  height: 24px;
  background: #fff;
  border-right: 1px solid #1747ff;
  border-bottom: 1px solid #1747ff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.simulation-select {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  margin: 0;
  background: transparent;
  color: #1747ff;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.01em;
  font-family: inherit;
  padding: 0 42px 0 16px; /* kasih ruang untuk tombol biru */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 24px;
  display: block;
  cursor: pointer;
}

/* kotak biru di kanan */
.simulation-select-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 24px;
  background: #1747ff;
  border-left: 1px solid #1747ff;
  /* border-radius: 5px; */
  pointer-events: none;
}

/* panah putih di dalam kotak biru */
.simulation-select-wrap::after {
  content: "▼";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.simulation-scene-label {
  display: flex;
  align-items: center;
  text-align: left;
  /* border-left: 1px solid #1747ff; */
  color: #1747ff;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.01em;
  padding: 0 16px;
  background: white;
  height: 24px;
  border-bottom: 1px solid #1747ff;
}

.simulation-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  /* border-left: 1px solid #1747ff; */
}

.simulation-nav-btn {
  border: none;
  padding: 0;
  margin: 0;
  background: #1747ff;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* border-radius: 5px; */
  height: 24px;
}

.simulation-nav-btn + .simulation-nav-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.simulation-caption {
  max-width: 1200px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.22;
  color: #000;
  padding: 0 24px 18px;
  font-weight: 300;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .simulation-toolbar {
    grid-template-columns: 140px 1fr 1fr 80px;
  }

  .simulation-label,
  .simulation-select,
  .simulation-scene-label {
    font-size: 12px;
  }

  .simulation-caption {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .simulation-toolbar {
    grid-template-columns: 1fr;
    border: 1px solid #1747ff;
  }

  .simulation-label,
  .simulation-select-wrap,
  .simulation-scene-label,
  .simulation-nav {
    border-left: none;
    border-top: 1px solid #1747ff;
  }

  .simulation-label {
    border-top: none;
  }
}

/* =========================================
   PANEL 4 - STRUCTURAL COMPARISON
========================================= */

.panel-four-comparison {
  margin-top: 80px;
  padding: 0 26px 36px;
}

.comparison-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 44px;
  
}

.comparison-title {
  margin: 0;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  width: 500px;
}

.comparison-arrow {
  width: 42px;
  height: 42px;

  border: none;
  background: transparent;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  flex: 0 0 42px;
}

.comparison-arrow img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;

  transition: transform 0.2s ease;
}

.comparison-arrow:hover img {
  transform: scale(1.08);
}

.comparison-slider {
  position: relative;
}

.comparison-slide {
  display: none;
}

.comparison-slide.active {
  display: block;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #111;
}

#leftaligncomp{
  padding-left: 0;
}

.comparison-table thead th {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 10px 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.45);
}

.comparison-table thead th.capability-col {
  text-align: left;
}

.comparison-table tbody td {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 25px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  text-align: center;
  vertical-align: middle;
}

.comparison-table tbody td strong{
  font-weight: 650;
  letter-spacing: 0.01em;
}

.comparison-table tbody td:first-child {
  text-align: left;
}

.comparison-table .capability-col {
  width: 42%;
}

.comparison-table tbody td:nth-child(2),
.comparison-table tbody td:nth-child(3),
.comparison-table tbody td:nth-child(4),
.comparison-table tbody td:nth-child(5) {
  width: 14.5%;
}

.comparison-footer-note {
  margin-top: 154px;
  text-align: center;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.78);
}

@media (max-width: 1100px) {
  .comparison-title {
    font-size: 42px;
  }

  .comparison-table thead th {
    font-size: 15px;
  }

  .comparison-table tbody td {
    font-size: 14px;
    padding: 14px 8px;
  }
}

@media (max-width: 760px) {
  .panel-four-comparison {
    padding: 0 18px 28px;
  }

  .comparison-header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .comparison-title {
    font-size: 28px;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .comparison-footer-note {
    font-size: 12px;
  }
}

.comparison-table-analysis thead th {
  text-align: left;
}

.comparison-table-analysis tbody td {
  text-align: left;
  vertical-align: top;
  line-height: 1.28;
  padding-top: 22px;
  padding-bottom: 22px;
}

.comparison-table-analysis thead th:nth-child(1),
.comparison-table-analysis tbody td:nth-child(1) {
  width: 12%;
}

.comparison-table-analysis thead th:nth-child(2),
.comparison-table-analysis tbody td:nth-child(2) {
  width: 21%;
}

.comparison-table-analysis thead th:nth-child(3),
.comparison-table-analysis tbody td:nth-child(3) {
  width: 25%;
}

.comparison-table-analysis thead th:nth-child(4),
.comparison-table-analysis tbody td:nth-child(4) {
  width: 20%;
}

.comparison-table-analysis thead th:nth-child(5),
.comparison-table-analysis tbody td:nth-child(5) {
  width: 22%;
}



/* ---------- RESPONSIVE ---------- */

@media (max-width: 1200px) {
  .panel-four-detail-bottom {
    grid-template-columns: 1fr;
    row-gap: 28px;
    min-height: unset;
  }

  .panel-four-scrollbox {
    max-width: 100%;
    height: 170px;
  }

  .panel-four-icon-grid {
    max-width: 620px;
  }

  .panel-four-legend {
    justify-self: start;
    min-height: 160px;
  }
}

@media (max-width: 800px) {
  .panel-four-detail {
    padding: 42px 20px 26px;
  }

  .panel-four-detail-slider-section {
    grid-template-columns: 32px 1fr 32px;
    column-gap: 8px;
    margin-bottom: 44px;
  }

  .panel-four-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* responsive */
@media (max-width: 1200px) {
  .panel-four-bottom {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .panel-four-scrollbox {
    max-width: 100%;
    height: 140px;
  }

  .panel-four-icon-grid {
    max-width: 620px;
  }

  .panel-four-legend {
    justify-self: start;
  }
}

@media (max-width: 800px) {
  .panel-four-content {
    padding: 42px 20px 26px;
  }

  .panel-four-hero-slider-section {
    grid-template-columns: 32px 1fr 32px;
    column-gap: 8px;
    margin-bottom: 44px;
  }

  .panel-four-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}



@media (max-width: 1100px) {
  .panel-four-title {
    font-size: 48px;
    margin-bottom: 110px;
  }

  .panel-four-copy-top {
    margin-bottom: 90px;
    padding: 0 24px;
  }

  .panel-four-copy-middle {
    margin-bottom: 110px;
  }

  .panel-four-bar {
    height: 100px;
  }
}

@media (max-width: 700px) {
  .panel-four-title {
    font-size: 34px;
    margin-bottom: 70px;
    padding: 0 18px;
  }

  .panel-four-copy {
    font-size: 14px;
  }

  .panel-four-copy-top {
    margin-bottom: 60px;
  }

  .panel-four-copy-middle {
    margin-bottom: 70px;
    padding: 0 18px;
  }

  .panel-four-bar {
    height: 72px;
  }

  .panel-four-patent {
    padding: 0 18px;
    font-size: 12px;
  }
}


/* RESPONSIVE */
@media (max-width: 900px) {

  .floating-title {
    font-size: 34px;
  }

  .topic-title {
    font-size: 18px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .footer-center {
    grid-template-columns: 1fr;
  }

  .footer-right {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .header-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
    white-space: normal;
    gap: 12px 18px;
  }

  .floating-title {
    font-size: 26px;
    gap: 12px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-title {
    font-size: 16px;
  }
}
