/* 기본 폰트 및 색상 설정 */
:root {
  --primary-color: #00d1b2;
  --secondary-color: #3273dc;
  --warning-color: #ffdd57;
  --danger-color: #ff3860;
  --dark-color: #363636;
  --light-color: #f5f5f5;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 전체 레이아웃 설정 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

/* 네비게이션 커스터마이징 */
.navbar {
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
  background-color: transparent;
}

.navbar.is-fixed-top {
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.navbar.is-fixed-top .navbar-item {
  color: white !important;
}

.navbar.is-fixed-top .navbar-item:hover {
  background-color: rgba(255,255,255,0.1);
  color: white !important;
}

.navbar-item img {
  max-height: 2.5rem;
}

/* 히어로 섹션 커스터마이징 */
.hero.is-primary {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero.is-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/placeholder-hero.png') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.hero.is-primary .hero-body {
  position: relative;
  z-index: 1;
}

/* 카드 스타일링 */
.card {
  transition: all 0.3s ease;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

/* 섹션 스타일링 */
section {
  padding: 5rem 0;
  position: relative;
}

section:nth-child(even) {
  background-color: var(--light-color);
}

/* 타이틀 스타일링 */
.title {
  font-weight: 700;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* 버튼 커스터마이징 */
.button {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.button.is-primary {
  background: var(--gradient-primary);
  border: none;
}

.button.is-warning {
  background: var(--gradient-warning);
  border: none;
  color: white;
}

/* 특징 박스 */
.feature-box {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-box .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* 검증 체크리스트 */
.verification-list {
  list-style: none;
  padding: 0;
}

.verification-list li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.verification-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.verification-list li .icon {
  margin-right: 1rem;
  color: var(--success-color);
}

/* 경고 박스 */
.warning-box {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
  border-left: 4px solid var(--danger-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.warning-box .icon {
  color: var(--danger-color);
}

/* FAQ 아코디언 */
.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
  background: white;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-weight: 600;
}

.faq-question:hover {
  background: var(--light-color);
}

.faq-question.active {
  background: var(--primary-color);
  color: white;
}

.faq-answer {
  background: white;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

/* 태그 스타일 */
.tags {
  margin-top: 1rem;
}

.tag {
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.tag.is-primary {
  background: var(--gradient-primary);
  color: white;
}

/* 통계 박스 */
.stat-box {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.stat-box .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box .stat-label {
  font-size: 1rem;
  color: var(--dark-color);
  opacity: 0.8;
}

/* 이미지 오버레이 효과 */
.image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-overlay:hover::before {
  opacity: 1;
}

.image-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.image-overlay:hover .image-overlay-content {
  transform: translateY(0);
}

/* 스크롤 애니메이션 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
  .hero.is-primary .title {
    font-size: 2rem;
  }
  
  .hero.is-primary .subtitle {
    font-size: 1.25rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .feature-box {
    margin-bottom: 1.5rem;
  }
  
  .stat-box {
    margin-bottom: 1.5rem;
  }
}

/* 로딩 애니메이션 */
.loader {
  border: 3px solid var(--light-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 광고 배너 스타일 */
.ad-banner {
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.ad-banner:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 가이드 박스 스타일 */
.guide-box {
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
  padding: 0.5rem;
  background: white;
}

.guide-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.guide-box .has-text-primary {
  color: #00c4a7 !important;
  font-weight: 700;
}

.ad-banner .card-content {
  padding: 1rem;
}

.ad-banner .title.is-6 {
  margin-bottom: 0.5rem;
}

.ad-banner .button.is-small {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
}

#ads-banner {
  padding: 3rem 0 2rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
}

#ads-banner .section-title {
  margin-bottom: 2rem;
}

#ads-banner .section-title::after {
  background: var(--warning-color);
}

/* 커스텀 스크롤바 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}
