/* Byond Boundrys Technologies page - compact enterprise AI stack presentation. */
:root {
  --tech-ink: #0b2b4a;
  --tech-text: #4e6377;
  --tech-muted: #7890a3;
  --tech-line: #e2e9ef;
  --tech-orange: #f36b21;
  --tech-violet: #7c3aed;
  --tech-soft: #f7f9fb;
  --tech-shadow: 0 18px 48px rgba(11, 43, 74, .09);
}

.bb-technologies-page {
  overflow: hidden;
  color: var(--tech-text);
  background: #fff;
}

.bb-tech-shell {
  width: min(calc(100% - 32px), 1400px);
  margin: 0 auto;
}

.bb-tech-hero {
  position: relative;
  overflow: hidden;
  padding: .75rem 0 1.35rem;
  background:
    radial-gradient(circle at 85% 18%, rgba(124, 58, 237, .19), transparent 27rem),
    radial-gradient(circle at 12% 108%, rgba(243, 107, 33, .15), transparent 25rem),
    linear-gradient(135deg, #fffaf5, #fff 56%, #f7f4ff);
  border-bottom: 1px solid var(--tech-line);
}

.bb-tech-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, .92fr);
  gap: clamp(1.8rem, 3.4vw, 3.8rem);
  align-items: center;
  min-height: 380px;
}

.bb-tech-eyebrow,
.bb-tech-group-eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .85rem;
  color: var(--tech-orange);
  font: 700 .67rem/1.2 'JetBrains Mono', monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bb-tech-eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.bb-tech-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--tech-ink);
  font: 700 clamp(2.15rem, 3.55vw, 3.8rem)/1 'Space Grotesk', sans-serif;
  letter-spacing: -.06em;
}

.bb-tech-hero-copy h1 em {
  color: var(--tech-orange);
  font-style: normal;
}

.bb-tech-hero-lead {
  max-width: 720px;
  margin: .72rem 0 0;
  color: var(--tech-text);
  font-size: clamp(.88rem, 1.1vw, 1rem);
  line-height: 1.52;
}

.bb-tech-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.1rem;
}

.bb-tech-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.bb-tech-button:hover {
  transform: translateY(-2px);
}

.bb-tech-button-primary {
  color: #fff;
  background: var(--tech-orange);
  box-shadow: 0 10px 24px rgba(243, 107, 33, .23);
}

.bb-tech-button-secondary {
  color: var(--tech-ink);
  border-color: #d6e0e8;
  background: rgba(255, 255, 255, .78);
}

.bb-tech-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(11, 43, 74, .12);
}

.bb-tech-hero-proof span {
  display: grid;
  gap: .18rem;
  color: var(--tech-muted);
  font-size: .68rem;
  line-height: 1.2;
}

.bb-tech-hero-proof strong {
  color: var(--tech-ink);
  font: 700 1.1rem/1 'Space Grotesk', sans-serif;
}

.bb-tech-hero-visual {
  position: relative;
  width: min(100%, 620px);
  min-height: 390px;
  justify-self: end;
  border: 1px solid rgba(124, 58, 237, .17);
  border-radius: 1.7rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(245, 241, 255, .88)),
    radial-gradient(circle at center, rgba(243, 107, 33, .12), transparent 55%);
  box-shadow: 0 26px 65px rgba(11, 43, 74, .12);
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease;
}

.bb-tech-hero-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(11, 43, 74, .16);
}

.bb-tech-hero-visual::before,
.bb-tech-hero-visual::after {
  position: absolute;
  content: '';
  border: 1px solid rgba(11, 43, 74, .08);
  border-radius: 50%;
  pointer-events: none;
}

.bb-tech-hero-visual::before {
  inset: 12%;
}

.bb-tech-hero-visual::after {
  inset: 25%;
  border-color: rgba(243, 107, 33, .16);
}

.bb-tech-orbit {
  position: absolute;
  border: 1px dashed rgba(124, 58, 237, .27);
  border-radius: 50%;
  pointer-events: none;
}

.bb-tech-orbit-one { inset: 18% 8%; transform: rotate(-17deg); }
.bb-tech-orbit-two { inset: 8% 24%; transform: rotate(36deg); }

