/* ====================================================================
   ZTNA.CSS
   제로트러스트(ZTNA) 서브페이지 전용 스타일
   UTM.css의 섹션 구조·간격·카드 톤·반응형 패턴을 기준으로 구성합니다.
   common.css의 변수/리셋/헤더/푸터/버튼/reveal을 그대로 재사용합니다.
   ==================================================================== */

/* ==================== 서브 히어로 ==================== */
.hero-sub {
  position: relative;
  min-height: 720px;
  margin-top: 76px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-sub-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-sub-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 13, 22, 0.92) 0%,
    rgba(12, 15, 26, 0.3) 45%,
    rgba(12, 15, 26, 0.1) 100%
  );
  z-index: 1;
}

.hero-sub-inner {
  position: relative;
  z-index: 2;
  width: 100%; /* ★ 이거 추가 */
}
.hero-badges {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.hero-badges .badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.hero-badges .badge-outline {
  position: relative;
  z-index: 2;
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}

.hero-badges .badge-fill {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  border-left: none;
  border-radius: 0 50px 50px 0;
  padding-left: 35px;
  margin-left: -25px;
}

.hero-sub h1 {
  max-width: 980px;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
  word-break: keep-all;
}

.hero-sub .hero-sub-desc {
  color: #c7cad3;
  font-size: 24px;
  line-height: 1.7;
  max-width: 720px;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-width: 170px;
}

/* ==================== SWG 소개 박스 ==================== */
.info-box-section {
  background: var(--white);
  padding-bottom: 0;
}

.info-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 48px 52px;
}

.info-box-inner {
  width: 100%;
}

.info-box-top {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line-light);
}

.info-box-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--red);
  word-break: keep-all;
}

.info-box-desc {
  color: var(--gray);
  font-size: 20px;
  line-height: 1.5;
  max-width: 680px;
  word-break: keep-all;
}

.info-box-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 26px;
  max-width: 760px;
}

.info-box-cols > div:first-child {
  padding-right: 20px;
}

.info-box-cols > div:last-child {
  border-left: 1px solid var(--line-light);
  padding-left: 20px;
}

.info-box-cols h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.info-box-cols p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  word-break: keep-all;
}

.info-box-icon {
  flex-shrink: 0;
  width: 205px;
  padding-bottom: 24px;
  align-self: flex-end;
}

.info-box-icon img {
  width: 100%;
  width: 205px;
  min-height: 136px;
}

/* ==================== 고객 고민 탭 ==================== */
/* .pain-cta-section {
  background: var(--white);
}

.pain-cta-section .sec-title {
  margin-bottom: 50px;
}

.pain-tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.pain-tab {
  min-width: 0;
  text-align: center;
  cursor: pointer;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  padding: 24px;
  border-radius: 20px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: normal;
  word-break: keep-all;
  border: 1px solid var(--bg-soft);
}

.pain-tab:hover,
.pain-tab:focus-visible {
  color: #d0021b;
}

.pain-tab:focus-visible {
  outline: 2px solid rgba(230, 0, 18, .35);
  outline-offset: 3px;
}

.pain-tab.active {
  background-color: #d0021b;
  border-color: #d0021b;
  color: #fff;
}

.pain-tab-panels {
  position: relative;
}

.pain-tab-panel {
  display: none;
}

.pain-tab-panel.active {
  display: block;
}

.pain-tab-panel img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
} */
/* =========================
   pain-section 탭
========================= */



/* 탭 패널 */
.pain-section [role="tabpanel"] {
  border: 2px solid var(--red);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}
.pain-tabs {

   margin-top: 35px;
}
.pain-tab-list {
  display: flex;
  gap: 20px;
}

.pain-tab-list button {
  flex: 1;
  padding: 24px 12px;
  border: 2px solid var(--red);
  border-bottom: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  font-size: 24px;
  font-weight: 700 !important;
  color: #454545;
  cursor: pointer;
  /* line-height: 1; */
  font-family: inherit;
  
}

