/* ========================================
   DAS PAGE - COMMON
======================================== */

.das-page {
  width: 100%;
  background: var(--color-black);
  color: var(--color-white);
  overflow-x: clip;
}

.das-inner {
  width: calc(100% - 40px);
  max-width: var(--inner);
  margin: 0 auto;

}

/* ========================================
   PRODUCT SUB NAVIGATION
======================================== */

.product-sub-nav {
  justify-content: center;
  gap: 100px;
}

/* ========================================
   DAS INTRO
======================================== */

.das-intro {
  padding: 80px 0 65px;
  background: var(--color-black);
}

.das-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.das-intro-text h3,
.das-infra-title h3 {
  margin: 0 0 20px;
  font-size: var(--font-visual);
  font-weight: 400;
  line-height: 1.3;
}

.das-intro-text h3 strong,
.das-infra-title h3 strong {
  font-weight: 700;
}

.das-intro-text h4 {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  font-size: var(--font-base);
  font-weight: 600;
  line-height: 1.6;
  white-space: pre-line;
}

.das-intro-text p {
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  font-size: var(--font-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-line;
}

.das-intro-text p:last-child {
  margin-bottom: 50px;
}

.das-intro-image {
  width: 100%;
  text-align: center;
}

.das-intro-image img {
  display: block;
  width: 100%;
  max-width: 650px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* ========================================
   FEATURE SECTION
======================================== */

.das-feature-section {
  padding: 60px 0;
  background: var(--color-blue-panel);
}

.das-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.das-feature-info {
  padding-right: 55px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.das-feature-info h3 {
  margin: 0 0 22px;
  font-size: var(--font-title-md);
  font-weight: 600;
}

.das-feature-info h4 {
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  font-size: var(--font-base);
  font-weight: 600;
  line-height: 1.6;
  white-space: pre-line;
}

.das-feature-info p {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 0;
  font-size: var(--font-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-line;
}

/* KEY FEATURES */

.das-feature-list h4 {
  margin: 0 0 20px;
  font-size: var(--font-lg);
  font-weight: 700;
}

.das-feature-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.das-feature-list li {
  position: relative;
  padding-left: 30px;
  font-size: var(--font-base);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

.das-feature-list li::before {
  content: "✓";

  position: absolute;
  top: 0;
  left: 0;

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

  width: 20px;
  height: 20px;

  border: 1px solid var(--color-orange);
  border-radius: 50%;

  color: var(--color-orange);
  font-size: var(--font-base);
  font-weight: 500;
  line-height: 1;
}

/* ========================================
   PRODUCT CARDS
======================================== */

.das-products {
  padding: 80px 0 20px;
}

.das-products-infra {
  padding-bottom: 100px;
}

.das-product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 360px;
  margin-bottom: 55px;

  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ========================================
   LEFT PRODUCT INFORMATION
======================================== */

.das-product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
  padding: 60px;

  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.das-product-info h4 {
  margin: 0 0 20px;
  font-size: var(--font-lg);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-blue-bright);
}

.das-product-info ul {
  margin: 0;
  padding-left: 17px;
}

.das-product-info li {
  font-size: var(--font-base);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  list-style: disc;
}

/* ========================================
   PRODUCT IMAGE GRID
======================================== */

.das-product-images {
  display: grid;
  width: 100%;
  min-width: 0;
}

/* 4개 이미지 - 2열 2행 */

.das-product-images-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(170px, 1fr);
}

/* 2개 이미지 - 1열 2행 */

.das-product-images-two {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

/* ========================================
   PRODUCT IMAGE ITEM
======================================== */

.das-product-image {
  position: relative;
  isolation: isolate;

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

  min-width: 0;
  min-height: 170px;
  padding: 60px;

  overflow: hidden;

  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ========================================
   PRODUCT BACKGROUND
   RF/ICS와 동일한 CS 로고 배경
======================================== */

.das-product-image::before {
  content: "";
  position: absolute;
  z-index: -1;

  right: -5%;
  bottom: -30%;

  width: 45%;
  height: 100%;

  background-image: url('../images/product_bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  pointer-events: none;
}

/* ========================================
   PRODUCT IMAGE
======================================== */

.das-product-image img {
  position: relative;
  z-index: 1;

  display: block;
  width: 100%;
  max-width: 280px;
  max-height: 145px;
  height: auto;

  object-fit: contain;
  transition: transform 0.3s ease;
}

/* 상품 이미지만 확대 */

.das-product-image:hover img {
  transform: scale(1.05);
}

/* ========================================
   PRODUCT LABEL
======================================== */

.das-product-image span {
  position: absolute;
  z-index: 2;

  top: 12px;
  left: 12px;

  padding: 4px 13px;

  border-radius: 30px;
  background: var(--color-blue);

  color: var(--color-white);
  font-size: var(--font-xs);
  font-weight: 600;
  line-height: 1;
}

/* ========================================
   IMAGE GRID BORDERS
======================================== */

.das-product-images-four .das-product-image:nth-child(2n) {
  border-right: none;
}

.das-product-images-four .das-product-image:nth-last-child(-n+2) {
  border-bottom: none;
}

.das-product-images-two .das-product-image {
  border-right: none;
}

.das-product-images-two .das-product-image:last-child {
  border-bottom: none;
}

/* ========================================
   LOGO ITEM
======================================== */

.das-product-logo::before {
  display: none;
}

.das-product-logo img {
  max-width: 170px;
}

/* ========================================
   INFRA SHARING VISUAL
======================================== */

.das-infra-intro {
  padding: 20px 0 0;
  background: var(--color-black);
}

.das-infra-visual {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  min-height: 280px;
}

.das-infra-title {
  padding-bottom: 25px;
}

.das-infra-title h3 {
  margin-bottom: 50px;
}

.das-infra-visual>img {
  display: block;
  width: 50%;
  max-width: 650px;
  height: auto;
  object-fit: contain;
}

/* DAS 설명 리스트 */
.das-description-list {
  margin: 0;
  padding: 0;
  list-style: disc;
}

.das-description-list li {
  margin-bottom: 15px;
  font-size: var(--font-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.das-description-list li:last-child {
  margin-bottom: 0;
}


/* ========================================
   TABLET - 1024px
======================================== */

@media (max-width: 1024px) {

  .product-sub-nav {
    gap: 65px;
  }

  .das-intro {
    padding: 65px 0;
  }

  .das-intro-grid {
    gap: 40px;
  }

  .das-intro-text h3,
  .das-infra-title h3 {
    font-size: var(--font-title-md);
  }

  .das-feature-grid {
    gap: 35px;
  }

  .das-feature-info {
    padding-right: 35px;
  }

  .das-product-info {
    padding: 30px 25px;
  }

  .das-product-info h4 {
    font-size: var(--font-base);
  }

  .das-product-info li {
    font-size: var(--font-xs);
  }

  .das-product-image {
    padding: 15px;
  }

  .das-product-image::before {
    width: 85%;
  }

}

/* ========================================
   MOBILE - 767px
======================================== */

@media (max-width: 767px) {

  .das-inner {
    width: calc(100% - 40px);
    padding: 0;
  }

  .product-sub-nav {
    gap: 35px;
    justify-content: flex-start;
  }

  /* INTRO */

  .das-intro {
    padding: 55px 0;
  }

  .das-intro-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .das-intro-text h3,
  .das-infra-title h3 {
    font-size: var(--font-title-sm);
  }

  .das-intro-text h4 {
    font-size: var(--font-base);
  }

  .das-intro-text p {
    font-size: var(--font-sm);
  }

  /* FEATURE */

  .das-feature-section {
    padding: 45px 0;
  }

  .das-feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .das-feature-info {
    padding: 0 0 30px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .das-feature-info h3 {
    font-size: var(--font-title-sm);
  }

  .das-feature-info h4,
  .das-feature-info p {
    font-size: var(--font-base);
  }

  .das-feature-list h4 {
    font-size: var(--font-base);
  }

  .das-feature-list li {
    font-size: var(--font-xs);
  }

  /* PRODUCT */

  .das-products {
    padding: 50px 0 10px;
  }

  .das-products-infra {
    padding-bottom: 60px;
  }

  .das-product-card {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-bottom: 35px;
  }

  .das-product-info {
    padding: 28px 22px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .das-product-info h4 {
    font-size: var(--font-base);
  }

  .das-product-info li {
    font-size: var(--font-xs);
  }

  .das-product-image {
    min-height: 150px;
    padding: 20px;
  }

  .das-product-image img {
    max-height: 125px;
  }

  .das-product-image::before {
    right: -5%;
    bottom: -30%;
    width: 80%;
    height: 110%;
  }

  /* INFRA VISUAL */

  .das-infra-visual {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .das-infra-title {
    width: 100%;
    padding-bottom: 0;
  }

  .das-infra-visual>img {
    width: 100%;
    max-width: 450px;
  }

}

/* ========================================
   SMALL MOBILE - 380px
======================================== */

@media (max-width: 380px) {

  .das-feature-list ul {
    grid-template-columns: 1fr;
  }

  .das-product-image {
    min-height: 125px;
    padding: 12px;
  }

  .das-product-image span {
    font-size: var(--font-micro);
    padding: 4px 9px;
  }

  .das-product-image::before {
    right: -10%;
    bottom: -20%;
    width: 90%;
    height: 100%;
  }

}
/* ========================================
   MOBILE WIDTH / TEXT OVERFLOW FIX
======================================== */
@media (max-width: 767px) {
  .product-sub-nav {
    max-width: 100%;
  }
  .das-intro-grid { min-width: 0; max-width: 100%; }
  .das-feature-grid { min-width: 0; max-width: 100%; }
  .das-intro-text { min-width: 0; max-width: 100%; }
  .das-feature-list { min-width: 0; max-width: 100%; }
  .das-feature-info { min-width: 0; max-width: 100%; }
  .das-product-card { min-width: 0; max-width: 100%; }
  .das-product-info { min-width: 0; max-width: 100%; }
  .das-product-images { min-width: 0; max-width: 100%; }
  .das-infra-visual { min-width: 0; max-width: 100%; }
  .das-infra-title { min-width: 0; max-width: 100%; }
  .das-intro-grid, .das-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .das-feature-list ul { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .das-feature-list li { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
  .das-page p, .das-page h3, .das-page h4 { overflow-wrap: anywhere; }
}

/* ========================================
   MOBILE: IMAGE BEHIND TRANSLUCENT BLUE PANEL
======================================== */
@media (max-width: 767px) {
  .das-intro {
    position: relative;
    z-index: 0;
    padding-bottom: 0;
  }

  .das-intro-image {
    position: relative;
    z-index: 0;
  }

  .das-feature-section {
    position: relative;
    z-index: 1;
    margin-top: -75px;
    background: rgba(0, 65, 115, 0.82);
  }
}

@media (max-width: 420px) {
  .das-feature-section { margin-top: -55px; }
}


/* ========================================
   ALL SCREENS: IMAGE BEHIND BLUE PANEL
   Desktop + tablet + mobile
======================================== */

.das-intro {
  position: relative;
  z-index: 0;
  padding-bottom: 0;
}
.das-intro-image {
  position: relative;
  z-index: 0;
}
.das-feature-section {
  position: relative;
  z-index: 1;
  margin-top: -10px;
  background: rgba(0, 65, 115, 0.82);
}

/* ========================================
   SUBPAGE SCROLL REVEAL (ADDED ONLY)
   Existing layout / hover / responsive styles preserved.
======================================== */
@media (prefers-reduced-motion: no-preference) {
  .cs-motion-ready .cs-reveal {
    opacity: 0;
    translate: 0 32px;
    transition: opacity .85s ease, translate .85s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--cs-delay, 0ms);
  }
  .cs-motion-ready .cs-reveal.cs-from-left { translate: -48px 0; }
  .cs-motion-ready .cs-reveal.cs-from-right { translate: 48px 0; }
  .cs-motion-ready .cs-reveal.cs-from-scale { scale: .96; transition-property: opacity, translate, scale; }
  .cs-motion-ready .cs-reveal.cs-visible {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cs-reveal { opacity: 1 !important; translate: none !important; scale: 1 !important; }
}
