/* solutions/style.css — 이 페이지 전용 스타일. 공유 토큰·nav·footer·버튼 등 공통은 루트 style.css(먼저 로드).
   2026-06-29 루트 style.css에서 이 페이지만 쓰는 규칙을 분리(규칙집합 동치 검증 완료). */

/* ── 스크롤 등장 애니메이션 (teams 페이지와 동일) ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}.routing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}.routing-card {
  position: relative;
  border-radius: 20px;
  background: #d4d4d4 center/cover no-repeat;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}.routing-card:hover {
  transform: translateY(-4px);
  box-shadow: rgba(0,0,0,0.14) 0px 16px 40px;
}
/* 사진 레이어 — 컬러가 튀지 않게 채도·밝기를 죽인다(텍스트엔 영향 없음) */
.routing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  filter: saturate(0.6) brightness(0.93);
  z-index: 0;
}
/* 상단 텍스트 가독성용 어두운 스크림(위→아래 페이드) */
.routing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0) 62%);
  pointer-events: none;
  z-index: 0;
}
.routing-top, .routing-targets { position: relative; z-index: 1; }
.routing-top { display: flex; flex-direction: column; }.routing-copy { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.35; color: #fff; }.routing-sub { font-size: 16px; color: rgba(255,255,255,0.92); margin-top: 10px; line-height: 1.65; }.routing-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; }.routing-more::after { content: '›'; font-size: 18px; }.routing-more:hover { opacity: 0.6; }.routing-targets { display: flex; flex-direction: column; gap: 10px; }.routing-target-chip { display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: #0d0d0d; background: rgba(255,255,255,0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.55); box-shadow: 0 2px 10px rgba(0,0,0,0.06); border-radius: 16px; padding: 10px 16px; width: fit-content; }#section-kbeauty .section-title { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 900px) {
.routing-grid { grid-template-columns: 1fr; gap: 20px; } /* mobile: 1열 스택 시 카드 간격 축소 */
.routing-card { min-height: 440px; padding: 32px 28px; } /* mobile: 3열 전제로 잡았던 500px는 1열에선 과함 → 축소 */
.routing-copy { font-size: 24px; } /* mobile: 좁은 화면 헤드라인 가독성 확보 */
.routing-more { min-height: 44px; } /* mobile: 탭타깃 44px 확보(inline-flex 세로중앙정렬이라 시각 변화 없음) */
}
@media (max-width: 480px) {
.routing-card { min-height: 380px; padding: 24px 20px; } /* mobile: 소형폰 카드 여백 축소 */
.routing-copy { font-size: 21px; }
}

/* ── 카드별 상세 섹션 (mobile-first) ──────────────────────────────
   카드 본체(.acc / .review-card 등)는 cards.css에서 width:100%·max-width:800px로
   자기 폭을 잡으므로, 여기선 호스트를 중앙정렬만 한다. nav가 fixed(72px)라
   앵커 스크롤 오프셋용 scroll-margin-top을 둔다. */
.sol-detail {
  background: #fff;
  padding: clamp(56px, 10vw, 96px) 24px;
  scroll-margin-top: 88px;
}
.sol-detail-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.sol-detail-head {
  text-align: center;
  margin-bottom: clamp(40px, 7vw, 64px);
}
.sol-detail-title {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0d0d0d;
}
.sol-detail-sub {
  margin-top: 14px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: #444;
}
.sol-uc-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 80px);
}
/* 모바일: 세로 스택(텍스트 위·카드 아래) */
.sol-uc {
  display: flex;
  flex-direction: column;
}
.sol-uc-text {
  text-align: center;
  margin-bottom: 24px;
}
.sol-uc-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0d0d0d;
}
.sol-uc-sub {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 400;
  color: #767676;
}
/* "이렇게 할 수 있어요" 체크리스트 — 모바일은 가운데 블록·항목은 좌측 정렬 */
.sol-uc-points {
  list-style: none;
  margin: 18px auto 0;
  padding: 0;
  width: max-content;
  max-width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sol-uc-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
  color: #0d0d0d;
}
.sol-uc-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #24BF58;
  font-weight: 700;
}
.sol-uc-card {
  display: flex;
  justify-content: center;
  min-width: 0;
}
/* chat 카드: 세로로 길어 넓은 컬럼에서 혼자 떠 보여 → 흰 스테이지에 담고 높이 축소
   (공용 cards.css는 그대로, 이 페이지 .sol-detail 안에서만 조정) */
.sol-uc-card--chat {
  background: #fff;
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
}
.sol-uc-card--chat .chat-card {
  height: 580px;
  border-color: transparent;
}
@media (max-width: 480px) {
  /* mobile: 소형폰에서 채팅 위젯이 화면을 과도하게 채우지 않도록 축소(내부는 스크롤로 유지) */
  .sol-uc-card--chat .chat-card { height: 480px; }
}
/* ≥900px: 좌우 배치(텍스트 왼쪽·카드 오른쪽) */
@media (min-width: 900px) {
  .sol-uc {
    flex-direction: row;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
  }
  .sol-uc-text {
    flex: 0 0 300px;
    text-align: left;
    margin-bottom: 0;
  }
  .sol-uc-points {
    margin-left: 0;
  }
  .sol-uc-card {
    flex: 1 1 auto;
  }
  /* 지그재그: 짝수 번째는 카드 왼쪽·텍스트 오른쪽 */
  .sol-uc:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* 셀러 유형별 솔루션 (index.html home.css에서 이동) */
.for-seller-section {
  background: var(--surface-subtle);
  padding: clamp(64px, 10vw, 120px) 24px;
}.fse-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}.fse-header {
  text-align: center;
  margin-bottom: 56px;
}.fse-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 10px 0 16px;
}.fse-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}.fse-group {
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  padding: 32px;
}.fse-group:last-child { margin-bottom: 0; }.fse-group--domestic { background: var(--surface); border: 1px solid var(--border-subtle); }.fse-group--kbeauty  { background: var(--bg-soft); }.fse-group--inbound  { background: var(--brand-soft); }.fse-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}.fse-group-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  opacity: 0.7;
  transition: opacity 0.15s;
}.fse-group-link::after { content: ' ›'; font-size: 13px; }.fse-group-link:hover { opacity: 1; }.fse-badge {
  display: inline-block;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}.fse-group-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 0;
}.fse-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}.fse-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}.fse-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}.fse-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  margin: 0;
  line-height: 1.35;
}.fse-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) {
.fse-cards { grid-template-columns: 1fr; gap: 12px; }.fse-group-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
