/* ==========================================================================
   스픽(Speak) 파트너 구구 스타일시트 (style.css)
   - Pretendard 폰트 기반
   - 모바일 퍼스트 반응형 레이아웃
   - 스픽 브랜드 시그니처 컬러 (#1C49FF, #FE4104)
   ========================================================================== */

:root {
  --primary: #2554d7;
  --primary-hover: #1e44c2;
  --primary-light: #f0f4ff;
  --secondary: #d9481a;
  --secondary-hover: #b83a12;
  --secondary-light: #fdf5f2;
  --dark: #0f172a;
  --gray-900: #1e293b;
  --gray-800: #334155;
  --gray-700: #475569;
  --gray-600: #64748b;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --green: #059669;
  --green-light: #ecfdf5;
  --yellow: #d97706;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  color: var(--gray-900);
  background-color: var(--gray-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  font-size: 16px;
  overflow-x: hidden;
  /* 플로팅 하단 CTA 바 + 홈 인디케이터 여백 */
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 키보드 접근성: 마우스 클릭에는 링이 생기지 않고 Tab 이동 시에만 표시 */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(37, 84, 215, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 400px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   0. 제휴(어필리에이트) 고지 바
   ========================================================================== */
.affiliate-disclosure {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 12.5px;
  line-height: 1.5;
  z-index: 102;
  position: relative;
}

.affiliate-disclosure .container {
  padding-top: 9px;
  padding-bottom: 9px;
  text-align: center;
}

.affiliate-disclosure p {
  max-width: 860px;
  margin: 0 auto;
  text-wrap: pretty;
}

.affiliate-disclosure strong {
  color: var(--gray-800);
  font-weight: 700;
}

.disclosure-icon {
  color: var(--gray-400);
  margin-right: 3px;
}

@media (max-width: 560px) {
  .affiliate-disclosure {
    font-size: 11.5px;
  }
  .affiliate-disclosure .container {
    text-align: left;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   1. 상단 바 (Top Announcement Bar)
   ========================================================================== */
.top-banner {
  background: var(--dark);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 101;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  text-wrap: balance;
}

@media (max-width: 560px) {
  .top-banner {
    font-size: 12.5px;
    line-height: 1.55;
  }
}

.top-banner strong {
  color: #f59e0b;
}

.top-banner .banner-note {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   2. GNB 네비게이션
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}

/* 로고 · 메뉴 · CTA 1행 구조.
   메뉴가 들어갈 폭이 부족해지면(1120px 이하) 메뉴만 전용 행으로 내려간다. */
.nav-container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  row-gap: 0;
  min-height: 66px;
}

.nav-container > nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-container > nav::-webkit-scrollbar {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--dark);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-brand-title {
  font-size: 19px;
  font-weight: 850;
  color: var(--dark);
  letter-spacing: -0.4px;
}

.logo-badge {
  white-space: nowrap;
  background: var(--primary);
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 17px;
  list-style: none;
}

.nav-link {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  transition: color 0.2s;
  padding: 8px 4px;
}

.nav-link:hover {
  color: var(--primary);
}

.header-cta-btn {
  background: var(--primary);
  color: white;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(37, 84, 215, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.header-cta-btn--lg {
  padding: 14px 28px;
  font-size: 16px;
  /* 좁은 화면에서 긴 한글 라벨이 컨테이너를 밀어내지 않도록 줄바꿈 허용 */
  white-space: normal;
  max-width: 100%;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   3. Hero 섹션
   ========================================================================== */
.hero-section {
  padding: 56px 0 48px;
  text-align: center;
  background: radial-gradient(circle at 50% -10%, rgba(37, 84, 215, 0.04) 0%, rgba(248, 250, 252, 0) 70%);
}

.freshness-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.freshness-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #2554d7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* 듀얼 CTA 카드 그리드 */
.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: left;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-card.popular {
  border: 2px solid var(--primary);
  background: var(--white);
}

.ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--secondary);
  color: white;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(217, 72, 26, 0.25);
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13.5px;
  color: var(--gray-600);
  margin-bottom: 18px;
  min-height: 38px;
}

.card-price-box {
  background: var(--gray-100);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.hero-card.popular .card-price-box {
  background: var(--primary-light);
}

.price-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.badge-discount {
  background: var(--secondary);
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.price-original {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-main {
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
}

.price-main small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: -0.2px;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  color: white;
  transition: all 0.2s;
  text-align: center;
  margin-top: auto;
}

.btn-cta-primary {
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 84, 215, 0.25);
}

.btn-cta-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 18px rgba(37, 84, 215, 0.35);
}

.btn-cta-secondary {
  background: var(--gray-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta-secondary:hover {
  background: #000000;
}

.btn-cta-sm {
  padding: 10px 14px;
  font-size: 13px;
}

/* 카드 하단 보조 문구 */
.card-note {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 14px;
  padding: 8px 0;
}

.card-note--accent {
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13.5px;
  color: var(--gray-600);
  margin-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.trust-item .icon {
  color: var(--green);
}

/* ==========================================================================
   4. 섹션 공통 스타일
   ========================================================================== */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--gray-200);
  scroll-margin-top: 116px; /* 2행 스티키 헤더에 앵커가 가리지 않도록 */
}

/* Hero 바로 아래에 붙는 섹션 — 경계선 없이 자연스럽게 이어짐 */
.section--flush-top {
  padding-top: 20px;
  border-top: none;
}

.section-cta {
  text-align: center;
}

.section-title-wrap {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15.5px;
  color: var(--gray-600);
}

/* ==========================================================================
   5. 멤버십 요금제 정밀 비교 (#plans)
   ========================================================================== */
.pricing-table-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 32px;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.col-label { width: 34%; }
.col-plan  { width: 33%; }

.t-primary   { color: var(--primary); }
.t-secondary { color: var(--secondary); }
.t-lg        { font-size: 17px; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14.5px;
}

.pricing-table thead th {
  background: var(--gray-100);
  font-weight: 800;
  color: var(--dark);
  font-size: 15px;
}

.pricing-table thead th.highlight {
  background: var(--primary-light);
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.pricing-table tbody td.highlight {
  background: #f8fafc;
  font-weight: 600;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.check {
  color: var(--green);
  font-weight: 800;
}

.cross {
  color: var(--gray-400);
}

/* 표 안의 CTA 버튼은 셀 안에서만 늘어나도록 */
.pricing-table .btn-cta {
  margin-top: 0;
}

/* ==========================================================================
   6. 수수료 30% 절약 결제 꿀팁 박스 (#payment-tip)
   ========================================================================== */
.tip-alert-box {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 40px;
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tip-badge {
  background: var(--secondary);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.tip-title {
  font-size: 19px;
  font-weight: 800;
  color: #9a3412;
}

.tip-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tip-list li {
  font-size: 15px;
  color: #7c2d12;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.tip-list li strong {
  color: #431407;
}

/* ==========================================================================
   7. 5단계 할인 적용 가이드 (#discount)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ==========================================================================
   8. 스픽 핵심 기능 쇼케이스
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   9. 실제 내돈내산 후기 & 평점 (#reviews)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reviewer-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--dark);
}

.review-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.review-content {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ==========================================================================
   10. 환불 및 구독 취소 안심 가이드 (#refund)
   ========================================================================== */
.refund-guide-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.refund-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.timeline-item {
  display: flex;
  gap: 16px;
}

.timeline-marker {
  font-size: 13px;
  font-weight: 800;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  height: fit-content;
  white-space: nowrap;
}

.timeline-body h4,
.timeline-body h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-body p {
  font-size: 14px;
  color: var(--gray-600);
}

/* ==========================================================================
   11. 자주 묻는 질문 FAQ 아코디언 (#faq)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
}

.faq-icon {
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.65;
  border-top: 1px dashed var(--gray-200);
  padding-top: 14px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   12. 모바일 하단 플로팅 CTA 바 (Mobile Sticky)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 22, 36, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  gap: 12px;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-title,
.sticky-tag {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-tag {
  color: #f59e0b;
  font-size: 11px;
  font-weight: 700;
}

.sticky-title {
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.sticky-btn {
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(37, 84, 215, 0.28);
  white-space: nowrap;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 84, 215, 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(37, 84, 215, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 84, 215, 0);
  }
}

/* ==========================================================================
   13. 푸터 (Footer)
   ========================================================================== */
.site-footer {
  background: #0d101d;
  color: #8b92a7;
  padding: 48px 0 60px;
  font-size: 13px;
  line-height: 1.6;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}

.footer-nav a {
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: white;
}

.site-footer :focus-visible {
  outline-color: #ffffff;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
  color: #636b82;
  font-size: 12px;
}

/* ==========================================================================
   14. 반응형 미디어 쿼리
   ========================================================================== */
/* 1행 수용 폭 미달: 메뉴만 전용 행으로 내리고 좌측 정렬로 이어붙인다 */
@media (max-width: 1120px) {
  .nav-container {
    gap: 12px;
    padding-top: 10px;
  }

  .nav-container > nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
  }

  .nav-menu {
    gap: 16px;
    padding-bottom: 9px;
  }

  .logo {
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .logo-img {
    width: 30px;
    height: 30px;
  }
  .logo-brand-title {
    font-size: 16px;
  }
  .logo {
    font-size: 18px;
  }

  .header-cta-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-section {
    padding: 40px 0 32px;
  }

  .hero-cards-grid {
    gap: 16px;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-trust-bar {
    gap: 10px 20px;
    font-size: 13px;
  }

  .section {
    padding: 52px 0;
  }

  .section-title-wrap {
    margin-bottom: 32px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .tip-alert-box,
  .refund-guide-box {
    padding: 22px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* 좁은 화면: 헤더 CTA 문구가 로고를 밀어내지 않도록 */
@media (max-width: 420px) {
  .header-cta-btn span:first-child {
    font-size: 12.5px;
  }

  .hero-card {
    padding: 20px 18px;
  }

  .price-main {
    font-size: 21px;
  }

  .sticky-btn {
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* ==========================================================================
   13. 멀티페이지 전환 (2026-09) — 서브페이지 공통 컴포넌트
   ========================================================================== */

/* --- GNB 현재 위치 표시 ------------------------------------------------- */
.nav-link.is-active {
  color: var(--primary);
  font-weight: 800;
}

.nav-link.is-active::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  margin-top: 4px;
}

/* --- 체크/엑스 글리프 --------------------------------------------------- */
.check::before {
  content: "✓ ";
  font-weight: 900;
}

.cross::before {
  content: "✕ ";
  font-weight: 900;
}

/* --- 서브페이지 상단 타이틀 블록 ---------------------------------------- */
.page-hero {
  padding: 40px 0 44px;
  background: radial-gradient(circle at 50% -20%, rgba(37, 84, 215, 0.04) 0%, rgba(248, 250, 252, 0) 72%);
  text-align: center;
}

.breadcrumb {
  margin-bottom: 18px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
  font-size: 13px;
  color: var(--gray-600);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-600);
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--gray-900);
  font-weight: 700;
}

.page-title {
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.page-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16.5px;
  color: var(--gray-700);
  line-height: 1.75;
}

.page-hero-cta {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.page-hero-note {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
}

/* 본문 요약 카드 — head 의 og:image 와 같은 그림.
   네이버가 본문 이미지에서 썸네일을 고르는 경우가 있어 본문에도 같이 싣습니다. */
.page-hero-figure {
  max-width: 620px;
  margin: 30px auto 0;
}

.page-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.page-hero-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--gray-600);
  font-weight: 600;
}

/* 본문 삽입형 고화질 비주얼 카드 (네이버 1:1 멀티 썸네일 색인 및 가독성 최적화) */
.content-thumb-figure {
  max-width: 580px;
  margin: 32px auto;
  text-align: center;
}

.content-thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-thumb-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.content-thumb-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.content-thumb-caption::before {
  content: "💡";
  font-size: 14px;
}

@media (max-width: 640px) {
  .content-thumb-figure {
    max-width: 100%;
    margin: 24px 0;
  }
}

/* --- 섹션 변형 ----------------------------------------------------------- */
.section--tint {
  background: var(--gray-100);
}

.section-title-wrap--left {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.btn-link {
  display: inline-block;
  font-weight: 800;
  font-size: 15px;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.btn-link:hover {
  border-bottom-color: var(--primary);
}

.price-strike {
  color: var(--gray-400);
  text-decoration: line-through;
}

/* --- 본문 텍스트 --------------------------------------------------------- */
.prose {
  max-width: 780px;
  margin-top: 26px;
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.85;
}

.prose p + p {
  margin-top: 14px;
}

.prose a,
.notice-box a,
.faq-answer a,
.feature-block a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- 안내 박스 ----------------------------------------------------------- */
.notice-box {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.8;
}

.notice-box--info {
  border-left: 5px solid var(--primary);
  background: var(--primary-light);
  border-color: rgba(37, 84, 215, 0.16);
}

.notice-box--warn {
  border-left: 5px solid var(--secondary);
  background: var(--secondary-light);
  border-color: rgba(217, 72, 26, 0.16);
}

.notice-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.notice-box ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.notice-box li + li {
  margin-top: 6px;
}

.formula {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px dashed var(--gray-400);
  font-weight: 800;
  color: var(--dark);
}

/* --- 번호 매긴 단계 목록 ------------------------------------------------- */
.ordered-steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 14px;
}

.ordered-steps > li {
  counter-increment: step;
  position: relative;
  padding: 18px 22px 18px 62px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.ordered-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ordered-steps > li > strong {
  display: block;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 4px;
}

.ordered-steps > li > p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- 2열 비교 카드 ------------------------------------------------------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.compare-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.compare-card--good {
  border: 2px solid var(--primary);
  background: var(--white);
}

.compare-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--white);
  margin-bottom: 12px;
}

.compare-tag--muted {
  background: var(--gray-200);
  color: var(--gray-700);
}

.compare-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.compare-desc {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.compare-list {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  color: var(--gray-700);
}

/* --- 요금제 카드 --------------------------------------------------------- */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: start;
}

.plan-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-md);
}

.plan-card--popular {
  border: 2px solid var(--primary);
  background: var(--white);
}

.plan-card-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.plan-card-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
}

.plan-card-price span {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-600);
}

.plan-card-desc {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--gray-600);
}

.plan-card-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
  font-size: 15px;
  color: var(--gray-700);
}

.plan-card-list .is-limited {
  color: var(--gray-600);
}

.plan-card-for {
  font-size: 14px;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  line-height: 1.65;
}

/* --- 긴 설명형 블록 ------------------------------------------------------ */
.feature-blocks {
  display: grid;
  gap: 20px;
}

.feature-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.8;
}

.feature-block-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-block-sub {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin: 22px 0 8px;
}

.feature-block-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
  font-size: 14.5px;
  font-weight: 700;
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  font-size: 15px;
}

/* --- 연관 콘텐츠 --------------------------------------------------------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.related-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.related-body {
  display: block;
  flex: 1;
  min-width: 0;
}

.related-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 3px;
}

.related-desc {
  display: block;
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

.related-arrow {
  flex-shrink: 0;
  color: var(--primary);
  font-weight: 800;
}

/* --- 기타 --------------------------------------------------------------- */
.steps-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tip-more {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
  font-size: 14.5px;
  color: var(--gray-700);
}

.tip-more a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 28px 0 34px;
  }

  .page-hero-figure {
    margin-top: 22px;
  }

  .page-lead {
    font-size: 15.5px;
  }

  .notice-box,
  .feature-block {
    padding: 20px;
  }

  .plan-card {
    padding: 24px 20px;
  }

  .ordered-steps > li {
    padding: 16px 18px 16px 56px;
  }

  .ordered-steps > li::before {
    left: 16px;
  }

  .prose {
    font-size: 15.5px;
  }
}

/* --- 한시 캠페인 알림 바 (캠페인 기간에만 렌더됨) ------------------------ */
.campaign-bar {
  background: linear-gradient(90deg, var(--secondary) 0%, #ea580c 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 11px 0;
  text-wrap: balance;
  box-shadow: 0 2px 8px rgba(217, 72, 26, 0.2);
}

.campaign-bar strong {
  font-weight: 800;
}

@media (max-width: 560px) {
  .campaign-bar {
    font-size: 12.5px;
    padding: 9px 0;
  }
}

/* --- 후기 카드 (구글플레이 실제 리뷰 발췌) ------------------------------ */
/* 개별 리뷰의 별점은 알 수 없으므로 표기하지 않는다. 집계 평점만 섹션
   상단에 출처·확인 시점과 함께 노출한다. */
.review-date {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-400);
}

.review-tag--critical {
  background: var(--secondary-light);
  color: var(--secondary);
}

.review-followup {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-200);
  font-size: 13.5px;
  color: var(--gray-600);
}

.review-followup a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-source {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--gray-600);
}

