/* ============================================================
   페이대장 — Mango Orange Color System (망고페이 스타일 리뉴얼)
   컬러: 웜 크림 화이트 + 비비드 망고 오렌지(#F59E0B) 중심 팔레트
   콘텐츠: 기존 유지 / 색상·비주얼 톤만 망고페이 감성으로 교체
   (CSS 변수명은 --mint-* 그대로 유지, 값만 망고 오렌지 계열로 교체됨)
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* ── Primary: Vivid Mango Orange ── */
  --mint-700: #B45400;   /* 깊은 망고 (hover, 강조) */
  --mint-600: #D97706;   /* 주 포인트 */
  --mint-500: #F59E0B;   /* 브랜드 망고 오렌지 (Primary) — 비비드 망고 */
  --mint-400: #FBBF24;   /* 밝은 골드 (hover highlight) */
  --mint-200: #FDE68A;   /* tint border */
  --mint-100: #FEF3C7;   /* 연 망고 배경 */
  --mint-50:  #FFFBEB;   /* 극연 크림 배경 */

  /* ── Text (Deep Ink — 가독성 우선) ── */
  --ink-900:  #0d2137;   /* 제목, 브랜드 텍스트 */
  --ink-800:  #132843;   /* 서브 타이틀 */
  --ink-700:  #1c3a55;   /* 강조 텍스트 */

  /* ── Service accents (각 결제수단 포인트) ── */
  --qr-ink:      #D97706;   /* QR — 메인 망고 */
  --qr-tint:     #FFFBEB;
  --manual-ink:  #0891b2;   /* 수기 — 시안 블루 */
  --manual-tint: #ecfeff;
  --sms-ink:     #059669;   /* SMS — 에메랄드 */
  --sms-tint:    #f0fdf4;
  --link-ink:    #7c3aed;   /* 링크 — 바이올렛 */
  --link-tint:   #f5f3ff;

  /* ── Neutrals ── */
  --white:    #ffffff;
  --gray-50:  #f8fafb;
  --gray-100: #f0f4f8;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;

  --text-heading: #0d2137;
  --text-body:    #334155;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;

  /* ── Shadows (민트 틴트 그림자) ── */
  --sh-xs: 0 1px 2px rgba(245,158,11,.06);
  --sh-sm: 0 2px 8px rgba(245,158,11,.09);
  --sh-md: 0 4px 18px rgba(245,158,11,.12);
  --sh-lg: 0 8px 36px rgba(245,158,11,.15);
  --sh-xl: 0 16px 56px rgba(245,158,11,.18);

  /* ── Radii ── */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-full: 9999px;

  --transition: all .22s cubic-bezier(.4,0,.2,1);
  --font: 'Pretendard', sans-serif;

  /* ── Hero layout ── */
  --hero-max-width:    1280px;
  --hero-min-height:   750px;
  --hero-padding-top:  106px;

  /* ── Hero mockup sizes ── */
  --phone-mockup-width: 260px;
  --pc-mockup-width:    520px;

  /* ── 공통 여백 (리팩토링 시 추가 — 기존 값은 그대로, 반복되는 숫자만 변수로 추출) ──
     여러 섹션(features-overview/why-section/howto-section/pricing-section/
     testimonials-section/cta-section)이 동일하게 쓰던 상하 padding 값입니다. */
  --space-section:    96px;  /* 데스크탑 섹션 상하 여백 */
  --space-section-sm: 64px;  /* 768px 이하 모바일 섹션 상하 여백 */
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   NAVBAR — Glass Transparent Header
   ============================================================ */

/* ── 기본 상태: 완전 투명 ── */
/* 주의: backdrop-filter는 .navbar 자체가 아니라 ::before 가상요소에만 적용한다.
   .navbar는 position:fixed인 #navMenu(전체화면 모바일 메뉴)의 부모이므로,
   .navbar 자체에 backdrop-filter(또는 filter/transform)가 걸리면 스펙상
   새 containing block이 생겨 #navMenu의 fixed 기준이 뷰포트가 아닌
   .navbar(높이 80px) 박스로 바뀌어 메뉴가 찌그러져 보이지 않게 된다. */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  /* 초기: 투명 */
  background: transparent;
  border-bottom: none;
  transition:
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: backdrop-filter .35s ease;
}

/* ── 스크롤 후: 유리 효과 ── */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 1px 32px rgba(0, 30, 20, 0.07);
}
.navbar.scrolled::before {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ── 모바일 메뉴 열렸을 때는 항상 불투명 ── */
.navbar.menu-open {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--gray-200);
}
.navbar.menu-open::before {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ── 내부 컨테이너 ── */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   로고
━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo__icon {
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--mint-500);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 0 0 3px rgba(245,158,11,0.15);
  transition: transform .22s ease, box-shadow .22s ease;
}
.nav-logo__icon .logo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.nav-logo:hover .nav-logo__icon {
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.nav-logo__label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 0;
  justify-content: center;
}
.nav-logo__text {
  font-family: 'Pretendard', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.2;
  transition: color .22s ease;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   중앙 메뉴 링크
━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 auto; /* 중앙 배치 */
}

/* 공통 링크/버튼 스타일 */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-800);
  border-radius: var(--r-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}
.nav-link:hover {
  background: rgba(245,158,11,0.08);
  color: var(--mint-700);
}
/* 스크롤 전 투명 배경에서 텍스트 가독성 */
.navbar:not(.scrolled) .nav-link {
  color: var(--ink-800);
}

/* 현재 섹션 활성 표시 */
.nav-link.nav-active {
  color: var(--mint-700);
  font-weight: 600;
}
.nav-link.nav-active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 2px;
  background: var(--mint-500);
  border-radius: 2px;
}
/* 드롭다운 트리거 position */
.nav-item--dropdown { position: relative; }
.nav-dropdown-trigger { position: relative; }

/* 화살표 아이콘 */
.nav-chevron {
  font-size: 9px;
  transition: transform .2s ease;
  opacity: .7;
}
.nav-item--dropdown.dropdown-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   드롭다운 패널 (메가 스타일)
━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245,158,11,0.14);
  border-radius: 18px;
  box-shadow:
    0 24px 60px rgba(0,30,20,0.12),
    0  4px 16px rgba(245,158,11,0.08),
    0  0   0  1px rgba(255,255,255,0.6) inset;
  padding: 16px;
  z-index: 950;
  animation: dropFadeIn .18s ease both;
}
.nav-item--dropdown.dropdown-open .nav-dropdown {
  display: block;
}
@keyframes dropFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
}

/* 2열 그리드 */
.nav-dropdown__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* 각 메뉴 아이템 (링크 없음 — 안내 표시용) */
.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  cursor: default;
  transition: background .16s ease, transform .16s ease;
}

