/* =============================================================
   Clarity Supply Chain — 제품 페이지 (와이어프레임 기반)
   메인 페이지 톤 계승: 1280 컨테이너, Pretendard, OSBC 남색
   ============================================================= */

/* =============================================================
   Section 1. Product Hero — 다크 풀와이드, 1280 콘텐츠
   ============================================================= */
.product-hero {
  position: relative;
  background: var(--c-bg-dark);
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}
.product-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  color: #fff;
}
.product-hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-hero-visual span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.7;
  padding: 0 16px;
}
.product-hero-cat {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.product-hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.product-hero-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 760px;
  margin-bottom: 40px;
}
.product-hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 180px;
  height: 56px;
  padding: 0 28px;
  border: 1.5px solid #fff;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}
.product-hero-btn:hover {
  background: #fff;
  color: var(--c-primary);
}
/* 왼쪽 강한 액션 — fill 기본 */
.product-hero-btn--fill {
  background: #fff;
  color: var(--c-primary);
}
.product-hero-btn--fill:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--c-primary);
}
.ico-download {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  flex-shrink: 0;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M12 3v12m0 0l-5-5m5 5l5-5M5 21h14'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M12 3v12m0 0l-5-5m5 5l5-5M5 21h14'/></svg>") center/contain no-repeat;
}

/* =============================================================
   Anchor Tabs — 헤더 바로 아래 sticky
   ============================================================= */
.anchor-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.anchor-tabs-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 8px;
}
.anchor-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-sub);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.anchor-tab::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.anchor-tab:hover { color: var(--c-text); }
.anchor-tab.is-active {
  color: var(--c-primary);
  font-weight: 600;
}
.anchor-tab.is-active::after {
  transform: scaleX(1);
}

/* 모든 anchor 섹션에 헤더+탭 높이만큼 scroll-margin */
[id="overview"],
[id="features"],
[id="usecase"],
[id="faq"] {
  scroll-margin-top: calc(var(--header-h) + 60px);
}

/* =============================================================
   Section 2. Overview — WHY / HOW / WHO 3카드
   ============================================================= */
.cs-overview {
  padding: 120px 0;
  background: #fff;
}
.cs-overview .section-head {
  text-align: left;
  margin-bottom: 56px;
}
.cs-overview .section-lead {
  margin: 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.overview-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.overview-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
  box-shadow: 0 16px 40px rgba(0, 34, 122, 0.08);
}
.overview-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.overview-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 14px;
}
.overview-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-sub);
}
.overview-desc strong {
  color: var(--c-text);
  font-weight: 700;
}

/* =============================================================
   Section 3. Features — 6대 핵심 기능 (2x3, 흰 카드)
   ============================================================= */
.cs-features {
  padding: 120px 0;
  background: #f8f8f8;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 44px 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 25, 42, 0.06);
}
.feature-num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  margin-bottom: 16px;
}
.feature-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 20px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text-sub);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  opacity: 0.6;
}

/* =============================================================
   Section 4. Use Case — 3카드 placeholder (콘텐츠 미확보)
   ============================================================= */
.cs-usecase {
  padding: 120px 0;
  background: #fff;
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usecase-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 25, 42, 0.06);
}
.usecase-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.usecase-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.usecase-thumb span {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}
.usecase-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 32px 32px;
}
.usecase-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  letter-spacing: -0.02em;
}
.usecase-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text-sub);
}
.usecase-note {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--c-text-mute);
  letter-spacing: 0.02em;
}

/* =============================================================
   Section 5. FAQ — 아코디언 (다중 펼침 가능)
   ============================================================= */
.cs-faq {
  padding: 120px 0;
  background: #f8f8f8;
}
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item.is-open {
  box-shadow: 0 8px 24px rgba(20, 25, 42, 0.06);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-text);
  letter-spacing: -0.01em;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--c-primary); }
.faq-q-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.faq-q-icon::before,
.faq-q-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--c-text-sub);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-q-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.is-open .faq-q-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}
.faq-item.is-open .faq-q-icon::before,
.faq-item.is-open .faq-q-icon::after {
  background: var(--c-primary);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner {
  padding: 0 32px 28px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-sub);
}
