/* Scoped styles for Bluebird Hero section (added cleanly without affecting existing layout) */
.bb-hero, .bb-hero * {
  box-sizing: border-box;
}

.bb-hero {
  --bb-ink: #355664;
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  /* max-width: 1440px; */
  margin: 0 auto;
  aspect-ratio: 1080 / 607;
  overflow: hidden;
  border-radius: 24px;
  /* background: #c6dfe6; */
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border: 1px solid #d8edf3;
  /* box-shadow: 0 1.4rem 3.5rem rgba(2, 49, 80, 0.16); */
}

.bb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(ellipse at 48% 87%, #87b7cf 0%, transparent 37%), radial-gradient(ellipse at 0% 100%, #bbd6e6 0%, transparent 47%), radial-gradient(ellipse at 96% 100%, #8cb5d5 0%, transparent 47%)
}

.bb-wordmark {
  position: absolute;
  z-index: -2;
  top: 20%;
  left: 0;
  width: 100%;
  margin: 0;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 18.5cqw;
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.9cqw;
  text-align: center;
  color: #effaff;
  opacity: .67;
  white-space: nowrap;
  mask-image: linear-gradient(#000 10%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 10%, transparent 100%);
  pointer-events: none;
  will-change: transform, opacity;
}

.bb-bird-body {
      position: absolute;
    z-index: -1;
    width: 27%;
    height: 54%;
    left: 38%;
    bottom: -32%;
    border-radius: 50%;
    transform: rotate(14deg);
    background: linear-gradient(105deg, #00a8ce, #08a6cf 42%, #12a8cf 70%, #17a8ce);
    filter: blur(40px);
    pointer-events: none;
}

.bb-bird {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  will-change: transform;
}

.bb-intro {
  position: absolute;
  left: 3.15%;
  bottom: 11.4%;
  width: 27%;
}

.bb-title {
  margin: 0;
  font-size: 3.2cqw;
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -.16cqw;
  color: #ffffff;
}

.bb-title span {
  display: block;
  padding-left: 3.3cqw;
}

.bb-title em {
  font-style: normal;
  opacity: .55;
}

.bb-intro p {
  font-size: .91cqw;
  line-height: 1.3;
  margin: 1.8cqw 0 3cqw 3.3cqw;
  max-width: 15cqw;
  color: #f0faff;
}

.bb-actions {
  display: flex;
  gap: .75cqw;
  padding-left: 3.3cqw;
  white-space: nowrap;
}

.bb-link {
  min-height: 3.8cqw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6cqw;
  padding: .5cqw 1.2cqw;
  border-radius: 999px;
  color: #234656;
  background: #f7fdff;
  text-decoration: none;
  font-size: 1cqw;
  transition: transform .2s, box-shadow .2s;
}

.bb-link-primary {
  background: linear-gradient(100deg, #1ba5cd, #8fb8d6);
  color: white;
  padding-right: .55cqw;
}

.bb-link i {
  display: grid;
  place-items: center;
  width: 2.55cqw;
  height: 2.55cqw;
  border-radius: 50%;
  background: #f4fcff;
  color: #1683b3;
  font-size: 1.6cqw;
  font-style: normal;
}

.bb-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px #24638330;
}

.bb-link:focus-visible, .bb-card:focus-visible {
  outline: 3px solid #007ac7;
  outline-offset: 4px;
}

.bb-users {
  position: absolute;
  right: 3.1%;
  bottom: 33.5%;
  display: flex;
  align-items: center;
}

.bb-users img,
.bb-users svg,
.bb-users-svg {
  width: 10cqw;
  height: 3.6cqw;
  position: relative;
  z-index: 1;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 6px 18px rgba(96, 151, 197, 0.45));
}

.bb-user-count {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: .45cqw 1.2cqw .45cqw 1.8cqw;
  margin-left: -1cqw;
  font-size: .87cqw;
  background: rgba(96, 151, 197, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(96, 151, 197, 0.25);
}

.bb-user-count strong {
  font-size: 1.5cqw;
  padding-left: .5cqw;
  font-weight: 500;
}

.bb-cards {
  position: absolute;
  right: 3.1%;
  bottom: 7.35%;
  width: 59.5%;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  align-items: end;
  gap: 1.2cqw;
}

.bb-card {
  position: relative;
  min-width: 0;
  height: 12cqw;
  border: 1px solid #e4f5ff8c;
  border-radius: 2.1cqw;
  background: linear-gradient(125deg, #d0eafa2a, #e4f7ff21);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
}

.bb-card:hover {
  background-color: #ffffff22;
  border-color: #ffffffd0;
  box-shadow: 0 10px 30px rgba(0, 80, 140, 0.25);
}

.bb-arrow {
  position: absolute;
  right: .65cqw;
  top: .55cqw;
  width: 2.5cqw;
  height: 2.5cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff12;
  font-size: 1.3cqw;
}

.bb-security {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  padding: 1.4cqw 1.3cqw;
}

.bb-lock {
  width: 6.2cqw;
  height: 8.2cqw;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  clip-path: inset(0 round 20px);
  -webkit-clip-path: inset(0 round 20px);
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: normal;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 16px rgba(2, 40, 75, 0.16);
}

.bb-security h3 {
  font-size: 1.35cqw;
  font-weight: 400;
  line-height: 1.35;
  margin: 1cqw 0 0;
  letter-spacing: -.025cqw;
  color: #ffffff;
}

.bb-badge {
  display: inline-block;
  padding: .18cqw .45cqw;
  border: 1px solid #e1efff88;
  border-radius: 999px;
  font-size: .7cqw;
  background: #dbeaff22;
  white-space: nowrap;
  color: #ffffff;
}

.bb-ai {
  height: 16.75cqw;
  padding: 1cqw 1.7cqw;
  border-color: #f4fcff;
  background: linear-gradient(130deg, #fff 10%, #edfaff 70%, #c9e8f17d);
  color: var(--bb-ink);
  border-top-left-radius: 2.4cqw;
}

.bb-ai::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 54%;
  height: 4.5cqw;
  border-radius: 2.4cqw 2.4cqw 2.2cqw 0;
  background: white;
  z-index: -1;
}

.bb-ai .bb-arrow {
  top: 5.3cqw;
  background: #ffffff88;
  box-shadow: 0 4px 12px #4c80951a;
  color: var(--bb-ink);
}

.bb-orb {
  width: 5.25cqw;
  height: 5.25cqw;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: multiply;
  margin-bottom: .75cqw;
}

.bb-ai h3 {
  font-size: 1.4cqw;
  font-weight: 400;
  line-height: 1.25;
  margin: .25cqw 0 .9cqw;
  color: var(--bb-ink);
}

.bb-ai p {
  font-size: .85cqw;
  line-height: 1.2;
  margin: 0;
  max-width: 11cqw;
  color: #66838e;
}

.bb-stat {
  padding: 2.05cqw 1.25cqw 1.4cqw;
}

.bb-stat-number {
  font-size: 5.3cqw;
  line-height: 1;
  letter-spacing: -.2cqw;
  font-weight: 400;
  color: #ffffff;
}

.bb-stat-number span {
  font-size: 3.2cqw;
  letter-spacing: -.2cqw;
}

.bb-stat p {
  margin: .65cqw 0 0 3.8cqw;
  font-size: .85cqw;
  line-height: 1.25;
  color: #f0faff;
}

@media (max-width: 740px) {
  .bb-hero {
    aspect-ratio: auto;
    min-height: 780px;
    border-radius: 22px;
  }
  .bb-wordmark {
    top: 80px;
    font-size: 19cqw;
    letter-spacing: -1cqw;
  }
  .bb-bird {
    width: 780px;
    height: 438px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
  .bb-bird-body {
    width: 200px;
    height: 260px;
    left: calc(50% - 135px);
    bottom: auto;
    top: 240px;
    filter: blur(22px);
  }
  .bb-intro {
    position: relative;
    width: auto;
    left: auto;
    bottom: auto;
    padding: 330px 24px 0;
  }
  .bb-title {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .bb-title span {
    padding-left: 30px;
  }
  .bb-intro p {
    font-size: 12px;
    margin: 16px 0 20px;
    max-width: 220px;
  }
  .bb-actions {
    padding: 0;
    gap: 8px;
  }
  .bb-link {
    min-height: 42px;
    padding: 6px 14px;
    font-size: 12px;
    gap: 15px;
  }
  .bb-link-primary {
    padding-right: 6px;
  }
  .bb-link i {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
  .bb-users {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 26px 24px 20px;
  }
  .bb-users img,
  .bb-users svg,
  .bb-users-svg {
    width: 108px;
    height: 39px;
  }
  .bb-user-count {
    font-size: 11px;
    padding: 6px 12px 6px 20px;
    margin-left: -10px;
  }
  .bb-user-count strong {
    font-size: 16px;
    padding-left: 6px;
  }
  .bb-cards {
    position: relative;
    bottom: auto;
    right: auto;
    width: auto;
    padding: 0 20px 24px;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
  }
  .bb-card {
    height: auto;
    min-height: 155px;
    border-radius: 22px;
  }
  .bb-security {
    grid-column: 1 / -1;
    min-height: 125px;
    padding: 16px 24px;
    gap: 24px;
  }
  .bb-lock {
    width: 65px;
    height: 88px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    clip-path: inset(0 round 20px);
    -webkit-clip-path: inset(0 round 20px);
  }
  .bb-security h3 {
    font-size: 17px;
    margin: 12px 0 0;
  }
  .bb-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .bb-arrow {
    width: 28px;
    height: 28px;
    right: 8px;
    top: 8px;
    font-size: 16px;
  }
  .bb-ai {
    padding: 16px;
  }
  .bb-ai::before {
    display: none;
  }
  .bb-ai .bb-arrow {
    top: 10px;
  }
  .bb-orb {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }
  .bb-ai h3 {
    font-size: 16px;
    margin: 4px 0 10px;
  }
  .bb-ai p {
    font-size: 11px;
    max-width: 140px;
  }
  .bb-stat {
    padding: 42px 16px 18px;
  }
  .bb-stat-number {
    font-size: 49px;
    letter-spacing: -2px;
  }
  .bb-stat-number span {
    font-size: 29px;
  }
  .bb-stat p {
    font-size: 11px;
    margin: 12px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-link, .bb-card {
    transition: none;
  }
}
