/* ── Story Timeline ── */
.story-timeline { max-width: 100%; margin: 0; position: relative; padding-left: 60px; }
.story-timeline::before {
  content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--border), var(--brand-light), var(--border));
}
.story-step { position: relative; margin-bottom: 36px; }
.story-step:last-child { margin-bottom: 0; }
.story-step-marker {
  position: absolute; left: -60px; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-sub); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.story-step-marker i { font-size: 16px; color: var(--purple); }
.story-step-highlight .story-step-marker { border-color: var(--brand-light); background: var(--bg-main); }
.story-step-highlight .story-step-marker i { color: var(--brand-light); }
.story-step-content {
  background: var(--bg-sub); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; transition: border-color 0.3s;
}
.story-step-content:hover { border-color: var(--border-sub); }
.story-step-highlight .story-step-content { border-color: var(--brand-light); background: var(--bg-main); }
.story-step-title { font-size: 17px; font-weight: 700; color: var(--brand-light); margin-bottom: 12px; }
.story-step-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 10px; }
.story-step-content p:last-child { margin-bottom: 0; }
.story-step-content strong { color: var(--text-primary); }
.story-quote { font-size: 22px !important; font-weight: 700 !important; color: var(--text-primary) !important; font-style: italic; margin: 12px 0 !important; }
.story-cta { margin-top: 48px; text-align: center; }

@media (max-width: 767px) {
  .story-timeline { padding-left: 48px; }
  .story-timeline::before { left: 16px; }
  .story-step-marker { left: -48px; width: 36px; height: 36px; }
  .story-step-marker i { font-size: 14px; }
}

/* ── Formula (inline) ── */
.formula-box { background: var(--bg-sub); border: 1px solid var(--border); border-radius: 12px; padding: 32px; text-align: center; margin: 32px 0 16px; }
.formula { font-size: clamp(16px, 2.5vw, 20px); font-family: monospace; color: var(--text-primary); }
.f-purple { color: var(--purple); }
.f-warm { color: var(--brand-light); }
.f-result { font-weight: 700; color: var(--brand-light); }
.formula-note { font-size: 12px; color: var(--text-secondary); margin-top: 12px; }
.formula-disclaimer { font-size: 12px; color: var(--text-secondary); margin-top: 8px; }

/* ── System Section ── */
.subsection-title { font-size: 18px; font-weight: 700; color: var(--brand-light); margin: 48px 0 20px; }

.step-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.step-flow-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; position: relative; }
.step-flow-num { font-size: 32px; font-weight: 800; color: var(--purple); opacity: 0.3; margin-bottom: 12px; }
.step-flow-card h4 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.step-flow-en { font-size: 12px; font-weight: 400; color: var(--text-tertiary); margin-left: 4px; }
.step-flow-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.compare-card { border-radius: 12px; padding: 24px; }
.compare-old { background: var(--bg-card); border: 1px solid var(--border); }
.compare-new { background: var(--bg-card); border: 1px solid var(--brand-light); }
.compare-label { font-size: 12px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-new .compare-label { color: var(--brand-light); }
.compare-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.science-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.science-tag { padding: 8px 18px; font-size: 14px; border-radius: 50px; border: 1px solid var(--border); color: var(--text-secondary); background: var(--bg-card); }

/* ── Science Cards (2col) ── */
.science-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
.science-grid-full { margin-bottom: 0; }
.science-card-sm {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 24px; display: flex; align-items: center; gap: 16px;
  transition: border-color 0.3s;
}
.science-card-sm:hover { border-color: var(--border-sub); }
.science-card-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--bg-sub);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.science-card-icon i { color: var(--purple); font-size: 16px; }
.science-card-sm h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.science-card-sm p { font-size: 12px; color: var(--text-tertiary); margin: 0; }

.system-conclusion { margin: 48px 0 0; padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
.system-conclusion p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }
.system-conclusion-accent { font-size: 17px !important; font-weight: 700; color: var(--brand-light) !important; margin-top: 16px !important; }

/* ── Before/After updated ── */
.ba-icon { margin-right: 6px; font-size: 13px; color: var(--purple); }
.ba-after .ba-icon { color: var(--brand-light); }
.ba-msg-icon { display: block; font-size: 22px; color: var(--brand-light); margin-bottom: 12px; }
.ba-messages strong { display: block; font-size: 15px; color: var(--text-primary); margin-bottom: 4px; }
.ba-messages p { font-size: 13px; color: var(--text-secondary); margin: 0; }

/* ── Problem (3열) ── */
.problem-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }

/* ── Problem (2열 — 이전 호환) ── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.problem-card { background: var(--bg-sub); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.problem-icon { font-size: 20px; margin-bottom: 16px; display: block; }
.problem-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 16px; }
.problem-card h3 { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; line-height: 1.4; }
.problem-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.problem-common { background: var(--bg-sub); border: 1px solid var(--border-sub); border-radius: 12px; padding: 32px; text-align: center; }
.common-label { font-size: 14px; color: var(--text-tertiary); margin-bottom: 12px; }
.common-title { font-size: clamp(20px, 3vw, 24px); font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.common-desc { font-size: 14px; color: var(--text-secondary); }

/* ── Before/After ── */
.ba-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.ba-item { display: flex; align-items: center; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.ba-before { flex: 1; font-size: 14px; color: var(--text-secondary); text-decoration: line-through; text-decoration-color: var(--brand-light); text-decoration-thickness: 2px; }
.ba-arrow { color: var(--brand-light); font-size: 18px; flex-shrink: 0; }
.ba-after { flex: 1; font-size: 14px; font-weight: 500; color: var(--text-primary); }
.ba-messages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.ba-msg { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* ── Free Column ── */
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; align-items: center; }
.tag { padding: 8px 16px; font-size: 14px; border-radius: 50px; border: 1px solid var(--border); color: var(--text-secondary); background: var(--bg-sub); cursor: pointer; transition: border-color 0.2s; }
.tag:hover { border-color: var(--brand-light); color: var(--text-primary); }
.tag-more { font-size: 14px; color: var(--brand-light); cursor: pointer; padding: 8px; }
.blog-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--brand-light); margin-bottom: 48px; }
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { background: var(--bg-sub); border: 1px solid var(--border); border-radius: 12px; padding: 24px; text-align: center; }
.value-card i { font-size: 20px; color: var(--brand-light); margin-bottom: 12px; display: block; }
.value-card p { font-size: 14px; font-weight: 500; color: var(--text-primary); }

