:root {
  --obx-story-ink: #17141e;
  --obx-story-violet: #6429b6;
  --obx-story-sky: #9bdbf7;
  --obx-story-line: rgba(100, 41, 182, 0.13);
  --obx-roi-bg: #19171f;
  --obx-roi-panel: #24212d;
  --obx-roi-white: #fbfaff;
  --obx-roi-muted: #c6c0cf;
  --obx-roi-violet: #9c61e8;
  --obx-roi-lilac: #d7b9ff;
}

.obx-story-video {
  display: block;
  object-fit: cover;
  object-position: center;
  background: var(--obx-story-ink);
}

.obx-brand-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.obx-brand-tile {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--obx-story-line);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(155, 219, 247, 0.22), transparent 44%),
    #fff;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.obx-brand-tile::after {
  content: "";
  position: absolute;
  right: -1.1rem;
  bottom: -1.45rem;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(100, 41, 182, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.obx-brand-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 41, 182, 0.28);
  box-shadow: 0 12px 28px rgba(52, 30, 77, 0.1);
}

.obx-brand-logo {
  display: block;
  width: 112%;
  max-width: none;
  height: 112%;
  object-fit: contain;
}

.obx-canva-laptop {
  position: relative;
  isolation: isolate;
  aspect-ratio: 800 / 489;
  filter: drop-shadow(0 18px 26px rgba(31, 23, 46, 0.16));
}

.obx-canva-screen {
  position: absolute;
  z-index: 0;
  top: 5.3%;
  left: 11.5%;
  width: 77.5%;
  height: 82.4%;
  overflow: hidden;
  background: #fff;
}

.obx-canva-dashboard {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  max-width: none;
  transform: translate3d(0, var(--obx-screen-shift, 0), 0);
}

.obx-canva-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.obx-ai-card {
  width: 46%;
  max-width: 17rem;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.obx-ai-ecosystem {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.obx-ai-brand {
  display: flex;
  min-width: 0;
  min-height: 3.45rem;
  align-items: center;
  gap: 0.48rem;
  padding: 0.55rem 0.58rem;
  border-radius: 0.85rem;
  color: var(--obx-story-ink);
  box-shadow: inset 0 0 0 1px rgba(23, 20, 30, 0.07);
}

.obx-ai-brand img {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}

.obx-ai-brand span {
  overflow: hidden;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
}

.obx-ai-brand--chatgpt {
  color: #fff;
  background: #171717;
}

.obx-ai-brand--claude {
  background: #f7ece5;
}

.obx-ai-brand--gemini {
  background: linear-gradient(135deg, #eef7ff, #f1ebff);
}

.obx-ai-brand--perplexity {
  background: #e8f7f7;
}

.obx-roi-dark {
  isolation: isolate;
  color: var(--obx-roi-white);
  background:
    radial-gradient(circle at 9% 24%, rgba(117, 56, 181, 0.24), transparent 27rem),
    radial-gradient(circle at 88% 74%, rgba(81, 48, 133, 0.2), transparent 30rem),
    linear-gradient(135deg, #1b1921 0%, #17151d 52%, #201b29 100%) !important;
}

.obx-roi-dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.obx-roi-dark .halo-sky {
  opacity: 0.26 !important;
  filter: hue-rotate(52deg) saturate(1.35);
}

.obx-roi-dark h2,
.obx-roi-dark .text-ink {
  color: var(--obx-roi-white) !important;
}

.obx-roi-dark > div > div:first-of-type > p:first-child {
  color: var(--obx-roi-lilac) !important;
}

.obx-roi-dark .text-muted-foreground {
  color: var(--obx-roi-muted) !important;
}

.obx-roi-track {
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #7650a6 8%, #ba7bff 50%, #7650a6 92%, transparent) !important;
  box-shadow: 0 0 18px rgba(171, 103, 255, 0.54);
}

.obx-roi-step {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 255, 0.24) !important;
  background: linear-gradient(145deg, rgba(101, 48, 159, 0.58), rgba(39, 34, 49, 0.96)) !important;
  box-shadow: 0 18px 44px rgba(4, 2, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.obx-roi-step::after {
  content: "";
  position: absolute;
  right: -2.2rem;
  bottom: -3rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(224, 198, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 1.1rem rgba(224, 198, 255, 0.025);
  pointer-events: none;
}

.obx-roi-step--2,
.obx-roi-step--4 {
  background: linear-gradient(145deg, rgba(126, 61, 195, 0.7), rgba(43, 36, 55, 0.96)) !important;
}

.obx-roi-step--3 {
  border-color: rgba(226, 199, 255, 0.42) !important;
  background: linear-gradient(145deg, rgba(151, 77, 225, 0.82), rgba(54, 40, 69, 0.98)) !important;
  box-shadow: 0 20px 52px rgba(104, 42, 169, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.13) !important;
}

.obx-roi-step > span:first-child,
.obx-roi-detail > span:first-child {
  color: #fff !important;
  background: linear-gradient(145deg, #a765ec, #6e31b8) !important;
  box-shadow: 0 8px 22px rgba(101, 43, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.obx-roi-step > span:nth-of-type(2) {
  color: var(--obx-roi-lilac) !important;
}

.obx-roi-arrow {
  color: #bd7cff !important;
  filter: drop-shadow(0 0 6px rgba(184, 111, 255, 0.66));
}

.obx-roi-detail {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)) !important;
  box-shadow: 0 16px 38px rgba(5, 3, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
  backdrop-filter: blur(10px);
}

.obx-roi-detail:hover {
  border-color: rgba(184, 116, 246, 0.35) !important;
}

.obx-roi-quote {
  padding-left: 1.15rem;
  border-left: 3px solid var(--obx-roi-violet);
  color: var(--obx-roi-white) !important;
  text-wrap: balance;
}

@media (max-width: 639px) {
  .obx-roi-track {
    display: none !important;
  }

  .obx-roi-arrow {
    margin: 0.15rem auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .obx-brand-tile {
    transition: none;
  }
}
