﻿/* ==========================================================================
   SECTION 9 — BUYER KNOWLEDGE CENTER
   ========================================================================== */

/* ── Header ── */
.bkc-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 72px;
}
.bkc-header .section-heading { font-size: clamp(36px, 5vw, 62px); }
.bkc-header .section-desc { max-width: 100%; color: var(--text-secondary); }

/* ── Knowledge Card Grid ── */
.bkc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 0;
}

.bkc-card {
  background: #2A2721;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: border-color .3s ease, box-shadow .3s ease, transform .25s ease;
  outline: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bkc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(166,61,46,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.bkc-card:hover { border-color: rgba(166,61,46,.28); box-shadow: 0 12px 36px rgba(166,61,46,.1); }
.bkc-card:hover::before { opacity: 1; }
.bkc-card.is-active {
  border-color: rgba(166,61,46,.55);
  box-shadow: 0 0 0 1px rgba(166,61,46,.2), 0 20px 50px rgba(166,61,46,.18);
}
.bkc-card.is-active::before { opacity: 1; }

.bkc-card-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 80px;
  line-height: 1;
  color: rgba(255,255,255,.03);
  position: absolute;
  top: 12px;
  right: 18px;
  user-select: none;
  pointer-events: none;
  letter-spacing: .01em;
  transition: color .35s ease;
}
.bkc-card.is-active .bkc-card-num { color: rgba(166,61,46,.07); }

.bkc-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(166,61,46,.08);
  border: 1px solid rgba(166,61,46,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.bkc-card:hover .bkc-card-icon,
.bkc-card.is-active .bkc-card-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.06);
}
.bkc-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #A63D2E;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke .3s ease;
}
.bkc-card:hover .bkc-card-icon svg,
.bkc-card.is-active .bkc-card-icon svg { stroke: #fff; }

.bkc-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  letter-spacing: .03em;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.1;
}
.bkc-card-teaser {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 20px;
}
.bkc-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color .2s ease, gap .2s ease;
}
.bkc-card-btn:hover, .bkc-card.is-active .bkc-card-btn { color: #fff; gap: 11px; }
.bkc-card-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round;
  transition: transform .2s ease;
}
.bkc-card:hover .bkc-card-btn svg,
.bkc-card.is-active .bkc-card-btn svg { transform: translateX(3px); }

/* ── Detail Panel ── */
.bkc-panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 12px;
  margin-bottom: 80px;
  border-radius: 22px;
  background: #2A2721;
  border: 1px solid var(--border);
  position: relative;
}
.bkc-panel-inner { padding: 44px 48px; }

.bkc-panel-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
  z-index: 5;
}
.bkc-panel-close:hover { background: rgba(166,61,46,.2); border-color: rgba(166,61,46,.3); }
.bkc-panel-close svg { width: 14px; height: 14px; stroke: rgba(255,255,255,.6); stroke-width: 2; fill: none; }

.bkc-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.bkc-panel-content.bkc-panel-full { grid-template-columns: 1fr; }

.bkc-panel-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.bkc-panel-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: #fff;
  letter-spacing: .02em;
  margin-bottom: 20px;
  line-height: 1.05;
}
.bkc-panel-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.bkc-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.bkc-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.75);
}
.bkc-panel-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 7px;
}
.bkc-panel-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--primary);
  transition: color .2s ease;
}
.bkc-panel-link:hover { color: #fff; }

/* ── Panel Visuals: MOQ Chart ── */
.bkc-moq-chart { display: flex; flex-direction: column; gap: 14px; }
.bkc-moq-row { display: flex; align-items: center; gap: 14px; }
.bkc-moq-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: .03em;
  color: rgba(255,255,255,.5);
  min-width: 64px;
  text-align: right;
}
.bkc-moq-bar-track {
  flex: 1;
  height: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 5px;
  overflow: hidden;
}
.bkc-moq-bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #A63D2E, #C24A37);
  width: 0%;
  transition: width 1s cubic-bezier(.16,1,.3,1);
}
.bkc-moq-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.3);
  min-width: 72px;
}
.bkc-moq-chart-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  text-align: center;
  margin-top: 6px;
}

/* ── Panel Visuals: Sampling Flow ── */
.bkc-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.bkc-flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
}
.bkc-flow-step + .bkc-flow-step::before {
  content: '';
  position: absolute;
  left: -50%;
  top: 22px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(166,61,46,.6), rgba(166,61,46,.2));
}
.bkc-flow-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(166,61,46,.1);
  border: 1.5px solid rgba(166,61,46,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.bkc-flow-circle svg { width: 18px; height: 18px; stroke: #A63D2E; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.bkc-flow-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--primary);
}
.bkc-flow-step-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  text-align: center;
  letter-spacing: .02em;
}
.bkc-flow-step-days {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ── Panel Visuals: Production Timeline ── */
.bkc-timeline {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 28px 24px;
}
.bkc-tl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(-10px);
}
.bkc-tl-row:last-child { margin-bottom: 0; }
.bkc-tl-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  min-width: 100px;
  text-align: right;
}
.bkc-tl-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  overflow: hidden;
}
.bkc-tl-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #A63D2E, #C24A37);
  width: 0%;
}
.bkc-tl-days {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  min-width: 60px;
}
.bkc-tl-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--primary);
  text-align: center;
}

