.scenario-koc-screen {
  position: relative;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: calc(var(--design-vh) * 100);
  padding: 72px 32px 52px;
  overflow: hidden;
}

.scenario-koc-screen::before {
  position: absolute;
  inset: 13% 1% 8% 25%;
  z-index: -1;
  content: '';
  background:
    radial-gradient(ellipse 52% 48% at 30% 49%, rgba(63, 205, 200, 0.12), transparent 76%),
    radial-gradient(ellipse 45% 44% at 82% 48%, rgba(249, 189, 214, 0.09), transparent 78%);
  filter: blur(30px);
  pointer-events: none;
}

.scenario-koc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 590px;
}

.scenario-koc-copy {
  position: relative;
  align-self: center;
  padding: 8px 0 8px 24px;
}

.scenario-koc-copy::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  content: '';
  background: linear-gradient(180deg, #28c7c4, rgba(94, 219, 216, 0.12));
}

.scenario-koc-index {
  display: block;
  margin-bottom: 10px;
  color: #28bdbb;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.scenario-koc-copy h3 {
  margin: 0 0 20px;
  color: #14283a;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
}

.scenario-koc-copy p {
  margin: 0;
  color: #607487;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0;
}

.scenario-koc-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 460px) 78px 200px 178px;
  gap: 14px;
  align-items: center;
  align-self: center;
  justify-content: end;
  min-width: 0;
  perspective: 1000px;
}

.koc-stage {
  position: relative;
  min-width: 0;
}

.koc-stage-label {
  display: table;
  min-width: 0;
  margin: 0 auto 13px;
  padding: 7px 15px;
  border: 1px solid rgba(74, 199, 196, 0.22);
  border-radius: 999px;
  color: #279b9a;
  background: rgba(230, 249, 247, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

.koc-content-stage {
  padding: 18px 0;
}

@media (min-width: 761px) {
  .koc-content-stage .koc-stage-label {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    margin: 0;
    translate: -50% 0;
  }

  .koc-content-stage {
    padding: 0;
  }
}

.koc-content-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  align-items: center;
}

.koc-content-card {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 17px 30px rgba(32, 91, 111, 0.12), inset 0 1px 0 #fff;
  transform-origin: 100% 50%;
}

.koc-content-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: 0 17px 30px rgba(32, 91, 111, 0.14);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 260ms ease;
}

.koc-sync-node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  z-index: 2;
}

.koc-sync-node::before,
.koc-sync-node::after {
  position: absolute;
  top: 34px;
  height: 1px;
  content: '';
  pointer-events: none;
}

.koc-sync-node::before {
  right: 100%;
  width: 14px;
  background: linear-gradient(90deg, rgba(44, 183, 179, 0.08), rgba(44, 183, 179, 0.7));
}

.koc-sync-node::after {
  left: 100%;
  width: 14px;
  background: linear-gradient(90deg, rgba(44, 183, 179, 0.7), rgba(44, 183, 179, 0.16));
}

.koc-sync-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #70ded9, #1da8a5);
  box-shadow: 0 16px 30px rgba(35, 177, 173, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.koc-sync-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.koc-sync-node strong {
  color: #2a8f8d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .koc-content-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .koc-content-card {
    width: 104px;
    flex: 0 0 104px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .koc-content-card + .koc-content-card {
    margin-left: -16px;
  }

  .koc-content-card:nth-child(1) img { transform: rotate(-3.5deg); }
  .koc-content-card:nth-child(2) img { transform: rotate(-1.8deg); }
  .koc-content-card:nth-child(3) img { transform: rotate(0.8deg); }
  .koc-content-card:nth-child(4) img { transform: rotate(2.1deg); }
  .koc-content-card:nth-child(5) img { transform: rotate(3.4deg); }

  .koc-content-card:hover { z-index: 12; }

  .koc-content-card:hover img {
    transform: translateY(-11px) scale(1.14);
    box-shadow: 0 24px 42px rgba(27, 87, 110, 0.22);
  }

  .koc-sync-node {
    height: 68px;
    gap: 0;
    padding: 0;
  }

  .koc-sync-node strong {
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%);
  }
}

.koc-distribution-stage {
  display: grid;
  gap: 13px;
  padding: 30px 0;
}

.koc-branch-line {
  position: absolute;
  z-index: 0;
  display: block;
  background: linear-gradient(180deg, rgba(48, 194, 190, 0.2), rgba(48, 194, 190, 0.75), rgba(48, 194, 190, 0.2));
  transform-origin: 50% 0;
}

.koc-branch-line--entry {
  top: 50%;
  left: -14px;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(48, 194, 190, 0.2), rgba(48, 194, 190, 0.75));
  transform-origin: 0 50%;
}

.koc-branch-line--trunk {
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 1px;
}

.koc-branch-line--public,
.koc-branch-line--private {
  left: 0;
  width: 13px;
  height: 1px;
  background: linear-gradient(90deg, rgba(48, 194, 190, 0.75), rgba(48, 194, 190, 0.16));
  transform-origin: 0 50%;
}

