/* Novexa 서비스 푸터 — 페이지 전역 스타일과 격리 (#site-business-footer) */
#site-business-footer.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 56px 0 0;
  padding: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 48%, #eef2f7 100%);
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: left;
}

#site-business-footer .site-footer__divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 191, 255, 0.35) 20%,
    rgba(64, 224, 208, 0.45) 50%,
    rgba(0, 191, 255, 0.35) 80%,
    transparent 100%
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

#site-business-footer .site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 28px;
  box-sizing: border-box;
}

#site-business-footer .site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(280px, 1.15fr);
  gap: 32px 40px;
  align-items: start;
}

#site-business-footer .site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

#site-business-footer .site-footer__logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #00bfff;
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.2s ease, opacity 0.2s ease;
}

#site-business-footer .site-footer__logo:hover {
  color: #0099cc;
  opacity: 0.92;
}

#site-business-footer .site-footer__logo-beta {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0369a1;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border: 1px solid rgba(0, 191, 255, 0.25);
  border-radius: 6px;
  vertical-align: middle;
}

#site-business-footer .site-footer__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #0f766e;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
}

#site-business-footer .site-footer__tagline {
  margin: 4px 0 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.65;
  color: #64748b;
}

#site-business-footer .site-footer__tagline strong {
  color: #334155;
  font-weight: 600;
}

#site-business-footer .site-footer__pwa-hint {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #0369a1;
  text-align: left;
  background: rgba(0, 191, 255, 0.08);
  border: none;
  border-left: 3px solid #00bfff;
  border-radius: 0 8px 8px 0;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

#site-business-footer .site-footer__pwa-hint:hover {
  background: rgba(0, 191, 255, 0.14);
  color: #0284c7;
}

#site-business-footer .site-footer__pwa-hint:focus-visible {
  outline: 2px solid #00bfff;
  outline-offset: 2px;
}

#site-business-footer .site-footer__pwa-hint[hidden] {
  display: none !important;
}

#site-business-footer .site-footer__nav-title,
#site-business-footer .site-footer__biz-title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

#site-business-footer .site-footer__nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#site-business-footer .site-footer__nav-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-business-footer .site-footer__nav-list a,
#site-business-footer .site-footer__link-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

#site-business-footer .site-footer__nav-list a:hover,
#site-business-footer .site-footer__link-btn:hover {
  color: #00bfff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#site-business-footer .site-footer__nav-list a:focus-visible,
#site-business-footer .site-footer__link-btn:focus-visible {
  outline: 2px solid #00bfff;
  outline-offset: 2px;
  border-radius: 2px;
}

#site-business-footer .site-footer__biz {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(8px);
}

#site-business-footer .site-footer__biz-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#site-business-footer .site-footer__biz-row {
  display: grid;
  grid-template-columns: minmax(88px, 108px) minmax(0, 1fr);
  gap: 8px 12px;
  align-items: baseline;
  margin: 0;
  padding: 0;
}

#site-business-footer .site-footer__biz-row dt {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

#site-business-footer .site-footer__biz-row dd {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

#site-business-footer .site-footer__biz-row dd a {
  white-space: nowrap;
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

#site-business-footer .site-footer__biz-row dd a:hover {
  color: #00bfff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#site-business-footer .site-footer__bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(203, 213, 225, 0.65);
  text-align: center;
}

#site-business-footer .site-footer__copy {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

#site-business-footer .site-footer__beta-note {
  margin: 0;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}

body:has(#compare-dock) #site-business-footer.site-footer {
  margin-bottom: 84px;
}

.site-footer-terms-modal.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.site-footer-terms-modal.modal-overlay.show {
  display: flex;
}

.site-footer-terms-modal .modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.site-footer-terms-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.site-footer-terms-modal .modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.site-footer-terms-modal .modal-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 4px 8px;
}

.site-footer-terms-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #e5e7eb;
}

#terms-detail-modal.site-footer-terms-modal #terms-detail-agree {
  display: none !important;
}

.site-footer-terms-modal .modal-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
}

.site-footer-terms-modal .modal-btn-primary {
  background: #00bfff;
  border-color: #00bfff;
  color: #fff;
}

@media (max-width: 900px) {
  #site-business-footer .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  #site-business-footer .site-footer__brand {
    grid-column: 1 / -1;
  }

  #site-business-footer .site-footer__biz {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  #site-business-footer.site-footer {
    margin-top: 40px;
  }

  #site-business-footer .site-footer__inner {
    padding: 28px 16px 24px;
  }

  #site-business-footer .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #site-business-footer .site-footer__tagline,
  #site-business-footer .site-footer__pwa-hint {
    max-width: none;
  }

  #site-business-footer .site-footer__biz-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  #site-business-footer .site-footer__biz-row dt {
    font-size: 11px;
  }

  #site-business-footer .site-footer__biz-row dd a {
    white-space: normal;
  }
}