/* 아이콘 박스 */
.nav-dropdown__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: transform .16s ease;
}
/* 서비스별 포인트 컬러 (기존 인라인 style="background:...;color:..." 대체) */
.nav-dropdown__icon--sms     { background: var(--qr-tint);     color: var(--qr-ink); }
.nav-dropdown__icon--link    { background: var(--link-tint);   color: var(--link-ink); }
.nav-dropdown__icon--invoice { background: var(--manual-tint); color: var(--manual-ink); }
.nav-dropdown__icon--order   { background: var(--sms-tint);    color: var(--sms-ink); }
/* 가입안내 드롭다운 아이콘 (기존 인라인 style="background:rgba(0,212,170,.12);color:var(--mint-700)" 대체) */
.nav-dropdown__icon--signup  { background: rgba(0,212,170,0.12); color: var(--mint-700); }
.nav-dropdown__item:hover .nav-dropdown__icon {
  transform: scale(1.08);
}

/* 텍스트 */
.nav-dropdown__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown__info strong {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
}
.nav-dropdown__info span {
  font-size: .77rem;
  color: var(--gray-400);
  line-height: 1.3;
}

/* 하단 푸터 바 */
.nav-dropdown__footer {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--mint-50);
  border-radius: 10px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--mint-700);
  display: flex;
  align-items: center;
  gap: 7px;
}
.nav-dropdown__footer i { font-size: 12px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   우측 CTA 영역
━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 가입 CTA 그룹 (가입문의 + 가입신청) */
.nav-signup-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 가입 문의 (민트 필 버튼) */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--mint-600);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(245,158,11,0.34);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--mint-700);
  box-shadow: 0 6px 20px rgba(245,158,11,0.42);
  transform: translateY(-1px);
}
.nav-cta i { font-size: 12px; }

/* 가입문의 (아웃라인 버튼) — .nav-cta 뒤에 선언해야 동일 명시도에서
   배경/글자색 오버라이드가 유효합니다. 위로 옮기지 마세요. */
.nav-cta--outline {
  background: var(--white);
  color: var(--mint-700);
  border-color: var(--mint-400);
  box-shadow: none;
}
.nav-cta--outline:hover {
  background: var(--mint-50);
  color: var(--mint-700);
  border-color: var(--mint-500);
  box-shadow: 0 4px 14px rgba(245,158,11,0.20);
}

/* 모바일 전용 CTA(가입문의/가입신청) — 데스크톱 기본값은 숨김, 860px 이하에서 .nav-mobile-cta 미디어쿼리 규칙이 다시 표시 */
.nav-mobile-cta { display: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   햄버거 (모바일)
━━━━━━━━━━━━━━━━━━━━━━━━ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 7px;
  border-radius: var(--r-sm);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .18s ease;
}
.hamburger:hover { background: rgba(245,158,11,0.08); }

.hamburger__bar {
  display: block;
  width: 100%; height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, width .25s ease;
  transform-origin: center;
}
/* 열린 상태: X 모양 */
.hamburger.is-open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   모바일 메뉴 오버레이
━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ══════════════════════════════════════════
   모바일 네비 — 860px 이하
   ══════════════════════════════════════════ */
@media (max-width: 860px) {

  /* 햄버거 표시 */
  .hamburger { display: flex; }

  /* 데스크톱 nav-actions 숨김 */
  .nav-actions { display: none; }

  /* 모바일: 스크롤 전에도 항상 불투명 배경 —
     투명 배경 상태에서 로고/브랜드명이 히어로 타이틀과
     같은 레이어처럼 겹쳐 보이는 착시를 방지
     (backdrop-filter는 .navbar::before에만 적용 — 이유는 위 주석 참고) */
  .navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
    box-shadow: 0 1px 12px rgba(0, 30, 20, 0.05);
  }
  .navbar::before {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* ── 풀스크린 메뉴 오버레이 ── */
  .nav-menu {
    display: none;
    position: fixed;
    /* JS(main.js)가 실제 네비바 높이를 --navbar-real-height로 반영 —
       480px 이하에서 nav-container 높이가 72px로 줄어드는 등의 변화에 대응 */
    inset: var(--navbar-real-height, 80px) 0 0 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px 40px;
    gap: 4px;
    overflow-y: auto;
    z-index: 800;
    border-top: 1px solid var(--gray-100);
    animation: mobileMenuIn .22s ease both;
  }
  .nav-menu.open { display: flex; }

  @keyframes mobileMenuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
  }

  /* 메뉴 링크 풀너비 */
  .nav-link {
    padding: 13px 16px;
    font-size: .95rem;
    border-radius: 10px;
    justify-content: space-between;
    width: 100%;
  }

  /* 드롭다운: 인라인 펼침 */
  .nav-item--dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; }
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--gray-100);
    backdrop-filter: none;
    animation: none;
    padding: 10px;
    margin-top: 4px;
  }
  @keyframes dropFadeIn { from {} to {} } /* 모바일 애니 없음 */

  .nav-dropdown__grid { grid-template-columns: 1fr 1fr; gap: 4px; }
  .nav-dropdown__item { padding: 10px 12px; }

  /* ── 모바일 메뉴 하단 CTA 버튼 통합 ── */
  .nav-menu::after {
    content: '';
    display: block;
    margin-top: auto;
  }

  /* 모바일 CTA 버튼 2개 — !important 필요: 데스크톱 기본값(.nav-mobile-cta { display:none })을
     860px 이하 모바일 미디어쿼리에서 반드시 덮어써야 하므로 유지. 제거 금지. */
  .nav-mobile-cta {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--gray-100);
  }
  /* 가입 문의 / 가입 신청 버튼 */
  .nav-mobile-cta .nav-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: var(--r-sm);
    font-size: .95rem;
    font-weight: 700;
    color: var(--white);
    background: var(--mint-600);
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(245,158,11,.32);
  }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 16px; height: 72px; }
  .nav-logo__icon { width: 50px; height: 50px; }
  .nav-logo__text { font-size: 1.05rem; }
  .nav-dropdown__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SUBPAGE HEADER — 독립 서브페이지 공통 미니멀 헤더
   (sms-payment.html / link-payment.html / invoice-payment.html 등
    "상세안내" 성격의 모든 서브페이지에서 공통으로 사용하는 헤더.
    메인 index.html의 풀 네비게이션(.navbar)과 달리, 로고 + "홈으로 이동"
    링크만 보여주어 독립된 페이지 느낌을 주는 것이 목적. 새 서브페이지를
    추가할 때도 이 구조(.subpage-header)를 그대로 재사용하면 된다.)
   ============================================================ */
