/* ============================================================
   메인 스타일시트
   ============================================================ */

/* --- 리셋 & 기본 ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
a { text-decoration: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* 폼 요소는 font-family를 상속하지 않는다 — 지정하지 않으면 브라우저 기본 폰트로
   그려진다(실측: Arial). 그래서 신청·결제 화면의 카드 안에서 라벨은 Pretendard,
   입력칸과 버튼은 Arial로 두 폰트가 섞여 있었다.
   ⚠️ font-family만 상속시킨다. font-size까지 상속시키면(font:inherit) 인라인으로
   크기를 지정하지 않은 폼 요소가 body의 16px를 받아 각 화면의 크기 위계가 깨진다.
   ⚠️ admin.html은 자체적으로 font:inherit를 쓰고 있어 여기에 영향받지 않는다. */
input, textarea, select, button { font-family: inherit; }

/* --- 공통 컨테이너 ---------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 섹션 레이블 (소제목 위 태그) ------------------------ */
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-soft);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-mute);
  transition: color 0.15s;
}

.nav__link:hover { color: var(--color-text); }

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-primary);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.nav__cta:hover { background: var(--color-primary-deep); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--color-bg-dark);
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 207, 142, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 207, 142, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(62, 207, 142, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero__content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(62, 207, 142, 0.3);
  background: rgba(62, 207, 142, 0.07);
  margin-bottom: 36px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.hero__badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.3px;
}

.hero__title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  word-break: keep-all;
}

.hero__title-accent { color: var(--color-primary); }

.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.78;
  max-width: 580px;
  margin: 0 auto 44px;
  word-break: keep-all;
}

.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero__trust-item {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ============================================================
   공통 버튼
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.2px;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text);
}
.btn--primary:hover { background: var(--color-primary-deep); }

.btn--outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--outline-light:hover { border-color: rgba(255, 255, 255, 0.36); }