.bb-tech-visual-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 154px;
  height: 154px;
  place-content: center;
  gap: .35rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #0b2b4a, #4a2d79);
  box-shadow: 0 18px 38px rgba(11, 43, 74, .24);
  text-align: center;
  transform: translate(-50%, -50%);
}

.bb-tech-core-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--tech-orange);
  font-size: 1.1rem;
}

.bb-tech-visual-core strong { font: 700 1rem/1.1 'Space Grotesk', sans-serif; }
.bb-tech-visual-core small { color: rgba(255, 255, 255, .65); font-size: .61rem; }

.bb-tech-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .38rem;
  padding: .48rem .62rem;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: .7rem;
  color: var(--tech-ink);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 24px rgba(11, 43, 74, .1);
  font: 700 .64rem/1 'Space Grotesk', sans-serif;
  animation: bb-tech-float 6s ease-in-out infinite;
  transition: transform .22s ease, box-shadow .22s ease;
}

.bb-tech-float img { width: 20px; height: 20px; object-fit: contain; }
.bb-tech-float-1 { top: 12%; left: 10%; }
.bb-tech-float-2 { top: 21%; right: 7%; animation-delay: -.9s; }
.bb-tech-float-3 { top: 48%; left: 5%; animation-delay: -1.7s; }
.bb-tech-float-4 { right: 6%; bottom: 27%; animation-delay: -2.6s; }
.bb-tech-float-5 { bottom: 10%; left: 17%; animation-delay: -3.4s; }
.bb-tech-float-6 { right: 20%; bottom: 8%; animation-delay: -4.2s; }

.bb-tech-visual-note {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--tech-muted);
  font: 700 .58rem/1 'JetBrains Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bb-tech-visual-note i { color: var(--tech-orange); font-size: .88rem; }
.bb-tech-visual-note-top { top: 5%; right: 8%; }
.bb-tech-visual-note-bottom { bottom: 4%; left: 8%; }

@keyframes bb-tech-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.bb-tech-principles {
  background: var(--tech-ink);
  color: #fff;
}

.bb-tech-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-tech-principles-grid > div {
  min-height: 136px;
  padding: 1.35rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.bb-tech-principles-grid > div:last-child { border-right: 0; }
.bb-tech-principle-index { display: block; color: #ffab75; font: 700 .65rem/1 'JetBrains Mono', monospace; }
.bb-tech-principles strong { display: block; margin-top: .65rem; color: #fff; font: 700 1.03rem/1.2 'Space Grotesk', sans-serif; }
.bb-tech-principles p { max-width: 30ch; margin: .4rem 0 0; color: rgba(255, 255, 255, .65); font-size: .78rem; line-height: 1.5; }

.bb-tech-catalog { padding: clamp(3rem, 6vw, 5.5rem) 0; background: #fff; }

.bb-tech-section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .6fr);
  gap: 2rem;
  align-items: end;
}

.bb-tech-section-head h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--tech-ink);
  font: 700 clamp(2rem, 4vw, 3.5rem)/1.02 'Space Grotesk', sans-serif;
  letter-spacing: -.05em;
}

.bb-tech-section-head > p { margin: 0; font-size: .9rem; line-height: 1.7; }

.bb-tech-filter {
  display: flex;
  gap: .45rem;
  margin-top: 2rem;
  padding-bottom: .4rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.bb-tech-filter a {
  flex: 0 0 auto;
  padding: .52rem .72rem;
  border: 1px solid var(--tech-line);
  border-radius: 99px;
  color: var(--tech-text);
  background: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-decoration: none;
}

.bb-tech-filter a:first-child,
.bb-tech-filter a:hover { color: #fff; border-color: var(--tech-ink); background: var(--tech-ink); }

.bb-tech-groups { margin-top: 1.8rem; }

.bb-tech-group {
  scroll-margin-top: 112px;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--tech-line);
}

.bb-tech-group-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.bb-tech-group-number {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid #f6c2a1;
  border-radius: .75rem;
  color: var(--tech-orange);
  background: #fff6ef;
  font: 700 .7rem/1 'JetBrains Mono', monospace;
}

.bb-tech-group-eyebrow { margin-bottom: .45rem; }
.bb-tech-group-head h3 { margin: 0; color: var(--tech-ink); font: 700 clamp(1.45rem, 2.4vw, 2.25rem)/1.1 'Space Grotesk', sans-serif; letter-spacing: -.035em; }
.bb-tech-group-head > div > p:last-child { max-width: 70ch; margin: .55rem 0 0; font-size: .84rem; line-height: 1.62; }

.bb-tech-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin: 1.35rem 0 0 58px;
}