.subpage-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
}
.subpage-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── 로고 (index.html의 .nav-logo와 완전히 동일한 크기/스타일) ── */
.subpage-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.subpage-header__logo-icon {
  display: block;
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--mint-500);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 0 0 3px rgba(245,158,11,0.15);
  transition: transform .22s ease, box-shadow .22s ease;
}
.subpage-header__logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.subpage-header__logo:hover .subpage-header__logo-icon {
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.subpage-header__logo-text {
  font-family: 'Pretendard', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.2;
  transition: color .22s ease;
}

/* ── 홈으로 이동 ── */
.subpage-header__home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--mint-700);
  background: var(--mint-50);
  border: 1.5px solid var(--mint-200);
  border-radius: var(--r-full);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}
.subpage-header__home i { font-size: .8rem; }
.subpage-header__home:hover {
  background: var(--mint-100);
  border-color: var(--mint-400);
  color: var(--mint-700);
  transform: translateY(-1px);
  box-shadow: var(--sh-sm);
}

@media (max-width: 480px) {
  .subpage-header__inner { height: 72px; }
  .subpage-header__logo-icon { width: 50px; height: 50px; }
  .subpage-header__logo-text { font-size: 1.05rem; }
  .subpage-header__home { padding: 8px 14px; font-size: .82rem; gap: 6px; }
}

/* ============================================================
   HERO — 4페이지 롤링 슬라이더 (고객 유형별 사용 시나리오)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  background: linear-gradient(150deg,
    #fffbea 0%,
    #fff3cc 45%,
    #fffbea 100%);
  display: flex;
  align-items: center;
}

/* ── 배경 그라디언트 오브 ── */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero__orb--tl {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(245,158,11,0.20) 0%, transparent 70%);
}
.hero__orb--br {
  width: 500px; height: 500px;
  bottom: -150px; right: -100px;
  background: radial-gradient(circle, rgba(217,119,6,0.16) 0%, transparent 70%);
}

/* ── Inner 컨테이너 ── */
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--hero-padding-top) + 20px);
  padding-bottom: 56px;
}

/* ══════════════════════════════════════
   HERO SLIDER — 4페이지 자동 롤링 (각 페이지마다 좌:코피 / 우:전용 일러스트)
══════════════════════════════════════ */
.hero-slider {
  position: relative;
  display: grid;
  margin-bottom: 44px;
  padding-bottom: 36px; /* dots 자리 확보 */
  min-height: 420px;
}

/* 여러 슬라이드를 같은 그리드 셀에 겹쳐 쌓음 — 텍스트 줄 수가 달라져도
   컨테이너 높이가 가장 큰 슬라이드 기준으로 고정되어 아래 dots/통계바와 겹치지 않음 */
.hero-slide {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
  z-index: 1;
}
.hero-slide--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.hero-slide__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 상단 신뢰/카테고리 배지 */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: .8rem;
  font-weight: 700;
  color: var(--mint-700);
  background: #fff;
  border: 1px solid var(--mint-200);
  border-radius: var(--r-full);
  padding: 7px 16px 7px 14px;
  margin-bottom: 22px;
  box-shadow: var(--sh-sm);
}
.hero__badge i { color: var(--mint-500); }

.hero__title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  color: #111;
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  word-break: keep-all;
}
.hero__title-accent {
  background: linear-gradient(120deg, var(--mint-600), var(--mint-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: #555;
  line-height: 1.8;
  margin: 0 0 34px;
  word-break: keep-all;
}

/* ── CTA 버튼 ── */
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: clamp(14px, 1.2vw, 15.5px);
  font-weight: 700;
  font-family: var(--font);
  text-decoration: none;
  white-space: nowrap;
  transition: all .22s ease;
  cursor: pointer;
  border: none;
}
.hero__btn--outline {
  background: #fff;
  color: var(--ink-900);
  border: 1.5px solid var(--gray-300);
}
.hero__btn--outline:hover {
  border-color: var(--mint-400);
  color: var(--mint-700);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

/* ── 우측 전용 일러스트 ── */
.hero-slide__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide__img-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-slide__img-wrap::before {
  content: '';
  position: absolute;
  width: 82%;
  height: 82%;
  background: radial-gradient(circle, rgba(251,191,36,0.4) 0%, rgba(245,158,11,0.12) 55%, transparent 75%);
  filter: blur(34px);
  z-index: -1;
  border-radius: 50%;
}
.hero-slide__img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(245,158,11,0.2));
}

/* ── 인디케이터 dots ── */
.hero-slider__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.hero-dot--active {
  background: var(--mint-500);
  width: 26px;
  border-radius: var(--r-full);
  box-shadow: 0 0 8px rgba(245,158,11,.45);
}

