.bb-flow-section {
  --flow-bg: #061226;
  --flow-panel: #0c1a30;
  --flow-ink: #fff;
  --flow-muted: #a3acbb;
  --flow-line: #ffffff1c;
  --flow-accent: #ea720f;
  padding: 100px 24px 88px;
  color: var(--flow-ink);
  background: var(--flow-bg);
  overflow: hidden;
}
html.light .bb-flow-section {
  --flow-bg: #fff;
  --flow-panel: #fff;
  --flow-ink: #061226;
  --flow-muted: #737782;
  --flow-line: #e7e8ec;
}
.bb-flow-heading { max-width: 820px; margin: 0 auto; text-align: center; }
.bb-flow-heading h2 {
  margin: 20px 0 16px;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 400;
  text-wrap: balance;
}
.bb-flow-heading h2 > span { display: block; color: var(--flow-muted); }
.bb-flow-heading > p { max-width: 600px; margin: 0 auto; color: var(--flow-muted); font-size: 18px; line-height: 1.5; text-wrap: balance; }
.bb-flow-diagram { display: grid; grid-template-columns: 1fr 104px 1.1fr; max-width: 1300px; margin: 64px auto 0; align-items: stretch; }
.bb-flow-column-heading { min-height: 76px; padding-bottom: 22px; }
.bb-flow-column-heading > span { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--flow-muted); }
.bb-flow-column-heading h3 { margin: 8px 0 0; font-size: 20px; font-weight: 400; letter-spacing: -.035em; line-height: 1.3; }
.bb-flow-before { min-width: 0; display: flex; flex-direction: column; }
.bb-flow-inputs { list-style: none; padding: 0; margin: 0 -52px 0 0; display: grid; gap: 13px; flex: 1; align-content: center; }
.bb-flow-input { height: 53px; display: flex; align-items: center; }
.bb-flow-input-label { flex: 0 0 61%; min-width: 0; position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; height: 100%; padding: 12px 15px; border: 1px solid var(--flow-line); border-radius: 9px; background: var(--flow-panel); font-size: 14px; line-height: 1.3; }
.bb-flow-input-label > svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--flow-muted); }
.bb-flow-plus { margin-left: auto; color: var(--flow-accent); font-size: 22px; font-weight: 400; }
.bb-flow-wire { position: relative; flex: 1; height: 100%; overflow: hidden; }
.bb-flow-wire::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--flow-line); }
.bb-flow-packet { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; animation: bb-flow-travel 4.8s linear infinite; animation-delay: calc(var(--flow-order) * -.7s); }
.bb-flow-packet > i { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--flow-panel); border: 1px solid var(--flow-line); border-radius: 5px; color: var(--flow-muted); }
.bb-flow-packet svg { width: 14px; height: 14px; }
.bb-flow-hub { position: relative; display: grid; place-items: center; padding-top: 65px; z-index: 2; }
.bb-flow-beam { position: absolute; top: 55px; bottom: -15px; width: 2px; left: calc(50% - 1px); background: linear-gradient(transparent, #ea720f 20%, #ea720f 80%, transparent); box-shadow: 0 0 18px 3px #ea720f29; }
.bb-flow-beam::after { content: ''; position: absolute; inset: 0 -8px; background: linear-gradient(transparent, #ea720f22, transparent); animation: bb-flow-glow 3.2s ease-in-out infinite alternate; }
.bb-flow-logo { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border: 1px solid #ea720f38; border-radius: 12px; background: #fff; box-shadow: 0 6px 25px #ea720f20; }
.bb-flow-logo img { width: 52px; height: 52px; object-fit: contain; }
.bb-flow-spark { position: absolute; left: 70%; top: 32%; width: 5px; height: 5px; background: #ea720f; animation: bb-flow-spark 4s ease-out infinite; }
.bb-flow-spark--two { top: 52%; animation-delay: -1.4s; }
.bb-flow-spark--three { top: 76%; animation-delay: -2.8s; }
.bb-flow-after { position: relative; min-width: 0; padding-left: 18px; }
.bb-flow-after .bb-flow-column-heading > span { color: var(--flow-accent); }
.bb-flow-screen { border: 1px solid var(--flow-line); border-radius: 12px; overflow: hidden; background: var(--flow-panel); box-shadow: 0 10px 40px #00000008; }
.bb-flow-screen-bar { height: 35px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: var(--flow-muted); font-size: 10px; }
.bb-flow-screen-bar > svg { width: 14px; height: 14px; }
.bb-flow-screen-dots { display: flex; gap: 4px; }
.bb-flow-screen-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--flow-muted); opacity: .5; }
.bb-flow-scene { aspect-ratio: 1; position: relative; overflow: hidden; background: #0b1628; }
.bb-flow-scene picture { position: absolute; inset: 0; width: 200%; height: 100%; display: block; margin-left: -100%; }
.bb-flow-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bb-flow-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #000b); pointer-events: none; }
.bb-flow-scene-caption { position: absolute; z-index: 1; bottom: 15px; left: 16px; right: 16px; display: flex; gap: 8px; align-items: center; font-size: 12px; line-height: 1.4; color: #fff; }
.bb-flow-status-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #ea720f; animation: bb-flow-glow 2s ease-in-out infinite alternate; }
.bb-flow-channels { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 8px; gap: 4px; }
.bb-flow-channels > span { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10px; color: var(--flow-muted); }
.bb-flow-channels > span::after { content: ''; position: absolute; bottom: -12px; left: 20%; right: 20%; height: 2px; background: var(--flow-accent); animation: bb-flow-channel 12s ease-in-out infinite; }
.bb-flow-channels > span:nth-child(2)::after { animation-delay: -9s; }
.bb-flow-channels > span:nth-child(3)::after { animation-delay: -6s; }
.bb-flow-channels > span:nth-child(4)::after { animation-delay: -3s; }
.bb-flow-channels svg { width: 14px; height: 14px; color: var(--flow-accent); }
.bb-flow-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.bb-flow-benefit { padding: 13px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--flow-line); border-radius: 9px; background: var(--flow-panel); }
.bb-flow-benefit p { margin: 0; color: var(--flow-muted); font-size: 12px; line-height: 1.5; }
.bb-flow-benefit > svg { width: 24px; height: 24px; padding: 3px; flex-shrink: 0; color: #1db978; border: 1px solid #1db97830; border-radius: 50%; }
.bb-flow-chat-icon { position: relative; width: 26px; height: 30px; flex-shrink: 0; color: #1db978; }
.bb-flow-chat-icon > svg { width: 26px; height: 26px; }
.bb-flow-chat-icon > span { position: absolute; left: 7px; top: 11px; display: flex; gap: 2px; background: var(--flow-panel); }
.bb-flow-chat-icon i { width: 2px; height: 2px; border-radius: 50%; background: currentColor; animation: bb-flow-typing 1.5s ease-in-out infinite; }
.bb-flow-chat-icon i:nth-child(2) { animation-delay: .2s; }
.bb-flow-chat-icon i:nth-child(3) { animation-delay: .4s; }
.bb-flow-footer { max-width: 720px; margin: 52px auto 0; text-align: center; }
.bb-flow-footer > p { color: var(--flow-muted); font-size: 15px; line-height: 1.6; margin: 0 0 22px; text-wrap: pretty; }
.bb-flow-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 22px; min-height: 48px; background: #ea720f; border-radius: 4px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform 200ms ease; }
.bb-flow-link:hover { transform: translateY(-2px); }
.bb-flow-link:focus-visible { outline: 2px solid var(--flow-ink); outline-offset: 4px; }
@keyframes bb-flow-travel { 0% { transform: translateX(-100%); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
@keyframes bb-flow-glow { from { opacity: .4; } to { opacity: 1; } }
@keyframes bb-flow-spark { 0% { transform: translate(0, 10px); opacity: 0; } 30% { opacity: .55; } 100% { transform: translate(35px, -25px); opacity: 0; } }
@keyframes bb-flow-typing { 0%, 70%, 100% { transform: translateY(0); } 35% { transform: translateY(-2px); } }
@keyframes bb-flow-channel { 0%, 25%, 100% { opacity: 0; transform: scaleX(.5); } 6%, 19% { opacity: 1; transform: scaleX(1); } }
.bb-flow-section:not(.bb-motion-active) *,
.bb-flow-section:not(.bb-motion-active) *::after,
.bb-motion-paused .bb-flow-section *,
.bb-motion-paused .bb-flow-section *::after { animation-play-state: paused !important; }
@media (max-width: 1000px) and (min-width: 769px) {
  .bb-flow-diagram { grid-template-columns: 1fr 80px 1.1fr; }
  .bb-flow-inputs { margin-right: -40px; }
  .bb-flow-input-label { flex-basis: 72%; padding: 10px; gap: 6px; font-size: 12px; }
  .bb-flow-input-label > svg { width: 15px; }
  .bb-flow-logo { width: 66px; height: 66px; }
  .bb-flow-after { padding-left: 12px; }
  .bb-flow-benefit { padding: 10px; gap: 6px; }
  .bb-flow-benefit p { font-size: 10px; }
}
@media (max-width: 768px) {
  .bb-flow-section { padding: 64px 20px; }
  .bb-flow-heading h2 { font-size: clamp(30px, 6vw, 42px); }
  .bb-flow-heading > p { font-size: 16px; }
  .bb-flow-diagram { grid-template-columns: 1fr; margin-top: 40px; max-width: 560px; }
  .bb-flow-column-heading { min-height: 0; padding-bottom: 20px; text-align: center; }
  .bb-flow-column-heading h3 { font-size: 18px; }
  .bb-flow-inputs { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
  .bb-flow-input { height: 54px; }
  .bb-flow-input-label { flex-basis: 100%; height: 100%; padding: 10px; gap: 7px; font-size: 12px; }
  .bb-flow-input-label > svg { width: 16px; height: 16px; }
  .bb-flow-plus { display: none; }
  .bb-flow-wire { display: none; }
  .bb-flow-hub { height: 126px; padding: 0; }
  .bb-flow-beam { top: 0; bottom: 0; }
  .bb-flow-logo { width: 64px; height: 64px; border-radius: 10px; }
  .bb-flow-logo img { width: 40px; height: 40px; }
  .bb-flow-spark { left: calc(50% + 25px); top: 50%; }
  .bb-flow-after { padding: 0; }
  .bb-flow-benefits { gap: 8px; }
  .bb-flow-benefit { padding: 12px 10px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .bb-flow-footer { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-flow-section *, .bb-flow-section *::after { animation: none !important; transition: none !important; }
  .bb-flow-spark { display: none; }
  .bb-flow-channels > span::after { display: none; }
  .bb-flow-packet { opacity: .65; transform: translateX(-40%); }
}
