.bit-rh-shell {
  --mx: 0;
  --my: 0;
  --rx: 0;
  --ry: 0;
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(167, 202, 255, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 0%, rgba(121, 210, 255, 0.16), transparent 30%),
    radial-gradient(circle at 92% 14%, rgba(70, 127, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #07162d 0%, #102a55 52%, #091423 100%);
  box-shadow: 0 30px 80px rgba(2, 8, 18, 0.34);
  isolation: isolate;
}

.bit-rh-shell *,
.bit-rh-shell *::before,
.bit-rh-shell *::after {
  box-sizing: border-box;
}

.bit-rh-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  min-height: min(92vh, 860px);
  padding: clamp(28px, 4vw, 42px);
}

.bit-rh-copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.bit-rh-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #d6ebff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bit-rh-copy h1 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.bit-rh-body {
  margin: 0;
  max-width: 58ch;
  color: #d7e6ff;
  font-size: 1.12rem;
  line-height: 1.78;
}

.bit-rh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bit-rh-tags li {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f2f7ff;
  font-size: 0.92rem;
}

.bit-rh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.bit-rh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bit-rh-button:hover {
  transform: translateY(-2px);
}

.bit-rh-button-primary {
  color: #08111d;
  background: linear-gradient(135deg, #84d8ff 0%, #edf8ff 100%);
  box-shadow: 0 18px 44px rgba(95, 196, 255, 0.24);
}

.bit-rh-button-secondary {
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.bit-rh-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.bit-rh-stat-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.bit-rh-stat-card strong {
  color: #f8fbff;
  font-size: 1.8rem;
  line-height: 1;
}

.bit-rh-stat-card span {
  color: #cfe0f6;
  line-height: 1.55;
}

.bit-rh-stage {
  position: relative;
  min-height: 560px;
  perspective: 1800px;
  transform-style: preserve-3d;
}

.bit-rh-stage::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2% 16%;
  border-radius: 32px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(125, 215, 255, 0.26), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  filter: blur(1px);
  transform: translateZ(0);
}

.bit-rh-glow {
  position: absolute;
  inset: auto auto 2% -2%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 187, 255, 0.34), transparent 68%);
  filter: blur(12px);
}

.bit-rh-plane,
.bit-rh-note {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(10, 20, 38, 0.74);
  box-shadow: 0 30px 80px rgba(3, 9, 19, 0.32);
  backdrop-filter: blur(18px);
}

.bit-rh-plane {
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.bit-rh-plane-main {
  inset: 4% 10% 8% 0;
  transform:
    translate3d(calc(var(--mx) * -10px), calc(var(--my) * 12px), 0)
    perspective(1800px)
    rotateX(calc(var(--ry) * -0.85deg))
    rotateY(calc(var(--rx) * 1.05deg));
}

.bit-rh-plane-float {
  inset: auto 0 11% 42%;
  width: min(360px, 64%);
  transform:
    translate3d(calc(var(--mx) * 20px), calc(var(--my) * -18px), 120px)
    perspective(1800px)
    rotateX(calc(var(--ry) * -1.2deg))
    rotateY(calc(var(--rx) * 1.6deg - 10deg))
    rotateZ(-5deg);
  animation: bitRhFloat 6s ease-in-out infinite;
}

.bit-rh-browser-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bit-rh-browser-bar span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.bit-rh-browser-bar span:nth-child(1) {
  background: #ff5f57;
}

.bit-rh-browser-bar span:nth-child(2) {
  background: #febc2e;
}

.bit-rh-browser-bar span:nth-child(3) {
  background: #28c840;
}

.bit-rh-plane img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bit-rh-plane-copy {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.bit-rh-plane-copy strong,
.bit-rh-note strong {
  color: #f8fbff;
  font-size: 1.05rem;
}

.bit-rh-plane-copy span,
.bit-rh-note p,
.bit-rh-note small {
  color: #cfe0f6;
}

.bit-rh-note {
  right: 14%;
  bottom: 0;
  width: min(280px, 58%);
  display: grid;
  gap: 8px;
  padding: 18px 18px 20px;
  transform:
    translate3d(calc(var(--mx) * 8px), calc(var(--my) * -8px), 80px)
    perspective(1600px)
    rotateX(calc(var(--ry) * -0.8deg))
    rotateY(calc(var(--rx) * 1deg));
}

.bit-rh-note small {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bit-rh-note p {
  margin: 0;
  line-height: 1.7;
}

@keyframes bitRhFloat {
  0%,
  100% {
    transform:
      translate3d(calc(var(--mx) * 20px), calc(var(--my) * -18px), 120px)
      perspective(1800px)
      rotateX(calc(var(--ry) * -1.2deg))
      rotateY(calc(var(--rx) * 1.6deg - 10deg))
      rotateZ(-5deg);
  }
  50% {
    transform:
      translate3d(calc(var(--mx) * 20px), calc(var(--my) * -22px - 10px), 120px)
      perspective(1800px)
      rotateX(calc(var(--ry) * -1.2deg))
      rotateY(calc(var(--rx) * 1.6deg - 10deg))
      rotateZ(-4deg);
  }
}

@media (max-width: 1024px) {
  .bit-rh-grid {
    grid-template-columns: 1fr;
  }

  .bit-rh-stage {
    min-height: 680px;
  }
}

@media (max-width: 767px) {
  .bit-rh-grid {
    min-height: auto;
    padding: 24px;
  }

  .bit-rh-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4.5rem);
  }

  .bit-rh-actions,
  .bit-rh-stats {
    grid-template-columns: 1fr;
  }

  .bit-rh-actions {
    flex-direction: column;
  }

  .bit-rh-button {
    width: 100%;
  }

  .bit-rh-stats {
    display: grid;
  }

  .bit-rh-stage {
    min-height: 520px;
  }

  .bit-rh-plane-main {
    inset: 2% 0 14% 0;
  }

  .bit-rh-plane-float {
    inset: auto 0 4% auto;
    width: min(260px, 72%);
  }

  .bit-rh-note {
    left: 0;
    right: auto;
    bottom: -2%;
    width: min(220px, 68%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bit-rh-plane,
  .bit-rh-note,
  .bit-rh-button {
    transition: none;
    animation: none;
  }
}
