@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Full-bleed hero — break out of Bricks container */
#brx-content .marg101-hero-slider-wrap,
#brx-content .marg101-hero-slider-wrap.brxe-section,
#brx-content .marg101-hero-slider-html,
#brx-content .brxe-html.marg101-hero-slider-html {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#brx-content .marg101-hero-slider {
  position: relative;
  width: 100%;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff;
  overflow: hidden;
}

#brx-content .marg101-hero-slider__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 60% 45%, rgba(34, 197, 94, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 42% 38% at 80% 60%, rgba(74, 222, 128, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 38% 60% at 15% 55%, rgba(34, 197, 94, 0.06) 0%, transparent 70%),
    linear-gradient(155deg, #03060f 0%, #000 40%, #040807 100%);
  z-index: 0;
}

/* Animated wave background */
#brx-content .marg101-hero-slider__waves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

#brx-content .marg101-hero-slider__dot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
  mix-blend-mode: screen;
  will-change: transform;
}

#brx-content .marg101-hero-slider__wave-glow {
  position: absolute;
  left: 36%;
  top: 10%;
  width: min(760px, 68vw);
  height: min(580px, 65vh);
  background: radial-gradient(ellipse at center, rgba(74, 222, 128, 0.24) 0%, rgba(34, 197, 94, 0.1) 42%, transparent 72%);
  filter: blur(28px);
  animation: marg101GlowPulse 8s ease-in-out infinite alternate;
  z-index: 1;
}

#brx-content .marg101-hero-slider__wave-glow--b {
  left: 50%;
  top: 30%;
  width: min(520px, 50vw);
  height: min(420px, 48vh);
  background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.18) 0%, rgba(74, 222, 128, 0.07) 45%, transparent 74%);
  animation-delay: -4.5s;
}

@keyframes marg101GlowPulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.08); }
}

#brx-content .marg101-hero-slider__wave-lines {
  position: absolute;
  left: 0;
  width: 100%;
  height: 42%;
  bottom: 0;
  opacity: 0.28;
  z-index: 3;
}

#brx-content .marg101-hero-slider__wave-lines path {
  fill: none;
  stroke: rgba(74, 222, 128, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

#brx-content .marg101-hero-slider__wave-lines--a {
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  animation: marg101WaveFlowA 22s linear infinite;
}

#brx-content .marg101-hero-slider__wave-lines--b {
  opacity: 0.32;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 85%);
  animation: marg101WaveFlowB 32s linear infinite reverse;
}

#brx-content .marg101-hero-slider__wave-lines--b path {
  stroke: rgba(74, 222, 128, 0.14);
  stroke-width: 0.75;
}

@keyframes marg101WaveFlowA {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marg101WaveFlowB {
  0% { transform: translateX(-10%) translateY(8px); }
  100% { transform: translateX(-40%) translateY(8px); }
}

#brx-content .marg101-hero-slider__viewport {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 3.5rem 2rem 1rem;
  box-sizing: border-box;
}

#brx-content .marg101-hero-slider__track {
  position: relative;
  min-height: 0;
}

#brx-content .marg101-hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  pointer-events: none;
}

#brx-content .marg101-hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

#brx-content .marg101-hero-slider__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.24fr);
  gap: 1.75rem 3rem;
  align-items: center;
  width: 100%;
}

#brx-content .marg101-hero-slider__content {
  min-width: 0;
  padding-top: 0.5rem;
}

#brx-content .marg101-hero-slider__dashboard {
  min-width: 0;
  width: 100%;
  min-height: 380px;
}

#brx-content .marg101-hero-slider__title {
  margin: 0 0 1.25rem;
  font-size: 48px !important;
  font-weight: 800;
  line-height: 1.15 !important;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.45);
}

#brx-content .marg101-hero-typewriter {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  min-height: 1.12em;
}