.pain-tab-list button[aria-selected="true"] {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* 패널 내부 */
.pain-service-photo {
  position: relative;
}

.pain-service-photo > img {
  width: 100%;
  height: 496px;
  object-fit: cover;
}

.pain-service-photo > div {
  position: absolute;
  bottom: 0;
  left: 0;

  width: auto;
  min-width: 41%;
  max-width: 60%;

  padding: 24px 36px;
  background: #fffffff0;
  border-radius: 0 16px 0 0;
}
.pain-service-photo h3 {
  font-size: 24px;
  line-height: 1.5;
}
.pain-service-photo p {
  margin-top: 8px;
  font-size: 20px;
  color: #333;
  line-height: 1.6;
  
}

/* ==================== 핵심 기능 다크 섹션 ==================== */
.feature-dark {
  background: url('/images/front/v2026/UTM/feature-dark-background.png') no-repeat center/cover;
  color: var(--white);
  text-align: left;
}

.feature-dark .sec-title {
  color: var(--white);
}

.feature-dark .feature-desc {
  color: #b9bcc6;
  font-size: 20px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 720px;
  word-break: keep-all;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-item {
  min-width: 0;
  border-left: 1px solid var(--white);
  padding-left: 40px;
}

.feature-item:first-child {
  border-left: none;
  padding-left: 0;
}

.feature-item .feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: rgba(230, 0, 18, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-item .feature-icon img {
  width: 64px;
}

.feature-item h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  word-break: keep-all;
}

.feature-item p {
  font-size: 16px;
  color: var(--bg-soft);
  line-height: 1.6;
  word-break: keep-all;
}

/* ==================== 도입 효과 ==================== */
.compare-section {
  background: var(--white);
}

.compare-section .sec-title {
  margin-bottom: 40px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.compare-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.compare-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.compare-section .stat-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 30px 26px;
  color: var(--ink);
}

.compare-section .stat-card:last-child {
  border-right: none;
}
.compare-section .stat-card > div:last-child {
  width: 100%;
  display: flex;
  justify-content: end;
}
.compare-section .stat-card h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  word-break: keep-all;
}

.compare-section .stat-card .src {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
  word-break: keep-all;
}

.compare-section .stat-card img {
  width: 100px;
  object-fit: contain;
}

.icon-block-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.icon-block {
  min-height: 50%;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 30px 0 22px 26px;
}

.icon-block-single {
  min-height: 100%;
}

.icon-block .icon-circle {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-block .icon-circle img {
  width: 60px;
}

.icon-block h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.icon-block p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
  word-break: keep-all;
}

/* ==================== 적용 대상 ==================== */
.audience-section {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.35), rgba(8, 10, 16, 0.15)),
    url('/images/front/v2026/UTM/utm-audience-background.png') center/cover no-repeat;
}

.audience-section .wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
}

.audience-section .sec-title {
  color: var(--white);
  margin-bottom: 40px;
  /* width: 40%; */
  flex-shrink: 0;
}

.audience-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.audience-card {
  min-width: 0;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.audience-card > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.audience-card h4 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  word-break: keep-all;
}

.audience-card p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  word-break: keep-all;
}

.audience-card .audience-icon {
  align-self: flex-end;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-card .audience-icon img {
  width: 100%;
}

/* ==================== 서비스 혜택 강조 ==================== */
.service-benefit-section {
  background: var(--white);
}

.service-benefit-banner {
  position: relative;
  overflow: hidden;
  padding: 54px 56px;
  border-radius: 16px;
  background: #292929;
  color: var(--white);
}

.service-benefit-banner::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(230, 0, 18, .16);
}

.service-benefit-head,
.service-benefit-list,
.service-benefit-actions {
  position: relative;
  z-index: 1;
}

.service-benefit-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #ff737e;
  font-size: 16px;
  font-weight: 700;
}

.service-benefit-head h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  word-break: keep-all;
}

.service-benefit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.service-benefit-list li {
  position: relative;
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 20px 18px 20px 48px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
}

.service-benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  color: #ff6672;
  font-size: 18px;
  font-weight: 900;
}

.service-benefit-actions {
  margin-top: 28px;
}

/* ==================== FAQ ==================== */
.faq-section {
  background: var(--bg-soft);
}

.faq-section .sec-title {
  text-align: center;
  margin-bottom: 60px;
}

.faq-list {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s ease;
}

.faq-item.open {
  border-color: var(--red);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  word-break: keep-all;
}

.faq-question div {
  display: flex;
  align-items: center;
}

.faq-item.open .faq-question {
  color: var(--red);
}

.faq-toggle {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  position: relative;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gray);
  transition: background .25s ease;
}

.faq-toggle::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  border-color: var(--red);
  background: var(--red);
}