.bb-tech-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: .58rem;
  align-items: center;
  min-width: 0;
  padding: .72rem;
  border: 1px solid var(--tech-line);
  border-radius: .75rem;
  background: linear-gradient(145deg, #fff, #fbfcfd);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bb-tech-card:hover { transform: translateY(-3px); border-color: #cdd9e2; box-shadow: 0 10px 24px rgba(11, 43, 74, .07); }
.bb-tech-card-logo { display: grid; width: 34px; height: 34px; place-items: center; border-radius: .58rem; background: #f1f5f8; }
.bb-tech-card-logo img { width: 21px; height: 21px; object-fit: contain; }
.bb-tech-card h4 { overflow: hidden; margin: 0; color: var(--tech-ink); font: 700 .78rem/1.2 'Space Grotesk', sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.bb-tech-card p { margin: .22rem 0 0; color: var(--tech-muted); font-size: .66rem; line-height: 1.35; }

.bb-tech-cta { padding: 3.2rem 0; color: #fff; background: linear-gradient(115deg, #0b2b4a, #251747 75%, #4a2567); }
.bb-tech-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.bb-tech-cta .bb-tech-eyebrow { color: #ffab75; }
.bb-tech-cta h2 { max-width: 18ch; margin: 0; color: #fff; font: 700 clamp(1.9rem, 3.6vw, 3rem)/1.04 'Space Grotesk', sans-serif; letter-spacing: -.045em; }
.bb-tech-cta p:last-child { max-width: 58ch; margin: .65rem 0 0; color: rgba(255, 255, 255, .68); font-size: .86rem; line-height: 1.65; }
.bb-tech-button-light { flex: 0 0 auto; color: var(--tech-ink); background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .bb-tech-float, .bb-tech-button, .bb-tech-card, .bb-tech-hero-visual { animation: none; transition: none; }
}

@media (max-width: 1050px) {
  .bb-tech-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(330px, .82fr); min-height: 0; padding: .8rem 0 1.65rem; }
  .bb-tech-hero-copy h1 { max-width: 700px; font-size: clamp(2.1rem, 4.1vw, 3.3rem); }
  .bb-tech-hero-visual { min-height: 360px; }
  .bb-tech-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .bb-tech-shell { width: min(calc(100% - 24px), 1400px); }
  .bb-tech-hero { padding-top: .6rem; }
  .bb-tech-hero-grid { grid-template-columns: 1fr; gap: 1.15rem; padding: .8rem 0 1.65rem; }
  .bb-tech-hero-copy h1 { max-width: 16ch; font-size: clamp(2.05rem, 8.5vw, 3.15rem); }
  .bb-tech-hero-actions, .bb-tech-button { width: 100%; }
  .bb-tech-hero-proof { gap: .7rem; justify-content: space-between; }
  .bb-tech-hero-visual { width: 100%; min-height: 320px; border-radius: 1.1rem; }
  .bb-tech-visual-core { width: 120px; height: 120px; }
  .bb-tech-float { padding: .4rem .5rem; font-size: .56rem; }
  .bb-tech-float img { width: 17px; height: 17px; }
  .bb-tech-visual-note { display: none; }
  .bb-tech-principles-grid { grid-template-columns: 1fr; }
  .bb-tech-principles-grid > div { min-height: 0; padding: 1.05rem 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .bb-tech-principles-grid > div:last-child { border-bottom: 0; }
  .bb-tech-section-head { grid-template-columns: 1fr; gap: .8rem; }
  .bb-tech-section-head h2 { max-width: 16ch; }
  .bb-tech-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; }
  .bb-tech-group-head { grid-template-columns: 44px minmax(0, 1fr); gap: .7rem; }
  .bb-tech-group-number { width: 38px; height: 38px; }
  .bb-tech-cta-inner { align-items: flex-start; flex-direction: column; }
  .bb-tech-button-light { width: 100%; }
}

@media (max-width: 430px) {
  .bb-tech-card-grid { grid-template-columns: 1fr; }
}