/* ── 하단 공통 신뢰 통계 바 (4페이지 공통 고정) ── */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero__stat strong {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.hero__stat span {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.hero__stat-divider {
  width: 1px;
  height: 30px;
  background: var(--gray-300);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* ─── 히어로 반응형 ─── */
@media (max-width: 960px) {
  .hero-slide {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-slide__left { align-items: center; }
  .hero__badge { align-self: center; }
  .hero__cta  { justify-content: center; }
  .hero-slider { min-height: 560px; padding-bottom: 40px; }
  .hero-slide__img { max-width: 300px; }
}

@media (max-width: 600px) {
  .hero { min-height: auto; padding: 0; }
  .hero__inner {
    padding-top: calc(var(--hero-padding-top) + 28px);
    padding-bottom: 40px;
  }
  .hero__title { font-size: clamp(26px, 7.4vw, 34px); letter-spacing: -0.01em; }
  .hero__sub   { font-size: .88rem; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__btn { width: 100%; max-width: 280px; }
  .hero-slider { min-height: 540px; }
  .hero-slide__img { max-width: 240px; }
  .hero__stats { gap: 14px; }
  .hero__stat strong { font-size: 17px; }
  .hero__stat span { font-size: .66rem; }
  .hero__orb--tl, .hero__orb--br { display: none; }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-header { text-align: center; margin-bottom: 60px; }

/* section badge */
.section-badge {
  display: inline-block;
  background: var(--mint-50); color: var(--mint-600);
  border: 1px solid var(--mint-200);
  border-radius: var(--r-xs);
  padding: 5px 14px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800; color: var(--text-heading);
  line-height: 1.3; letter-spacing: -.4px; margin-bottom: 14px;
}

/* 모바일 전용 줄바꿈 — 데스크탑에선 숨김 */
.mo-br { display: none; }
@media (max-width: 600px) {
  .mo-br { display: block; }
  .section-header h2  { letter-spacing: -0.01em; }
}
.section-header p { font-size: .97rem; color: var(--text-muted); }

/* 모바일 전용 요소 — 데스크탑에서는 숨김 */
.mo-only { display: none; }

/* 결제서비스 카드 좌우 스와이프 힌트 (768px 이하에서만 노출, 표시 여부는 .mo-only가 제어) */
.features-swipe-hint {
  margin-top: 10px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--mint-600);
  align-items: center;
  gap: 6px;
}
.features-swipe-hint i { font-size: .72rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   FEATURES OVERVIEW
   ============================================================ */
.features-overview {
  padding: var(--space-section) 0;
  background: #ffffff;
}

/* ── 결제수단 알약형 칩 나열 — 카드 박스 대신 가볍게 펼쳐 "다양함"을 한눈에 보여줌 ── */
.pay-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.pay-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-full);
  padding: 12px 24px 12px 12px;
  transition: var(--transition);
}
.pay-chip:hover {
  border-color: var(--mint-300, var(--mint-400));
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.pay-chip__icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--white);
  flex-shrink: 0;
}
.pay-chip__icon--qr     { background: var(--qr-ink); }
.pay-chip__icon--manual { background: var(--manual-ink); }
.pay-chip__icon--sms    { background: var(--sms-ink); }
.pay-chip__icon--link   { background: var(--link-ink); }
.pay-chip__icon--bank   { background: var(--mint-600); }

.pay-chip__text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.pay-chip__text strong { font-size: .95rem; font-weight: 800; color: var(--text-heading); white-space: nowrap; }
.pay-chip__text span   { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }

/* ============================================================
   결제서비스 안내 (SERVICE GUIDE) — 대문 바로 아래, 결제요청방법 섹션 바로 위
   ============================================================ */
.service-guide {
  padding: 88px 0 96px;
  background: #ffffff;
}

.service-guide__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  display: block;
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px 24px 56px;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: var(--transition);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--sh-xl);
  transform: translateY(-6px);
}
.service-card:nth-child(1):hover { border-top: 3px solid var(--qr-ink); }
.service-card:nth-child(2):hover { border-top: 3px solid var(--link-ink); }
.service-card:nth-child(3):hover { border-top: 3px solid var(--manual-ink); }
.service-card:nth-child(4):hover { border-top: 3px solid var(--sms-ink); }

.service-card__icon {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem; color: var(--white);
  transition: var(--transition);
}
.service-card:hover .service-card__icon { transform: scale(1.08); }

.service-card__icon--sms     { background: var(--qr-ink); }
.service-card__icon--link    { background: var(--link-ink); }
.service-card__icon--invoice { background: var(--manual-ink); }
.service-card__icon--order   { background: var(--sms-ink); }

.service-card h3 {
  font-size: 1.1rem; font-weight: 800; color: var(--text-heading); margin-bottom: 10px;
}
.service-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

.service-card__link {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .84rem; font-weight: 700; color: var(--mint-600);
  transition: var(--transition);
}
.service-card__link i { font-size: .72rem; transition: transform .22s ease; }
.service-card:hover .service-card__link i { transform: translateX(3px); }

@media (max-width: 860px) {
  .service-guide { padding: 64px 0 72px; }
  .service-guide__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 26px 18px 50px; }
}
@media (max-width: 480px) {
  .service-guide__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   결제요청방법 (REQUEST METHODS) — 결제서비스 안내 바로 아래, 고객 결제수단 바로 위
   ============================================================ */
.request-section {
  padding: var(--space-section) 0;
  background: var(--gray-50);
}

/* ── 3가지 결제요청 방법을 나란히 보여주는 형태 — 단계(순서)가 아니라 "선택지"임을 강조 ── */
.request-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.request-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
}

.request-step__node {
  position: relative;
  width: 92px; height: 92px;
  margin: 0 auto 22px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white);
  box-shadow: var(--sh-md);
  transition: var(--transition);
}
.request-step:hover .request-step__node { transform: scale(1.06); box-shadow: var(--sh-xl); }

.request-step__node--sms  { background: var(--sms-ink); }
.request-step__node--qr   { background: var(--qr-ink); }
.request-step__node--link { background: var(--link-ink); }

.request-step__title {
  font-size: 1.1rem; font-weight: 800; color: var(--text-heading); margin-bottom: 10px;
}
.request-step__desc { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* 옵션 사이 구분선 — 순서(단계)가 아니라 독립적인 선택지임을 보여주는 단순 구분선 */
.request-step__divider {
  flex: 0 0 auto;
  align-self: center;
  width: 1px;
  height: 64px;
  background: var(--gray-200);
}

@media (max-width: 860px) {
  .request-section { padding: var(--space-section-sm) 0; }
  .request-flow { flex-direction: column; align-items: center; gap: 28px; }
  .request-step { max-width: 320px; }
  .request-step__divider { display: none; }
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
  padding: var(--space-section) 0;
  background: #f8fafb;
}

.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.why-card {
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 30px 26px;
  transition: var(--transition);
}
.why-card:hover {
  background: var(--white); border-color: var(--mint-400);
  box-shadow: var(--sh-lg); transform: translateY(-4px);
}

.why-icon {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--white);
  margin-bottom: 18px;
  background: var(--mint-500);
  transition: var(--transition);
}
/* 각 카드별 아이콘 색상 */
.why-card:nth-child(2) .why-icon { background: var(--manual-ink); }
.why-card:nth-child(3) .why-icon { background: var(--sms-ink); }
.why-card:nth-child(4) .why-icon { background: #7c3aed; }
.why-card:nth-child(5) .why-icon { background: var(--link-ink); }
.why-card:nth-child(6) .why-icon { background: var(--mint-600); }
.why-card:hover .why-icon { transform: scale(1.08); }

/* ── Why 수치 뱃지 ── */
.why-stat {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--mint-50), rgba(245,158,11,0.12));
  border: 1.5px solid var(--mint-200);
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 800;
  color: var(--mint-700);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.why-card:nth-child(2) .why-stat { background: rgba(8,145,178,.07);  border-color: #a5f3fc; color: var(--manual-ink); }
.why-card:nth-child(3) .why-stat { background: rgba(5,150,105,.07);  border-color: #bbf7d0; color: var(--sms-ink); }
.why-card:nth-child(4) .why-stat { background: rgba(124,58,237,.07); border-color: #ddd6fe; color: #7c3aed; }
.why-card:nth-child(5) .why-stat { background: rgba(124,58,237,.07); border-color: #ddd6fe; color: var(--link-ink); }
.why-card:nth-child(6) .why-stat { background: linear-gradient(135deg, var(--mint-50), rgba(245,158,11,0.12)); border-color: var(--mint-200); color: var(--mint-700); }

.why-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--text-heading); margin-bottom: 9px; }
.why-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.7; }

/* ── 비대칭 벤토 그리드 (데스크톱 1025px 이상 전용) ──
   6개 카드를 균일한 3열로 늘어놓지 않고, 01번(보안)을 큰 스포트라이트 박스로,
   06번(수수료)을 하단 와이드 배너로 배치해 시각적 리듬을 줍니다.
   1024px 이하는 기존 2열/가로 캐러셀 반응형을 그대로 유지합니다(아래 RESPONSIVE 참고). */
@media (min-width: 1025px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
      "a a b c"
      "a a d e"
      "f f f f";
  }
  .why-card:nth-child(1) {
    grid-area: a;
    display: flex; flex-direction: column; justify-content: center;
    padding: 40px 34px;
  }
  .why-card:nth-child(1) .why-icon { width: 60px; height: 60px; font-size: 1.4rem; }
  .why-card:nth-child(1) h3 { font-size: 1.3rem; }
  .why-card:nth-child(1) p  { font-size: .95rem; }

  .why-card:nth-child(2) { grid-area: b; }
  .why-card:nth-child(3) { grid-area: c; }
  .why-card:nth-child(4) { grid-area: d; }
  .why-card:nth-child(5) { grid-area: e; }

  /* 06번 — 하단 와이드 배너 (수수료 강조) */
  .why-card:nth-child(6) {
    grid-area: f;
    display: flex; align-items: center; gap: 20px;
    text-align: left;
    padding: 28px 34px;
    background: linear-gradient(135deg, var(--mint-50), #ffffff);
    border-color: var(--mint-200);
  }
  .why-card:nth-child(6) .why-icon  { margin-bottom: 0; flex-shrink: 0; }
  .why-card:nth-child(6) .why-stat  { margin-bottom: 0; flex-shrink: 0; }
  .why-card:nth-child(6) h3 { margin-bottom: 0; white-space: nowrap; }
  .why-card:nth-child(6) p  { margin: 0; }
}

/* ============================================================
   WHY SECTION — 대시보드 소개 블록
   ============================================================ */
.why-dashboard {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 48px 48px 48px 52px;
  box-shadow: var(--sh-md);
  overflow: hidden;
  position: relative;
}
/* 배경 민트 오브 */
.why-dashboard::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.06) 0%, transparent 70%);
  top: -80px; left: -80px;
  pointer-events: none;
}

