@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #FFFFFF; /* 완전 흰 배경 */
  color: #003366; /* 딥 블루 텍스트 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  background-image: none; /* 기존 배경 이미지 제거 */
}

header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(90deg, #00509E, #007ACC); /* 푸른 그라데이션 배경 */
  color: white;
  backdrop-filter: none;
  padding: 20px 40px;
  box-shadow: 0 2px 8px rgba(0, 80, 158, 0.5);
}

header .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-right-links {
  display: flex;
  gap: 10px;
}

.top-right-links a {
  font-size: 16px;
  font-weight: 600;
  color: #BBDEFB; /* 연한 파랑 링크 */
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.top-right-links a:hover,
.top-right-links .active {
  background: #1E88E5; /* 중간 밝기의 푸른 배경 */
  color: white;
}

.logo {
  display: flex;
  align-items: center;
}

.logo2 {
  display: flex;
  align-items: left;
}

.icon-btn {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 6px;
  margin-right: 15px;
  cursor: pointer;
  position: relative;
}

.ico-computer::before {
  content: "\2605";
  /* content: "\1F5B3"; */
  color: white;
  font-size: 24px;
  display: block;
  text-align: center;
  line-height: 48px;
}

.logo-text h1 {
  font-size:20px;
  color: white;
}
.logo-text p {
  color: white; /* 로고 텍스트 흰색으로 */
}

main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
  align-items: center;
  background-color: #F5F9FF; /* 아주 연한 파란 배경 */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 80, 158, 0.1);
}

/* 소개 영역 */
.intro {
  max-width: 1200px;
  padding: 20px;
  margin-bottom: 30px;
  color: #003366; /* 딥블루 텍스트 */
}

.subtitle {
  font-size: 20px;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
  opacity: 0.9;
  border-bottom: 2px solid #007ACC;
  display: inline-block;
  padding-bottom: 4px;
}

.intro h2 {
  font-size: 36px;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #003366;
}

.description {
  font-size: 14px;
  max-width: 100%;
  line-height: 1.5;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* 버튼 */
.learn-more {
  background-color: #1E88E5;
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.learn-more:hover {
  background-color: #1565C0;
  color: white;
}

/* 앱 기능 박스 */
.app-features {
  flex: 1;
  border: 2px solid #007ACC;
  border-radius: 12px;
  padding: 20px;
  background: #E3F2FD; /* 아주 연한 하늘색 배경 */
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  color: #003366;
}

.feature {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: 8px;
  color: #00509E;
  font-weight: 600;
  background-color: #BBDEFB;
}

.fa-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: #666;
  font-weight: bold;
  text-align: center;
  line-height: 36px;
  margin-right: 18px;
  font-family: monospace;
}

/* FAQ 영역 */
.faq {
  background: #DCEEFB; /* 매우 연한 푸른 계열 */
  border-radius: 12px;
  padding: 20px;
  color: #003366;
  gap: 20px;
  margin-bottom: 40px;
}

/* 데이터 룸 아이템 */
.data-room .item {
  display: flex;
  background: #BBDEFB; /* 연한 파란 배경 */
  border-radius: 12px;
  padding: 20px;
  color: #003366;
  gap: 20px;
  align-items: flex-start;
}

/* 아이템 정보 텍스트 */
.item-info h3 {
  font-size: 24px;
  margin-bottom: 6px;
  color: #003366;
}

.item-info .version {
  font-weight: 400;
  font-size: 16px;
  color: #555;
  margin-left: 10px;
}

/* 버튼 */
.detail-btn, .download-btn {
  background-color: #1E88E5;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 7px rgba(30, 136, 229, 0.5);
}

.detail-btn:hover, .download-btn:hover {
  background-color: #1565C0;
}

/* 질문, 답변 스타일 */
.answer {
  display: none;
  margin-top: 20px;
  padding-left: 20px;
  color: #003366;
  font-size: 14px;
}
.answer.active {
  display: block;
}

.qa-question, .faq-question {
  cursor: pointer;
  color: #00509E;
  font-weight: 600;
}

.faq-answer, .qa-answer {
  font-size: 1rem;
  color: #003366;
  margin-bottom: 40px;
}

/* 표 스타일 */
.board-table {
  width: 100%;
  max-width: 1200px;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
  color: #003366;
}

.board-table thead tr {
  background: #BBDEFB;
  color: #003366;
  border-radius: 6px;
}

.board-table thead th {
  padding: 12px 15px;
  text-align: left;
}

.board-table tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid #90CAF9;
}

.board-table tbody tr:nth-child(even) {
  background: #E3F2FD;
}

/*.board-table tbody tr:hover {
  background: #90CAF9;
  cursor: pointer;
}
  */

.board-table tbody td a {
  color: #1565C0;
  text-decoration: none;
  font-weight: 600;
}

.board-table tbody td a:hover {
  text-decoration: underline;
}

/* 페이지네이션 */
.pagination a,
.pagination strong {
  color: #1565C0;
  background-color: #E3F2FD;
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pagination a:hover {
  background-color: #BBDEFB;
  color: #0D47A1;
}

.pagination strong {
  background-color: #1E88E5;
  color: white;
  cursor: default;
}

/* 모바일 레이아웃 유지 */
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
  }

  .data-room {
    display: none !important;
  }

  main {
    flex-direction: column;
    margin: 20px auto;
    padding: 0 15px;
    gap: 20px;
  }

  .intro {
    max-width: 100%;
  }

  .intro h2 {
    font-size: 28px;
  }

  .learn-more {
    padding: 8px 16px;
    font-size: 14px;
  }

  .app-features {
    min-width: auto;
    width: 100%;
  }

  .item-info, .item-thumb {
    flex: none;
    width: 100%;
  }

  .item-thumb img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
  }

  .item-thumb {
    align-items: center;
  }

  .detail-btn, .download-btn {
    width: 90%;
  }
}

.item-meta {
  margin-top:10px;
  list-style: none;
  font-size: 12px;
  text-align: right;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  line-height: 0.5; /* 기본 1보다 작게 해서 줄간격 좁힘 */
}

table.custom-table {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 50px auto;
    border-collapse: collapse;
    font-family: '맑은 고딕', Malgun Gothic, dotum, 돋움, Arial, sans-serif;
    color: #333;
    border: 0px solid #272727; /* 테이블 전체 테두리 */
  }
  table.custom-table thead tr {
    background-color: none;
    border-bottom: 1px solid #474747;
  }
  table.custom-table thead th {
    padding: 20px 12px;
    font-weight: 700;
    color: #1a1a1a;
    border-right: 0px solid #474747; /* 헤더 셀 사이 세로 경계 */
  }
  table.custom-table thead th:last-child {
    border-right: none;
  }
  table.custom-table tbody tr {
    border-bottom: 1px solid #444;
  }
  table.custom-table tbody tr td {
    padding: 20px 12px;
    border-right: 0px solid #444; /* 각 셀 오른쪽 경계 */
  }
  table.custom-table tbody tr td:last-child {
    border-right: none;
    text-align: right;
    white-space: nowrap;
  }
  table.custom-table tbody tr:hover {
    background-color: none;
  }
  table.custom-table tbody td:first-child {
    font-weight: 600;
    text-align: left;
  }
  span.highlight {
    color: #d00;
    font-weight: 700;
  }