/* ── Reviews Slider ── */
@keyframes reviewScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-slider { overflow: hidden; margin: 0 -16px 32px; padding: 0 16px; position: relative; }
.review-slider::before, .review-slider::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.review-slider::before { left: 0; background: linear-gradient(to right, var(--bg-card), transparent); }
.review-slider::after { right: 0; background: linear-gradient(to left, var(--bg-card), transparent); }
.review-track {
  display: flex; gap: 24px; width: max-content;
  animation: reviewScroll 40s linear infinite;
}
.review-slider:hover .review-track { animation-play-state: paused; }
.review-slide { flex-shrink: 0; width: 360px; }
.review-card { background: var(--bg-sub); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; height: 100%; }
.review-stars { display: flex; gap: 4px; font-size: 14px; color: var(--brand-light); margin-bottom: 16px; }
.review-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.review-meta { padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.review-author { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.review-service { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.review-tag { font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--success-bg); color: var(--success); white-space: nowrap; }
.review-more { text-align: center; }
.review-more a { font-size: 14px; font-weight: 500; color: var(--brand-light); }
.review-more a:hover { text-decoration: underline; }
@media (max-width: 767px) { .review-slide { width: 300px; } }

/* ── Price Highlight ── */
.price-highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.price-card { background: var(--bg-sub); border: 1px solid var(--border); border-radius: 12px; padding: 28px; position: relative; }
.price-card.popular { border-color: var(--brand-light); }
.price-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px; background: var(--brand-gradient); color: var(--bg-main); margin-bottom: 12px; }
.price-type { font-size: 12px; padding: 3px 8px; border-radius: 4px; background: var(--bg-main); color: var(--text-tertiary); margin-left: 8px; }
.price-name { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.price-amount { font-size: 28px; font-weight: 700; color: var(--brand-light); margin-bottom: 4px; }
.price-note { font-size: 12px; color: var(--text-secondary); margin-bottom: 16px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.price-features li { font-size: 13px; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; }
.price-features li i { color: var(--success); font-size: 11px; margin-top: 4px; flex-shrink: 0; }
.price-more { text-align: center; }
.price-more a { font-size: 14px; font-weight: 500; color: var(--brand-light); }
.price-more a:hover { text-decoration: underline; }

/* ── Final CTA ── */
.final-cta { text-align: center; padding: 80px 0; }
.cta-label { font-size: 14px; font-weight: 600; color: var(--brand-dark); margin-bottom: 12px; }
.cta-heading { font-size: clamp(24px, 4vw, 32px); font-weight: 700; color: var(--text-primary); margin-bottom: 12px; line-height: 1.4; }
.cta-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; }
.cta-stats { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; margin-bottom: 32px; }
.cta-stats .highlight { font-weight: 700; color: var(--brand-light); }
.cta-stats .dot { color: var(--text-tertiary); }
.cta-stats .count { font-weight: 600; color: var(--text-primary); }
.cta-stats .muted { color: var(--text-tertiary); }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; }
.cta-note { font-size: 12px; color: var(--text-tertiary); }

/* ── Responsive ── */
@media (max-width: 767px) {
  .problem-grid, .problem-grid-3 { grid-template-columns: 1fr; }
  .ba-item { flex-direction: column; }
  .ba-arrow { transform: rotate(90deg); }
  .ba-messages { grid-template-columns: 1fr; }
  .value-cards { grid-template-columns: 1fr; }
  .review-slide { width: 300px; }
  .price-highlight-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons a { width: 100%; }
  .step-flow { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .science-grid-2 { grid-template-columns: 1fr; }
}

/* ━━━ 인기글 카드 ━━━ */
.column-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 28px;
}
.column-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.25s, transform 0.25s;
}
.column-card:hover {
  border-color: var(--brand-light);
  transform: translateY(-2px);
}
.column-card i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ━━━ 기존 vs EROS 차이 섹션 ━━━ */
.diff-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}
.diff-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 36px 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.diff-old {
  background: var(--bg-card);
}
.diff-new {
  background: linear-gradient(160deg, rgba(155,114,200,0.12), rgba(192,120,80,0.08));
  border-color: var(--purple);
}
.diff-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.diff-old .diff-label { color: var(--text-tertiary); }
.diff-new .diff-label { color: var(--purple); }
.diff-quotes p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.diff-headline {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.diff-body {
  margin-top: 20px;
}
.diff-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.diff-old .diff-body p {
  color: var(--text-secondary);
}

/* 가격 카드 할인 표시 */
.price-original {
  font-size: 0.75em;
  font-weight: 400;
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-right: 4px;
}
.price-discount {
  font-size: 0.55em;
  font-weight: 700;
  color: #e05252;
  background: rgba(224,82,82,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