#brx-content .marg101-hero-typewriter__text {
  display: inline-block;
  color: #fff;
  text-shadow: 0 0 40px rgba(74, 222, 128, 0.18);
  white-space: pre-wrap;
}

#brx-content .marg101-hero-typewriter__cursor {
  display: inline-block;
  width: 3px;
  height: 0.92em;
  margin-left: 4px;
  background: #4ade80;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.75);
  animation: marg101CursorBlink 1.05s ease-in-out infinite;
  transform: translateY(0.08em);
}

@keyframes marg101CursorBlink {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0.15; }
  100% { opacity: 1; }
}

#brx-content .marg101-hero-slider__accent {
  display: block;
  margin-top: 0.12em;
  color: #4ade80;
  font-weight: 800;
  font-size: 1.08em;
  text-shadow: 0 0 40px rgba(74, 222, 128, 0.45);
}

#brx-content .marg101-hero-slider__desc {
  margin: 0 0 1.85rem;
  max-width: 560px;
  font-size: 20px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.78);
}

#brx-content .marg101-hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

#brx-content .marg101-hero-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.20 !important;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

#brx-content .marg101-hero-slider__btn--primary {
  background: #22c55e;
  color: #fff;
  border: 2px solid #22c55e;
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
}

#brx-content .marg101-hero-slider__btn--primary:hover {
  background: #16a34a;
  border-color: #16a34a;
}

#brx-content .marg101-hero-slider__btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

#brx-content .marg101-hero-slider__btn--ghost:hover {
  border-color: #4ade80;
  color: #4ade80;
}

#brx-content .marg101-hero-slider__btn--ghost svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
}

#brx-content .marg101-hero-slider__nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  box-sizing: border-box;
}

#brx-content .marg101-hero-slider__nav-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

#brx-content .marg101-hero-slider__nav-btn.is-active,
#brx-content .marg101-hero-slider__nav-btn:hover {
  color: #fff;
}

#brx-content .marg101-hero-slider__nav-num {
  font-size: 0.8125rem;
  font-weight: 600;
  min-width: 1.4rem;
}

#brx-content .marg101-hero-slider__nav-bar {
  display: block;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: width 0.3s ease;
}

#brx-content .marg101-hero-slider__nav-btn.is-active .marg101-hero-slider__nav-bar {
  width: 64px;
}

#brx-content .marg101-hero-slider__nav-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: #22c55e;
}

#brx-content .marg101-hero-slider__nav-btn.is-active .marg101-hero-slider__nav-fill {
  animation: marg101HeroProgress var(--hero-autoplay, 6.5s) linear forwards;
}

@keyframes marg101HeroProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Dashboard */
#brx-content .marg101-dash {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(155px, auto) minmax(155px, auto);
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(5, 10, 8, 0.80);
  border: 1px solid rgba(74, 222, 128, 0.14);
  backdrop-filter: blur(22px);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 80px -20px rgba(34, 197, 94, 0.2);
  width: 100%;
  min-height: 380px;
  box-sizing: border-box;
}

#brx-content .marg101-dash__card {
  background: rgba(7, 14, 11, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  min-width: 0;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s ease;
}

#brx-content .marg101-dash__card:hover {
  border-color: rgba(74, 222, 128, 0.18);
}

#brx-content .marg101-dash__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

#brx-content .marg101-dash__pill {
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.5625rem;
  text-transform: none;
}

#brx-content .marg101-dash__card--code { grid-column: 1; grid-row: 1; }
#brx-content .marg101-dash__card--chart { grid-column: 2; grid-row: 1; }
#brx-content .marg101-dash__card--uptime {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#brx-content .marg101-dash__card--users {
  grid-column: 1;
  grid-row: 2;
  min-height: 150px;
}

#brx-content .marg101-dash__card--services {
  grid-column: 2;
  grid-row: 2;
  min-height: 150px;
}

#brx-content .marg101-dash__card--status { grid-column: 3; grid-row: 2; }

