/* ========================================
   회원가입 페이지 스타일 (KRDS 기반)
   /rtcms-ui/page/signup.css
   
   폰트 가이드 적용:
   - Paperlogy: 제목, 브랜드 요소
   - Pretendard GOV: 본문, 공식 텍스트
   - Pretendard: UI 요소
   ======================================== */

/* ========================================
   1. 페이지 기본 레이아웃 (전체 너비)
   ======================================== */
.signup-page {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #222222;
  background-color: #fff;
}

.signup-page .signup-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.signup-content {
  width: 100%;
}

/* ========================================
   2. KRDS 타이틀 + 단계 표시기 (page-title-wrap)
   ======================================== */
.signup-page .page-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 2.4rem 0;
  margin-bottom: 3.2rem;
  border-bottom: 2px solid #1D1D1D;
}

.signup-page .page-title-wrap.between {
  flex-wrap: wrap;
}

/* H4 - 중제목: Pretendard GOV, 700, 28px */
.signup-page .page-title-wrap .h-tit {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.2;
  color: #222222;
  margin: 0;
}

/* ========================================
   3. 단계 표시기 (KRDS Step)
   ======================================== */
.signup-page .krds-step-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.signup-page .krds-step-wrap li {
  position: relative;
  display: flex;
  align-items: center;
}

.signup-page .krds-step-wrap li:not(:last-child)::after {
  content: "";
  display: block;
  width: 4rem;
  height: 1px;
  background: #D8D8D8;
  margin: 0 0.8rem;
}

.signup-page .krds-step-wrap li > span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: #F8F8F8;
  border-radius: 2rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #8E8E8E;
  white-space: nowrap;
}

.signup-page .krds-step-wrap li .step {
  font-style: normal;
  font-weight: 600;
}

.signup-page .krds-step-wrap li .step-tit {
  font-weight: 400;
}

/* 완료된 단계 */
.signup-page .krds-step-wrap li.done > span {
  background: #EFF5FF;
  color: #246BEB;
}

.signup-page .krds-step-wrap li.done::after {
  background: #246BEB;
}

/* 현재 단계 */
.signup-page .krds-step-wrap li.active > span {
  background: #246BEB;
  color: #fff;
}

/* ========================================
   4. 약관 동의 영역 (Step 1)
   ======================================== */
.conts-area.terms-type {
  background: #fff;
  border-radius: 1.2rem;
  padding: 3.2rem;
  border: 1px solid #E4E4E4;
}

/* 전체 동의 */
.terms-agree-all {
  padding: 2.4rem;
  background: #F8F8F8;
  border-radius: 0.8rem;
  margin-bottom: 2.4rem;
}

