/* ==========================================================================
   간다GO 컴포넌트 스타일 — 토큰(tokens.css) 위에 올라가는 오버레이
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; }
a { color: var(--c-accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: var(--lh-tight); margin: 0 0 var(--sp-4); }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--sp-4); color: var(--c-text-sub); }
ul, ol { color: var(--c-text-sub); padding-left: 1.3em; margin: 0 0 var(--sp-4); }
li { margin-bottom: var(--sp-2); }
.container { max-width: var(--w-content); margin: 0 auto; padding: 0 var(--sp-5); }
.narrow { max-width: var(--w-narrow); }
.section { padding: var(--sp-8) 0; }
.section--tint { background: var(--c-bg-deep); }
.section-head { text-align: center; margin-bottom: var(--sp-6); }
.section-head p { color: var(--c-text-muted); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-accent); color: var(--c-text-on-accent); padding: var(--sp-3);
}
.skip-link:focus { left: 0; }

/* --- 헤더 --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 13, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: var(--sp-4);
}
.brand { display: flex; align-items: baseline; gap: var(--sp-2); font-weight: 800; font-size: 1.25rem; color: var(--c-text); }
.brand:hover { text-decoration: none; }
.brand__go { color: var(--c-accent); }
.brand__tag { font-size: 0.72rem; font-weight: 500; color: var(--c-text-muted); }
.gnb { display: flex; align-items: center; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.gnb a {
  display: block; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm);
  color: var(--c-text-sub); font-size: var(--fs-small); font-weight: 600; white-space: nowrap;
}
.gnb a:hover, .gnb a[aria-current="page"] { color: var(--c-text); background: var(--c-surface-2); text-decoration: none; }
.header-call {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--grad-accent); color: var(--c-text-on-accent);
  font-weight: 700; font-size: var(--fs-small);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-pill);
  box-shadow: var(--shadow-accent); white-space: nowrap;
}
.header-call:hover { text-decoration: none; filter: brightness(1.06); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--c-border-strong);
  color: var(--c-text); border-radius: var(--r-sm); padding: var(--sp-2) var(--sp-3);
  font-size: 1.1rem; cursor: pointer;
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .gnb {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-bg-deep); border-bottom: 1px solid var(--c-border);
    padding: var(--sp-3) var(--sp-5) var(--sp-5); max-height: 70vh; overflow-y: auto;
  }
  .gnb.is-open { display: flex; }
  .gnb a { padding: var(--sp-3); }
  .header-call { display: none; }
}

/* --- 히어로 -------------------------------------------------------------- */
.hero {
  padding: var(--sp-9) 0 var(--sp-8);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(255, 122, 28, 0.16), transparent 65%),
    radial-gradient(700px 380px at 10% 110%, rgba(43, 88, 160, 0.25), transparent 60%),
    var(--c-bg-deep);
  text-align: center;
}
.hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.hero p { max-width: 720px; margin: 0 auto var(--sp-6); color: var(--c-text-sub); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* --- 버튼 --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--r-pill);
  font-weight: 700; font-size: var(--fs-small); border: 1px solid transparent;
  cursor: pointer; transition: filter 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn--accent { background: var(--grad-accent); color: var(--c-text-on-accent); box-shadow: var(--shadow-accent); }
.btn--ghost { border-color: var(--c-border-strong); color: var(--c-text); background: transparent; }
.btn--ghost:hover { background: var(--c-surface-2); }
.btn--outline-accent { border-color: var(--c-accent-line); color: var(--c-accent-2); background: var(--c-accent-soft); }

