/* V22 / Eight connected platforms, readable workbench, and more creator themes. */
#top .hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: auto;
  min-width: 0;
  padding: 0;
}
#top .hero-grid { min-height: auto; }
#top .earth-visual {
  top: -10px;
  left: 50%;
  width: 400px;
  height: 400px;
  max-width: 100%;
  transform: translateX(-50%);
}
#top .earth-coordinate { display: none; }
.hero-platform-network {
  position: relative;
  z-index: 5;
  flex: none;
  width: 100%;
  max-width: 510px;
  height: 330px;
}
.hero-platform-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-platform-routes path {
  fill: none;
  stroke: #8EAEE766;
  stroke-width: .35;
  stroke-dasharray: 1 2;
  animation: hero-route-travel 12s linear infinite;
}
.hero-network-core {
  position: absolute;
  left: 50%;
  top: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 94px;
  height: 94px;
  padding: 10px;
  transform: translate(-50%, -50%);
  border: 1px solid #CBD9F2;
  border-radius: 50%;
  background: #FFFFFFDD;
  box-shadow: 0 0 0 8px #FFFFFF66, 0 12px 28px -20px #2457E666;
  backdrop-filter: blur(8px);
}
.hero-network-core b { color: #2457E6; font-size: 34px; line-height: 1.1; font-weight: 800; }
.hero-network-core span { margin-top: 5px; color: #354966; font-size: 12px; line-height: 1.5; text-align: center; }
.hero-network-platform {
  --platform-delay: 0s;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 73px;
  min-height: 69px;
  padding: 10px 5px 8px;
  border: 1px solid #D4DFF0;
  border-radius: 14px;
  background: #FFFFFFF5;
  color: #334155;
  box-shadow: 0 7px 20px -13px #2E4A764D;
  animation: hero-platform-lift 5s ease-in-out var(--platform-delay) infinite;
}
.hero-network-platform img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.hero-network-platform span { font-size: 11px; line-height: 1.25; font-weight: 600; white-space: nowrap; }
.hero-network-platform--x { left: 28%; top: 0; --platform-delay: -.4s; }
.hero-network-platform--instagram { right: 22%; top: 0; --platform-delay: -2.4s; }
.hero-network-platform--tiktok { left: 4%; top: 24%; --platform-delay: -1.8s; }
.hero-network-platform--youtube { right: 2%; top: 24%; --platform-delay: -3s; }
.hero-network-platform--facebook { left: 0; top: 54%; --platform-delay: -3.5s; }
.hero-network-platform--whatsapp { right: 0; top: 54%; --platform-delay: -1s; }
.hero-network-platform--telegram { left: 20%; bottom: 0; --platform-delay: -2s; }
.hero-network-platform--linkedin { right: 23%; bottom: 0; --platform-delay: -4s; }
#top .hero-stage .dashboard {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: 100%;
  max-width: 510px;
  border-radius: 16px;
  transform: none;
  z-index: 6;
}
#top .hero-stage.demo-highlight .dashboard { transform: translateY(-3px); }
#top .hero-stage .dashboard-top { min-height: 52px; padding: 14px 18px; }
#top .hero-stage .dashboard-brand { font-size: 15px; gap: 8px; }
#top .hero-stage .dashboard-brand .icon { width: 22px; height: 22px; }
#top .hero-stage .dashboard-live { font-size: 11px; padding: 5px 8px; color: #325286; }
#top .hero-stage .dashboard-main { grid-template-columns: minmax(0, .95fr) minmax(0, 1.45fr); padding: 20px 18px; column-gap: 16px; row-gap: 12px; }
#top .hero-stage .dashboard-greeting .mono { color: #64748B; font-size: 10px; letter-spacing: .04em; }
#top .hero-stage .dashboard-greeting h3 { font-size: 22px; margin: 6px 0 7px; line-height: 1.45; }
#top .hero-stage .dashboard-metrics { padding-right: 14px; }
#top .hero-stage .dashboard-metrics > div > span { color: #475569; font-size: 13px; }
#top .hero-stage .dashboard-metrics strong { display: flex; align-items: baseline; color: #2457E6; font-size: 62px; line-height: 1.05; letter-spacing: -.065em; white-space: nowrap; }
#top .hero-stage .dashboard-metrics .metric-plus { font-size: .58em; margin-left: 3px; }
#top .hero-stage .mini-chart { max-width: none; }
#top .hero-stage .mini-chart svg { height: 60px; }
#top .hero-stage .task-icon { width: 32px; height: 32px; border-radius: 8px; }
#top .hero-stage .task-icon .icon { width: 17px; height: 17px; }
#top .hero-stage .task-text strong { color: #26374E; font-size: 13px; line-height: 1.5; font-weight: 600; }
#top .hero-stage .task-text > span { color: #526176; font-size: 11px; line-height: 1.65; text-wrap: pretty; }
#top .hero-stage .dashboard-feed { gap: 6px; }
#top .hero-stage .dashboard-feed > div { font-size: 12px; color: #475569; min-height: 29px; }
#top .hero-stage .dashboard-feed > div > span { color: #475569; }
#top .hero-stage .dashboard-feed img { width: 22px; height: 22px; }
#top .hero-stage .dashboard-feed b { color: #50627A; font-size: 10px; }
#top .hero-stage .dashboard-feed b .icon { width: 10px; height: 10px; }
#top .hero-stage .dashboard-footer { padding: 12px 18px; flex-wrap: wrap; color: #475569; font-size: 11px; }
#top .hero-stage .demo-caption { color: #526176; font-size: 10px; }
#top .hero-stage .demo-switch { position: relative; top: auto; bottom: auto; left: auto; right: auto; transform: none; margin: 0; padding: 4px; border-radius: 10px; max-width: 100%; }
#top .hero-stage .demo-switch button { padding: 10px 16px; min-height: 42px; font-size: 13px; }

/* Additional themes stay visible without crowding the existing pop-out portraits. */
#tiktok-matrix .matrix-theme-overview { margin-top: 16px; padding: 13px 14px; border: 1px solid #DCE5F2; border-radius: 10px; background: #F7F9FC; }
#tiktok-matrix .matrix-theme-heading { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; color: #334155; font-size: 13px; font-weight: 600; }
#tiktok-matrix .matrix-theme-heading .icon { width: 16px; height: 16px; color: #2457E6; }
#tiktok-matrix .matrix-theme-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
#tiktok-matrix .matrix-theme-chip { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 32px; padding: 5px; border: 1px solid #DCE5F2; border-radius: 6px; background: #FFFFFF; color: #43536A; font-size: 12px; line-height: 1.4; text-align: center; animation: matrix-theme-light 6s ease-in-out calc(var(--theme-order) * .35s) infinite; }
#tiktok-matrix .matrix-theme-chip .icon { width: 13px; height: 13px; color: #6686BC; flex: none; }
#tiktok-matrix .matrix-account-name { font-size: 12px; color: #263E5E; }
#tiktok-matrix .matrix-account-tag { font-size: 11px; color: #526176; }
#tiktok-matrix .matrix-account-status { font-size: 10px; color: #43689F; }
#tiktok-matrix .matrix-ai-hub > span { font-size: 10px; padding-inline: 3px; }
#tiktok-matrix .matrix-account--c { min-height: 83px; }
#tiktok-matrix .matrix-stage-bar { font-size: 11px; color: #526176; }
#tiktok-matrix .matrix-scene-caption { font-size: 11px; color: #526176; }
#tiktok-matrix .matrix-phone-label { font-size: 10px; color: #354C6C; }
#tiktok-matrix .matrix-ugc-badge { font-size: 11px; }
#tiktok-matrix .matrix-creator-handle { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@keyframes hero-route-travel { to { stroke-dashoffset: -24; } }
@keyframes hero-platform-lift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); box-shadow: 0 12px 26px -15px #2457E65C; } }
@keyframes matrix-theme-light { 0%,12%,60%,100% { border-color: #DCE5F2; background: #FFFFFF; } 25%,40% { border-color: #AFC4EC; background: #EDF3FF; } }
.hero-platform-network .hero-network-platform,
.hero-platform-network .hero-platform-routes path,
#tiktok-matrix .matrix-theme-overview .matrix-theme-chip { animation-play-state: var(--motion-play-state, paused); }
#tiktok-matrix .matrix-stage[data-motion-paused="true"] + .matrix-theme-overview { --motion-play-state: paused; }

@media (max-width: 1190px) and (min-width: 701px) {
  .hero-platform-network { height: 310px; }
  .hero-network-platform { width: 63px; min-height: 66px; }
  #top .hero-stage .dashboard-metrics strong { font-size: 49px; }
  #top .hero-stage .dashboard-main { padding: 16px 14px; column-gap: 12px; }
  #top .hero-stage .dashboard-greeting h3 { font-size: 20px; }
  #top .hero-stage .demo-switch button { padding-inline: 12px; font-size: 12px; }
}
@media (max-width: 700px) {
  #top .hero-stage { margin-top: 30px; gap: 15px; }
  #top .earth-visual { top: -2px; width: 335px; height: 335px; }
  .hero-platform-network { height: 300px; max-width: 410px; }
  .hero-network-platform { width: 62px; min-height: 64px; padding: 8px 4px; gap: 5px; border-radius: 11px; }
  .hero-network-platform img { width: 26px; height: 26px; }
  .hero-network-platform span { font-size: 10px; }
  .hero-network-core { width: 84px; height: 84px; }
  .hero-network-core b { font-size: 30px; }
  .hero-network-core span { font-size: 11px; }
  #top .hero-stage .dashboard { max-width: 510px; width: 100%; }
  #top .hero-stage .dashboard-top { padding: 13px 14px; }
  #top .hero-stage .dashboard-main { padding: 16px 14px; column-gap: 12px; }
  #top .hero-stage .dashboard-greeting h3 { font-size: 20px; }
  #top .hero-stage .dashboard-metrics strong { font-size: clamp(40px, 12vw, 56px); }
  #top .hero-stage .dashboard-metrics > div > span { font-size: 12px; }
  #top .hero-stage .dashboard-feed > div { font-size: 11px; }
  #top .hero-stage .task-text strong { font-size: 12px; }
  #top .hero-stage .dashboard-footer { padding: 11px 14px; font-size: 11px; }
  #top .hero-stage .demo-switch button { padding-inline: 13px; font-size: 12px; }
  #tiktok-matrix .matrix-account-name { font-size: 10px; }
  #tiktok-matrix .matrix-account-tag { font-size: 10px; }
  #tiktok-matrix .matrix-account-status { font-size: 9px; }
  #tiktok-matrix .matrix-account { min-height: 108px; }
  #tiktok-matrix .matrix-account--c { min-height: 76px; bottom: 54px; }
  #tiktok-matrix .matrix-theme-overview { padding: 12px 10px; }
  #tiktok-matrix .matrix-theme-chip { font-size: 12px; }
  html[lang="en"] #top .hero-stage .demo-switch button { font-size: 11px; padding-inline: 10px; }
}
@media (max-width: 380px) {
  .hero-platform-network { height: 285px; }
  .hero-network-platform { width: 57px; }
  .hero-network-platform--x { left: 24%; }
  .hero-network-platform--instagram { right: 24%; }
  .hero-network-platform--telegram { left: 20%; }
  .hero-network-platform--linkedin { right: 20%; }
  #top .hero-stage .dashboard-main { grid-template-columns: minmax(0, .82fr) minmax(0, 1.45fr); padding: 14px 11px; column-gap: 10px; }
  #top .hero-stage .dashboard-greeting h3 { font-size: 18px; }
  #top .hero-stage .dashboard-metrics { padding-right: 7px; }
  #top .hero-stage .dashboard-metrics strong { font-size: 37px; }
  #top .hero-stage .dashboard-brand { font-size: 14px; }
  #top .hero-stage .dashboard-live { font-size: 10px; }
  #top .hero-stage .task-icon { width: 26px; height: 26px; }
  #top .hero-stage .dashboard-feed b { font-size: 9px; }
  #top .hero-stage .demo-switch button { padding-inline: 11px; }
  #tiktok-matrix .matrix-account-name { font-size: 9px; }
  #tiktok-matrix .matrix-account-tag { font-size: 9px; }
  #tiktok-matrix .matrix-account-status { font-size: 9px; }
  #tiktok-matrix .matrix-account { min-height: 100px; }
  #tiktok-matrix .matrix-account--c { min-height: 71px; }
  #tiktok-matrix .matrix-stage { height: 330px; }
  html[lang="en"] #tiktok-matrix .matrix-stage { height: 350px; }
  html[lang="en"] #tiktok-matrix .matrix-ugc { padding-bottom: 57px; }
  #tiktok-matrix .matrix-theme-chip { font-size: 11px; gap: 3px; padding-inline: 3px; }
  #tiktok-matrix .matrix-theme-chip .icon { width: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-platform-network *, #tiktok-matrix .matrix-theme-chip { animation: none !important; }
}