/* ── 텍스트 영역 ── */
.why-dashboard__title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--ink-900);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  word-break: keep-all;
}
.why-dashboard__title em {
  font-style: normal;
  color: var(--mint-600);
}
.why-dashboard__desc {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* 기능 리스트 */
.why-dashboard__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-dashboard__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--text-body);
}
.why-db-badge {
  width: 32px; height: 32px;
  border-radius: var(--r-xs);
  background: var(--mint-50);
  border: 1px solid var(--mint-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--mint-600);
  font-size: .8rem;
  flex-shrink: 0;
}

/* ── 비주얼 래퍼 ── */
.why-dashboard__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 380px;  /* 충분한 세로 공간 확보 */
}

/* ══════════════════════════════════════
   이미지 롤링 슬라이더 (PC + 모바일 앱)
══════════════════════════════════════ */

/* 슬라이더 컨테이너 */
.db-slider {
  position: relative;
  width: 100%;
  flex: 1;                              /* 비주얼 래퍼 높이를 꽉 채움 */
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.18);
  background: #f0f4f8;
  height: 380px;                        /* 고정 높이 (absolute 슬라이드 기준) */
  min-height: 340px;
}

/* 각 슬라이드 */
.db-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 52px;      /* 컨트롤 바 높이만큼 제외 */
  opacity: 0;
  transition: opacity 0.65s ease;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  overflow: hidden;
}
.db-slide--active {
  opacity: 1;
  pointer-events: auto;
}

/* 슬라이드 라벨 (PC / 모바일) */
.db-slide__label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--r-full);
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.db-slide__label i { color: var(--mint-400); }

/* 이미지 프레임 */
.db-slide__frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* PC: 가로형 — 전체 폭 */
.db-slide__frame--pc {
  background: #e8ecf0;
}
.db-slide__frame--pc .db-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* 모바일: 세로형 — 중앙 정렬 */
.db-slide__frame--mobile {
  background: linear-gradient(145deg, #FFFBEB, #f0f4f8);
  padding: 24px 0 0;
}
.db-slide__frame--mobile .db-slide__img {
  height: 100%;
  max-height: 340px;
  width: auto;
  max-width: 62%;
  object-fit: contain;
  object-position: top;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

/* ── 컨트롤 바 (하단 고정) ── */
.db-slider__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 5;
}

/* 화살표 버튼 */
.db-slider__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.db-slider__arrow:hover {
  border-color: var(--mint-500);
  color: var(--mint-600);
  background: var(--mint-50);
  transform: scale(1.08);
}

/* 인디케이터 dots */
.db-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.db-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.db-dot--active {
  background: var(--mint-500);
  width: 24px;
  border-radius: var(--r-full);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .why-dashboard {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 32px;
  }
  .why-dashboard__visual { min-height: 300px; }
  .db-slider { height: 300px; min-height: 280px; }
}
@media (max-width: 600px) {
  .why-dashboard { padding: 28px 20px; margin-top: 44px; }
  .why-dashboard__title { font-size: 1.55rem; }
  .why-dashboard__visual { min-height: 260px; }
  .db-slider { height: 260px; min-height: 240px; }
  .db-slide__frame--mobile .db-slide__img { max-width: 72%; }
}

/* ============================================================
   HOW-TO SECTION — 서비스 신청방법
   가로 스텝퍼(연결선 + 원형 노드) — 01→02→03→04 진행 과정을 강조
   ============================================================ */
.howto-section {
  padding: var(--space-section) 0;
  background: #f8fafb;
}

.howto-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

/* 노드 사이 연결선 */
.howto-stepper::before {
  content: '';
  position: absolute;
  top: 34px;                        /* 원형 노드 수직 중앙 */
  left: calc(12.5% + 34px);
  right: calc(12.5% + 34px);
  height: 2px;
  background: linear-gradient(to right,
    var(--mint-200) 0%,
    var(--mint-400) 50%,
    var(--mint-200) 100%);
  z-index: 0;
  border-radius: 2px;
  pointer-events: none;
}

/* ── 개별 스텝 ── */
.howto-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── 원형 노드 ── */
.howto-step__node {
  position: relative;
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 18px;
  transition: var(--transition);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--mint-500), var(--mint-700));
  box-shadow: 0 6px 18px rgba(245,158,11,.30);
}
.howto-step:hover .howto-step__node {
  transform: scale(1.08);
}
.howto-step:nth-child(2) .howto-step__node {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  box-shadow: 0 6px 18px rgba(8,145,178,.28);
}
.howto-step:nth-child(3) .howto-step__node {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 6px 18px rgba(124,58,237,.28);
}
/* !important 필요: 위 .howto-step:nth-child(2/3) 선택자보다 상세도가 같아
   CSS 선언 순서만으로는 마지막(4번째) 스텝 색상이 항상 이기지 못함 — 제거 금지. */
.howto-step__node--final {
  background: linear-gradient(135deg, var(--mint-500), var(--mint-700)) !important;
  box-shadow: 0 6px 18px rgba(180,84,0,.35) !important;
}

/* 단계 번호 배지 — 노드 우하단에 작게 */
.howto-step__num {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--text-heading);
  font-size: .64rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ── 제목 ── */
