/* ===========================================================
   custom.css - manufacturer deck components
   (loaded after colors_and_type.css + deck-styles.css)
   chain, BOM sheet, WhatsApp mock, smart slip, outlet network
   =========================================================== */
/* Value chain (slide 03) */
.chain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 46px;
  position: relative;
}
.chain::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 8.3%;
  right: 8.3%;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--lime));
  opacity: 0.3;
  border-radius: 2px;
  z-index: 0;
}
.chain-flow {
  position: absolute;
  top: 29px;
  left: 8.3%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 242, 78, 0.25);
  z-index: 2;
}
.chain-step {
  position: relative;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.chain-step .ic {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}
.chain-step .ic svg {
  width: 30px;
  height: 30px;
}
.chain-step.is-last .ic {
  background: var(--lime);
  color: var(--ink);
}
.chain-step .sn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--n-500);
}
.chain-step .st {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
}
.chain-step .sd {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--n-700);
}
@media (prefers-reduced-motion: no-preference) {
  [data-deck-active] .chain-flow {
    animation: chainmove 5s linear infinite;
  }
}
@keyframes chainmove {
  0% {
    left: 8.3%;
  }
  100% {
    left: 91.7%;
  }
}
/* BOM cost sheet (slide 05) */
.bom {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  padding: 26px 30px;
}
.bom .bh {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 16px;
  margin-bottom: 6px;
}
.bom .bh .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n-700);
  margin-bottom: 6px;
}
.bom .bh .t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.bom .bh .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
}
.bom-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--n-200);
  align-items: center;
}
.bom-row .m {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.bom-row .q {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--n-700);
  text-align: right;
}
.bom-row .c {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: 90px;
}
.bom-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
}
.bom-foot .fl {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--n-700);
  line-height: 1.35;
}
.bom-foot .fv {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.bom-foot .fv .mg {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--n-300);
  padding-left: 10px;
}
/* WhatsApp order mock (slide 07) */
.wa {
  width: 430px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  background: #ece5dd;
}
.wa .wah {
  background: #075e54;
  color: #fff;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa .wah .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa .wah .av svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.wa .wah .nm {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
}
.wa .wah .on {
  font-family: var(--font-body);
  font-size: 12px;
  color: #b7d8c9;
}
.wa .wab {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.wa .msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.wa .msg.in {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 2px;
}
.wa .msg.out {
  background: #dcf8c6;
  align-self: flex-end;
  border-top-right-radius: 2px;
}
.wa .msg .tm {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #8a9;
  text-align: right;
  margin-top: 3px;
}
.wa .msg b {
  color: var(--ink);
  font-weight: 700;
}
/* Smart slip / receipt (slide 08) */
.slip {
  width: 330px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow-float);
  padding: 26px 26px 30px;
  font-family: var(--font-mono);
  color: var(--ink);
  position: relative;
}
.slip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 14px;
  background: repeating-linear-gradient(
    135deg,
    #fff 0 10px,
    transparent 10px 20px
  );
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.06));
}
.slip .sc {
  text-align: center;
  border-bottom: 1px dashed var(--n-300);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.slip .sc .bn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.slip .sc .ad {
  font-size: 11px;
  color: var(--n-700);
  margin-top: 3px;
}
.slip .ln {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 4px 0;
}
.slip .ln.tot {
  border-top: 1px dashed var(--n-300);
  margin-top: 8px;
  padding-top: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}
.slip .promo {
  margin-top: 16px;
  background: rgba(124, 92, 252, 0.07);
  border: 1px dashed var(--violet);
  border-radius: 8px;
  padding: 13px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.slip .promo .qr {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.slip .promo .pt {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink);
}
.slip .promo .pt b {
  color: var(--violet);
}
/* Outlet network map (slide 06) */
.net {
  position: relative;
  height: 430px;
  margin-top: 24px;
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--paper) 100%);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.net-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.net-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 11px 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.net-node svg {
  width: 20px;
  height: 20px;
  color: var(--violet);
}
.net-node .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--n-200);
  color: var(--n-700);
}
.net-node .tag.fast {
  background: rgba(31, 199, 154, 0.16);
  color: var(--teal);
}
.net-node .tag.slow {
  background: rgba(255, 107, 61, 0.16);
  color: var(--coral);
}
.net-hub {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  font-size: 18px;
  box-shadow: var(--shadow-float);
}
.net-hub svg {
  color: var(--lime);
  width: 22px;
  height: 22px;
}
.net-legend {
  position: absolute;
  left: 24px;
  bottom: 15px;
  display: flex;
  gap: 20px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--n-700);
}
.net-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.net-legend i {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}
.net-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.net-stat {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.net-stat .v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.net-stat .k {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--n-700);
}
/* stacked feature cards (slide 05 right) */
.feat {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feat-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.feat-card .fi {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124, 92, 252, 0.1);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-card .fi svg {
  width: 22px;
  height: 22px;
}
.feat-card .ft {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 3px;
}
.feat-card .fd {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--n-700);
}
/* Impact strong line */
.impact-line {
  margin-top: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.impact-line em {
  font-style: normal;
  color: var(--violet);
}
/* Next-step scope card (slide 10) */
.scope-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 26px 28px;
}
.scope-card .sh {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n-500);
  margin-bottom: 16px;
}
.scope-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.scope-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--paper);
}
.scope-card li svg {
  width: 18px;
  height: 18px;
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 2px;
}