/* ── Panel Visuals: Pricing Factors ── */
.bkc-factor-list { display: flex; flex-direction: column; gap: 13px; }
.bkc-factor-row { display: flex; flex-direction: column; gap: 5px; }
.bkc-factor-meta { display: flex; justify-content: space-between; align-items: center; }
.bkc-factor-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.bkc-factor-impact {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}
.bkc-factor-track {
  height: 6px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  overflow: hidden;
}
.bkc-factor-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #A63D2E, #C24A37);
  width: 0%;
}

/* ── Panel Visuals: Shipping Comparison ── */
.bkc-ship-grid { display: flex; gap: 14px; }
.bkc-ship-card {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: border-color .3s ease;
}
.bkc-ship-card:hover { border-color: rgba(166,61,46,.3); }
.bkc-ship-badge {
  display: inline-block;
  background: rgba(166,61,46,.12);
  border: 1px solid rgba(166,61,46,.2);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.bkc-ship-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  letter-spacing: .03em;
  color: #fff;
  margin-bottom: 12px;
}
.bkc-ship-speed { display: flex; gap: 4px; margin-bottom: 8px; }
.bkc-ship-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.bkc-ship-dot.is-on { background: var(--primary); }
.bkc-ship-meta { font-size: 12px; color: rgba(255,255,255,.35); margin-bottom: 6px; }
.bkc-ship-desc { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.55); }

/* ── Panel Visuals: Onboarding Flow ── */
.bkc-onboard { display: flex; flex-direction: column; gap: 0; max-width: 440px; margin: 0 auto; }
.bkc-onboard-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-12px);
}
.bkc-onboard-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.bkc-onboard-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(166,61,46,.1);
  border: 1.5px solid rgba(166,61,46,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bkc-onboard-circle svg { width: 16px; height: 16px; stroke: #A63D2E; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.bkc-onboard-line {
  width: 1.5px;
  flex: 1;
  min-height: 28px;
  background: linear-gradient(to bottom, rgba(166,61,46,.4), rgba(166,61,46,.1));
}
.bkc-onboard-step:last-child .bkc-onboard-line { display: none; }
.bkc-onboard-body { padding-top: 8px; padding-bottom: 28px; }
.bkc-onboard-step:last-child .bkc-onboard-body { padding-bottom: 0; }
.bkc-onboard-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  letter-spacing: .03em;
  color: #fff;
  margin-bottom: 4px;
}
.bkc-onboard-desc { font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }

/* ── Quote Readiness Checker ── */
.bkc-checker {
  background: #2A2721;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 52px;
  opacity: 0;
  transform: translateY(28px);
}

.bkc-checker-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.bkc-checker-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.bkc-checker-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: #fff;
  letter-spacing: .02em;
  margin-bottom: 12px;
  line-height: 1.05;
}
.bkc-checker-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Questions */
.bkc-questions { display: flex; flex-direction: column; gap: 12px; }

.bkc-question {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color .3s ease;
}
.bkc-question.is-answered { border-color: rgba(166,61,46,.25); }
.bkc-q-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  flex: 1;
}
.bkc-q-btns { display: flex; gap: 7px; flex-shrink: 0; }
.bkc-q-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: rgba(255,255,255,.4);
  font-family: inherit;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.bkc-q-btn:hover { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.bkc-q-btn.is-selected-yes { background: rgba(166,61,46,.18); border-color: rgba(166,61,46,.4); color: #A63D2E; }
.bkc-q-btn.is-selected-no  { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }

/* Readiness display */
.bkc-readiness { margin-top: 28px; }
.bkc-progress-track {
  height: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}
.bkc-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #A63D2E, #C24A37);
  width: 0%;
  transition: width .7s cubic-bezier(.16,1,.3,1);
}
.bkc-readiness-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}
.bkc-readiness-pct {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px;
  color: #fff;
  line-height: 1;
  letter-spacing: .02em;
}
.bkc-readiness-msg {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.bkc-readiness-tips { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.bkc-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.bkc-tip::before {
  content: '→';
  color: var(--primary);
  flex-shrink: 0;
  font-weight: 700;
}
.bkc-readiness-cta {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.bkc-readiness-cta.is-visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .bkc-grid { grid-template-columns: repeat(2, 1fr); }
  .bkc-checker-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .bkc-panel-inner { padding: 36px 28px; }
  .bkc-panel-content { grid-template-columns: 1fr; gap: 32px; }
  .bkc-checker { padding: 40px 32px; }
}
@media (max-width: 767px) {
  .bkc-header { margin-bottom: 48px; }
  .bkc-grid { grid-template-columns: 1fr; }
  .bkc-panel { margin-bottom: 52px; }
  .bkc-panel-inner { padding: 28px 20px; }
  .bkc-ship-grid { flex-direction: column; }
  .bkc-flow { flex-direction: column; gap: 16px; }
  .bkc-flow-step + .bkc-flow-step::before { display: none; }
  .bkc-checker { padding: 32px 24px; }
  .bkc-question { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 480px) {
  .bkc-card { padding: 24px 20px 20px; }
}
