/* One shared stage for the five platform walkthroughs. */
.platform-showcase { padding: 64px 0 80px; background: #fff; scroll-margin-top: 94px; }
.platform-showcase > .ps-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.platform-showcase h2 { margin: 0 0 28px; color: #1d2129; font-size: clamp(25px, 2.5vw, 32px); line-height: 1.45; font-weight: 650; letter-spacing: -.5px; }
.ps-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.ps-heading h2 { margin: 0; }
.ps-carousel-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ps-carousel-controls[hidden] { display: none; }
.ps-carousel-button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-width: 36px; height: 36px; padding: 7px; border: 1px solid #e1e9f4; border-radius: 5px; background: #fff; color: #52647b; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.ps-carousel-button:hover { color: #06f; border-color: #a8c9fb; background: #f7faff; }
.ps-carousel-button svg { width: 16px; height: 16px; }
.ps-carousel-toggle { padding-inline: 10px; font-size: 13px; }
.ps-carousel-count { display: inline-flex; align-items: center; gap: 6px; min-width: 42px; color: #7d8ca0; font-size: 13px; font-variant-numeric: tabular-nums; }
.ps-carousel-count b { color: #283649; font-weight: 600; }
.ps-tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c9dcf7 transparent; margin-bottom: 28px; border-bottom: 1px solid #e8edf4; }
.ps-tabs a { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; flex: 1 0 auto; padding: 17px 16px 19px; font-size: 16px; font-weight: 500; color: #404957; white-space: nowrap; transition: color .2s, background .2s; }
.ps-tabs a > svg { width: 22px; height: 22px; flex-shrink: 0; }
/* Animate the working parts of each symbol; the tab itself stays still. */
.ps-icon-motion { transform-box: fill-box; transform-origin: center; }
.ps-icon-horn { --ps-icon-motion: ps-icon-broadcast; transform-origin: 35% 55%; }
.ps-icon-wave { --ps-icon-motion: ps-icon-sound; }
.ps-icon-level { --ps-icon-motion: ps-icon-equalizer; transform-origin: center bottom; }
.ps-icon-meridian { --ps-icon-motion: ps-icon-longitude; }
.ps-icon-orbit { --ps-icon-motion: ps-icon-global; stroke-dasharray: 7 93; opacity: 0; stroke-width: 2.5; }
.ps-icon-play { --ps-icon-motion: ps-icon-playing; }
.ps-icon-progress { --ps-icon-motion: ps-icon-timeline; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .65; }
.ps-icon-route { --ps-icon-motion: ps-icon-packet; stroke-dasharray: 6 30; stroke-dashoffset: 36; stroke-width: 2.5; opacity: 0; }
.ps-icon-node { --ps-icon-motion: ps-icon-routing; fill: currentColor; fill-opacity: 0; }
.ps-tabs a:is(:hover, :focus-visible, [aria-selected="true"]) .ps-icon-motion {
  animation: var(--ps-icon-motion) 2.4s cubic-bezier(.45, 0, .25, 1) var(--ps-icon-delay, 0s) infinite;
}
@keyframes ps-icon-broadcast {
  0%, 45%, 100% { transform: rotate(0deg); }
  14% { transform: rotate(-7deg); }
  28% { transform: rotate(4deg); }
}
@keyframes ps-icon-sound {
  0%, 65%, 100% { opacity: .55; transform: translateX(0); }
  25% { opacity: 1; transform: translateX(1px); }
  48% { opacity: .2; transform: translateX(1.5px); }
}
@keyframes ps-icon-equalizer {
  0%, 100% { transform: scaleY(.7); }
  20%, 65% { transform: scaleY(1.15); }
  40%, 82% { transform: scaleY(.35); }
}
@keyframes ps-icon-longitude {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(.12); }
}
@keyframes ps-icon-global {
  0% { stroke-dashoffset: 100; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes ps-icon-playing {
  0%, 65%, 100% { transform: scale(1); fill: transparent; }
  28% { transform: scale(1.12); fill: currentColor; }
}
@keyframes ps-icon-timeline {
  0%, 10% { stroke-dashoffset: 1; opacity: .3; }
  70%, 85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: .3; }
}
@keyframes ps-icon-packet {
  0% { stroke-dashoffset: 36; opacity: 0; }
  15%, 70% { opacity: 1; }
  90%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes ps-icon-routing {
  0%, 65%, 100% { fill-opacity: 0; }
  25%, 40% { fill-opacity: .28; }
}
.ps-tabs a::after { position: absolute; content: ''; left: 0; right: 0; bottom: 0; height: 2px; background: #06f; transform: scaleX(0); transition: transform .28s ease; }
.ps-tabs a:hover { color: #06f; background: #f7faff; }
.ps-tabs a[aria-selected="true"] { color: #06f; }
.ps-tabs a[aria-selected="true"]::after { transform: scaleX(1); }
.platform-showcase.is-enhanced .ps-tabs a[aria-selected="true"]::after { background: #d5e5fc; }
.ps-tab-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 2px; background: #06f; transform: scaleX(0); transform-origin: left; visibility: hidden; pointer-events: none; }
.ps-tabs a[aria-selected="true"] .ps-tab-progress { visibility: visible; }
.platform-showcase :is(a, button):focus-visible { outline: 2px solid #06f; outline-offset: -3px; border-radius: 4px; }
.ps-panel { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: 48px; scroll-margin-top: 94px; }
.ps-panel + .ps-panel { margin-top: 64px; }
.platform-showcase.is-enhanced .ps-panels { display: grid; }
.platform-showcase.is-enhanced .ps-panel { grid-area: 1 / 1; margin: 0; }
/* Inactive panels still size the shared stage, preventing jumps between tabs. */
.platform-showcase.is-enhanced .ps-panel:not(.is-active):not(.is-leaving) { visibility: hidden; pointer-events: none; }
.platform-showcase.is-enhanced .ps-panel.is-active { z-index: 2; }
.platform-showcase.is-enhanced .ps-panel.is-leaving { pointer-events: none; z-index: 1; }
.ps-copy { min-width: 0; padding: 4px 0; display: flex; flex-direction: column; align-self: stretch; }
.ps-copy h3 { margin: 0 0 14px; color: #1d2129; font-size: 24px; font-weight: 650; line-height: 1.45; }
.ps-description { color: #5d6d82; font-size: 15px; line-height: 1.85; }
.ps-features { display: grid; gap: 20px; margin: 25px 0 32px; padding: 0; }
.ps-features li { display: flex; align-items: flex-start; gap: 11px; color: #5d6d82; font-size: 14px; line-height: 1.85; }
.ps-features li > svg { color: #06f; width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; }
.ps-features strong { display: block; margin-bottom: 4px; color: #283649; font-weight: 550; font-size: 15px; }
.ps-actions { display: flex; align-items: center; gap: 26px; margin-top: auto; padding-top: 8px; }
.ps-primary { display: inline-flex; align-items: center; justify-content: center; min-width: 122px; min-height: 44px; padding: 10px 22px; background: #06f; border-radius: 4px; font-size: 14px; font-weight: 500; color: #fff; transition: background .2s; }
.ps-primary:hover { background: #0052cc; }
.ps-detail { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #283649; font-size: 14px; transition: color .2s; }
.ps-detail svg { width: 17px; height: 17px; transition: transform .2s; }
.ps-detail:hover { color: #06f; }
.ps-detail:hover svg { transform: translateX(3px); }
.ps-media { min-width: 0; position: relative; overflow: hidden; background: #f0f6ff; border: 1px solid #e1e9f4; border-radius: 8px; }
.ps-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: contain; background: #f3f8ff; pointer-events: auto; }
.platform-showcase:not(.is-enhanced) video::-webkit-media-controls { display: flex !important; }
.is-enhanced .ps-media video { pointer-events: none; }
.ps-playback { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 11px; color: #365b89; background: #ffffffed; border: 1px solid #d3e2f7; border-radius: 5px; font-size: 13px; box-shadow: 0 2px 12px #2046760a; cursor: pointer; }
.ps-playback[hidden] { display: none; }
.ps-playback:hover { color: #06f; border-color: #9fc2fb; }
.ps-playback svg { width: 14px; height: 14px; }
@media (max-width: 1100px) {
  .ps-tabs { gap: 6px; }
  .ps-tabs a { padding-inline: 12px; font-size: 14px; gap: 8px; }
  .ps-panel { gap: 28px; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .ps-features { gap: 15px; }
}
@media (max-width: 900px) {
  .ps-panel { grid-template-columns: minmax(0, 1fr); gap: 26px; align-content: start; }
  .ps-copy { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ps-media { align-self: start; }
  .ps-features { margin: 20px 0; }
  .ps-actions { padding-top: 0; }
}
@media (max-width: 767px) {
  .platform-showcase { padding: 44px 0 48px; }
  .platform-showcase > .ps-container { padding: 0 20px; }
  .platform-showcase h2 { font-size: 24px; margin-bottom: 16px; }
  .ps-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 12px; }
  .ps-heading h2 { margin: 0; }
  .ps-carousel-controls { align-self: flex-end; gap: 8px; }
  .ps-tabs { margin-bottom: 25px; gap: 8px; }
  .ps-tabs a { padding: 14px 10px 16px; }
  .ps-copy h3 { font-size: 22px; }
  .ps-description { font-size: 14px; }
  .ps-features strong { font-size: 14px; }
  .ps-features li { font-size: 14px; }
  .ps-playback { right: 9px; bottom: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .platform-showcase *, .platform-showcase *::after { transition: none !important; }
  .platform-showcase .ps-icon-motion { animation: none !important; }
  .platform-showcase.is-enhanced .ps-tabs a[aria-selected="true"]::after { background: #06f; }
  .ps-tab-progress { display: none; }
}