#brx-content .marg101-dash__code-window {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

#brx-content .marg101-dash__code-row {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.4rem;
  align-items: start;
  font-size: 0.625rem;
  line-height: 1.5;
}

#brx-content .marg101-dash__ln {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.5rem;
  text-align: right;
  padding-top: 0.05rem;
}

#brx-content .marg101-dash__code-row code {
  color: rgba(255, 255, 255, 0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#brx-content .marg101-dash__code-row .tok-kw { color: #60a5fa; }
#brx-content .marg101-dash__code-row .tok-fn { color: #4ade80; }
#brx-content .marg101-dash__code-row .tok-str { color: #fbbf24; }
#brx-content .marg101-dash__code-row .tok-num { color: #f472b6; }

#brx-content .marg101-dash__metric-val {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

#brx-content .marg101-dash__metric-up {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  color: #4ade80;
}

#brx-content .marg101-dash__card--chart {
  min-height: 180px;
}

#brx-content .marg101-dash__metric--chart {
  margin-bottom: 0.35rem;
  flex-shrink: 0;
}

#brx-content .marg101-dash__chart-wrap {
  flex: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 96px;
  margin-top: 0.35rem;
}

#brx-content .marg101-dash__line-chart {
  display: block;
  width: 100%;
  height: 96px;
  overflow: visible;
}

#brx-content .marg101-dash__grid-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

#brx-content .marg101-dash__line-area {
  opacity: 0.35;
}

#brx-content .marg101-hero-slider__slide.is-active .marg101-dash__line-area {
  opacity: 1;
  animation: marg101AreaIn 0.8s ease forwards;
}

@keyframes marg101AreaIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#brx-content .marg101-dash__line-path {
  fill: none;
  stroke: #4ade80;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.85));
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  opacity: 0.25;
}

#brx-content .marg101-hero-slider__slide.is-active .marg101-dash__line-path {
  stroke-dashoffset: 0;
  opacity: 1;
  animation: marg101DrawLine 1.2s ease forwards;
}

#brx-content .marg101-dash__line-dot {
  fill: #4ade80;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 1));
}

#brx-content .marg101-hero-slider__slide.is-active .marg101-dash__line-dot {
  opacity: 1;
  animation: marg101DotIn 0.35s ease forwards 1s;
}

@keyframes marg101DrawLine {
  from { stroke-dashoffset: 420; opacity: 0.3; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes marg101DotIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#brx-content .marg101-dash__donut {
  --uptime: 99.9;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(#22c55e calc(var(--uptime) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
  margin-top: 0.15rem;
}

#brx-content .marg101-dash__donut-inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #0a1210;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.55);
}

#brx-content .marg101-dash__donut-inner strong {
  font-size: 1rem;
  color: #fff;
  line-height: 1.1;
}

#brx-content .marg101-dash__vbars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
  min-height: 64px;
  height: 64px;
  margin-top: auto;
  padding-top: 0.35rem;
}

#brx-content .marg101-dash__vbars span {
  flex: 1;
  min-width: 4px;
  max-width: 10px;
  height: var(--h, 50%);
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 50%, rgba(56, 189, 248, 0.35) 100%);
  border-radius: 3px 3px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
  opacity: 1;
}

#brx-content .marg101-hero-slider__slide.is-active .marg101-dash__vbars span {
  transform: scaleY(1);
  animation: marg101BarUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.06s + (var(--i, 0) * 0.04s));
}

@keyframes marg101BarUp {
  to { transform: scaleY(1); }
}

#brx-content .marg101-dash__services {
  list-style: none;
  margin: 0;
  padding: 0;
}

#brx-content .marg101-dash__services {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
}

#brx-content .marg101-dash__services li + li {
  margin-top: 0;
}

#brx-content .marg101-dash__service-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.35rem;
}

#brx-content .marg101-dash__service-row strong {
  color: #fff;
}