.koc-branch-line--public { top: 25%; }
.koc-branch-line--private { bottom: 25%; }

.koc-distribution-card,
.koc-result-card {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 17px 34px rgba(34, 98, 114, 0.11), inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
}

.koc-distribution-card {
  min-height: 168px;
  margin-left: 13px;
  padding: 12px 13px 11px;
  overflow: hidden;
  transform-origin: 0 50%;
}

.koc-distribution-card h4 {
  margin: 0 0 9px;
  color: #269b99;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.koc-public-platforms {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.koc-public-platforms img {
  display: block;
  width: 72px;
  height: 108px;
  object-fit: contain;
}

.koc-public-platforms ul,
.koc-private-grid,
.koc-result-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.koc-public-platforms ul {
  display: grid;
  gap: 7px;
  color: #465f70;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.koc-public-platforms li::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  content: '';
  background: #39bdb9;
  vertical-align: 1px;
}

.koc-private-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 7px;
  padding-top: 6px;
}

.koc-private-grid li {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  color: #526b7a;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.koc-private-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(68, 192, 189, 0.18);
  border-radius: 50%;
  color: #279f9d;
  background: rgba(231, 250, 248, 0.9);
  font-size: 10px;
  font-weight: 800;
}

.koc-result-stage {
  padding: 30px 0;
}

.koc-result-card {
  min-height: 349px;
  padding: 17px 14px 15px;
  transform-origin: 0 50%;
}

.koc-result-card h4 {
  margin: 0 0 14px;
  color: #269b99;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
}

.koc-result-meter {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto 17px;
}

.koc-result-meter svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.koc-meter-track,
.koc-meter-progress,
.koc-meter-sweep {
  fill: none;
  stroke-linecap: round;
  stroke-width: 11;
}

.koc-meter-track {
  stroke: rgba(46, 181, 177, 0.12);
}

.koc-meter-progress {
  stroke: url(#kocResultGradient);
  stroke-dasharray: 65 100;
}

.koc-meter-sweep {
  display: none;
}

.koc-result-value {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
}

.koc-result-value strong {
  color: #163044;
  font-size: 30px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
}

.koc-result-value span {
  margin-top: 7px;
  color: #6c8290;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}

.koc-result-list {
  display: grid;
  gap: 9px;
  justify-items: center;
}

.koc-result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
  color: #476171;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
}

.koc-result-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid rgba(49, 183, 179, 0.3);
  border-radius: 50%;
  color: #2eb7b3;
  background: rgba(238, 253, 251, 0.88);
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .scenario-koc-screen {
    min-height: auto;
    padding: 100px 16px 110px;
    overflow: visible;
    scroll-snap-stop: normal;
  }

  .scenario-koc-screen::before {
    inset: 8% -18% 4%;
  }

  .scenario-koc-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }

  .scenario-koc-copy {
    padding-left: 18px;
  }

  .scenario-koc-index {
    margin-bottom: 8px;
    font-size: 48px;
  }

  .scenario-koc-copy h3 {
    margin-bottom: 14px;
    font-size: 27px;
  }

  .scenario-koc-copy p {
    font-size: 15px;
    line-height: 1.8;
  }

  .scenario-koc-flow {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .koc-content-stage {
    padding: 0;
  }

  .koc-stage-label {
    font-size: 13px;
  }

  .koc-content-cards {
    gap: 5px;
  }

  .koc-sync-node {
    padding: 2px 0;
  }

  .koc-sync-node::before {
    top: -30px;
    right: auto;
    left: 50%;
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, rgba(44, 183, 179, 0.08), rgba(44, 183, 179, 0.7));
  }

  .koc-sync-node::after {
    top: 100%;
    left: 50%;
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, rgba(44, 183, 179, 0.7), rgba(44, 183, 179, 0.16));
  }

  .koc-distribution-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
  }

  .koc-branch-line--entry,
  .koc-branch-line--trunk,
  .koc-branch-line--public,
  .koc-branch-line--private {
    display: none;
  }

  .koc-distribution-card {
    min-height: 180px;
    margin-left: 0;
    padding: 13px 10px 11px;
  }

  .koc-public-platforms {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 7px;
  }

  .koc-public-platforms img {
    width: 66px;
    height: 116px;
  }

  .koc-public-platforms ul {
    font-size: 10px;
  }

  .koc-result-stage {
    padding: 0;
  }

  .koc-result-card {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0 12px;
    min-height: 0;
    padding: 17px;
  }

  .koc-result-card h4 {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .koc-result-meter {
    width: 132px;
    height: 132px;
    margin: 0;
  }

  .koc-result-list {
    align-content: center;
    gap: 10px;
  }

  .koc-result-item {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .koc-result-card {
    grid-template-columns: 118px minmax(0, 1fr);
    padding: 14px 11px;
  }

  .koc-result-meter {
    width: 112px;
    height: 112px;
  }

  .koc-result-value strong {
    font-size: 27px;
  }

  .koc-result-item {
    gap: 6px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .koc-meter-sweep {
    animation: none;
  }
}