/* --- 카드 그리드 ---------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--sp-4); padding: 0; margin: 0; list-style: none; }
.card-grid--chips { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.card {
  display: block; background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: var(--sp-5); color: var(--c-text);
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--c-accent-line); text-decoration: none; transform: translateY(-2px); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { margin: 0; font-size: var(--fs-small); color: var(--c-text-muted); }
.chip {
  display: block; text-align: center; background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-sm); padding: var(--sp-3); color: var(--c-text-sub);
  font-size: var(--fs-small); font-weight: 600;
}
.chip:hover { border-color: var(--c-accent-line); color: var(--c-text); text-decoration: none; }

/* --- 요금 --------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-5); max-width: 980px; margin: 0 auto; }
.price-card {
  position: relative; text-align: center;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: var(--sp-7) var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-card);
}
.price-card--featured { border: 2px solid var(--c-accent); }
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-accent); color: var(--c-text-on-accent);
  font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: var(--r-pill);
}
.price-card__name { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--sp-4); }
.price-card__price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.5px; }
.price-card__price small { font-size: 0.9rem; font-weight: 500; color: var(--c-text-muted); margin-left: 2px; }
.price-card__time { color: var(--c-accent); font-weight: 700; font-size: var(--fs-small); margin: var(--sp-3) 0 var(--sp-2); }
.price-card__desc { color: var(--c-text-sub); font-size: var(--fs-small); margin-bottom: var(--sp-5); }
.pricing-note { text-align: center; margin-top: var(--sp-6); color: var(--c-text-sub); font-size: var(--fs-small); }
.pricing-note a { font-weight: 700; }

/* --- 본문 아티클 ---------------------------------------------------------- */
.article { max-width: var(--w-narrow); margin: 0 auto; }
.article h2 {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
}
.article h2:first-of-type { margin-top: var(--sp-6); }
.breadcrumb { font-size: var(--fs-small); color: var(--c-text-muted); margin-bottom: var(--sp-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '›'; margin-right: var(--sp-2); color: var(--c-text-muted); }
.breadcrumb a { color: var(--c-text-muted); }
.lead { font-size: 1.06rem; color: var(--c-text-sub); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.6em; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--c-accent); font-weight: 800; }
.notice-box {
  background: var(--c-accent-soft); border: 1px solid var(--c-accent-line);
  border-radius: var(--r-md); padding: var(--sp-5); margin: var(--sp-5) 0;
}
.notice-box strong { color: var(--c-accent-2); }
.notice-box p:last-child { margin-bottom: 0; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); margin-bottom: var(--sp-3); padding: var(--sp-4) var(--sp-5); }
.faq-item h3 { font-size: 1rem; margin-bottom: var(--sp-2); color: var(--c-text); }
.faq-item h3::before { content: 'Q. '; color: var(--c-accent); }
.faq-item p { margin: 0; font-size: var(--fs-small); }
.whw { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: var(--sp-5) 0; }
.whw > div { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-5); }
.whw h3 { color: var(--c-accent-2); font-size: 0.95rem; }
.whw p { font-size: var(--fs-small); margin: 0; }
.link-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.link-list a { font-weight: 600; }
.link-list a::before { content: '→ '; color: var(--c-accent); }

/* --- 푸터 --------------------------------------------------------------- */
.site-footer { background: var(--c-bg-deep); border-top: 1px solid var(--c-border); padding: var(--sp-8) 0 var(--sp-6); margin-top: var(--sp-8); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-6); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 0.95rem; color: var(--c-text); margin-bottom: var(--sp-3); }
.site-footer p, .site-footer li { font-size: var(--fs-small); color: var(--c-text-muted); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer a { color: var(--c-text-sub); }
.footer-phone { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: 1.3rem; font-weight: 800; color: var(--c-accent-2) !important; }
.footer-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.btn--telegram {
  background: var(--grad-accent); color: var(--c-text-on-accent);
  box-shadow: var(--shadow-accent);
}
.btn--telegram-outline { border-color: var(--c-accent); color: var(--c-accent-2); background: var(--c-accent-soft); }
.site-footer__legal {
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-border);
  font-size: 0.8rem; color: var(--c-text-muted); text-align: center;
}
.site-footer__legal p { font-size: 0.8rem; margin-bottom: var(--sp-2); }

/* --- 플로팅 전화 버튼 (전 페이지·오렌지·애니메이션) ------------------------------- */
.floating-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-accent); color: #fff;
  box-shadow: var(--shadow-accent);
  animation: call-ring 2.4s ease-in-out infinite;
}
.floating-call:hover { text-decoration: none; filter: brightness(1.08); }
.floating-call svg { width: 28px; height: 28px; fill: #fff; }
.floating-call::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--c-accent);
  animation: call-pulse 2.4s ease-out infinite;
}
@keyframes call-ring {
  0%, 100% { transform: rotate(0); }
  4% { transform: rotate(-14deg); }
  8% { transform: rotate(12deg); }
  12% { transform: rotate(-10deg); }
  16% { transform: rotate(8deg); }
  20% { transform: rotate(-4deg); }
  24% { transform: rotate(0); }
}
@keyframes call-pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-call, .floating-call::after { animation: none; }
}
