/* ===== 정기구독 섹션 ===== */
#revenue-slider {
  background-color: rgba(156, 136, 255, 0.04);
  padding: 70px 0 50px;
}

.fee-comparison {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray);
  margin: 0 auto 35px;
  max-width: 800px;
  font-style: italic;
  line-height: 1.6;
  font-weight: 700;
}

/* ===== 수익 슬라이더 (MC8 스타일 적용) ===== */
.slider-container {
  position: relative;
  max-width: 600px;
  margin: 4rem auto;
  padding: 40px 20px;
  overflow: visible;
  box-sizing: border-box;
}

.revenue-label {
  position: absolute;
  top: -40px;
  transform: translateX(-50%);
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(156, 136, 255, 0.2);
  white-space: nowrap;
  transition: left 0.3s ease-out, opacity 0.3s ease;
  z-index: 10;
  width: auto;
  text-overflow: ellipsis;
  overflow: visible;
  text-align: center;
  min-width: 120px;
  max-width: 200px;
  word-wrap: break-word;
  line-height: 1.5;
}

.revenue-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #8b45ff 0%, #ddd 0%);
  outline: none;
  cursor: pointer;
  margin: 2rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.revenue-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(139, 69, 255, 0.3);
  transition: all 0.3s ease;
  border: none;
  position: relative;
  z-index: 3;
}

.revenue-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(139, 69, 255, 0.4);
}

.revenue-slider::-webkit-slider-thumb:active {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(139, 69, 255, 0.5);
}

.revenue-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(139, 69, 255, 0.3);
  transition: all 0.3s ease;
}

.revenue-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(139, 69, 255, 0.4);
}

.revenue-slider::-webkit-slider-runnable-track {
  cursor: pointer;
  transition: all 0.2s ease;
}

.revenue-slider::-moz-range-track {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* 슬라이더 마커 (MC8 스타일) */
.slider-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 12px;
  width: 100%;
}

.slider-mark {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.slider-mark:hover,
.slider-mark.active {
  color: var(--purple-dark);
  font-weight: 700;
  transform: scale(1.1);
}

/* 개별 마커 위치 (기존 호환성 유지) */
.mark-0 { order: 1; }
.mark-20 { order: 2; }
.mark-40 { order: 3; }
.mark-60 { order: 4; }
.mark-80 { order: 5; }
.mark-100 { order: 6; }

/* ===== 슬라이더 플랜 카드 (MC8 스타일) ===== */
.slider-plans-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-plans-container::-webkit-scrollbar {
  display: none;
}

.plan-card {
  flex: 0 0 200px;
  background: white;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  text-align: center;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.plan-card.active {
  border-color: var(--purple);
  box-shadow: 0 20px 40px rgba(139, 69, 255, 0.2);
  transform: translateY(-8px);
}

.plan-card.active:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(139, 69, 255, 0.25);
}

.plan-card.highlight {
  animation: pulseHighlight 3s ease-in-out;
}

.free-trial-card {
  background: linear-gradient(135deg, #f9f9ff, #f0f8ff);
  border: 2px solid var(--blue-light);
}

.free-trial-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
  font-style: italic;
}

.plan-card-name {
  font-size: 1.3rem;
  margin-top: 5px;
  margin-bottom: 10px;
  color: var(--purple-dark);
}

.plan-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
  line-height: 1.4;
}

.plan-card-note {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 15px;
}

.plan-more {
  font-size: 0.9rem;
  color: var(--purple);
  font-weight: 600;
}

.plan-detail-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 12px 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===== 플랜 설명 카드 (자세한 기능 확인) ===== */
#plan-features {
  background-color: rgba(184, 226, 255, 0.08);
  padding: 30px 0;
}

.features-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.feature-explanation-card {
  background: white;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  text-align: center;
  position: relative;
  overflow: visible;
}

.feature-explanation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(156,136,255,.15);
}

.feature-explanation-card h4 {
  color: var(--purple-dark);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-explanation-card p {
  color: var(--gray);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
}

/* 무료체험 관련 스타일 */
.free-trial-notice {
  background-color: rgba(156, 136, 255, 0.1);
  border-left: 4px solid var(--purple);
  padding: 15px;
  margin: 15px 0;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.6;
}

.free-trial-notice strong {
  color: var(--purple-dark);
}

.free-trial-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.free-trial-buttons .btn {
  flex: 1;
  min-width: 150px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.free-trial-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.3);
}

.free-trial-buttons .btn:active {
  transform: translateY(0);
}