.howto-step__title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
  word-break: keep-all;
}

/* ── 설명 ── */
.howto-step__desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.75;
  word-break: keep-all;
  margin-bottom: 14px;
}

/* ── 체크리스트 ── */
.howto-step__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.howto-step__checklist li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--text-body);
  font-weight: 500;
}
.howto-step__checklist li .fa-check {
  color: var(--mint-600);
  font-size: .72rem;
  flex-shrink: 0;
}

/* ── 스토어 태그 (Step 3) ── */
.howto-step__stores {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.howto-store-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: .74rem;
  font-weight: 700;
}
.howto-store-tag--android {
  background: #1a1a2e;
  color: #78d64b;
}
.howto-store-tag--ios {
  background: var(--gray-100);
  color: var(--ink-900);
  border: 1px solid var(--gray-200);
}

/* ── 강조 텍스트 ── */
.howto-em {
  color: var(--mint-600);
  font-weight: 800;
  -webkit-text-fill-color: var(--mint-600);
}

/* ── 태블릿: 2×2 그리드 ── */
@media (max-width: 1024px) {
  .howto-stepper {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .howto-stepper::before { display: none; }
}

/* ══════════════════════════════════════
   모바일 600px 이하 — 세로 1열 스텝 리스트
   (연결선은 숨기고, 노드+텍스트를 그대로 세로로 쌓음)
══════════════════════════════════════ */
@media (max-width: 600px) {
  .howto-section { padding: 64px 0; }

  .howto-stepper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .howto-stepper::before { display: none; }

  .howto-step__desc br { display: none; }
}

/* ============================================================
   PRICING SECTION — 서비스 이용요금
   ============================================================ */
.pricing-section {
  padding: var(--space-section) 0;
  background: var(--gray-50);
}

/* ── 테이블 래퍼 ── */
.pricing-table {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--sh-lg);
  margin-bottom: 24px;
}

/* ── 공통 행 ── */
.pt-row {
  display: grid;
  grid-template-columns: 160px 1fr 260px;
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
  transition: background .18s ease;
}
.pt-row:last-child { border-bottom: none; }
.pt-row:hover:not(.pt-row--header) { background: var(--mint-50); }
.pt-row--header {
  background: linear-gradient(135deg, var(--mint-600), var(--mint-700));
}
.pt-row--accent { background: #fafffe; }
.pt-row--last   { background: #fff; }

/* ── 셀 공통 ── */
.pt-cell {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  line-height: 1.6;
}
.pt-cell + .pt-cell {
  border-left: 1px solid var(--gray-200);
}

/* 헤더 셀 */
.pt-row--header .pt-cell {
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  border-left-color: rgba(255,255,255,0.2);
}

/* 라벨 셀 */
.pt-cell--label {
  font-weight: 700;
  color: var(--ink-800);
  font-size: .9rem;
  background: rgba(245,158,11,0.04);
  flex-shrink: 0;
}
.pt-cell--label i {
  color: var(--mint-600);
  font-size: .85rem;
  width: 16px;
  text-align: center;
}

/* 값 셀 */
.pt-cell--value {
  font-weight: 500;
  color: var(--ink-800);
  flex-direction: column;
  align-items: flex-start;
}

/* 리스트 형 값 */
.pt-cell--list {
  padding: 16px 22px;
}
/* 항목이 1개뿐인 리스트 셀 — 위아래 여백을 동일하게 맞추기 위해 세로 중앙 정렬 */
.pt-cell--list-mid {
  justify-content: center;
  height: 100%;
}
.pt-cell--list ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pt-cell--list ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-body);
}
.pt-cell--list ul li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--mint-500);
  flex-shrink: 0;
}

/* 태그 (법인 등) */
.pt-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  background: var(--manual-tint);
  color: var(--manual-ink);
  border: 1px solid rgba(8,145,178,0.15);
}

/* 무료 배지 */
.pt-badge--free {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  background: var(--mint-50);
  color: var(--mint-700);
  border: 1.5px solid var(--mint-200);
}

/* ══════════════════════════════════════
   결제 수수료 — 매출액 구간 바 차트
══════════════════════════════════════ */

/* 수수료 셀 패딩 조정 */
.pt-cell--fee {
  padding: 20px 24px;
  gap: 0;
}

/* 상단 안내 */
.fee-intro {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.fee-intro__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  background: var(--mint-50);
  border: 1.5px solid var(--mint-200);
  border-radius: var(--r-full);
  font-size: .76rem;
  font-weight: 700;
  color: var(--mint-700);
}
.fee-intro__vat {
  font-size: .75rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ── 결제수단별 수수료 목록 ── */
.fee-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* 각 항목 행 */
.fee-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--mint-50);
  border: 1px solid var(--mint-100);
  border-radius: var(--r-md);
  transition: background .18s ease, border-color .18s ease;
}
.fee-detail-item:hover {
  background: var(--mint-100);
  border-color: var(--mint-200);
}

/* 좌측 아이콘 배지 */
.fee-detail-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--mint-600);
  font-size: .95rem;
  border: 1.5px solid var(--mint-200);
  box-shadow: 0 2px 6px rgba(245,158,11,.12);
}
/* "PG" 항목은 아이콘 대신 글자를 넣어 카테고리 라벨로 표시 */
.fee-detail-item__icon--pg {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .01em;
}

/* 텍스트 + 수수료 태그 */
.fee-detail-item__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.fee-detail-item__label {
  font-size: .89rem;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: -0.01em;
  word-break: keep-all;
  line-height: 1.4;
}

/* 우측 수수료 태그 */
.fee-detail-item__rate {
  flex-shrink: 0;
  margin-left: auto;
  font-size: .92rem;
  font-weight: 900;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
  border-radius: var(--r-full);
  padding: 4px 14px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245,158,11,.28);
}
/* "무료" — 골드 채움으로 가장 눈에 띄게 강조 */
.fee-detail-item__rate--free {
  color: #6b4a00;
  background: linear-gradient(135deg, #ffe27a, #ffc93c);
  box-shadow: 0 2px 8px rgba(255, 201, 60, .35);
}
.fee-detail-item__rate--free::before {
  content: '\2713';
  margin-right: 4px;
  font-weight: 900;
}

/* 강조 수치 */
.pt-highlight {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--mint-600);
  letter-spacing: -0.02em;
}
/* 강조 수치 내 보조 설명 텍스트 (예: "(일부업종 제외)") — 본문보다 작게 */
.pt-highlight__sub {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: normal;
  margin-left: 2px;
}

