/* ============================================================
   el_unified — XE 업그레이드(홈페이지 업그레이드 전문) 서비스 페이지
   문1 "제작 의뢰" 산하 서비스. ?v=xeupgrade 프리뷰.

   출처 카피: templates/layouts/xeupgrade/pages/landing.html (Tailwind 원본)
   여기서는 Tailwind 없이 el_unified 순수 CSS(--e-* 토큰)로 재구현.

   색상 매핑:
     #111111        → var(--e-night)
     #E8E8E8        → var(--e-line)
     #F7F7F7        → var(--e-paper)
     #666/#888/#555 → var(--e-muted)
     #AAA           → var(--e-faint)
     카카오 노랑(#FEE500)/hover(#F0D800)은 브랜드 색상이라 리터럴 유지.

   FAQ는 el_unified catalog.css의 .un-faq-item/-q/-a 구조를 그대로 재사용하되,
   이 페이지 섹션 배경이 --e-paper 라서(원본과 동일) 카드가 배경에 묻히지 않도록
   .xu-faq-wrap 스코프 안에서만 카드 배경을 --e-white 로 보정한다.

   프리픽스: xu- (xeupgrade)
   ============================================================ */

.xu-page { color: var(--e-ink); }
.xu-page a { text-decoration: none; color: inherit; }

/* 고정 헤더에 앵커 타깃이 가리지 않도록 스크롤 여유 확보 */
.xu-page section[id] { scroll-margin-top: calc(var(--un-header-h) + 20px); }

/* ── 섹션 공통 ── */
.xu-section { padding: 80px 0; }
@media (min-width: 768px) { .xu-section { padding: 112px 0; } }
.xu-section--dark  { background: var(--e-night); color: #fff; }
.xu-section--light { background: var(--e-white); border-bottom: 1px solid var(--e-line); }
.xu-section--paper { background: var(--e-paper); }

.xu-head { margin-bottom: 56px; }
.xu-eyebrow {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--e-muted); margin-bottom: 20px;
}
.xu-eyebrow--wide { margin-bottom: 32px; }
.xu-h2 {
  font-family: var(--e-font-display); font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(30px, 4vw, 42px); line-height: 1.25; margin: 0;
}
.xu-head-note { margin: 16px 0 0; max-width: 448px; font-size: 15px; line-height: 1.6; color: var(--e-muted); }

/* ── 버튼 ── */
.xu-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border-radius: var(--e-radius); font-size: 15px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: background-color var(--e-dur-fast) var(--e-ease),
              border-color var(--e-dur-fast) var(--e-ease),
              color var(--e-dur-fast) var(--e-ease);
}
.xu-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.xu-btn-sm { padding: 12px 24px; font-size: 14px; }
.xu-btn-sm svg { width: 16px; height: 16px; }
.xu-btn-kakao { background: #FEE500; color: #111; }
.xu-btn-kakao:hover { background: #F0D800; }
.xu-btn-outline {
  border-color: rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .78);
}
.xu-btn-outline:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }

/* ── 히어로 ── */
.xu-hero { padding: 80px 0 96px; }
@media (min-width: 768px) { .xu-hero { padding: 112px 0 128px; } }
.xu-hero-inner { max-width: 700px; }
.xu-hero-title {
  font-family: var(--e-font-display); font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(44px, 8vw, 72px); line-height: 1.05; margin: 0 0 32px;
}
.xu-hero-sub { font-size: clamp(16px, 2vw, 18px); line-height: 1.7; color: var(--e-faint); max-width: 500px; margin: 0 0 40px; }
.xu-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.xu-hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 40px 0 0; padding: 0;
  list-style: none; font-size: 13px; color: var(--e-muted);
}

/* ── 문제 공감 / 사례 / 프로세스 / 가격 : 헤어라인 그리드 ── */
.xu-hairgrid { display: grid; gap: 1px; background: var(--e-line); border: 1px solid var(--e-line); }
.xu-hairgrid--dark { background: var(--e-night-soft); border: 0; }

.xu-cols-problems { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .xu-cols-problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .xu-cols-problems { grid-template-columns: repeat(3, 1fr); } }

.xu-cols-cases { grid-template-columns: 1fr; }
@media (min-width: 640px) { .xu-cols-cases { grid-template-columns: repeat(2, 1fr); } }

.xu-cols-process { grid-template-columns: 1fr; }
@media (min-width: 768px) { .xu-cols-process { grid-template-columns: repeat(5, 1fr); } }

.xu-cols-reviews { grid-template-columns: 1fr; }
@media (min-width: 768px) { .xu-cols-reviews { grid-template-columns: repeat(3, 1fr); } }

.xu-cols-pricing { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .xu-cols-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .xu-cols-pricing { grid-template-columns: repeat(4, 1fr); } }

/* 셀 배경/패딩 (섹션별로 원본 padding 값이 달라 개별 지정) */
.xu-cell-problems { background: var(--e-white); padding: 28px; }
@media (min-width: 768px) { .xu-cell-problems { padding: 36px; } }

.xu-cell-cases { background: var(--e-white); padding: 32px; }
@media (min-width: 768px) { .xu-cell-cases { padding: 40px; } }

.xu-cell-process { background: var(--e-white); padding: 28px; }

.xu-cell-review { background: var(--e-night); padding: 32px; }
@media (min-width: 768px) { .xu-cell-review { padding: 40px; } }

.xu-cell-price { background: var(--e-white); padding: 32px; }

