/* =============== BOOKAT Guide 페이지 전용 =============== */

/* 부드러운 스크롤 */
html {
  scroll-behavior: smooth;
}

/* 가이드 히어로 섹션 */
.guide-hero {
  background: #ffffff;  /* 파란색 그라데이션 → 하얀색 */
  color: #1f2937;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.guide-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="guideGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23guideGrid)"/></svg>');
  opacity: 0.3;
}

.guide-hero .hero-content {
  position: relative;
  z-index: 2;
}

.guide-hero .hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.2;
}

.guide-hero .hero-title strong {
  color: #ef4444;  /* 빨간색 강조 */
}

.guide-hero .hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats .stat-item {
  text-align: center;
}

.hero-stats .stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #ef4444;
  margin-bottom: 8px;
}

.hero-stats .stat-label {
  font-size: 14px;
  color: #374151;
}

/* 가이드 목차 섹션 */
.guide-toc {
  padding: 80px 0;
  background: #f8fafc;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.toc-category {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ef4444;
}

.toc-category h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #1f2937;
}



.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 12px;
}

.toc-list a {
  color: #1f2937;
  text-decoration: none;
  padding: 8px 0;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 20px;
}

.toc-list a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

.toc-list a:hover {
  color: #ef4444;
  background: #f1f5f9;
  padding-left: 24px;
}

/* 단계별 가이드 섹션 */
.guide-steps {
  padding: 80px 0;
  background: white;
}

.guide-section {
  margin-bottom: 80px;
  padding: 40px;
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 30px;
}

.step-number {
  background: #ef4444;
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0;
  line-height: 1;
  text-align: center;
}

.step-info {
  flex: 1;
  padding-top: 5px;
}

.step-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1f2937;
  line-height: 1.3;
}

.step-info p {
  color: #374151;
  margin: 0;
  line-height: 1.6;
}

.step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.step-image {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: white;
}

.step-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.step-details h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #1f2937;
}

.step-details ol {
  margin: 0 0 20px;
  padding-left: 20px;
}

.step-details li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #1f2937;
}

.tip, .warning {
  padding: 16px;
  border-radius: 8px;
  margin-top: 20px;
}

.tip {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.tip strong {
  color: #ef4444;
}

.warning strong {
  color: #ef4444;
}

/* 실제 화면 참조 안내 섹션 */
.screenshot-guide {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
}

.screenshot-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #ef4444;
}

.info-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #1f2937;
}

.info-card p {
  color: #374151;
  margin: 0 0 12px;
  line-height: 1.6;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* 도움말 섹션 */
.help-section {
  padding: 80px 0;
  background: #f8fafc;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.help-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.help-card:hover {
  transform: translateY(-5px);
}

.help-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.help-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1f2937;
}

.help-card p {
  color: #374151;
  margin: 0 0 8px;
}

.help-card p:last-child {
  color: #ef4444;
  font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .guide-hero {
    padding: 60px 0;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .guide-toc,
  .guide-steps,
  .screenshot-guide,
  .help-section {
    padding: 60px 0;
  }
  
  .toc-grid {
    grid-template-columns: 1fr;
  }
  
  
  .step-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .guide-section {
    padding: 20px;
    margin-bottom: 40px;
  }
  
  .step-header {
    align-items: flex-start;
  }
  
  .screenshot-info,
  .help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .guide-section {
    padding: 15px;
  }
  
  .step-header {
    gap: 15px;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 12px;
    line-height: 1;
  }
  
  .step-info {
    padding-top: 3px;
  }
  
  .step-info h3 {
    font-size: 20px;
  }
}