/* 비고 셀 */
.pt-cell--note {
  font-size: .8rem;
  color: var(--gray-500);
  align-items: flex-start;
}
.pt-cell--note-box {
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  background: rgba(245,158,11,0.03);
}
.pt-cell--note-box p {
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* 하단 안내 */
.pricing-notice {
  display: block;
  padding: 14px 20px;
  background: var(--mint-50);
  border: 1px solid var(--mint-100);
  border-radius: 10px;
  font-size: .84rem;
  color: var(--gray-500);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.pricing-notice i {
  display: inline;
  color: var(--mint-500);
  font-size: .9rem;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.pricing-notice span {
  display: inline;
}
.pricing-notice a {
  color: var(--mint-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 반응형 ── */
@media (max-width: 860px) {
  .pt-row {
    grid-template-columns: 120px 1fr;
  }
  .pt-cell--note { display: none; }
  .fee-detail-item {
    padding: 10px 12px;
    gap: 10px;
  }
  .fee-detail-item__label { font-size: .85rem; }
  .fee-detail-item__rate { font-size: .88rem; padding: 4px 12px; }
}
@media (max-width: 600px) {
  .pt-row {
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--gray-200);
  }
  .pt-cell--label {
    background: rgba(245,158,11,0.07);
    border-bottom: 1px solid var(--gray-100);
  }
  .pt-cell + .pt-cell { border-left: none; border-top: 1px solid var(--gray-100); }
  .fee-detail-item {
    flex-wrap: wrap;
    padding: 10px 12px;
  }
  .fee-detail-item__text {
    flex: 1 1 100%;
  }
  .fee-detail-item__rate {
    margin-left: 0;
  }
}

/* ============================================================
   TESTIMONIALS — 실제 판매자 후기
   ============================================================ */
.testimonials-section {
  padding: var(--space-section) 0;
  background: var(--white);
}

/* ── 스포트라이트 슬라이더 — 한 번에 1개씩 크게 보여주는 구조 ── */
.testi-slider {
  max-width: 680px;
  margin: 0 auto;
}
.testi-track {
  position: relative;
  min-height: 300px;
}

/* ── 슬라이드(= 기존 카드 스타일 재사용) ── */
.testi-slide {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 36px 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity .5s ease, transform .5s ease;
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(14px);
  pointer-events: none;
}
/* 슬라이드 상단 민트 라인 */
.testi-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mint-400), var(--mint-600));
}
.testi-slide--active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  box-shadow: 0 12px 40px rgba(245,158,11,.12);
}

/* ── 카드 상단 행 (업종 + 별점) ── */
.testi-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* 업종 뱃지 */
.testi-industry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 6px;
  border-radius: var(--r-full);
  background: var(--mint-50);
  border: 1px solid var(--mint-100);
}
.testi-industry__icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mint-500);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  flex-shrink: 0;
}
.testi-industry__name {
  font-size: .74rem;
  font-weight: 700;
  color: var(--mint-700);
  white-space: nowrap;
}

/* 별점 */
.testi-stars {
  font-size: .88rem;
  color: #f59e0b;
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* ── 인용문 ── */
.testi-quote {
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.82;
  word-break: keep-all;
  position: relative;
}
.testi-quote__mark {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 2.8rem;
  line-height: .5;
  color: var(--mint-200);
  font-weight: 900;
  vertical-align: -0.5rem;
  margin-right: 2px;
  user-select: none;
}

/* ── 작성자 ── */
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.testi-author__info strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: 2px;
}
.testi-author__info span {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── 아바타 ── */
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0;
}
/* 3가지 그라데이션 색상 (후기 카드 3개: 후원단체/청소방역/SNS판매) */
.testi-avatar--1 { background: linear-gradient(135deg, var(--mint-500), var(--mint-700)); }
.testi-avatar--2 { background: linear-gradient(135deg, #0891b2, #0e7490); }
.testi-avatar--3 { background: linear-gradient(135deg, #ec4899, #be185d); }

/* 업종 아이콘 색상도 아바타와 맞춤 */
.testi-slide[data-idx="0"] .testi-industry__icon { background: var(--mint-500); }
.testi-slide[data-idx="1"] .testi-industry__icon { background: #0891b2; }
.testi-slide[data-idx="2"] .testi-industry__icon { background: #ec4899; }

/* ── 슬라이더 하단 컨트롤 (이전/다음 + dots) ── */
.testi-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
.testi-slider__arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.testi-slider__arrow:hover {
  border-color: var(--mint-500);
  color: var(--mint-600);
  background: var(--mint-50);
  transform: scale(1.08);
}
.testi-slider__dots { display: flex; align-items: center; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.testi-dot--active {
  background: var(--mint-500);
  width: 24px;
  border-radius: var(--r-full);
  box-shadow: 0 0 8px rgba(245,158,11,.45);
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .testi-slider { max-width: 600px; }
}
@media (max-width: 600px) {
  .testimonials-section { padding: 64px 0; }
  .testi-track { min-height: 360px; }
  .testi-slide { padding: 26px 20px 22px; }
  .testi-industry__name { display: none; }   /* 모바일: 아이콘만 */
  .testi-industry { padding: 4px 8px 4px 6px; }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--space-section) 0;
  /* 딥 앰버-브라운 그라디언트 (망고 블랙 톤) */
  background: linear-gradient(145deg, #1f1400 0%, #3d2900 60%, #805500 100%);
  position: relative; overflow: hidden; text-align: center;
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape { position: absolute; border-radius: 50%; }
.cta-shape-1 {
  width: 480px; height: 480px; background: rgba(245,158,11,.08);
  top: -200px; right: -100px;
  animation: driftShape 14s ease-in-out infinite;
}
.cta-shape-2 {
  width: 320px; height: 320px; background: rgba(245,158,11,.06);
  bottom: -140px; left: -80px;
  animation: driftShape 10s ease-in-out infinite reverse;
}
.cta-content { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }

.cta-badge {
  display: inline-block;
  background: rgba(245,158,11,.15);
  color: rgba(255,255,255,.90);
  border: 1px solid rgba(245,158,11,.30);
  border-radius: var(--r-sm);
  padding: 7px 18px; font-size: .82rem; font-weight: 600;
  margin-bottom: 22px;
}

.cta-title {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800; color: var(--white);
  line-height: 1.28; letter-spacing: -.4px; margin-bottom: 18px;
}
/* CTA 강조 텍스트: 밝은 민트 */
.cta-highlight {
  color: var(--mint-400);
  background: none; -webkit-text-fill-color: var(--mint-400);
}
.cta-desc { font-size: 1.02rem; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 36px; }

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

/* CTA 버튼: 민트 그라디언트 → 흰 텍스트 (링크 없는 안내용 — 클릭 불가) */
.cta-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint-500); color: var(--white);
  padding: 14px 32px; border-radius: var(--r-sm);
  font-weight: 800; font-size: .97rem;
  box-shadow: 0 6px 22px rgba(245,158,11,.35);
  cursor: default;
}

.cta-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff;
  color: #D97706;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .97rem;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: var(--transition);
}
.cta-btn-secondary:hover {
  background: #D97706;
  border-color: #D97706;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.38);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-50);
  color: var(--text-body);
  padding: 48px 0 0;
  border-top: 1px solid var(--gray-200);
  overflow-x: hidden;
}

/* ── 상단: 로고 + 버튼 ── */
.footer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo__img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245,158,11,.35);
  flex-shrink: 0;
}

.footer-logo__text {
  font-family: 'Gugi', var(--font);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--mint-600);
  line-height: 1.2;
  background: none;
  -webkit-text-fill-color: var(--mint-600);
}

/* 태그라인 */
.footer-tagline {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* ── 신규가입문의 강조 배너 ── */
.footer-signup-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, var(--mint-600), var(--mint-500));
  border-radius: var(--r-md, 14px);
  padding: 16px 22px;
  margin-bottom: 24px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(217,119,6,.28);
  transition: transform .18s, box-shadow .18s;
}
.footer-signup-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217,119,6,.36);
}
.footer-signup-banner__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.15rem;
  animation: footerPhoneRing 2.2s ease-in-out infinite;
}
.footer-signup-banner__text {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-signup-banner__label {
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}
.footer-signup-banner__number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-signup-banner__arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  transition: transform .18s;
}
.footer-signup-banner:hover .footer-signup-banner__arrow { transform: translateX(4px); }

