.hero-lines-wrap {
  background-color: #fbfbfc;
  background-image:
    linear-gradient(rgba(175, 185, 198, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 185, 198, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-frame {
  display: none;
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 10;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #afb9c6;
}

.hero-frame::before {
  left: var(--hero-frame-inset);
}

.hero-frame::after {
  right: var(--hero-frame-inset);
}

.hero-frame-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 36%;
  height: 1px;
  background: #afb9c6;
}

.hero-frame-dot {
  position: absolute;
  top: 36%;
  z-index: 20;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px #afb9c6, 0 1px 2px #afb9c6;
}

.hero-frame-dot-left {
  left: var(--hero-frame-inset);
  transform: translate(-50%, -50%);
}

.hero-frame-dot-right {
  right: var(--hero-frame-inset);
  transform: translate(50%, -50%);
}

@media (min-width: 768px) {
  .hero-frame {
    --hero-frame-inset: 48px;
    display: block;
  }
}

@media (min-width: 1280px) {
  .hero-frame {
    --hero-frame-inset: max(40px, calc(50% - 725px));
  }
}

.hero-dashboard {
  width: 100%;
  max-width: 720px;
  margin: 0 auto -12px;
}

@media (min-width: 1024px) {
  .hero-dashboard {
    max-width: 960px;
  }
}

@media (min-width: 1280px) {
  .hero-dashboard {
    max-width: 1140px;
  }
}

@media (min-width: 1536px) {
  .hero-dashboard {
    max-width: 1180px;
  }
}

@media (min-width: 1800px) {
  .hero-dashboard {
    max-width: 1320px;
  }
}

.hero-dashboard-tabs,
.hero-dashboard-stage {
  width: 100%;
}

.hero-dashboard-tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow: hidden;
  background: #f2f0ed;
  border-radius: 6px;
  padding: 6px;
  margin: 0;
}

.hero-dashboard-tab {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  appearance: none;
  border: 0;
  background: transparent;
  color: #1a1a1c;
  border-radius: 6px;
  padding: 7px 4px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-dashboard-tab.is-active {
  background: #1a1a1c;
  color: #fff;
}

.hero-dashboard-tab .hero-dashboard-progress {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  opacity: 0;
}

.hero-dashboard-tab.is-active .hero-dashboard-progress {
  opacity: 1;
}

.hero-dashboard-tab .hero-dashboard-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

.hero-dashboard-tab.is-playing .hero-dashboard-progress > span {
  animation: hero-dashboard-progress 2.6s linear forwards;
}

@keyframes hero-dashboard-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.hero-dashboard-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 10px;
  aspect-ratio: 1117 / 730;
  background-color: #4a2a18;
  background-image: url("../images/dashboard/hero-background.webp");
  background-position: 50% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-dashboard-stage .hero-dashboard-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: none;
  opacity: 1;
  transform: none;
  left: 0;
  bottom: auto;
  pointer-events: none;
}

.hero-dashboard-stage img[data-hero-slide] {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  transform: translateX(-50%);
  width: 85%;
  max-width: 85%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 16px 40px rgba(26, 26, 28, 0.16);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.hero-dashboard-stage img[data-hero-slide].is-active {
  opacity: 1;
}

@media (max-width: 991px) {
  .hero-dashboard-stage {
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  .hero-dashboard-tab {
    font-size: 10px;
    padding: 7px 2px;
  }

  .hero-dashboard-stage {
    min-height: 290px;
  }
}


.hero-dashboard-stage {
  background-color: #1a1a1c;
}

.hero-dashboard-stage .hero-dashboard-backdrop {
  opacity: 0.08;
}

.hero-app-mock {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  background: #1c1c1e;
  color: #fff;
  font-family: inherit;
  z-index: 1;
}

.hero-app-mock,
.hero-app-mock :is(p, span, div, h1, h2, h3, h4, h5, h6, li, a, strong, em) {
  color: #fff !important;
}

.hero-app-mock .muted,
.hero-app-mock .ham-group,
.hero-app-mock .ham-nav-item:not(.on),
.hero-app-mock .ham-rail-item:not(.is-on) {
  color: rgba(255, 255, 255, 0.5) !important;
}

.hero-app-mock.is-active {
  display: flex;
}

.hero-app-mock.ham-static,
.hero-app-mock.ham-static.is-active {
  position: relative;
  inset: auto;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.hero-app-mock .ham-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #2c2c2e;
  font-size: 11px;
  font-weight: 500;
}

.hero-app-mock .ham-dots {
  display: flex;
  gap: 5px;
}

.hero-app-mock .ham-dots i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #636366;
}

.hero-app-mock .ham-dots i:nth-child(1) {
  background: #ff5f57;
}

.hero-app-mock .ham-dots i:nth-child(2) {
  background: #febc2e;
}

.hero-app-mock .ham-dots i:nth-child(3) {
  background: #28c840;
}

.hero-app-mock .ham-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.hero-app-mock .ham-chrome-logo {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
  border-radius: 99px;
}

.hero-app-mock .ham-badge {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.62) !important;
}

.hero-app-mock .ham-body {
  display: flex;
  min-height: 0;
  flex: 1;
}

.hero-app-mock .ham-logo {
  width: 24px;
  height: 24px;
  display: block;
}

.hero-app-mock .ham-logo-wrap {
  display: grid;
  place-items: center;
  height: 40px;
  width: 100%;
}

.hero-app-mock .ham-ico {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.hero-app-mock .ham-nav-item .ham-ico,
.hero-app-mock .ham-bot-name .ham-ico,
.hero-app-mock .ham-new-chat .ham-ico {
  width: 14px;
  height: 14px;
}

.hero-app-mock .ham-rail {
  width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #161618;
}

.hero-app-mock .ham-rail nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.hero-app-mock .ham-rail-item {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.hero-app-mock .ham-rail-item.is-on::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -9px;
  width: 2px;
  border-radius: 99px;
  background: #fff;
}

.hero-app-mock .ham-panel {
  width: 184px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #232326;
  font-size: 12px;
  display: flex;
  flex-direction: column;
}

.hero-app-mock .ham-panel-head {
  padding: 12px 12px 8px;
}

.hero-app-mock .ham-panel-title {
  font-size: 13px;
  font-weight: 600;
}

.hero-app-mock .ham-panel-head .muted,
.hero-app-mock .ham-panel-foot .muted,
.hero-app-mock .ham-panel .muted {
  font-size: 10px;
}

.hero-app-mock .ham-panel-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0 8px 8px;
}

.hero-app-mock .ham-panel-foot {
  margin-top: auto;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-app-mock .ham-panel-foot p:first-child {
  font-size: 11px;
  font-weight: 500;
}

.hero-app-mock .ham-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-app-mock .ham-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
}

.hero-app-mock .ham-nav-item.on {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.hero-app-mock .ham-group {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 8px 4px;
}

.hero-app-mock .ham-new-chat {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
}

.hero-app-mock .ham-new-chat,
.hero-app-mock .ham-new-chat span {
  color: #1a1a1c !important;
}

.hero-app-mock .ham-new-chat .ham-ico {
  color: #1a1a1c;
}

.hero-app-mock .ham-main {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  overflow: hidden;
}

.hero-app-mock .ham-hello {
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

.hero-app-mock .ham-kpi-val {
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

.hero-app-mock .ham-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-app-mock .ham-title-row {
  align-items: flex-end;
}

.hero-app-mock .ham-trunc {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  padding: 0 8px;
}

.hero-app-mock .ham-bot-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.hero-app-mock .ham-kpis {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.hero-app-mock .ham-kpis.is-4 {
  grid-template-columns: repeat(4, 1fr);
}

.hero-app-mock .ham-kpis.is-3 {
  grid-template-columns: repeat(3, 1fr);
}

.hero-app-mock .ham-kpis.is-spotlight {
  outline: 1px solid rgba(255, 255, 255, 0.18);
  outline-offset: 4px;
  border-radius: 10px;
}

.hero-app-mock .ham-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.hero-app-mock .ham-kpis .ham-card {
  margin-top: 0;
}

.hero-app-mock .eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5) !important;
}

.hero-app-mock .ham-ok {
  color: #34d399 !important;
  font-size: 11px;
}

.hero-app-mock .ham-bubble {
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 8px;
}

.hero-app-mock .ham-bubble.user {
  margin-left: 32px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-app-mock .ham-bubble.agent {
  margin-right: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.hero-app-mock .ham-panel-body {
  overflow-y: auto;
}

.hero-app-mock .ham-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 1px 7px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-app-mock .ham-pill.is-open {
  color: #7dd3fc !important;
  border-color: rgba(125, 211, 252, 0.28);
}

.hero-app-mock .ham-pill.is-wait {
  color: #fbbf24 !important;
  border-color: rgba(251, 191, 36, 0.28);
}

.hero-app-mock .ham-pill.is-high {
  color: #f87171 !important;
  border-color: rgba(248, 113, 113, 0.28);
}

.hero-app-mock .ham-pill.is-ok {
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.28);
}

.hero-app-mock .ham-kpi-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.hero-app-mock .ham-kpi-sub {
  font-size: 10px;
  margin-top: 4px;
}

.hero-app-mock .ham-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-app-mock .ham-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  font-size: 11px;
}

.hero-app-mock .ham-bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-app-mock .ham-bar > i {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 99px;
}

.hero-app-mock .ham-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45) !important;
}

.hero-app-mock .ham-filters {
  display: flex;
  gap: 6px;
  margin: 8px 0;
}

.hero-app-mock .ham-filters span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 3px 8px;
  font-size: 11px;
}

