.device-card {
  position: relative;
  padding: 16px;
  border-radius: 54px;
  background: linear-gradient(180deg, #111111 0%, #020617 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.device-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 140px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 20px 20px;
  background: #030712;
}

.device-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: 40px;
  background: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-demo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
}

.device-demo p {
  margin: 0;
  color: #111827;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  line-height: 1.5;
}

.device-demo strong {
  margin-top: 1rem;
  color: #111827;
  font-size: clamp(3.4rem, 8vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
}

.device-fab {
  position: absolute;
  right: 1.4rem;
  bottom: 1.6rem;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: #c5daf1;
  color: #1d4e89;
  font-size: 2.5rem;
  box-shadow: 0 14px 30px rgba(71, 85, 105, 0.22);
}

.hero-code-window::-webkit-scrollbar,
.hero-code-window pre::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.hero-code-window::-webkit-scrollbar-thumb,
.hero-code-window pre::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.docs-markdown h1,
.docs-markdown h2,
.docs-markdown h3,
.docs-markdown h4 {
  color: #fff;
  letter-spacing: -0.04em;
}

.docs-markdown h1 {
  margin: 0 0 1.25rem;
  font-size: 2rem;
}

.docs-markdown h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.45rem;
}

.docs-markdown h3 {
  margin: 1.5rem 0 0.7rem;
  font-size: 1.05rem;
}

.docs-markdown p,
.docs-markdown li {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.8;
}

.docs-markdown a {
  color: #7dd3fc;
}

.docs-markdown strong {
  color: #fff;
}

.docs-markdown ul,
.docs-markdown ol {
  padding-left: 1.4rem;
}

.docs-markdown li + li {
  margin-top: 0.4rem;
}

.docs-markdown blockquote {
  margin: 1.5rem 0;
  border-left: 3px solid rgba(125, 211, 252, 0.35);
  padding-left: 1rem;
}

.docs-markdown code {
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.9);
  padding: 0.15rem 0.35rem;
  color: #e2e8f0;
}

.docs-code-block {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: 1rem;
  background: #020617;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-code-block code {
  background: transparent;
  padding: 0;
  color: #dbeafe;
  font-size: 0.88rem;
  line-height: 1.7;
}