.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after {
  background: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer-inner {
  padding: 20px 30px 20px 55px;
  text-indent: -30px;
  font-size: 20px;
  color: var(--gray);
  line-height: 1.5;
}

.faq-a {
  font-size: 20px;
  font-weight: 600;
  margin-right: 5px;
}

/* ==================== TABLET ==================== */
@media (max-width: 1240px) {
  .hero-sub {
    margin-top: 58px;
    min-height: 600px;
  }

  .hero-sub-bg {
    object-position: center;
  }
  .hero-sub h1 {
    font-size: 48px;
  }

  .hero-sub .hero-sub-desc {
    font-size: 20px;
  }

  .hero-badges .badge {
    font-size: 18px;
  }

  .info-box {
    align-items: flex-start;
    padding: 36px 30px;
  }

  .info-box-title {
    font-size: 32px;
  }

  .info-box-icon {
    width: 160px;
  }

  .pain-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pain-tab-list button {
    font-size: 20px;
  }
  .pain-tab {
    font-size: 18px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-item:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .compare-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-grid.cols-4 .stat-card:nth-child(2) {
    border-right: none;
  }
  .compare-grid.cols-4 .stat-card:nth-child(3) {
    border-top: 1px solid var(--line);
  }
  
  .compare-grid.cols-4 .stat-card:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  

  .audience-section .wrap {
    display: block;
  }

  .audience-section .sec-title {
    width: 100%;
  }

  .audience-card h4 {
    font-size: 20px;
  }

  .service-benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==================== MOBILE ==================== */
@media (max-width: 767px) {

 .hero-sub {
    min-height: 520px;
    margin-top: 58px;
  }

  .hero-sub-bg {
    object-position: 65% center;
  }

  .hero-sub-overlay {
    background: linear-gradient(
      100deg,
      rgba(10, 13, 22, 0.94) 0%,
      rgba(12, 15, 26, 0.55) 65%,
      rgba(12, 15, 26, 0.25) 100%
    );
  }
  .hero-sub h1 {
    font-size: 30px;
  }

  .hero-sub .hero-sub-desc {
    font-size: 13.5px;
  }

  .hero-badges {
    align-items: stretch;
  }

  .hero-badges .badge {
    font-size: 14px;
    padding: 8px 13px;
  }

  .hero-badges .badge-outline {
    max-width: calc(100% - 92px);
    white-space: normal;
    line-height: 1.35;
  }

  .hero-badges .badge-fill {
    padding-left: 28px;
    white-space: normal;
    line-height: 1.35;
  }

  .hero-actions {
    margin-top: 22px;
    gap: 8px;
  }

  .hero-actions .btn {
    min-width: 0;
    padding: 11px 16px;
    font-size: 14px;
  }

  .info-box {
    flex-direction: column;
    padding: 28px 20px;
    border-radius: 12px;
  }

  .info-box-top {
    flex-direction: column;
    gap: 20px;
  }

  .info-box-title {
    font-size: 21px;
  }

  .info-box-desc {
    font-size: 18px;
  }

  .info-box-desc br {
    display: none;
  }

  .info-box-cols {
    display: flex;
    flex-direction: column;
  }

  .info-box-cols h4 {
    font-size: 20px;
  }

  .info-box-cols > div:first-child {
    padding-right: 0;
  }

  .info-box-cols > div:last-child {
    padding-top: 26px;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line);
    margin-top: 26px;
  }

  .info-box-icon {
    width: min(190px, 65%);
    padding-bottom: 20px;
    align-self: flex-end;
  }

 .pain-service-photo>img {

      height: 255px;
   }

.pain-service-photo>div {

      position: static;
      max-width: none;
      width: 100%;
      padding: 20px;
      border-radius: 0;
   }
.pain-service-photo h3 {

      font-size: 18px;
   }

  .pain-service-photo p {

      font-size: 16px;
   }

.pain-tab-list{
   gap: 5px;
}
.pain-tab-list button {
      padding: 15px 5px;
      font-size: 14px;
      border-radius: 10px 10px 0 0;
}





  .feature-dark .feature-desc {
    font-size: 18px;
  }

  .feature-dark .feature-desc br {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-item,
  .feature-item:first-child,
  .feature-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--gray);
    padding: 24px 0;
  }

  .feature-item:first-child {
    border-top: 0;
  }

  .feature-item h4 {
    font-size: 20px;
  }

  .compare-grid.cols-3,
  .compare-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .compare-section .stat-card {
    padding: 30px 0;
    border-right: none;
  }

  .compare-section .stat-card:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .compare-section .stat-card:last-child {
    border-top: 1px solid var(--line);
  }

  .compare-section .stat-card h4 {
    font-size: 20px;
  }

  .compare-grid .stat-card:last-child,
  .compare-grid .stat-card:last-child .icon-block-list {
    display: block;
  }

  .compare-grid .stat-card:last-child .icon-block {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    align-items: flex-start;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    padding: 24px 20px;
  }

  .service-benefit-banner {
    padding: 34px 20px;
    border-radius: 12px;
  }

  .service-benefit-head h2 {
    font-size: 26px;
  }

  .service-benefit-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .service-benefit-list li {
    min-height: auto;
    padding: 16px 16px 16px 44px;
    font-size: 15px;
  }

  .service-benefit-list li::before {
    left: 17px;
  }

  .service-benefit-actions .btn {
    font-size: 16px;
    padding: 12px 20px;
  }

  .faq-section .sec-title {
    text-align: left;
    margin-bottom: 36px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 14px;
  }

  .faq-answer-inner {
    padding: 18px 18px 18px 36px;
    text-indent: -18px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
  }

  .faq-a {
    font-size: 16px;
    margin-right: 5px;
  }
}
