/* 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', 'Roboto', 'sans-serif';
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
  background: linear-gradient(135deg, #d8e8d8 0%, #c4e1e4 100%);
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
}

/* 헤더 */
header {
  text-align: center;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  color: #2c3e50;
}

.header h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.last-updated {
  font-size: 0.9rem;
  opacity: 0.9;
  font-style: italic;
}

/* 메인 콘텐츠 */
.section {
  margin-bottom: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.section h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.section h4 {
  color: #34495e;
  font-size: 1.1rem;
  margin: 1.5rem 0 0 0;
}

.section p {
  margin-bottom: 1rem;
  text-align: justify;
}

.section ul {
  margin: 1rem 0 2rem 0;
  padding-left: 1.5rem;
}

.section li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* 앱 정보 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.info-item {
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-left: 4px solid #aee5c6;
}

/* 문의 방법 */
.contact-button {
  display: inline-block;
  background: #80cda4;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-button:hover {
  background: #7fcdcd;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

/* 자주 묻는 질문 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  padding: 20px;
  background: #edefec;
  border-radius: 12px;
}

.faq-item h3 {
  margin: 0 0 12px 0;
  color: #009844;
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: #666;
}

/* 문의 시 포함할 정보 */
.info-list {
  padding-left: 20px;
}

.info-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 관련 링크 */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.link-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #edefec;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.link-item:hover {
  background: #e9ecef;
  border-color: #aee5c6;
  transform: translateY(-2px);
}

.link-icon {
  font-size: 1.5rem;
  margin-right: 12px;
}

footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: #666;
  font-size: 0.9rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  header {
    padding: 30px 16px;
  }

  header h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 20px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #2d4a3a 0%, #3a5a5a 100%);
  }

  .header h1,
  .header h2,
  .section h3,
  .section h4 {
    color: #e0e0e0;
  }

  .header {
    background: rgba(30, 30, 30, 0.95);
  }

  .section {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
  }

  .info-item,
  .contact-item,
  .faq-item,
  .link-item {
    background: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
  }

  footer {
    color: #e0e0e0;
  }
}
