/* ===== CI 가이드 페이지 ===== */
.ci-hero {
  background: var(--navy);
  padding: 100px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ci-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(226,106,43,0.15) 0%, transparent 70%);
}
.ci-hero-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.ci-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px; font-weight: 800;
  color: var(--white); margin-bottom: 16px;
}
.ci-hero p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto; line-height: 1.7; }

.ci-section { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }
.ci-section + .ci-section { border-top: 1px solid var(--gray-100); }

.logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.logo-card { border: 1px solid var(--gray-100); border-radius: 16px; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.logo-card.dark { background: var(--navy); border-color: var(--navy); }
.logo-card.light { background: var(--gray-50); }
.logo-card-label { font-size: 12px; font-weight: 500; color: var(--gray-400); letter-spacing: 1px; text-transform: uppercase; }
.logo-card.dark .logo-card-label { color: rgba(255,255,255,0.4); }

.color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.color-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--gray-100); }
.color-swatch { height: 140px; }
.color-info { padding: 16px; background: var(--white); }
.color-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.color-hex { font-size: 12px; font-family: monospace; color: var(--gray-400); display: block; margin-bottom: 2px; }
.color-role { font-size: 11px; color: var(--gray-400); }

.mascot-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.mascot-img-wrap { display: flex; justify-content: center; align-items: center; background: var(--gray-50); border-radius: 24px; padding: 48px; border: 1px solid var(--gray-100); }
.mascot-img-wrap img { width: 100%; max-width: 280px; height: auto; }
.mascot-info { display: flex; flex-direction: column; gap: 28px; }
.mascot-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 40px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.mascot-name span { color: var(--orange); }
.mascot-desc { font-size: 15px; color: var(--gray-600); line-height: 1.8; }
.mascot-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mascot-tag { display: inline-block; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; background: var(--gray-50); color: var(--navy); border: 1px solid var(--gray-100); }
.mascot-colors { display: flex; flex-direction: column; gap: 10px; }
.mascot-color-row { display: flex; align-items: center; gap: 12px; }
.mascot-color-dot { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(0,0,0,0.08); }
.mascot-color-info { display: flex; flex-direction: column; }
.mascot-color-name { font-size: 12px; font-weight: 700; color: var(--navy); }
.mascot-color-hex { font-size: 11px; font-family: monospace; color: var(--gray-400); }