.reviews-source a {
  display: inline-block;
  margin-top: 6px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- 본문 중 리뷰 인용 (figure/blockquote) ------------------------------ */
.review-quote {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--white);
  border-left: 4px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

.review-quote blockquote {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--gray-700);
}

.review-quote figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 600;
}

.review-quote figcaption a {
  color: var(--gray-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   네이버 AI 브리핑 타깃 요약 테이블 & 1:1 정사각 멀티 썸네일 스타일
   ========================================================================== */

.ai-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.ai-summary-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.ai-summary-table th {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.ai-summary-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.6;
}

.ai-summary-table tbody tr:last-child td {
  border-bottom: none;
}

.ai-summary-table tbody tr.row-highlight {
  background: #faf8f5;
  border-left: 3px solid #d97706;
}

.ai-summary-table tbody tr.row-highlight td {
  color: #1e293b;
  font-weight: 600;
}

.ai-summary-table del {
  color: #94a3b8;
  margin-right: 6px;
}

.ai-summary-table .text-amber {
  color: #b45309;
  font-size: 16.5px;
  font-weight: 800;
}

/* 1:1 정사각 썸네일 그리드 레이아웃 */
.grid-with-thumb {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .grid-with-thumb {
    grid-template-columns: 1fr;
  }
}

.square-thumb-figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.square-thumb-figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}

.square-thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.square-thumb-figure figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--gray-600);
  font-weight: 600;
  text-align: center;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

/* 3단계 스텝 가이드 */
.steps-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #334155;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* 주의사항 3가지 카드 그리드 */
.caution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 800px) {
  .caution-grid {
    grid-template-columns: 1fr;
  }
}

.caution-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid #d97706;
}

.caution-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.caution-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.caution-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.65;
}

.pricing-bullet-list {
  list-style: none;
  margin-top: 18px;
  padding-left: 0;
}

.pricing-bullet-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.6;
}

.pricing-bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

