@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue",
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  /* Figma 와 동일한 줄바꿈 규칙.
     keep-all 은 영문↔한글 경계(예: "Studio"+"가")에서 끊는 것을 막아
     시안보다 줄 수가 늘어난다. */
  word-break: normal;
}

body {
  background-color: #ffffff;
  color: #181616;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.pc {
  display: block;
}

.mobile {
  display: none;
}

/* 시안 줄바꿈 재현용 — PC 전용 / 모바일 전용 개행 */
.br-pc {
  display: inline;
}

.br-mo {
  display: none;
}

.page {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 64px 0 120px;
}

/* 시안 PC 는 1250px 고정 설계다. 폭이 줄면 줄바꿈이 달라지므로
   레이아웃 폭은 1250px 로 못 박고, 좁은 창에서는 스크립트가 비율 축소한다. */
@media (min-width: 769px) {
  .page {
    width: 1250px;
    max-width: none;
  }
}

/* ===== KV ===== */
.top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 39px;
  letter-spacing: -1.05px;
  color: #000000;
}

.kv {
  position: relative;
  width: 100%;
  aspect-ratio: 1250 / 469;
  overflow: hidden;
}

.kv-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kv-dim {
  display: none;
}

.kv-txt {
  position: absolute;
  top: 11.5%;
  left: 5.6%;
  right: 5.6%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #ffffff;
}

.kv-txt h3 {
  font-size: 34px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.34px;
}

.kv-txt p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.63px;
}

.kv-logo {
  position: absolute;
  top: 73.6%;
  left: 5.6%;
  width: 22.64%;
  height: auto;
}

/* ===== 소개 ===== */
.intro {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 30px 0;
}

.intro-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  color: #0e3e78;
}

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

.intro-lead {
  font-size: 22px;
  font-weight: 500;
  line-height: 31.9px;
  letter-spacing: -0.77px;
  color: #333333;
}

.intro-desc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: #555555;
}

/* ===== 핵심 도입 효과 ===== */
.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  padding: 60px 50px 100px;
  background-color: #f6eeff;
}

.benefit-title {
  width: 100%;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  text-align: center;
  color: #3a1664;
}

.benefit-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  width: 100%;
}

.benefit-item {
  position: relative;
  flex: 1 1 0;
  max-width: 362px;
  min-height: 250px;
  /* 시안 좌표: 제목 y=54, 본문 y=106, Item 높이 250 */
  padding: 54px 20px 44px;
  background-color: #ffffff;
}

.benefit-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
}

.benefit-item h4 {
  height: 52px;
  padding: 15px 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  color: #3c1c51;
}

.benefit-item p {
  min-height: 100px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.5px;
  color: #555555;
}

/* ===== 주요 기능 ===== */
.feature {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 100px 0;
}

.feature-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.875px;
  text-align: center;
  color: #393939;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 0;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: calc(50% - 16px);
  padding: 0 30px 24px;
  background-color: #f4f4f5;
}

.feature-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 60px);
  margin: 0 -30px;
  height: 80px;
  padding: 0 30px;
  background-color: #532b81;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  text-align: center;
  color: #ffffff;
}

.feature-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
  padding: 30px 10px;
  background-color: #ffffff;
  filter: drop-shadow(0 10px 7.5px rgba(0, 0, 0, 0.1)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.05));
}

.feature-thumb {
  width: 100%;
  max-width: 481px;
  aspect-ratio: 481 / 270;
  overflow: hidden;
  border: 0.925px solid #e4e4e7;
  background-color: #ffffff;
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 시안상 2번 카드(보안 강화)만 이미지 박스가 431px 로 좁다 */
.feature-thumb.narrow {
  max-width: 431px;
  aspect-ratio: 431 / 270;
}

/* 시안 캡션 프레임 높이 고정 — 줄 수가 달라도 아래 요소가 밀리지 않게 */
.feature-card-body p {
  width: 100%;
  max-width: 481px;
  min-height: 96px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -1px;
  text-align: center;
  color: #414142;
}

.feature-list > .feature-card:nth-child(1) .feature-card-body p,
.feature-list > .feature-card:nth-child(2) .feature-card-body p {
  min-height: 128px;
}

/* ===== 주요 활용 분야 ===== */
.field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
  padding: 60px 50px;
  background-color: #f6eeff;
}

.field-title {
  width: 100%;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  text-align: center;
  color: #3a1664;
}