#brx-content .marg101-dash__progress {
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

#brx-content .marg101-dash__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #16a34a, #4ade80);
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.45);
}

#brx-content .marg101-hero-slider__slide.is-active .marg101-dash__progress span {
  width: var(--w, 50%);
  animation: marg101ProgFill 0.9s ease forwards 0.25s;
}

@keyframes marg101ProgFill {
  to { width: var(--w, 50%); }
}

#brx-content .marg101-dash__status {
  list-style: none;
  margin: 0;
  padding: 0;
}

#brx-content .marg101-dash__status li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.28rem 0;
}

#brx-content .marg101-dash__status-name {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

#brx-content .marg101-dash__check-icon {
  width: 13px;
  height: 13px;
  color: #4ade80;
  flex-shrink: 0;
}

#brx-content .marg101-dash__status .is-ok {
  color: #4ade80;
  font-weight: 600;
  white-space: nowrap;
}

#brx-content .marg101-dash__status .is-ok::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.25rem;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
  vertical-align: middle;
}

/* Desktop: active slide in document flow — no empty gap */
@media (min-width: 1025px) {
  #brx-content .marg101-hero-slider__slide.is-active {
    position: relative;
    inset: auto;
  }
}

/* Laptop: 1025–1280px — tighter two-column */
@media (max-width: 1280px) and (min-width: 1025px) {
  #brx-content .marg101-hero-slider__viewport {
    padding: 3rem 1.5rem 1rem;
  }
  #brx-content .marg101-hero-slider__grid {
    gap: 1.5rem 2.5rem;
  }
  #brx-content .marg101-hero-slider__dashboard {
    min-height: 330px;
  }
  #brx-content .marg101-dash {
    min-height: 330px;
    gap: 0.6rem;
    padding: 0.9rem;
  }
}

/* Tablet: 768–1024px — single column, dashboard below content */
@media (max-width: 1024px) {
  #brx-content .marg101-hero-slider__track {
    min-height: 0;
  }
  #brx-content .marg101-hero-slider__slide {
    position: absolute;
    inset: auto;
    top: 0; left: 0; right: 0;
  }
  #brx-content .marg101-hero-slider__slide.is-active {
    position: relative;
    inset: auto;
  }
  #brx-content .marg101-hero-slider__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  #brx-content .marg101-hero-slider__content {
    order: 1;
    text-align: left;
  }
  #brx-content .marg101-hero-slider__dashboard {
    order: 2;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }
  #brx-content .marg101-hero-slider__title {
    font-size: 40px !important;
  }
  #brx-content .marg101-hero-slider__desc {
    font-size: 19px !important;
    max-width: none;
  }
  #brx-content .marg101-hero-slider__btn {
    font-size: 15px !important;
  }
}

/* Mobile: ≤767px */
@media (max-width: 767px) {
  #brx-content .marg101-hero-slider__viewport {
    padding: 2rem 0.85rem 0.5rem;
  }
  #brx-content .marg101-hero-slider__title {
    font-size: 32px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em;
  }
  #brx-content .marg101-hero-slider__desc {
    font-size: 18px !important;
    margin-bottom: 1.5rem;
  }
  /* Stack buttons full-width on mobile */
  #brx-content .marg101-hero-slider__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  #brx-content .marg101-hero-slider__btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    font-size: 15px !important;
    padding: 0.95rem 1.2rem;
  }
  /* Dashboard: 2-col compact grid on mobile */
  #brx-content .marg101-hero-slider__dashboard {
    max-width: 100%;
  }
  #brx-content .marg101-dash {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    padding: 0.65rem;
    gap: 0.5rem;
    min-height: unset;
    border-radius: 16px;
  }
  /* Code card hidden on mobile to save space */
  #brx-content .marg101-dash__card--code {
    display: none;
  }
  /* Chart spans full width */
  #brx-content .marg101-dash__card--chart {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  /* Uptime is smaller, take half */
  #brx-content .marg101-dash__card--uptime {
    grid-column: span 1;
    grid-row: 2;
    align-items: flex-start;
  }
  /* Users takes the other half */
  #brx-content .marg101-dash__card--users {
    grid-column: span 1;
    grid-row: 2;
  }
  /* Services + Status span full width */
  #brx-content .marg101-dash__card--services,
  #brx-content .marg101-dash__card--status {
    grid-column: 1 / -1;
  }
  /* Slightly smaller donut on mobile */
  #brx-content .marg101-dash__donut {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }
  #brx-content .marg101-dash__donut-inner {
    width: 60px;
    height: 60px;
  }
  /* Nav dots */
  #brx-content .marg101-hero-slider__nav {
    gap: 0.85rem;
    padding: 0.85rem 0.85rem 1.4rem;
  }
  #brx-content .marg101-hero-slider__nav-btn.is-active .marg101-hero-slider__nav-bar {
    width: 36px;
  }
}

