/* =============================================
   pay01.css — 납부자 결제 서비스
   Point Color: Blue (#1A6FE8)
   max-width: 1240px
   ============================================= */

/* ── Reset & Variables ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-primary : #1A6FE8;
  --blue-dark    : #0D4FBF;
  --blue-light   : #EBF2FE;
  --blue-mid     : #5A9AF0;
  --text-dark    : #111827;
  --text-mid     : #374151;
  --text-muted   : #6B7280;
  --bg           : #F7F9FC;
  --white        : #ffffff;
  --border       : #E5EAF2;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 17px;
}


/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0D2F6E 0%, #1A6FE8 60%, #5A9AF0 100%);
  padding: 64px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-badge span { font-size: 16px; }

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  font-weight: 300;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}


/* ── MAIN CONTENT ── */
.content {
  padding: 52px 32px 72px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-primary);
  text-transform: uppercase;
  margin-bottom: 14px;
}


/* ── FEATURE CARD ── */
.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 36px 28px;
  margin-bottom: 52px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(26,111,232,0.06);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-mid));
  border-radius: 20px 20px 0 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:first-child { padding-top: 0; }
.feature-item:last-child  { border-bottom: none; padding-bottom: 0; }

.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.feat-icon svg {
  width: 22px; height: 22px;
  color: var(--blue-primary);
}

.feat-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  padding-top: 2px;
}

.feat-text strong {
  color: var(--blue-primary);
  font-weight: 700;
}


/* ══════════════════════════════════════════
   PROCESS SECTION
══════════════════════════════════════════ */
.process-section { margin-bottom: 56px; }

.process-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

/* ── PC: 가로 5칸 그리드 ── */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(26,111,232,0.06);
  margin-bottom: 20px;
}

/* 각 카드 */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 16px 32px;
  position: relative;
  transition: background 0.2s;
}

/* 카드 사이 구분선 */
.step-card + .step-card {
  border-left: 1px solid var(--border);
}

/* 납부자 진행 카드 배경 */
.step-card.payer { background: #EEF5FF; }
.step-card.payer:hover { background: #dce9ff; }
.step-card:not(.payer):hover { background: #f5f8ff; }

/* 화살표: 카드와 카드 사이 경계에 ::before로 겹치게 표시 */
.step-card + .step-card::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
}

/* 화살표 SVG 대신 CSS로 꺾쇠 표현 */
.step-card + .step-card::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--blue-primary);
  border-right: 2px solid var(--blue-primary);
  z-index: 4;
}

/* 아이콘 원형 */
.step-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2px solid #d0e4fb;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(26,111,232,0.10);
  transition: transform 0.2s;
}

.step-card:hover .step-icon { transform: translateY(-2px); }

.step-card.payer .step-icon {
  background: var(--blue-primary);
  border-color: var(--blue-dark);
  box-shadow: 0 6px 18px rgba(26,111,232,0.30);
}

.step-icon svg {
  width: 28px; height: 28px;
  color: var(--blue-primary);
}

.step-card.payer .step-icon svg { color: #fff; }

/* 텍스트 */
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-primary);
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 6px;
}

.step-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.step-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.step-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  background: rgba(26,111,232,0.12);
  color: var(--blue-primary);
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 700;
}

/* Notice */
.step-notice {
  background: var(--blue-light);
  border-left: 3px solid var(--blue-primary);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--blue-dark);
  font-weight: 400;
  line-height: 1.6;
}


/* ── CTA BUTTON ── */
.cta-wrap {
  text-align: center;
  padding-top: 8px;
}

.cta-btn {
  display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    border: none;
    border-radius: 999px;
    padding: 20px 56px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(26,111,232,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.02em;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(26,111,232,0.45);
}

.cta-btn svg { width: 22px; height: 22px; }


/* ══════════════════════════════════════════
   RESPONSIVE — 모바일 (768px 이하)
══════════════════════════════════════════ */
@media (max-width: 768px) {

  body { font-size: 15px; }

  .hero { padding: 48px 0 64px; }
  .hero-inner { padding: 0 20px; }
  .hero-desc { font-size: 15px; }

  .content { padding: 36px 20px 56px; }
  .feature-card { padding: 24px 20px 20px; }
  .feat-text { font-size: 14px; }
  .process-title { font-size: 19px; }

  /* 모바일: 세로 1칸 */
  .steps-wrapper {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .step-card {
    flex-direction: row;
    text-align: left;
    padding: 20px 24px;
    gap: 18px;
    align-items: center;
  }

  .step-card + .step-card {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  /* 모바일 화살표: 아래 방향 */
  .step-card + .step-card::before {
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
  }

  .step-card + .step-card::after {
    left: 50%;
    top: -7px;
    transform: translateX(-3px) rotate(135deg);
  }

  .step-icon {
    width: 52px; height: 52px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .step-icon svg { width: 22px; height: 22px; }

  .step-name { font-size: 15px; }
  .step-sub  { font-size: 12px; }

  .cta-btn { font-size: 15px; padding: 16px 40px; }
}
