/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 100px 40px;
  background: linear-gradient(135deg, #ff6b00, #e60000);
  color: #fff;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Features Section */
.features-section {
  padding: 80px 20px;
  background: #f9fafb;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  max-width: 260px;
  text-align: center;
}

.feature-item i {
  font-size: 2.5rem;
  color: #e60000;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 1rem;
  color: #555;
}

/* Pricing Section */
.pricing-section {
  text-align: center;
  padding: 100px 20px;
  background: #f4f5f7;
}

.pricing-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.pricing-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #555;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 120px 40px;
  background: linear-gradient(135deg, #ff6b00, #e60000);
  color: #fff;
  border-radius: 20px;
  max-width: 1000px;
  margin: 80px auto;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

/* Workflow Section */
.workflow-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%);
  text-align: center;
}

.workflow-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  width: 200px;
  text-align: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b00, #e60000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  margin: 0 auto 20px auto;
  box-shadow: 0 6px 15px rgba(230,0,0,0.25);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: #666;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #fff7ec 0%, #fffaf5 100%);
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  max-width: 260px;
  position: relative;
}

.testimonial-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #333;
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .pricing-section h2 { font-size: 1.8rem; }
  .cta-section h2 { font-size: 2rem; }
  .workflow-steps { gap: 30px; }
  .step { width: 160px; }
  .testimonials-grid { gap: 25px; }
}

/* Wave Divider */
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
  transform: translateY(1px);
}

/* Fade-up Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-item,
.step,
.testimonial-item {
  opacity: 0;
  /* animation: fadeUp 0.8s ease forwards; */
  /* 기본 transform 은 각 요소별 개별 규칙에서 지정 */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- 요소별 개별 애니메이션 설정 --- */
.feature-item { transform: translateY(25px) scale(0.95); }
.step { transform: translateY(40px) scale(0.8); }
.testimonial-item { transform: translateX(-40px) rotateY(5deg); transform-origin: left center; }

.feature-item.in-view { opacity: 1; transform: translateY(0) scale(1); }
.step.in-view { opacity: 1; transform: translateY(0) scale(1); }
.testimonial-item.in-view { opacity: 1; transform: translateX(0) rotateY(0deg); }

/* 기존 지연시간을 transition-delay 로 변환 */
.feature-item:nth-child(1) { transition-delay: 0.1s; }
.feature-item:nth-child(2) { transition-delay: 0.25s; }
.feature-item:nth-child(3) { transition-delay: 0.4s; }

.step:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2) { transition-delay: 0.25s; }
.step:nth-child(3) { transition-delay: 0.4s; }
.step:nth-child(4) { transition-delay: 0.55s; }

.testimonial-item:nth-child(1) { transition-delay: 0.1s; }
.testimonial-item:nth-child(2) { transition-delay: 0.25s; }
.testimonial-item:nth-child(3) { transition-delay: 0.4s; }

/* Hover effect for testimonial */
.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* Preview Section */
.preview-section {
  background: #ffffff;
  padding: 60px 20px 20px 20px;
  text-align: center;
}

.preview-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.preview-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats Section */
.stats-section {
  background: #1f2937;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.stats-heading {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

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

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: #ff6b00;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #f3f4f6;
}

@media (max-width: 768px) {
  .stats-grid { gap: 40px; }
  .stat-number { font-size: 3rem; }
}

/* 새로운 Plan Cards 스타일 */
.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px auto 30px;
  max-width: 950px;
}

.plan-card {
  background: #ffffff;
  border: 2px solid #f2f2f2;
  border-radius: 14px;
  padding: 35px 28px 40px;
  width: 270px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(25px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.plan-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #e60000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 14px;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #ff6b00;
}

.plan-price .period {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
}

.plan-features {
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
  text-align: left;
  font-size: 0.95rem;
}

.plan-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features i {
  color: #10b981;
}

.plan-card .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .plan-card { width: 100%; max-width: 340px; }
}

/* --- Slider (Preview Section) --- */
/* Slider 관련 CSS 제거됨 */

/* 뷰포트에 들어왔을 때 */
.plan-card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 스태거 효과 */
.plan-card:nth-child(1) { transition-delay: 0.1s; }
.plan-card:nth-child(2) { transition-delay: 0.25s; }
.plan-card:nth-child(3) { transition-delay: 0.4s; }

.unavailable {
  color: #bbb;
  opacity: 0.6;
} 