/* ========== 服务页面样式 ========== */

/* Service Detail */
.service-detail {
  padding: 100px 0;
}

.service-detail.alt {
  background: var(--gray-50);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-number {
  font-size: 80px;
  font-weight: 800;
  color: var(--red-100);
  line-height: 1;
  margin-bottom: 16px;
}

.service-detail h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.service-lead {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.service-features {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.service-feature {
  display: flex;
  gap: 16px;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: var(--red-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  width: 14px;
  height: 14px;
  color: var(--red-500);
}

.service-feature h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.service-feature p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Visual Card */
.visual-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--red-50), transparent);
  border-radius: 50%;
  opacity: 0.6;
}

.visual-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--red-400), var(--red-500));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  box-shadow: var(--shadow-pink);
}

.visual-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.visual-image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.visual-card:hover .visual-image img {
  transform: scale(1.05);
}

.visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.visual-stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
}

.stat-text {
  font-size: 13px;
  color: var(--gray-500);
}

/* Process */
.process {
  padding: 100px 0;
  background: var(--gray-50);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid var(--gray-200);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red-400), var(--red-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .service-detail-grid.reverse {
    direction: ltr;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .service-number {
    font-size: 60px;
  }
  
  .service-detail h2 {
    font-size: 28px;
  }
  
  .visual-card {
    padding: 24px;
  }
  
  .visual-card::before {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -30px;
  }
  
  .visual-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .stat-num {
    font-size: 20px;
  }
  
  .stat-text {
    font-size: 11px;
  }
  
  .visual-image {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .visual-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-num {
    font-size: 24px;
  }
  
  .stat-text {
    font-size: 13px;
  }
}

/* ========== Section Header & Tag ========== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--red-50);
  color: var(--red-500);
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
}
