/**
 * [v101] 정보 페이지 공통 디자인 시스템
 *   - About BitCore, Fee Schedule, FAQ, Contact Us, Guides 등에 공통 사용
 *   - home.html 의 CSS 변수 (--yellow, --bg-card, --text-dim) 와 동일 톤 유지
 *   - 바이낸스/Bitget 스타일 참고 - 깔끔한 다크 테마
 */

:root {
  --info-bg: #000;
  --info-bg-card: #0f1218;
  --info-bg-elevated: #181c24;
  --info-border: #1e2330;
  --info-border-light: #2b3139;
  --info-text: #fff;
  --info-text-dim: #9aa3b2;
  --info-text-mute: #6b7280;
  --info-yellow: #f0b90b;
  --info-yellow-hover: #d4a509;
  --info-green: #20b26c;
  --info-red: #ef4b4b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--info-bg);
  color: var(--info-text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ============================================================
 * 페이지 컨테이너
 * ============================================================ */
.info-page {
  min-height: calc(100vh - 56px);
  padding: 0;
  position: relative;
}

/* 배경 장식 */
.info-bg-decoration {
  position: fixed;
  top: 56px;
  right: 0;
  width: 60%;
  height: calc(100vh - 56px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background:
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(240, 185, 11, 0.08), transparent),
    radial-gradient(ellipse 500px 300px at 60% 70%, rgba(0, 226, 201, 0.05), transparent);
}

/* 히어로 영역 */
.info-hero {
  position: relative;
  z-index: 1;
  padding: 80px 24px 60px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.info-hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(240, 185, 11, 0.1);
  color: var(--info-yellow);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.info-hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}
.info-hero-subtitle {
  font-size: 18px;
  color: var(--info-text-dim);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .info-hero { padding: 50px 20px 40px; }
  .info-hero-title { font-size: 36px; }
  .info-hero-subtitle { font-size: 16px; }
}

/* ============================================================
 * 콘텐츠 영역 (섹션)
 * ============================================================ */
.info-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}
.info-section.narrow {
  max-width: 900px;
}
.info-section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.info-section-subtitle {
  font-size: 16px;
  color: var(--info-text-dim);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* 카드 그리드 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.info-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.info-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.info-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

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

/* 카드 */
.info-card {
  background: var(--info-bg-card);
  border: 1px solid var(--info-border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s ease;
}
.info-card:hover {
  border-color: var(--info-border-light);
  transform: translateY(-2px);
}
.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(240, 185, 11, 0.1);
  color: var(--info-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.info-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--info-text);
}
.info-card-desc {
  font-size: 14px;
  color: var(--info-text-dim);
  line-height: 1.7;
}

/* 본문 텍스트 콘텐츠 */
.info-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--info-text-dim);
}
.info-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--info-text);
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
}
.info-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--info-text);
  margin: 28px 0 12px;
}
.info-content p { margin-bottom: 16px; }
.info-content ul, .info-content ol {
  margin: 0 0 20px 22px;
}
.info-content li { margin-bottom: 8px; }
.info-content strong { color: var(--info-text); font-weight: 600; }
.info-content a {
  color: var(--info-yellow);
  border-bottom: 1px dashed rgba(240, 185, 11, 0.4);
  transition: border-color 0.2s;
}
.info-content a:hover { border-bottom-color: var(--info-yellow); }

/* 통계 카드 (About) */
.info-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 40px 0;
}
.info-stat {
  background: var(--info-bg-card);
  border: 1px solid var(--info-border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
.info-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--info-yellow);
  margin-bottom: 4px;
  letter-spacing: -1px;
}
.info-stat-label {
  font-size: 12px;
  color: var(--info-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA 섹션 */
.info-cta {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.08), rgba(0, 226, 201, 0.05));
  border: 1px solid var(--info-border);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0;
}
.info-cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.info-cta-desc {
  font-size: 16px;
  color: var(--info-text-dim);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.info-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--info-yellow);
  color: #000;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.info-btn:hover {
  background: var(--info-yellow-hover);
  transform: translateY(-1px);
}
.info-btn.outline {
  background: transparent;
  color: var(--info-text);
  border: 1px solid var(--info-border-light);
}
.info-btn.outline:hover {
  background: var(--info-border-light);
}

/* ============================================================
 * 푸터
 * ============================================================ */
.info-footer {
  background: var(--info-bg-card);
  border-top: 1px solid var(--info-border);
  padding: 40px 24px 20px;
  margin-top: 80px;
}
.info-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.info-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.info-footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--info-text);
}
.info-footer-col a {
  display: block;
  font-size: 13px;
  color: var(--info-text-dim);
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.info-footer-col a:hover { color: var(--info-yellow); }
.info-footer-bottom {
  border-top: 1px solid var(--info-border);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--info-text-mute);
}

/* ============================================================
 * [v103] Coming Soon 모달 (Legal 링크 등에서 사용)
 * ============================================================ */
.info-soon-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.info-soon-bg.active { display: flex; }
.info-soon-modal {
  background: var(--info-bg-card);
  border: 1px solid var(--info-border-light);
  border-radius: 16px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.info-soon-modal .icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}
.info-soon-modal h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--info-text);
  margin-bottom: 10px;
}
.info-soon-modal h3 .feature {
  color: var(--info-yellow);
}
.info-soon-modal p {
  font-size: 14px;
  color: var(--info-text-dim);
  line-height: 1.6;
  margin-bottom: 22px;
}
.info-soon-modal button {
  background: var(--info-yellow);
  color: #000;
  border: none;
  padding: 11px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.info-soon-modal button:hover { background: var(--info-yellow-hover); }

/* ============================================================
 * 페이지 전환 헤더 (뒤로가기 + 제목)
 * ============================================================ */
.info-back-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.info-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--info-text-dim);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.15s;
}
.info-back-link:hover {
  color: var(--info-yellow);
  background: rgba(240, 185, 11, 0.08);
}
