/* =============================================
   클릭샘 고객센터 (Help Center)
   · 워드프레스 테마 스타일 완전 차단 (#ce-wrap 스코프)
   · 홈/가이드와 동일한 디자인 토큰 사용
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');

:root {
  --p:      #00BFA5;
  --p-d:    #00A896;
  --p-l:    #E0F5F2;
  --p-xl:   #F0FEFA;
  --navy:   #0F172A;
  --slate:  #475569;
  --body:   #334155;
  --muted:  #64748B;
  --border: #E2E8F0;
  --bg:     #F8FAFC;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
}

#ce-wrap {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
  background: #fff;
  font-size: 16px;
}
#ce-wrap *, #ce-wrap *::before, #ce-wrap *::after { box-sizing: border-box; }
#ce-wrap h1, #ce-wrap h2, #ce-wrap h3, #ce-wrap h4 { margin: 0; font-weight: 900; }
#ce-wrap p { margin: 0; }
#ce-wrap ul { margin: 0; padding: 0; list-style: none; }
#ce-wrap a { text-decoration: none; color: inherit; }
#ce-wrap button { font-family: inherit; cursor: pointer; }

/* ── 상단 헤더 ── */
.ce-top {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.ce-top-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; gap: 18px;
}
.ce-logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.15rem; color: var(--navy); }
.ce-logo img { height: 28px; width: auto; }
.ce-nav { margin-left: 12px; display: flex; gap: 22px; }
#ce-wrap .ce-nav a { font-size: .92rem; font-weight: 600; color: var(--slate); }
#ce-wrap .ce-nav a:hover { color: var(--p-d); }
#ce-wrap .ce-nav a.active { color: var(--navy); font-weight: 800; }
.ce-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#ce-wrap .ce-btn-ghost {
  padding: 9px 16px; border-radius: 8px; font-size: .88rem; font-weight: 700;
  color: var(--p-d); border: 1px solid var(--p); background: #fff;
}
#ce-wrap .ce-btn-ghost:hover { background: var(--p-xl); }
#ce-wrap .ce-btn-fill {
  padding: 9px 18px; border-radius: 8px; font-size: .88rem; font-weight: 700;
  color: #fff; background: var(--p); border: 1px solid var(--p);
}
#ce-wrap .ce-btn-fill:hover { background: var(--p-d); }

/* ── 히어로 ── */
.ce-hero { text-align: center; padding: 56px 24px 40px; }
.ce-hero-icon { font-size: 3.4rem; line-height: 1; margin-bottom: 14px; }
.ce-hero h1 { font-size: 1.9rem; color: var(--navy); letter-spacing: -.5px; }
.ce-hero p { color: var(--muted); margin-top: 10px; font-size: .98rem; }

/* ── 자주 묻는 질문 밴드 ── */
.ce-faqband { background: var(--slate); padding: 36px 0 40px; }
.ce-faqband h2 { color: #fff; text-align: center; font-size: 1.3rem; margin-bottom: 22px; }
.ce-chips {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 14px; overflow-x: auto; scrollbar-width: thin;
}
.ce-chip {
  flex: 0 0 220px; background: #fff; border-radius: 14px; padding: 18px;
  text-align: left; border: none; box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .15s;
}
.ce-chip:hover { transform: translateY(-3px); }
.ce-chip .tag {
  display: inline-block; font-size: .72rem; font-weight: 800; color: var(--p-d);
  background: var(--p-l); border-radius: 6px; padding: 3px 9px; margin-bottom: 10px;
}
.ce-chip .q { font-size: .95rem; font-weight: 600; color: var(--navy); line-height: 1.45; }

/* ── 탭 ── */
.ce-tabs-wrap { border-bottom: 1px solid var(--border); position: sticky; top: 66px; background: #fff; z-index: 800; }
.ce-tabs { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; gap: 6px; overflow-x: auto; }
.ce-tab {
  padding: 18px 16px; font-size: .96rem; font-weight: 700; color: var(--muted);
  background: none; border: none; border-bottom: 3px solid transparent; white-space: nowrap;
}
.ce-tab:hover { color: var(--navy); }
.ce-tab.active { color: var(--navy); border-bottom-color: var(--navy); }

/* ── FAQ 아코디언 ── */
.ce-faqs { max-width: 1120px; margin: 0 auto; padding: 12px 24px 72px; }
.ce-panel { display: none; }
.ce-panel.active { display: block; }
.ce-item { border-bottom: 1px solid var(--border); }
.ce-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 40px 22px 4px; font-size: 1rem; font-weight: 600; color: var(--navy);
  position: relative; line-height: 1.5;
}
.ce-q::after {
  content: '⌄'; position: absolute; right: 8px; top: 50%; transform: translateY(-60%);
  color: var(--muted); font-size: 1.2rem; transition: transform .2s;
}
.ce-item.open .ce-q::after { transform: translateY(-30%) rotate(180deg); }
.ce-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.ce-a-inner { padding: 0 40px 22px 4px; color: var(--slate); font-size: .94rem; line-height: 1.8; }
.ce-a-inner ul { margin: 8px 0 0; }
.ce-a-inner li { position: relative; padding-left: 16px; margin-bottom: 5px; }
.ce-a-inner li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--p); }

/* ── 더 궁금한 점 ── */
.ce-more { background: var(--bg); padding: 60px 24px; }
.ce-more h2 { text-align: center; font-size: 1.4rem; color: var(--navy); margin-bottom: 30px; }
.ce-more-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ce-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: transform .15s, box-shadow .15s; display: block;
}
.ce-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--p); }
.ce-card .ic { font-size: 2rem; margin-bottom: 12px; }
.ce-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.ce-card p { font-size: .86rem; color: var(--muted); }

/* ── 앱 다운로드 ── */
.ce-app { background: linear-gradient(135deg, var(--p) 0%, var(--p-d) 100%); color: #fff; padding: 56px 24px; text-align: center; }
.ce-app h2 { font-size: 1.5rem; margin-bottom: 8px; }
.ce-app p { opacity: .92; margin-bottom: 22px; }
.ce-app-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#ce-wrap .ce-store {
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px;
  border-radius: 10px; background: rgba(255,255,255,.16); color: #fff; font-weight: 700;
  border: 1px solid rgba(255,255,255,.35);
}
#ce-wrap .ce-store:hover { background: rgba(255,255,255,.28); }

/* ── 푸터 ── */
.ce-footer { background: var(--navy); color: #94A3B8; padding: 30px 0; font-size: .85rem; }
.ce-footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ce-footer b { color: #fff; }
#ce-wrap .ce-footer a { color: #CBD5E1; margin-left: 14px; }
#ce-wrap .ce-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .ce-more-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 640px) {
  .ce-nav, .ce-top-right .ce-btn-ghost { display: none; }
  .ce-hero h1 { font-size: 1.5rem; }
  .ce-tabs-wrap { top: 66px; }
}