.btn--kakao {
  background: #FAE100;
  color: var(--color-text);
}
.btn--kakao:hover { background: #e6cf00; }

/* ============================================================
   PROBLEM
   ============================================================ */
.section-problem {
  background: var(--color-bg);
  padding: var(--section-py) 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.problem__card {
  padding: 28px 28px 28px 30px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
}

.problem__card p {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.65;
  word-break: keep-all;
}

.problem__card strong {
  font-weight: 700;
  color: #111;
}

/* ============================================================
   SERVICE INTRO
   ============================================================ */
.section-about {
  background: var(--color-bg-soft);
  padding: var(--section-py) 24px;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px;
  align-items: center;
}

.about__text h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.28;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  word-break: keep-all;
}

.about__text p {
  font-size: 16px;
  color: var(--color-text-mute);
  line-height: 1.8;
  word-break: keep-all;
  margin-bottom: 20px;
}

.about__text strong {
  color: var(--color-text);
  font-weight: 600;
}

/* 대시보드 목업 */
.dashboard-mock {
  background: var(--color-bg-dark);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.dashboard-mock__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-mock__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.dashboard-mock__title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.dashboard-mock__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-mock__stat {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
}

.dashboard-mock__stat-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.dashboard-mock__stat-value {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.dashboard-mock__stat-value--green { color: var(--color-primary); }

.dashboard-mock__kpi {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 10px;
}

.dashboard-mock__kpi-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dashboard-mock__kpi-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.dashboard-mock__kpi-value {
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 700;
}

.dashboard-mock__bar-bg {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.dashboard-mock__bar-fill {
  height: 5px;
  background: var(--color-primary);
  border-radius: 3px;
}

.dashboard-mock__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dashboard-mock__data-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
}

.dashboard-mock__data-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 5px;
}

.dashboard-mock__data-value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* ============================================================
   FEATURES
   ============================================================ */
.section-features {
  background: var(--color-bg);
  padding: var(--section-py) 24px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 26px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(62, 207, 142, 0.3);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(62, 207, 142, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 5px;
}

.feature-card__desc {
  font-size: 13px;
  color: var(--color-text-mute);
  line-height: 1.55;
}

/* ============================================================
   PRICING
   ============================================================ */
.section-pricing {
  background: var(--color-bg-soft);
  padding: var(--section-py) 24px;
  border-top: 1px solid var(--color-border-soft);
}

.pricing__card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.pricing__amount {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

.pricing__number {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing__unit {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  padding-bottom: 10px;
}

.pricing__cycle {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing__includes {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 36px;
}

.pricing__include-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing__include-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.pricing__cta {
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.2px;
  transition: background 0.15s;
}

.pricing__cta:hover { background: var(--color-primary-deep); }

.pricing__notice {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* ============================================================
   WHY
   ============================================================ */
.section-why {
  background: var(--color-bg-dark);
  padding: var(--section-py) 24px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px;
  align-items: start;
}

.why__left h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.28;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  word-break: keep-all;
}

.why__left p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  word-break: keep-all;
  margin-bottom: 20px;
}

.why__left strong {
  color: #ffffff;
  font-weight: 600;
}

.why__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 44px;
}

.why__card {
  background: rgba(62, 207, 142, 0.07);
  border: 1px solid rgba(62, 207, 142, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
}

.why__card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.why__card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  word-break: keep-all;
}

/* ============================================================
   PROCESS
   ============================================================ */
.section-process {
  background: var(--color-bg);
  padding: var(--section-py) 24px;
  border-bottom: 1px solid var(--color-border-soft);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.process__step {
  text-align: center;
  padding: 12px 8px;
}

.process__step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process__step-num--dark {
  background: var(--color-bg-dark);
  color: #ffffff;
}

.process__step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  word-break: keep-all;
}

.process__step-desc {
  font-size: 12px;
  color: var(--color-text-faint);
  line-height: 1.55;
  word-break: keep-all;
}

/* ============================================================
   TERMS
   ============================================================ */
.section-terms {
  background: var(--color-bg-soft);
  padding: 64px 24px;
  border-bottom: 1px solid var(--color-border-soft);
}

.terms__inner {
  max-width: 800px;
  margin: 0 auto;
}

.terms__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.terms__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terms__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.terms__bullet {
  flex-shrink: 0;
  color: #c7c7c7;
  font-size: 13px;
  line-height: 1.6;
}

.terms__text {
  font-size: 13px;
  color: var(--color-text-mute);
  line-height: 1.65;
}

/* ============================================================
   CTA (하단)
   ============================================================ */
.section-cta {
  background: var(--color-bg-dark);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.section-cta__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 207, 142, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 207, 142, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.section-cta__content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-cta h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.32;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  word-break: keep-all;
}

.section-cta__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.section-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-darker);
  padding: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__brand {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.18);
}

/* ============================================================
   v2 — 버튼 hover 인터랙션 (인라인 스타일 오버라이드)
   ============================================================ */
a[href="#cta-section"][style*="background:#3ecf8e"]:hover,
a[href*="#"][style*="background:#3ecf8e"]:hover {
  background: #43d693 !important;
}
a[style*="background:rgba(255,255,255,0.1)"]:hover {
  background: rgba(255,255,255,0.15) !important;
}
a[style*="background:#FAE100"]:hover {
  background: #ffd600 !important;
}
nav a[style*="color:#707070"]:hover {
  color: #171717 !important;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* ── Keyframes ── */
@keyframes anim-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes anim-slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes anim-scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes anim-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* ── 스크롤 트리거: is-revealed 전까지 숨김 ── */
[data-anim] {
  opacity: 0;
  will-change: opacity, transform;
}
[data-anim="slide-up"]       { transform: translateY(30px); }
[data-anim="slide-up-focus"] { transform: translateY(52px); }
[data-anim="scale-in"]       { transform: scale(0.9); }

/* ── 뷰포트 진입 후 애니메이션 (JS가 is-revealed 클래스 추가) ── */
[data-anim].is-revealed[data-anim="fade-in"] {
  animation: anim-fade-in 0.65s ease both;
}
[data-anim].is-revealed[data-anim="slide-up"] {
  animation: anim-slide-up 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-anim].is-revealed[data-anim="scale-in"] {
  animation: anim-scale-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ── 집중형 슬라이드업 (Q 카드 전용 — 크고 느리고 overshoot) ── */
@keyframes anim-slide-up-focus {
  0%   { opacity: 0; transform: translateY(52px); }
  55%  { opacity: 1; transform: translateY(-6px); }
  80%  { transform: translateY(2px); }
  100% { opacity: 1; transform: translateY(0); }
}
[data-anim].is-revealed[data-anim="slide-up-focus"] {
  animation: anim-slide-up-focus 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── 히어로: 페이지 로드 즉시 실행 ── */
.hero-anim-badge { animation: anim-fade-in  0.6s ease 0.1s both; }
.hero-anim-title { animation: anim-slide-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.hero-anim-sub   { animation: anim-slide-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both; }
.hero-anim-price { animation: anim-scale-in 0.5s  cubic-bezier(0.34, 1.56, 0.64, 1) 0.58s both; }
.hero-anim-ctas  { animation: anim-fade-in  0.65s ease 0.72s both; }
.hero-anim-trust { animation: anim-fade-in  0.65s ease 0.88s both; }

/* ── Floating 대시보드 (연속 반복) ── */
.anim-float {
  animation: anim-float 5s ease-in-out infinite;
}

/* ── Slide Right ── */
@keyframes anim-slide-right {
  from { opacity: 0; transform: translateX(44px); }
  to   { opacity: 1; transform: translateX(0); }
}
[data-anim="slide-right"] { transform: translateX(44px); }
[data-anim].is-revealed[data-anim="slide-right"] {
  animation: anim-slide-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ============================================================
   NAV ADAPTIVE THEME
   섹션 배경에 따라 nav 색상 자동 전환
   ============================================================ */
nav {
  transition: background 0.45s ease, border-color 0.45s ease;
}
nav img {
  transition: filter 0.45s ease;
}
[data-nav-link] {
  transition: color 0.35s ease;
}

/* 다크 섹션 위 (is-dark 클래스 JS가 토글) */
nav.is-dark {
  background: rgba(255, 255, 255, 0.07) !important;
  border-bottom-color: transparent !important;
}
nav.is-dark img {
  filter: invert(1) hue-rotate(180deg) saturate(3);
}
nav.is-dark [data-nav-link] {
  color: rgba(255, 255, 255, 0.72) !important;
}
nav.is-dark [data-nav-link]:hover {
  color: #ffffff !important;
}

/* ── CTA Hierarchy ──────────────────────────────────────────
   헤더의 "서비스 이용하기"는 항상 접근 가능한 보조 진입점일 뿐,
   페이지의 주인공인 Hero Primary CTA와 같은 무게로 경쟁해선 안 된다.
   → 투명 배경 + 얇은 테두리로 절제하고, hover에서만 브랜드 컬러가 드러나게 한다. */
.nav-cta-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #707070;
  font-weight: 500;
  display: inline-block;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta-btn:hover {
  color: #1a9462;
  border-color: rgba(26, 148, 98, 0.4);
  background: rgba(62, 207, 142, 0.06);
}
nav.is-dark .nav-cta-btn {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.75);
}
nav.is-dark .nav-cta-btn:hover {
  color: #3ecf8e;
  border-color: rgba(62, 207, 142, 0.5);
  background: rgba(62, 207, 142, 0.08);
}

/* 강조형(Primary-look) 헤더 CTA — pricing/faq/device-guide처럼 페이지에 별도의
   강력한 Hero Primary CTA가 없어서, 헤더 버튼 자체가 실질적 전환 버튼 역할을 하는 페이지용.
   채워진 배경이라 위 절제된 기본 상태를 덮어써야 하므로 클래스를 따로 둔다(inline 색상 제거하고
   여기서 상태 전체를 관리 — hover 시 배경이 어두워지고 살짝 떠오르며 그림자가 붙는다). */
.nav-cta-btn.is-strong {
  background: #3ecf8e;
  border: none;
  color: #171717;
  font-weight: 600;
}
.nav-cta-btn.is-strong:hover {
  background: #24b47e;
  color: #171717;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(62, 207, 142, 0.38);
}

/* ── 설명형 텍스트 가독성 유틸 (2026-08-04) ─────────────────────────────
   안내 문장의 줄바꿈을 '카드 너비'가 아니라 '읽는 사람'에게 맞추기 위한 것.
   내용을 바꾸지 않고 배치만 손볼 때 쓴다. 쓰는 쪽에서 골라 붙인다.

   · .txt-pretty   본문 문단(3줄 이상 갈 수 있는 것).
                   어절 묶음을 살리고 마지막 줄에 한 마디만 남는 것을 막는다.
   · .txt-balance  제목·짧은 안내(2줄 이하, 대개 가운데 정렬).
                   줄 길이를 고르게 맞춰 한 덩어리로 보이게 한다.
   · .txt-flow     문단(<p>) 사이 간격. 줄간격보다 눈에 띄게 넓어야
                   '다음 이야기'로 읽힌다.

   ⚠️ 본문에 .txt-balance를 쓰지 말 것. 줄 길이를 맞추려다 어절 묶음을 끊는다 —
      390px 실측: balance는 "설비 데이터가 저희 / 쪽으로", pretty는
      "설비 데이터가 저희 쪽으로 /" 로 갈렸다(order-status.html에서 확인).
   ⚠️ word-break:keep-all을 함께 두는 이유는 한국어 어절이 글자 단위로 잘리지
      않게 하기 위해서다. 둘 중 하나만 있으면 효과가 반쪽이 된다. */
.txt-pretty  { word-break: keep-all; text-wrap: pretty; }
.txt-balance { word-break: keep-all; text-wrap: balance; }
.txt-flow > p { margin: 0; }
.txt-flow > p + p { margin-top: 11px; }