.terms-agree-all .krds-form-check.large {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.terms-agree-all .krds-form-check.large input[type="checkbox"] {
  width: 2.4rem;
  height: 2.4rem;
  accent-color: #246BEB;
  cursor: pointer;
  flex-shrink: 0;
}

/* H6 - 최소제목: Pretendard GOV, 700, 17px (전체동의는 18px로 약간 키움) */
.terms-agree-all .krds-form-check.large label {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.4;
  color: #222222;
  cursor: pointer;
}

/* Body 3 - 작은 본문: Pretendard GOV, 400, 16px */
.agree-all-desc {
  margin-top: 0.8rem;
  margin-left: 3.4rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: #717171;
}

/* 개별 약관 목록 */
.txt-box.bg-white {
  background: #fff;
}

.terms-agree-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terms-agree-ul > li {
  border-bottom: 1px solid #E4E4E4;
  padding: 2.4rem 0;
}

.terms-agree-ul > li:last-child {
  border-bottom: none;
}

/* 약관 헤더 */
.agree-header {
  margin-bottom: 1.6rem;
}

.agree-header .krds-form-check {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.agree-header .krds-form-check input[type="checkbox"] {
  width: 2rem;
  height: 2rem;
  accent-color: #246BEB;
  cursor: pointer;
  flex-shrink: 0;
}

/* H6 - 최소제목: Pretendard GOV, 700, 17px */
.agree-header .krds-form-check label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.4;
  color: #222222;
  cursor: pointer;
  flex-wrap: wrap;
}

/* 필수/선택 뱃지 */
.agree-header .badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.agree-header .badge.required {
  background: #FEF0ED;
  color: #BD2C0F;
}

.agree-header .badge.optional {
  background: #F8F8F8;
  color: #717171;
}

/* 약관 내용 박스 */
.agree-box.bg-gray {
  background: #F8F8F8;
  border-radius: 0.8rem;
  padding: 2rem;
  max-height: 20rem;
  overflow-y: auto;
}

/* Body 3 - 작은 본문: Pretendard GOV, 400, 16px */
.agree-content {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #555555;
}

.agree-content p {
  margin: 0 0 0.4rem;
}

.agree-content p:empty {
  height: 1rem;
}

/* 스크롤바 스타일 */
.agree-box.bg-gray::-webkit-scrollbar {
  width: 6px;
}

.agree-box.bg-gray::-webkit-scrollbar-track {
  background: transparent;
}

.agree-box.bg-gray::-webkit-scrollbar-thumb {
  background: #C6C6C6;
  border-radius: 3px;
}

/* ========================================
   5. 버튼 영역
   ======================================== */
.btn-area {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 3.2rem;
}

/* 버튼 텍스트: Pretendard GOV, 600/500, 18px */
.btn-area .krds-btn {
  min-width: 16rem;
  padding: 0 3.2rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-area .krds-btn.large {
  height: 5.2rem;
}

.btn-area .krds-btn.primary {
  background: #246BEB;
  color: #fff;
  border: none;
}

.btn-area .krds-btn.primary:hover:not(:disabled) {
  background: #1D56BC;
}

.btn-area .krds-btn.primary:disabled {
  background: #C6C6C6;
  color: #8E8E8E;
  cursor: not-allowed;
}

.btn-area .krds-btn.secondary {
  background: #fff;
  color: #262626;
  border: 1px solid #C6C6C6;
}

.btn-area .krds-btn.secondary:hover {
  background: #F8F8F8;
}

/* ========================================
   6. 플로팅 도움말 버튼 및 레이어
   ======================================== */

/* 플로팅 버튼 */
.help-floating-btn {
  position: fixed;
  right: 2.4rem;
  bottom: 2.4rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: #246BEB;
  color: #fff;
  border: none;
  border-radius: 5rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36, 107, 235, 0.4);
  transition: all 0.2s;
}

.help-floating-btn:hover {
  background: #1D56BC;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(36, 107, 235, 0.5);
}

.help-floating-btn svg {
  flex-shrink: 0;
}

/* 도움말 레이어 오버레이 */
.help-layer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
}

/* 도움말 패널 */
.help-layer-panel {
  width: 100%;
  max-width: 42rem;
  max-height: calc(100vh - 4rem);
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 헤더 */
.help-layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.4rem;
  border-bottom: 1px solid #E4E4E4;
}

/* H5 - 소제목: Pretendard GOV, 700, 22px */
.help-layer-title {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.3;
  color: #222222;
  margin: 0;
}

.help-layer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #555555;
  transition: background 0.2s;
}

.help-layer-close:hover {
  background: #F8F8F8;
}

/* 본문 */
.help-layer-body {
  flex: 1;
  overflow-y: auto;
  padding: 2.4rem;
}

/* 섹션 */
.help-section {
  margin-bottom: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid #E4E4E4;
}

.help-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* H6 - 최소제목: Pretendard GOV, 700, 17px */
.help-section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.4;
  color: #222222;
  margin: 0 0 1.2rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  background: #246BEB;
  color: #fff;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Body 1 - 기본 본문: Pretendard GOV, 400, 18px */
.help-section-desc {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

/* 도움말 리스트 */
.help-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #F0F0F0;
}

.help-list li:last-child {
  border-bottom: none;
}

.help-list li strong {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #222222;
}

.help-list li span {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: #717171;
}

/* 회비 정보 박스 */
.fee-info-box {
  background: #F8F8F8;
  border-radius: 0.8rem;
  padding: 1.6rem;
  margin-bottom: 1.2rem;
}

.fee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.fee-item:not(:last-child) {
  border-bottom: 1px solid #E4E4E4;
}

.fee-label {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: #222222;
}

.fee-amount {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #246BEB;
}

.help-note {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: #717171;
  margin: 0;
}

/* 문의처 링크 리스트 */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.8rem;
}

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

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #555555;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: #246BEB;
}

.contact-list a svg {
  flex-shrink: 0;
  color: #717171;
}

.contact-list a:hover svg {
  color: #246BEB;
}

/* ========================================
   7. 준비중 화면
   ======================================== */
.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40rem;
  background: #F8F8F8;
  border-radius: 1.2rem;
}

.coming-soon p {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.8rem;
  color: #717171;
}

/* ========================================
   8. 로딩 상태
   ======================================== */
.signup-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 1.6rem;
}

