@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-image: url('/images/Copilot_20260411_134729.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top:100px;
}
/*
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1000;
}
*/

header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 20px 40px;
}

/* 내부 콘텐츠 최대 1200px 폭 & 중앙 정렬 */
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: black;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  /* background: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease; */
}

.top-right-links a:hover {
  background: rgba(255, 255, 255, 0.8);
}

.top-right-links .active {
  background: rgba(255, 255, 255, 0.8);
   animation: slowBlink 3s infinite;
  text-decoration: none;
  color: #333;
}

.logo {
  display: flex;
  align-items: center;
}

.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: 24px;
  font-weight: 700;
  color: black;
  margin-bottom: 0px;
}

.logo-text p {
  font-size: 12px;
  color: black;
}

main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: center;
  width: 100%;
}

 .intro {
  max-width: 1200px;
  padding:20px;
  margin-bottom: 30px;
}

.subtitle {
  font-size: 20px;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
  opacity: 0.9;
  border-bottom: 1px solid white;
  display: inline-block;
  padding-bottom: 4px;
}

.intro h2 {
  font-size: 36px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.description {
  font-size: 14px;
  max-width: 100%;
  line-height: 1.5;
  margin-bottom: 40px;
  opacity: 0.8;
}

.learn-more {
  background-color: white;
  color: black;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.learn-more:link {
    text-decoration:none;
}

.learn-more:hover {
  background-color: #eee;
}

.app-features {
  flex: 1;
  border: 2px solid white;
  border-radius: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.feature {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
}

.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 {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 20px;
  color: white;
  gap: 20px;
  margin-bottom:40px;
}

.data-room {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 0px;
}

.data-room .item {
  display: flex;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 20px;
  color: white;
  gap: 20px;
  align-items: flex-start;
}

.item-info {
  flex: 2;
}

.item-info h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.item-info .version {
  font-weight: 400;
  font-size: 16px;
  color: #ccc;
  margin-left: 10px;
}

.ratings {
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.9;
  display: flex;
  gap: 20px;
}

.item-thumb {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.item-thumb img {
  width: 150px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.detail-btn, .download-btn {
  background-color: #2378d8;
  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;
}

.detail-btn:hover, .download-btn:hover {
  background-color: #195b9e;
}

.item-meta {
  list-style: none;
  font-size: 12px;
  color: #ccc;
  text-align: right;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* FAQ / Q&A 아코디언 답변 숨기기 */
.answer {
    display: none;
    margin-top: 20px;
    padding-left: 20px;
    color: #ffffff;
    font-size: 14px;
}
.answer.active {
    display: block;
}

/* 질문 커서 */
.qa-question, .faq-question {
    cursor: pointer;
}

 .faq-answer, .qa-answer {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 40px;
}
.faq h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.faq-item {
  margin-bottom:20px;
}
#map {
    width: 100%;
    height: 480px;
    border-radius: 12px;
    box-shadow: inset 0 8px 16px rgba(0,0,0,0.5);
    margin-bottom: 35px;
  }

  /* 게시판 전체 테이블 기본 */
.board-table {
  width: 100%;
  max-width: 1200px;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
}

/* 테이블 헤더 */
.board-table thead tr {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 6px;
}

.board-table thead th {
  padding: 12px 15px;
  text-align: left;
}

/* 테이블 본문 행 */
.board-table tbody tr:nth-child(even) {
  background: none;
}

.board-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.board-table tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid #ccc;
}

/* 글 제목 링크 */
.board-table tbody td a {
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
}

.board-table tbody td a:hover {
  text-decoration: none;
}

.view .board-table tbody tr:hover {
  background: none !important;
  cursor: default !important;
}

/* 글쓰기 버튼 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: black;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
}

.btn:hover {
  background-color: #ccc;
}

/* 페이지네이션 */
.pagination {
  margin: 20px 0;
  text-align: center;
  font-size: 1rem;
}

.pagination a,
.pagination strong {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pagination a:hover {
  background-color: #ccc;
  color: #333;
}

.pagination strong {
  background-color: #ccc;
  color: #333;
  cursor: default;
}

/* ===== 모바일 대응 ===== */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 10px 0px;
  }

  .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%;
  }

  .ratings {
    justify-content: center;
    gap: 10px;
  }

  .top-right-links {
    display: none !important;
  }

  .gallery-item {
        width: 45vw; /* 2개 컬럼으로 줄임 */
        height: auto;
    }
 
  .gallery-item img {
        height: auto;
    }
}