.field-list {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

.field-item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
}

.field-thumb {
  height: 215px;
  overflow: hidden;
}

.field-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field-desc {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 30px;
  background-color: #ffffff;
  letter-spacing: -1px;
}

.field-desc h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  color: #3c1c51;
}

.field-desc ul {
  list-style: disc;
  padding-left: 22.5px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  .br-pc {
    display: none;
  }

  .br-mo {
    display: inline;
  }

  .page {
    padding: 50px 0 0;
  }

  .top {
    gap: 20px;
    padding: 0;
  }

  /* 시안 좌표: 제목 x=18, KV x=40 ~ 360(우측 끝) */
  .page-title {
    margin-left: 5%;
    font-size: 17px;
    line-height: 22.1px;
    letter-spacing: -0.595px;
  }

  .kv {
    margin-left: 11.111%;
    aspect-ratio: 320 / 205;
  }

  /* Figma MO/KV 와 동일한 크롭 — 547px 로 확대된 이미지에서 좌측 54px 지점부터 노출 */
  .kv-bg {
    object-position: 24% center;
  }

  .kv-dim {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(123.14deg, rgba(17, 0, 73, 0.4) 34.24%, rgba(0, 0, 0, 0) 87.66%);
  }

  .kv-txt {
    top: 10.7%;
    left: 5.6%;
    right: 5.6%;
    gap: 14px;
  }

  .kv-txt h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1px;
  }

  .kv-txt p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.5px;
  }

  .intro {
    gap: 30px;
    padding: 24px 20px 40px;
  }

  .intro-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.504px;
  }

  .intro-lead {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.416px;
  }

  .intro-desc {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.07px;
  }

  .benefit {
    gap: 40px;
    margin-top: 0;
    padding: 36px 20px;
  }

  .benefit-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.24px;
  }

  .benefit-list {
    flex-direction: column;
    gap: 40px;
  }

  .benefit-item {
    /* 세로 배치에서는 flex-basis 가 높이가 되므로 auto 로 되돌린다.
       (flex:1 1 0 + min-height:0 이면 박스가 패딩 높이로 찌그러진다) */
    flex: 0 0 auto;
    max-width: none;
    min-height: 0;
    padding: 45px 20px 20px;
  }

  .benefit-item p {
    min-height: 0;
  }

  .benefit-icon {
    top: 10px;
    right: 12px;
  }

  .benefit-item h4 {
    height: auto;
    padding: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.416px;
  }

  .benefit-item p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.14px;
  }

  .feature {
    gap: 40px;
    padding: 40px 20px;
  }

  .feature-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.24px;
    color: #18181b;
  }

  .feature-list {
    flex-direction: column;
    gap: 24px;
  }

  .feature-card {
    gap: 20px;
    width: 100%;
    padding: 0 16px 20px;
  }

  .feature-card-head {
    width: calc(100% + 32px);
    margin: 0 -16px;
    height: 48px;
    padding: 0 16px;
    font-size: 18px;
    line-height: 24px;
  }

  .feature-card-body {
    gap: 12px;
    padding: 16px;
    filter: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }

  .feature-thumb,
  .feature-thumb.narrow {
    max-width: 256px;
    aspect-ratio: 256 / 142;
    border-width: 0.8px;
  }

  .feature-card-body p {
    max-width: none;
    min-height: 80px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.5px;
  }

  .feature-list > .feature-card:nth-child(1) .feature-card-body p {
    min-height: 120px;
  }

  .feature-list > .feature-card:nth-child(2) .feature-card-body p,
  .feature-list > .feature-card:nth-child(4) .feature-card-body p,
  .feature-list > .feature-card:nth-child(6) .feature-card-body p {
    min-height: 80px;
  }

  .feature-list > .feature-card:nth-child(3) .feature-card-body p,
  .feature-list > .feature-card:nth-child(5) .feature-card-body p {
    min-height: 60px;
  }

  .field {
    gap: 32px;
    padding: 40px 20px 60px;
  }

  .field-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.24px;
  }

  .field-list {
    flex-direction: column;
    gap: 32px;
  }

  .field-desc {
    padding: 20px;
    letter-spacing: -0.14px;
  }

  .field-desc h4 {
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.56px;
  }

  .field-desc ul {
    padding-left: 21px;
    font-size: 14px;
    line-height: 20px;
  }
}