@keyframes footerPhoneRing {
  0%, 100% { transform: rotate(0deg); }
  10%      { transform: rotate(-14deg); }
  20%      { transform: rotate(11deg); }
  30%      { transform: rotate(-8deg); }
  40%      { transform: rotate(5deg); }
  50%      { transform: rotate(0deg); }
}

/* 구분선 */
.footer-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0 0 28px;
}

/* ── 사업자 정보 블록 ── */
.footer-biz-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-biz-name {
  font-size: .92rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 6px;
}

.footer-biz-info {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* ── 하단: copyright + 약관 ── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  font-size: .75rem;
  color: var(--text-light);
}

.footer-copyright { margin: 0; }

.footer-policy-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-policy-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .75rem;
  transition: color .15s;
}
.footer-policy-links a:hover { color: var(--mint-600); }
.footer-policy-sep { color: var(--gray-300); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ── 히어로 반응형 — 새 디자인 (hero__stage / hero__top 기반) ── */
/* 세부 반응형은 HERO 블록 내부 @media에서 이미 처리됨 */

/* ── 기타 섹션 반응형 ── */
@media (max-width: 1024px) {
  .why-grid                { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  /* 모바일 전용 스와이프 힌트 노출 */
  .mo-only { display: inline-flex; }

  /* ── 가로 스와이프 캐러셀 공통 패턴 ──
     왜 페이대장 6개 카드가 모바일에서 가로 스크롤 스냅으로 바뀝니다.
     (실제 판매자 후기는 testi-slider 자체 슬라이더로 전환되어 제외) */
  .why-grid {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 4px 12px;
    margin: 0 -4px;
    scrollbar-width: none;
  }
  .why-grid::-webkit-scrollbar { display: none; }

  .why-card {
    flex: 0 0 74%;
    scroll-snap-align: center;
  }

  /* 결제수단 칩 나열 — 모바일은 가로 스크롤 대신 자연스럽게 줄바꿈 */
  .pay-chip-row { gap: 10px; }
  .pay-chip { padding: 10px 18px 10px 10px; }
  .pay-chip__icon { width: 42px; height: 42px; font-size: 1rem; }
  .pay-chip__text strong { font-size: .88rem; }
  .pay-chip__text span { font-size: .72rem; white-space: normal; }

  .features-overview,
  .why-section,
  .testimonials-section,
  .cta-section { padding: var(--space-section-sm) 0; }

  .footer-head       { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom     { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-biz-info   { word-break: break-all; overflow-wrap: anywhere; font-size: .74rem; }

  .footer-signup-banner        { padding: 14px 16px; gap: 10px; }
  .footer-signup-banner__icon  { width: 40px; height: 40px; font-size: 1rem; }
  .footer-signup-banner__number { font-size: 1.25rem; }
  .footer-signup-banner__text  { gap: 6px; }

  .cta-actions       { flex-direction: column; align-items: center; }
  .cta-btn-primary,
  .cta-btn-secondary { width: 100%; max-width: 300px; justify-content: center; }

}

@media (max-width: 480px) {
  /* .hero__inner는 .container를 상속하므로 좌우 패딩만 덮어써서
     상하 padding(히어로 상단 여백)이 0으로 초기화되지 않도록 함 */
  .container         { padding-left: 20px; padding-right: 20px; }
  .nav-container     { padding: 0 20px; }
  .footer-biz-info   { font-size: .72rem; line-height: 1.75; }
  .hero__btn { width: 100%; max-width: 290px; justify-content: center; }
  /* 왜 페이대장 카드도 480px 이하에서 폭 넓게 */
  .why-card {
    flex: 0 0 80%;
  }
  /* 실제 판매자 후기 슬라이더 — 480px 이하 여백 축소 */
  .testi-slide { padding: 22px 16px 18px; }
}

/* ============================================================
   QUICK MENU — 우측 고정 퀵메뉴 위젯
   ============================================================ */
.quick-menu {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 132px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  box-shadow: 0 10px 30px rgba(13,33,55,.14);
  overflow: hidden;
  z-index: 500;
}
.quick-menu__title {
  margin: 0;
  padding: 13px 0;
  text-align: center;
  background: var(--ink-900);
  color: var(--white);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.quick-menu__list { margin: 0; padding: 0; list-style: none; }
.quick-menu__item + .quick-menu__item { border-top: 1px solid var(--gray-200); }

.quick-menu__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 14px;
  text-decoration: none;
  color: var(--ink-900);
  text-align: center;
  transition: background .15s;
}
.quick-menu__link:hover { background: var(--gray-50); }

.quick-menu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--white);
  box-shadow: 0 2px 6px rgba(13,33,55,.18);
}
.quick-menu__icon--signup  { background: var(--mint-500); }
.quick-menu__icon--youtube { background: #ff0000; }
.quick-menu__icon--blog    { background: #03c75a; font-size: .78rem; font-weight: 800; letter-spacing: -.02em; }
.quick-menu__icon--phone   { background: var(--ink-900); }
.quick-menu__icon--phone2  { background: var(--mint-600); }

.quick-menu__label {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: keep-all;
  color: var(--ink-900);
  letter-spacing: -.01em;
}

/* 화면 폭이 넓지 않으면 히어로 우측 플로팅 카드(.hero__float--tr/--br)와 겹쳐
   텍스트가 잘려 보이는 문제가 있어, 두 요소가 절대 겹치지 않는 폭(1680px)부터만 노출 */
@media (max-width: 1679px) {
  .quick-menu { display: none; }
}
