/* =============================================
   pay03.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;
  --warning-bg   : #FFF8F0;
  --warning-bd   : #F4C78A;
  --warning-icon : #E07C24;
  --highlight-bg : #F0F6FF;
  --highlight-bd : #B8D4FB;
}

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: 16px;
}

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

/* 소타이틀 */
.hero-sub {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

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

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


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

/* ── SECTION BLOCK ── */
.section-block {
  margin-bottom: 60px;
}

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

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


/* ── TEXT CARD (설명 박스) ── */
.text-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(26,111,232,0.06);
  position: relative;
  overflow: hidden;
}

.text-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;
}

/* 경고형 카드 */
.text-card.warning {
  background: var(--warning-bg);
  border-color: var(--warning-bd);
}

.text-card.warning::before {
  background: linear-gradient(90deg, #E07C24, #F4A94A);
}

.text-card.warning .text-card-icon {
  background: #FDE8CC;
  color: var(--warning-icon);
}

/* 하이라이트 카드 */
.text-card.highlight {
  background: var(--highlight-bg);
  border-color: var(--highlight-bd);
}

.text-card.highlight::before {
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-mid));
}

.text-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-primary);
  margin-top: 2px;
}

.text-card-icon svg {
  width: 26px; height: 26px;
}

.text-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.text-card-body p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-mid);
}

.text-card-body strong {
  color: var(--blue-primary);
  font-weight: 600;
}

.text-card.warning .text-card-body strong {
  color: var(--warning-icon);
}


/* ── 장점 3칸 그리드 ── */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantage-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(26,111,232,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.advantage-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: 18px 18px 0 0;
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26,111,232,0.12);
}

.adv-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

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

.advantage-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}


/* ── 이미지 100% 영역 ── */
.full-image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 20px rgba(26,111,232,0.08);
}

/* 실제 이미지 태그로 교체 시 사용 */
.full-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.full-img-placeholder {
  width: 100%;
  min-height: 380px;
  background: var(--blue-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--blue-primary);
}

.full-img-placeholder svg {
  width: 64px; height: 64px;
  opacity: 0.5;
}

.full-img-placeholder span {
  font-size: 14px;
  color: var(--blue-mid);
  font-weight: 500;
}

/* 이미지 하단 설명 박스 */
.image-desc {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--highlight-bg);
  border: 1.5px solid var(--highlight-bd);
  border-radius: 12px;
  padding: 20px 24px;
}

.image-desc-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-primary);
  margin-top: 1px;
}

.image-desc-icon svg {
  width: 24px; height: 24px;
}

.image-desc p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
}

.image-desc strong {
  color: var(--blue-primary);
  font-weight: 600;
}


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

.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: 600;
  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;
  text-decoration: none;
}

.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-sub { font-size: 13px; }
  .hero-desc { font-size: 14px; }

  .content { padding: 36px 20px 56px; }
  .section-title { font-size: 19px; }

  .text-card {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
  }

  .text-card-body p { font-size: 14px; }

  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .full-img-placeholder { min-height: 220px; }

  .image-desc { padding: 16px 18px; }
  .image-desc p { font-size: 13.5px; }

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