@media (max-width: 480px) {
  #brx-content .marg101-dash {
    grid-template-columns: 1fr;
  }

  #brx-content .marg101-dash__card--code,
  #brx-content .marg101-dash__card--chart,
  #brx-content .marg101-dash__card--uptime,
  #brx-content .marg101-dash__card--users,
  #brx-content .marg101-dash__card--services,
  #brx-content .marg101-dash__card--status {
    grid-column: 1;
    grid-row: auto;
  }

  #brx-content .marg101-dash__donut {
    width: 72px;
    height: 72px;
  }

  #brx-content .marg101-dash__donut-inner {
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #brx-content .marg101-hero-slider__slide,
  #brx-content .marg101-dash__line-path,
  #brx-content .marg101-dash__line-area,
  #brx-content .marg101-dash__line-dot,
  #brx-content .marg101-dash__vbars span,
  #brx-content .marg101-dash__progress span,
  #brx-content .marg101-hero-slider__nav-fill,
  #brx-content .marg101-hero-slider__wave-lines,
  #brx-content .marg101-hero-slider__wave-glow,
  #brx-content .marg101-hero-typewriter__cursor {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }
}

/* Final mobile clamp: keep hero content inside the viewport. */
@media (max-width: 700px) {
  #brx-content .marg101-hero-slider,
  #brx-content .marg101-hero-slider__viewport,
  #brx-content .marg101-hero-slider__track,
  #brx-content .marg101-hero-slider__slide,
  #brx-content .marg101-hero-slider__grid,
  #brx-content .marg101-hero-slider__content,
  #brx-content .marg101-hero-slider__dashboard,
  #brx-content .marg101-dash,
  #brx-content .marg101-dash__card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #brx-content .marg101-hero-slider {
    overflow: hidden !important;
  }

  #brx-content .marg101-hero-slider__viewport {
    max-width: 100vw !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    overflow: hidden !important;
  }

  #brx-content .marg101-hero-slider__title,
  #brx-content .marg101-hero-slider__desc {
    display: block !important;
    width: min(340px, calc(100vw - 32px)) !important;
    max-width: min(340px, calc(100vw - 32px)) !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  #brx-content .marg101-hero-slider__title {
    font-size: clamp(1.28rem, 6.1vw, 1.58rem) !important;
    line-height: 1.12 !important;
  }

  #brx-content .marg101-hero-slider__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #brx-content .marg101-dash {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 8px !important;
    max-width: calc(100vw - 20px) !important;
  }

  #brx-content .marg101-dash__card--code,
  #brx-content .marg101-dash__card--chart,
  #brx-content .marg101-dash__card--uptime,
  #brx-content .marg101-dash__card--users,
  #brx-content .marg101-dash__card--services,
  #brx-content .marg101-dash__card--status {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  #brx-content .marg101-dash__card--code {
    display: none !important;
  }
}