.hero-app-mock .ham-filters span.on {
  background: rgba(255, 255, 255, 0.1);
}

.hero-app-mock .ham-sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.hero-app-mock .ham-sector {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
}

.hero-app-mock .ham-sector-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.hero-app-mock .ham-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.hero-app-mock .ham-module {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}

.hero-app-mock .ham-split {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  margin-top: 8px;
  min-height: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.hero-app-mock .ham-split-side {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.hero-app-mock .ham-split-main {
  padding: 10px 12px;
}

.hero-app-mock .ham-thread {
  font-size: 11px;
  line-height: 1.45;
  padding: 6px 8px;
  border-radius: 8px;
  margin-top: 6px;
}

.hero-app-mock .ham-thread.in {
  background: rgba(255, 255, 255, 0.08);
  margin-right: 28px;
}

.hero-app-mock .ham-thread.out {
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 28px;
}

.hero-app-mock .ham-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-top: 8px;
}

.hero-app-mock .ham-table th,
.hero-app-mock .ham-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.hero-app-mock .ham-table th {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45) !important;
}

.hero-app-mock .ham-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hero-app-mock .ham-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-app-mock .ham-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin-top: 10px;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1c !important;
  font-size: 12px;
  font-weight: 600;
}

.hero-app-mock .ham-chart {
  width: 100%;
  height: 72px;
  display: block;
}

@media (max-width: 720px) {
  .hero-app-mock .ham-panel {
    display: none;
  }

  .hero-app-mock .ham-split {
    grid-template-columns: 1fr;
  }

  .hero-app-mock .ham-split-side {
    display: none;
  }
}