.loading-spinner {
  width: 4rem;
  height: 4rem;
  border: 3px solid #E4E4E4;
  border-top-color: #246BEB;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.signup-loading p {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.4rem;
  color: #717171;
}

/* ========================================
   9. 반응형 - 태블릿 (1200px 이하)
   ======================================== */
@media (max-width: 1200px) {
  .signup-page .page-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  .signup-page .krds-step-wrap {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.8rem;
  }
}

/* ========================================
   10. 반응형 - 모바일 (768px 이하)
   ======================================== */
@media (max-width: 768px) {
  .signup-page .signup-container {
    padding: 0 1.6rem;
  }

  .signup-page .page-title-wrap {
    padding: 1.6rem 0;
    margin-bottom: 2.4rem;
  }

  /* 모바일에서는 타이틀 75-85% 축소 */
  .signup-page .page-title-wrap .h-tit {
    font-size: 2.2rem;
  }

  /* 단계 표시기 - 모바일 */
  .signup-page .krds-step-wrap li:not(:last-child)::after {
    width: 2rem;
  }

  .signup-page .krds-step-wrap li > span {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
  }

  /* 약관 영역 */
  .conts-area.terms-type {
    padding: 2rem;
  }

  .terms-agree-all {
    padding: 1.6rem;
  }

  .terms-agree-all .krds-form-check.large label {
    font-size: 1.6rem;
  }

  .agree-all-desc {
    margin-left: 3rem;
    font-size: 1.4rem;
  }

  .agree-header .krds-form-check label {
    font-size: 1.5rem;
  }

  .agree-box.bg-gray {
    max-height: 15rem;
    padding: 1.6rem;
  }

  /* 버튼 */
  .btn-area {
    flex-direction: column;
  }

  .btn-area .krds-btn {
    width: 100%;
    font-size: 1.6rem;
  }

  /* 플로팅 버튼 */
  .help-floating-btn {
    right: 1.6rem;
    bottom: 1.6rem;
    padding: 1rem 1.6rem;
    font-size: 1.4rem;
  }

  /* 도움말 레이어 */
  .help-layer-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .help-layer-panel {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 1.6rem 1.6rem 0 0;
    animation: slideInUp 0.3s ease-out;
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .help-layer-header {
    padding: 1.6rem 2rem;
  }

  .help-layer-title {
    font-size: 1.8rem;
  }

  .help-layer-body {
    padding: 2rem;
  }

  .help-section-title {
    font-size: 1.5rem;
  }

  .help-section-desc {
    font-size: 1.4rem;
  }
}

/* ========================================
   게이트웨이 페이지 스타일
   폰트 가이드 기준:
   - H1 (Paperlogy, 700, 48px)
   - H4 (Pretendard GOV, 700, 28px)
   - H6 (Pretendard GOV, 700, 17px)
   - Body1 (Pretendard GOV, 400, 18px)
   - Button (Pretendard GOV, 600, 18px)
   ======================================== */

.gateway-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 언어 전환 버튼 */
.gateway-lang-switch {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2.4rem;
}

.gateway-lang-switch .btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-family: "Pretendard", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #003675;
  background: #fff;
  border: 1px solid #003675;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.gateway-lang-switch .btn-lang:hover {
  background: #003675;
  color: #fff;
}

/* 헤더 */
.gateway-header {
  text-align: center;
  margin-bottom: 4.8rem;
}

/* H1 - Title1: Paperlogy, 700, 48px */
.gateway-title {
  font-family: "Paperlogy", sans-serif;
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 1.2;
  color: #003675;
  margin: 0 0 1.6rem;
}

.gateway-title .text-red {
  color: #DF0004;
}

/* Body1: Pretendard GOV, 400, 18px */
.gateway-desc {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #222222;
  margin: 0;
}

/* 섹션 제목 - H4: Pretendard GOV, 700, 28px */
.gateway-section-title {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.2;
  color: #222222;
  text-align: center;
  margin: 0 0 3.2rem;
}

/* 혜택 그리드 */
.gateway-benefits {
  margin-bottom: 4.8rem;
}

.gateway-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 혜택 카드 - 테두리만 호버 시 색상 변경 */
.gateway-benefit-card {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 2.4rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.gateway-benefit-card:hover,
.gateway-benefit-card.is-hover {
  border-color: #003675;
}

.gateway-benefit-card .benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.6rem;
}

/* 호버 시 아이콘 효과 제거 - Iconify 컬러 아이콘 사용 */

