/* 기본 스타일 */
:root {
  --primary-color: #4a6cf7;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --font-sans: 'Noto Sans KR', sans-serif;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--gray-800);
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* user-actions 스타일 */
.user-actions {
  display: flex;
  gap: 15px;
}

/* 히어로 섹션 */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7ff 0%, #f8f9fa 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 서비스 섹션 */
.services-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--gray-900);
}

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

.service-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.service-card.featured::before {
  content: '인기';
  position: absolute;
  top: 10px;
  right: -30px;
  background: var(--primary-color);
  color: white;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(74, 108, 247, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 20px;
  min-height: 60px;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0;
}

/* 작동 방식 섹션 */
.how-it-works {
  background-color: var(--gray-100);
  padding: 80px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.step {
  background: white;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.faq-section {
  padding: 60px 15px;
  background-color: #f8f9fa;
  color: #343a40;
}

.faq-section .section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 12px;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #4a6cf7;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 8px;
  padding-left: 10px;
  display: none;
  line-height: 1.5;
}

/* 반응형 디자인 */
@media (max-width: 992px) {
  .hero .container {
      flex-direction: column;
      text-align: center;
  }
  
  .hero-content {
      margin-bottom: 40px;
  }
  
  .cta-buttons {
      justify-content: center;
  }
}

@media (max-width: 768px) {
  .main-nav {
      margin: 20px 0;
  }
  
  .hero h1 {
      font-size: 2.2rem;
  }
  
  .hero p {
      font-size: 1.1rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
}