.xu-num { font-family: var(--e-font-display); font-weight: 900; font-size: 28px; line-height: 1; color: var(--e-line); margin: 0 0 16px; }
.xu-num--lg { font-size: 32px; margin-bottom: 20px; }
.xu-cell-title { font-weight: 700; font-size: 16px; color: var(--e-ink); margin: 0 0 8px; }
.xu-cell-desc { font-size: 14px; line-height: 1.6; color: var(--e-muted); margin: 0; }

.xu-foot-note { margin-top: 40px; font-size: 15px; color: var(--e-muted); }
.xu-foot-note strong { color: var(--e-ink); font-weight: 700; }

/* ── 솔루션 비교 ── */
.xu-solutions { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .xu-solutions { grid-template-columns: repeat(3, 1fr); } }

.xu-plan { background: var(--e-white); border: 1px solid var(--e-line); padding: 32px; position: relative; }
.xu-plan--dark { background: var(--e-night); border-color: var(--e-night); color: #fff; }

.xu-plan-badge {
  position: absolute; top: 20px; right: 20px; background: #FEE500; color: #111;
  font-size: 10px; font-weight: 900; padding: 4px 10px; border-radius: var(--e-radius-full);
}
.xu-plan-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--e-muted); margin-bottom: 24px; }
.xu-plan--dark .xu-plan-eyebrow { color: var(--e-faint); }
.xu-plan-name { font-family: var(--e-font-display); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; margin: 0 0 4px; }
.xu-plan-sub { font-size: 13px; color: var(--e-muted); margin: 0 0 24px; }
.xu-plan--dark .xu-plan-sub { color: var(--e-faint); }
.xu-plan-desc { font-size: 14px; line-height: 1.6; color: var(--e-muted); margin: 0 0 28px; }
.xu-plan--dark .xu-plan-desc { color: var(--e-faint); }

.xu-plan-list { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.xu-plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--e-muted); }
.xu-plan--dark .xu-plan-list li { color: var(--e-faint); }
.xu-plan-check {
  flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%;
  background: var(--e-night); color: #fff; font-size: 9px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.xu-plan--dark .xu-plan-check { background: #FEE500; color: #111; }

.xu-plan-foot { border-top: 1px solid var(--e-line); padding-top: 24px; }
.xu-plan--dark .xu-plan-foot { border-top-color: var(--e-night-soft); }
.xu-plan-foot-label { font-size: 12px; color: var(--e-faint); margin: 0 0 4px; }
.xu-plan-price { font-family: var(--e-font-display); font-weight: 900; font-size: 28px; margin: 0; }

.xu-solutions-note { margin-top: 20px; font-size: 12px; color: var(--e-faint); }

/* ── 전환 사례 ── */
.xu-cases-grid { margin-bottom: 32px; }
.xu-case-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--e-muted); margin-bottom: 20px; }
.xu-case-name { font-family: var(--e-font-display); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 4px; }
.xu-case-url { font-size: 12px; color: var(--e-faint); margin: 0 0 16px; }
.xu-case-desc { font-size: 14px; line-height: 1.6; color: var(--e-muted); margin: 0; }

/* ── 하이라이트 박스(사례 CTA / 가격 CTA 공용) ── */
.xu-highlight {
  background: var(--e-paper); border: 1px solid var(--e-line); padding: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
}
@media (min-width: 768px) { .xu-highlight { flex-direction: row; align-items: center; padding: 40px; } }
.xu-highlight-body { flex: 1; }
.xu-highlight-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--e-muted); margin-bottom: 12px; }
.xu-highlight-title { font-family: var(--e-font-display); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px; }
.xu-highlight-title--sm { font-family: inherit; font-weight: 700; font-size: 17px; }
.xu-highlight-desc { font-size: 14px; line-height: 1.6; color: var(--e-muted); margin: 0; }

/* ── 고객 후기 ── */
.xu-stars { display: flex; gap: 2px; margin: 0 0 24px; }
.xu-stars svg { width: 14px; height: 14px; color: #FEE500; }
.xu-quote { font-size: 14px; line-height: 1.8; color: var(--e-faint); margin: 0 0 32px; }
.xu-review-foot { border-top: 1px solid var(--e-night-soft); padding-top: 24px; }
.xu-review-name { font-weight: 700; color: #fff; font-size: 14px; margin: 0; }
.xu-review-role { color: var(--e-muted); font-size: 12px; margin: 4px 0 0; }

/* ── 가격 안내 ── */
.xu-price-label { font-size: 12px; color: var(--e-faint); font-weight: 500; margin: 0 0 20px; }
.xu-price-value { font-family: var(--e-font-display); font-weight: 900; font-size: 36px; line-height: 1; margin: 0 0 4px; }
.xu-price-unit { font-size: 18px; font-weight: 700; color: var(--e-faint); margin-left: 4px; }
.xu-price-desc { font-size: 13px; color: var(--e-muted); margin: 16px 0 20px; }
.xu-price-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.xu-price-tag { font-size: 11px; font-weight: 700; border: 1px solid var(--e-line); color: var(--e-muted); padding: 2px 8px; }

/* ── FAQ (un-faq-* 재사용 + 이 페이지 전용 카드 배경 보정) ── */
.xu-faq-wrap { max-width: 720px; margin: 0 auto; }
.xu-faq-wrap .un-faq-item { background: var(--e-white); border: 1px solid var(--e-line); }

/* ── 최종 CTA ── */
.xu-contact-inner { max-width: 600px; }
.xu-contact-title {
  font-family: var(--e-font-display); font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(40px, 6vw, 60px); line-height: 1.05; margin: 0 0 32px;
}
.xu-contact-desc { font-size: 15px; line-height: 1.6; color: var(--e-muted); max-width: 420px; margin: 0 0 40px; }
.xu-contact-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.xu-contact-note { margin-top: 32px; font-size: 13px; color: var(--e-faint); }