/* H6 - 최소 제목: Pretendard GOV, 700, 17px */
.gateway-benefit-card .benefit-title {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.4;
  color: #222222;
  margin: 0 0 1.2rem;
}

/* Body3: Pretendard GOV, 400, 16px */
.gateway-benefit-card .benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gateway-benefit-card .benefit-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #222222;
}

.gateway-benefit-card .benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #003675;
}

/* 가입 절차 */
.gateway-process {
  margin-bottom: 4rem;
  padding: 3.2rem;
  background: #F8F9FA;
  border-radius: 12px;
}

.gateway-process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.gateway-process-steps .step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gateway-process-steps .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #003675;
  color: #fff;
  border-radius: 50%;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.gateway-process-steps .step-label {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #222222;
}

.gateway-process-steps .step-arrow {
  color: #C0C0C0;
  font-size: 1.8rem;
}

/* 회비 안내 */
.gateway-fee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3.2rem;
  padding: 3.2rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.gateway-fee .fee-card {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: #ffffff;
  padding: 2rem 2.4rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  min-width: 200px;
}

.gateway-fee .fee-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #003675;
  border-radius: 12px;
  flex-shrink: 0;
}

.gateway-fee .fee-card-icon svg {
  stroke: #ffffff;
}

.gateway-fee .fee-card-icon.accent {
  background: #dc2626;
}

.gateway-fee .fee-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gateway-fee .fee-card-label {
  font-family: "Pretendard GOV Variable", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gateway-fee .fee-card-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.gateway-fee .fee-card-amount strong {
  font-family: "Pretendard GOV Variable", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
}

.gateway-fee .fee-unit {
  font-family: "Pretendard GOV Variable", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #64748b;
}

.gateway-fee .fee-card-desc {
  font-family: "Pretendard", sans-serif;
  font-size: 1.2rem;
  color: #94a3b8;
}

.gateway-fee .fee-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
}

.gateway-fee .fee-divider span {
  font-family: "Pretendard GOV Variable", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #003675;
}

.gateway-fee .fee-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.6rem 2.4rem;
  background: #003675;
  border-radius: 12px;
  margin-left: 1rem;
}

.gateway-fee .fee-total-label {
  font-family: "Pretendard GOV Variable", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.gateway-fee .fee-total-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.gateway-fee .fee-total-amount strong {
  font-family: "Pretendard GOV Variable", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.gateway-fee .fee-total .fee-unit {
  color: rgba(255,255,255,0.8);
}

/* CTA 버튼 */
.gateway-cta {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 4rem;
}

.gateway-cta .krds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: 180px;
  height: 56px;
  padding: 0 3.2rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.gateway-cta .krds-btn-primary {
  color: #fff;
  background: #003675;
  border: none;
}

.gateway-cta .krds-btn-primary:hover {
  background: #002855;
}

.gateway-cta .krds-btn-outline {
  color: #003675;
  background: #fff;
  border: 1px solid #003675;
}

.gateway-cta .krds-btn-outline:hover {
  background: #F0F4F8;
}

.gateway-cta .krds-btn-simple {
  color: #222;
  background: #FFD600;
  border: none;
}

.gateway-cta .krds-btn-simple:hover {
  background: #FFC107;
}

/* 하단 안내 */
.gateway-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem;
  background: #F8F9FA;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-family: "Pretendard GOV Variable", "Pretendard GOV", sans-serif;
  font-size: 1.6rem;
  color: #222222;
}

.gateway-footer a {
  color: #003675;
  font-weight: 600;
  text-decoration: none;
}

.gateway-footer a:hover {
  text-decoration: underline;
}

.gateway-footer .divider {
  color: #D0D0D0;
}

.gateway-footer .muted {
  color: #888888;
}

/* 반응형 */
@media (max-width: 1024px) {
  .gateway-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gateway-title {
    font-size: 3.2rem;
  }

  .gateway-section-title {
    font-size: 2.2rem;
  }

  .gateway-benefits-grid {
    grid-template-columns: 1fr;
  }

  .gateway-process-steps {
    flex-direction: column;
    gap: 1.2rem;
  }

  .gateway-process-steps .step-arrow {
    transform: rotate(90deg);
  }

  .gateway-fee {
  display: flex;
  justify-content: center;
  gap: 8rem;  /* 6rem에서 8rem으로 증가 */
    gap: 3rem;
  }

  .gateway-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .gateway-cta .krds-btn {
    width: 100%;
  }

  .gateway-footer {
    flex-direction: column;
    gap: 0.8rem;
  }

  .gateway-footer .divider {
    display: none;
  }
}