.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rule-card { border-radius: 16px; padding: 32px; border: 1px solid var(--gray-100); }
.rule-card.do { border-color: #d4edda; background: #f8fff9; }
.rule-card.dont { border-color: #f8d7da; background: #fff8f8; }
.rule-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; margin-bottom: 16px; }
.rule-badge.do { background: #d4edda; color: #155724; }
.rule-badge.dont { background: #f8d7da; color: #721c24; }
.rule-preview { background: var(--white); border-radius: 12px; padding: 24px; margin-bottom: 16px; min-height: 100px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-100); }
.rule-desc { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

.download-section { background: var(--navy); padding: 80px 40px; text-align: center; }
.download-section h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.download-section p { color: rgba(255,255,255,0.6); margin-bottom: 36px; font-size: 15px; }
.download-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-dl { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: 0.2s; }
.btn-dl.primary { background: var(--orange); color: var(--white); }
.btn-dl.primary:hover { background: var(--orange-light); }
.btn-dl.secondary { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-dl.secondary:hover { background: rgba(255,255,255,0.15); }

/* ===== 국가별 필수 서류 가이드 페이지 ===== */
/* ===== Country Docs Hero ===== */
.cdocs-hero {
  background: linear-gradient(135deg, #0a1628 0%, #132038 50%, #1a2d4d 100%);
  padding: 80px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cdocs-hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,109,212,0.08) 0%, transparent 70%);
}
.cdocs-hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(226,106,43,0.06) 0%, transparent 70%);
}
.cdocs-hero-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-light, #3a8ef5);
  margin-bottom: 14px;
  padding: 4px 14px;
  background: rgba(30,109,212,0.12);
  border-radius: 20px;
}
.cdocs-hero h1 {
  font-family: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
  font-size: 36px; font-weight: 800;
  color: #fff; margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.cdocs-hero p {
  font-size: 15px; color: rgba(255,255,255,0.5);
  max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* ===== Country Docs Content ===== */
.cdocs-content { padding: 48px 40px; max-width: 1100px; margin: 0 auto; }

/* ===== Search ===== */
.cdocs-search-wrap { margin-bottom: 28px; }
.cdocs-search-box {
  position: relative;
  max-width: 480px;
}
.cdocs-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--gray-400, #8e99ab);
  pointer-events: none;
}
.cdocs-search-input {
  width: 100%; padding: 12px 40px 12px 42px;
  border: 1px solid var(--gray-200, #d8dde6);
  border-radius: 8px;
  font-size: 14px; font-family: inherit;
  color: var(--gray-800, #2d3748);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cdocs-search-input::placeholder { color: var(--gray-400, #8e99ab); }
.cdocs-search-input:focus {
  border-color: var(--blue, #1e6dd4);
  box-shadow: 0 0 0 3px rgba(30,109,212,0.08);
}
.cdocs-search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  cursor: pointer; font-size: 14px; color: var(--gray-400);
  line-height: 1; padding: 4px;
}
.cdocs-search-clear:hover { color: var(--gray-800); }
.cdocs-search-result {
  font-size: 13px; color: var(--blue, #1e6dd4);
  margin-top: 8px; font-weight: 500;
}

.cdocs-notice {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--blue, #1e6dd4);
  border-radius: 8px;
  padding: 20px 28px;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 4px rgba(10,22,40,0.04);
}
.cdocs-notice-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.cdocs-notice-text { font-size: 13px; color: var(--gray-600); line-height: 1.8; }
.cdocs-notice-text strong { color: var(--navy); }

/* ===== Region Title ===== */
.cdocs-region-title {
  font-family: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
  display: inline-block;

/* ===== Table ===== */
}
.cdocs-table-wrap {
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 1px 4px rgba(10,22,40,0.03);
}
.cdocs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cdocs-table thead { background: var(--gray-50, #f8f9fc); }
.cdocs-table thead th {
  color: var(--gray-600);
  font-weight: 600;
  padding: 12px 18px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gray-200);
}
.cdocs-table tbody tr { border-bottom: 1px solid var(--gray-100); transition: background 0.15s; }
.cdocs-table tbody tr:last-child { border-bottom: none; }
.cdocs-table tbody tr:hover { background: rgba(30,109,212,0.02); }
.cdocs-table tbody td {
  padding: 12px 18px;
  color: var(--gray-800);
  vertical-align: top;
  line-height: 1.7;
}
.cdocs-table .country-flag { font-size: 18px; margin-right: 6px; vertical-align: middle; }
.cdocs-table .country-name { font-weight: 600; color: var(--navy); font-size: 13px; }
.cdocs-table .doc-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 1px 2px;
}
.cdocs-table .doc-tag.required { background: #fee2e2; color: #b91c1c; }
.cdocs-table .doc-tag.optional { background: #dbeafe; color: #1d4ed8; }
.cdocs-table .doc-tag.conditional { background: #fef3c7; color: #b45309; }
.cdocs-updated {
  text-align: right;
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 12px;
  margin-top: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}

/* ===== 반응형 ===== */
@media (max-width: 768px) {
  .ci-hero h1 { font-size: 32px; }
  .ci-hero, .cdocs-hero { padding: 80px 20px 60px; }
  .ci-section, .cdocs-content { padding: 48px 20px; }
  .logo-grid, .rules-grid { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: 1fr 1fr; }
  .mascot-grid { grid-template-columns: 1fr; }
  .mascot-name { font-size: 28px; }
  .download-section { padding: 48px 20px; }
  .download-section h2 { font-size: 24px; }
  .cdocs-hero h1 { font-size: 28px; }
  .cdocs-table { font-size: 12px; }
  .cdocs-table thead th, .cdocs-table tbody td { padding: 10px 12px; }
  .cdocs-notice { flex-direction: column; padding: 24px; }
}
