/* v9: three inset product illustrations with a shared, controllable motion system. */
.feature-visual { height: auto; aspect-ratio: 1; }
.ai-chat-visual { display: grid; place-items: center; container-type: inline-size; background: #f2f5f4; }
.ai-chat-visual::before { display: none; }
.live-chat {
  width: 82%; max-width: 282px; font-size: 10px; font-size: clamp(8px,3cqw,10px); line-height: 1.4;
  background: #fff; border: 1px solid #dfe7e4; border-radius: 1.4em; overflow: hidden;
  box-shadow: 0 6px 18px -10px #284b3e35,0 1px 3px #18362e08;
}
.live-chat-head { display: flex; align-items: center; gap: .8em; padding: 1em; border-bottom: 1px solid #edf1ef; }
.live-chat-avatar { display: grid; place-items: center; width: 2.7em; height: 2.7em; background: #e8f4ef; color: #087c70; border: 1px solid #d5e9e1; border-radius: .9em; }
.live-chat-avatar .icon { width: 1.6em; height: 1.6em; }
.live-chat-name { display: grid; gap: .25em; }
.live-chat-name strong { color: #163040; font-size: 1.1em; font-weight: 600; }
.live-chat-name > span { font-size: .75em; color: #72827e; }
.live-chat-status { margin-left: auto; display: flex; align-items: center; gap: .45em; font-size: .75em; color: #527368; white-space: nowrap; }
.live-chat-status i { width: .55em; height: .55em; background: #2e9979; border-radius: 50%; }
.live-chat-thread { position: relative; display: flex; flex-direction: column; gap: .7em; height: 19.2em; padding: 1em; }
.live-message { width: fit-content; max-width: 94%; padding: .65em .8em; border: 1px solid #dcece4; border-radius: 1em; color: #294b42; background: #eaf5ef; margin-left: auto; }
.live-message--incoming { margin-left: 0; margin-right: auto; background: #f7f9f8; color: #435653; border-color: #e8eeeb; border-bottom-left-radius: .3em; animation: chat-incoming 12s linear infinite; }
.live-message--hello { border-bottom-right-radius: .3em; animation: chat-hello 12s linear infinite; }
.live-message--answer { border-bottom-right-radius: .3em; animation: chat-answer 12s linear infinite; }
.live-message-check { display: flex; justify-content: flex-end; height: .9em; margin-top: .2em; color: #5b9b86; }
.live-message-check .icon { width: .9em; height: .9em; }
.live-message-check .icon + .icon { margin-left: -.5em; }
.live-typing { position: absolute; right: 1em; display: flex; align-items: center; gap: .45em; padding: 1.05em 1.2em; background: #eaf5ef; border: 1px solid #dcece4; border-radius: 1em; opacity: 0; }
.live-typing--first { top: 6.1em; animation: chat-typing-first 12s linear infinite; }
.live-typing--second { top: 11.3em; animation: chat-typing-second 12s linear infinite; }
.live-typing i { width: .4em; height: .4em; border-radius: 50%; background: #72a491; animation: typing-dot 1s ease-in-out infinite; }
.live-typing i:nth-child(2) { animation-delay: .15s; }
.live-typing i:nth-child(3) { animation-delay: .3s; }
.live-chat-compose { display: flex; justify-content: space-between; align-items: center; gap: .8em; padding: .7em 1em; border-top: 1px solid #edf1ef; font-size: .8em; color: #8a9893; }
.live-chat-send { width: 2.2em; height: 2.2em; display: grid; place-items: center; border-radius: .7em; color: #518b77; background: #eff6f2; }
.live-chat-send .icon { width: 1.4em; height: 1.4em; }
@keyframes chat-incoming { 0%,100% { opacity: 0; transform: translateY(5px); } 5%,96% { opacity: 1; transform: none; } }
@keyframes chat-hello { 0%,19%,100% { opacity: 0; transform: translateY(5px); } 24%,96% { opacity: 1; transform: none; } }
@keyframes chat-answer { 0%,39%,100% { opacity: 0; transform: translateY(5px); } 44%,96% { opacity: 1; transform: none; } }
@keyframes chat-typing-first { 0%,6%,22%,100% { opacity: 0; } 9%,18% { opacity: 1; } }
@keyframes chat-typing-second { 0%,26%,42%,100% { opacity: 0; } 29%,38% { opacity: 1; } }
@keyframes typing-dot { 0%,60%,100% { transform: none; opacity: .5; } 30% { transform: translateY(-2px); opacity: 1; } }

/* Brand assets keep their actual colors in every interaction state. */
.channels-visual .channel-node img,
.channels-visual:hover .channel-node img {
  filter: none;
  opacity: 1;
  transition: none;
  max-height: 31px;
}
.channels-visual .channel-node { height: 50px; padding: 9px; border-radius: 12px; }
.channels-visual .node-1,.channels-visual .node-2,.channels-visual .node-3 { top: calc(28.235% - 25px); }
.channels-visual .node-4,.channels-visual .node-5,.channels-visual .node-6 { top: calc(71.765% - 25px); }
.channels-visual .node-1 img { max-width: 67px; }
.channels-visual .node-3 img { max-width: 64px; }
.channels-visual .channel-hub { top: calc(50% - 27px); left: calc(50% - 27px); width: 54px; height: 54px; border-radius: 16px; }
.channels-visual .channel-hub img { width: 36px; height: 36px; }
.channels-visual .intercorp-note { font-size: 7.5px; bottom: 18px; color: #657e74; }
.channel-lines { stroke: #bdcfc9; stroke-dasharray: 3 4; }
.channel-flows { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; pointer-events: none; }
.channel-flow { stroke: #25a48d; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 14 86; opacity: 0; animation: channel-transfer 12s linear infinite; }
.channels-visual .channel-node { animation: channel-selected 12s linear infinite; }
.channels-visual .node-2,.flow-2 { animation-delay: 2s; }
.channels-visual .node-3,.flow-3 { animation-delay: 4s; }
.channels-visual .node-4,.flow-4 { animation-delay: 6s; }
.channels-visual .node-5,.flow-5 { animation-delay: 8s; }
.channels-visual .node-6,.flow-6 { animation-delay: 10s; }
.channel-hub::after { content: ''; position: absolute; inset: -5px; border: 1px solid #49ae9560; border-radius: 20px; pointer-events: none; animation: channel-receive 2s ease-out infinite; }
@keyframes channel-transfer { 0% { opacity: 0; stroke-dashoffset: 14; } 2% { opacity: 1; } 14% { opacity: 1; stroke-dashoffset: -100; } 17%,100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes channel-selected { 3%,14% { transform: translateY(-2px); border-color: #85bdae; box-shadow: 0 0 0 3px #ddece680,0 3px 6px #243e2e08; } 0%,18%,100% { transform: none; border-color: #e0e6e3; box-shadow: 0 3px 6px #243e2e08; } }
@keyframes channel-receive { 0%,65% { opacity: 0; transform: scale(.94); } 75% { opacity: .8; } 100% { opacity: 0; transform: scale(1.18); } }

/* The path rotates. The process labels stay upright and readable. */
.logistics-cycle { display: grid; place-items: center; background: #f2f5f4; }
.cycle-scene { position: relative; width: min(280px,calc(100% - 24px)); aspect-ratio: 1; }
.cycle-track,.cycle-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle-track { fill: none; stroke: #d5e2dc; stroke-width: 1.3; }
.cycle-track .cycle-outer-track { stroke: #d8e4df; stroke-width: 1; stroke-dasharray: 1 6; stroke-linecap: round; }
.cycle-track .cycle-directions { stroke: #9db9ab; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cycle-orbit { animation: logistics-orbit 16s linear infinite; transform-origin: 50% 50%; }
.cycle-trail { fill: none; stroke: #00ad9c; stroke-width: 3.4; stroke-linecap: round; }
.cycle-traveler { fill: #08796c; stroke: #fff; stroke-width: 2; }
.cycle-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 66px; height: 66px; display: grid; place-items: center;
  background: linear-gradient(145deg,#fff,#f9fcfb); border: 1px solid #d6e3de; border-radius: 20px;
  box-shadow: 0 5px 14px -8px #1b4d4740,inset 0 1px 0 #fff,0 0 0 9px #ffffff70;
}
.cycle-hub img { width: 40px; height: 40px; }
.cycle-stage { position: absolute; width: 44px; height: 44px; transform: translate(-50%,-50%); color: #526f63; z-index: 2; }
.cycle-stage--order { left: 50%; top: 18.571%; }
.cycle-stage--prepare { left: 81.429%; top: 50%; }
.cycle-stage--send { left: 50%; top: 81.429%; }
.cycle-stage--delivered { left: 18.571%; top: 50%; }
.cycle-stage-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: #fff; border: 1px solid #d7e4de; border-radius: 14px;
  box-shadow: 0 3px 7px #194e3a08; color: #527c68;
  animation: logistics-stage 16s linear infinite;
}
.cycle-stage-icon .icon { width: 23px; height: 23px; }
.cycle-stage--prepare .cycle-stage-icon { animation-delay: 4s; }
.cycle-stage--send .cycle-stage-icon { animation-delay: 8s; }
.cycle-stage--delivered .cycle-stage-icon { animation-delay: 12s; }
.cycle-stage-label { position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 500; line-height: 1.2; white-space: nowrap; color: #4f695e; }
.visual-motion-toggle {
  position: absolute; bottom: 8px; right: 8px; width: 32px; height: 32px; z-index: 4;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid #dce7e2;
  background: #ffffffd9; color: #567366; box-shadow: inset 0 1px 0 #fff;
  transition: background-color .15s,border-color .15s;
}
.visual-motion-toggle::after { content: ''; position: absolute; inset: -6px; }
.visual-motion-toggle:hover { background: #fff; border-color: #9ac3b3; }
.visual-motion-toggle .icon { width: 14px; height: 14px; }
.motion-play-icon { display: none; }
.feature-visual[data-user-paused=true] .motion-pause-icon { display: none; }
.feature-visual[data-user-paused=true] .motion-play-icon { display: block; }
.feature-visual[data-motion=paused] *,
.feature-visual[data-motion=paused] *::after { animation-play-state: paused!important; }
@keyframes logistics-orbit { to { transform: rotate(360deg); } }
@keyframes logistics-stage {
  0%,20% { background: #087a6b; border-color: #087a6b; color: #fff; box-shadow: 0 0 0 4px #dcefe6,0 4px 8px #13563d16; }
  25%,100% { background: #fff; border-color: #d7e4de; color: #527c68; box-shadow: 0 3px 7px #194e3a08; }
}
@media(max-width:1000px) {
  .features {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(320px,calc(100vw - 56px));
    width: 100%; max-width: none; gap: 18px; margin: 3px 0 0; padding: 7px 24px 42px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px; scrollbar-width: thin; scrollbar-color: #c8d9d1 transparent;
  }
  .feature { scroll-snap-align: start; scroll-margin-top: 24px; }
  .feature-visual { height: auto; border-radius: 20px; }
  .feature-copy { padding: 17px 4px 0; }
  .feature-copy h2 { font-size: 22px; }
  .feature-copy h2 br { display: none; }
  .feature-copy > p:last-child { font-size: 12px; line-height: 1.65; max-width: 100%; margin-top: 9px; }
  .channels-visual .intercorp-note { font-size: 7px; bottom: 22px; padding-right: 14px; }
  .cycle-scene { width: min(260px,calc(100% - 48px)); }
  .cycle-stage-label { font-size: 10px; }
}
@media(max-width:420px) {
  .features { width: 100%; padding-inline: 18px; scroll-padding-inline: 18px; gap: 16px; }
  .channels-visual .channel-node { height: 45px; padding: 8px; }
  .channels-visual .node-1,.channels-visual .node-2,.channels-visual .node-3 { top: calc(28.235% - 22.5px); }
  .channels-visual .node-4,.channels-visual .node-5,.channels-visual .node-6 { top: calc(71.765% - 22.5px); }
  .channels-visual .intercorp-note { font-size: 6.5px; bottom: 22px; }
  .cycle-stage-label { font-size: 9px; }
  .cycle-stage,.cycle-stage-icon { width: 40px; height: 40px; }
  .cycle-stage-icon .icon { width: 21px; height: 21px; }
}
@media(prefers-reduced-motion:reduce) {
  .feature-visual *,.feature-visual *::after { animation: none!important; }
  .visual-motion-toggle { display: none; }
  .live-message { opacity: 1; transform: none; }
  .live-typing,.channel-flow,.channel-hub::after { display: none; }
  .cycle-stage--order .cycle-stage-icon { background: #087a6b; color: #fff; border-color: #087a6b; }
}
