/* Use Cases — cinematic editorial redesign */

body.ms-page-use-cases {
  scroll-padding-top: 5.5rem;
  background: #0a0a0f;
}

body.ms-page-use-cases .index-main-inner {
  max-width: none;
  padding: 0;
  width: 100%;
}

.uc-page {
  --uc-bg: #0a0a0f;
  --uc-surface: #12101a;
  --uc-border: rgba(255, 255, 255, 0.1);
  --uc-ink: #f8f6ff;
  --uc-muted: rgba(248, 246, 255, 0.68);
  --uc-gold: #e8a04a;
  --uc-amber: #f59e0b;
  --uc-purple: #7c3aed;
  --uc-purple-bright: #8b5cf6;
  --uc-blue: #38bdf8;
  --uc-blue-glow: rgba(56, 189, 248, 0.45);
  --uc-navy: #0c1224;
  --uc-radius: 18px;
  --uc-radius-lg: 24px;
  --uc-display: "Playfair Display", Georgia, serif;
  --uc-sans: "DM Sans", "Inter", system-ui, sans-serif;
  --uc-section-pad: clamp(5rem, 10vw, 9rem);
  color: var(--uc-ink);
  background: var(--uc-bg);
  font-family: var(--uc-sans);
  font-weight: 400;
  overflow-x: clip;
}

.uc-img--missing {
  opacity: 0 !important;
}

/* ----- Hero ----- */

.uc-hero {
  position: relative;
  min-height: clamp(480px, 72vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: clamp(5.5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 5vw, 4rem);
}

.uc-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1228 0%, #0a0a0f 55%, #060508 100%);
  overflow: hidden;
}

.uc-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(1.1) saturate(1.04);
}

.uc-hero__bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.15) 0%, rgba(10, 10, 15, 0.35) 42%, rgba(10, 10, 15, 0.82) 100%),
    linear-gradient(90deg, rgba(10, 10, 15, 0.48) 0%, rgba(10, 10, 15, 0.1) 55%, transparent 100%);
  pointer-events: none;
}

.uc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

@media (min-width: 720px) {
  .uc-hero__inner {
    margin-left: clamp(0.75rem, 2vw, 1.75rem);
  }
}

.uc-hero__kicker {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--uc-gold);
}

.uc-hero__title {
  margin: 0 0 1.15rem;
  font-family: var(--uc-sans);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.uc-hero__lead {
  margin: 0 0 0.7rem;
  max-width: 38em;
  font-size: clamp(1rem, 1.9vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--uc-muted);
}

.uc-hero__lead--secondary {
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.uc-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uc-hero__pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(248, 246, 255, 0.88);
  background: rgba(18, 16, 26, 0.75);
  border: 1px solid rgba(124, 58, 237, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.uc-hero__pills i {
  color: var(--uc-purple-bright);
  font-size: 0.72rem;
}

/* ----- Category picker ----- */

.uc-picker {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.uc-picker__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.uc-picker__heading {
  margin: 0 0 1.35rem;
  font-family: var(--uc-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 246, 255, 0.5);
  text-align: center;
}

.uc-picker__scroll-wrap {
  position: relative;
}

.uc-picker__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  pointer-events: none;
}

.uc-picker__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--uc-bg) 0%, transparent 100%);
}

.uc-picker__fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--uc-bg) 0%, transparent 100%);
}

.uc-picker__grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1100px) {
  .uc-picker__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    overflow-x: visible;
  }

  .uc-picker__fade {
    display: none;
  }
}

.uc-picker__card {
  position: relative;
  flex: 0 0 clamp(5.5rem, 14vw, 7rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.45rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--uc-radius);
  border: 1px solid var(--uc-border);
  background: rgba(18, 16, 28, 0.7);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.uc-picker__card::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--uc-purple-bright);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.uc-picker__card:hover {
  border-color: rgba(124, 58, 237, 0.55);
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.uc-picker__card:hover::after,
.uc-picker__card.is-active::after {
  transform: scaleX(1);
}

.uc-picker__card:hover .uc-picker__thumb {
  transform: scale(1.03);
}

.uc-picker__card.is-active {
  border-color: var(--uc-purple-bright);
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.28);
  background: rgba(124, 58, 237, 0.14);
}

.uc-picker__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #1e1630 0%, #120e1a 100%);
  transition: transform 0.3s ease;
}

.uc-picker__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-picker__thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: rgba(139, 92, 246, 0.55);
  pointer-events: none;
}

.uc-picker__thumb img:not(.uc-img--missing) + .uc-picker__thumb-fallback {
  opacity: 0;
}

.uc-picker__label {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: rgba(248, 246, 255, 0.9);
}

/* ----- Sections rhythm ----- */

.uc-sections {
  display: flex;
  flex-direction: column;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.uc-block {
  scroll-margin-top: 6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  position: relative;
}

.uc-block + .uc-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.85;
}

.uc-block__shell {
  position: relative;
  border-radius: var(--uc-radius-lg);
  overflow: hidden;
}

.uc-block__watermark {
  position: absolute;
  top: -0.15em;
  left: -0.05em;
  font-family: var(--uc-display);
  font-size: clamp(5rem, 14vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.uc-block__copy {
  position: relative;
  z-index: 2;
  padding: 0.25rem 0.15rem;
}

.uc-block__num {
  margin: 0 0 0.75rem;
}

.uc-block__num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--uc-accent, var(--uc-purple));
  box-shadow: 0 0 22px var(--uc-accent-glow, var(--uc-purple-glow, rgba(124, 58, 237, 0.4)));
}

.uc-block__title {
  margin: 0 0 0.55rem;
  font-family: var(--uc-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.uc-block__tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--uc-accent-text, var(--uc-purple-bright));
}

.uc-block__pull {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--uc-accent, var(--uc-amber));
  font-family: var(--uc-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.uc-block__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.uc-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--uc-muted);
}

.uc-block__list i {
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  color: var(--uc-accent-text, var(--uc-purple-bright));
}

/* ----- Pipeline (workflow chips) ----- */

.uc-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.uc-pipeline__step {
  opacity: 0;
  animation: uc-pipeline-in 0.5s ease forwards;
  animation-delay: calc(var(--uc-step-i, 0) * 0.1s);
}

.uc-pipeline__chip {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 246, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.uc-pipeline__step.is-featured .uc-pipeline__chip {
  color: #fff;
  background: var(--uc-accent, var(--uc-purple));
  border-color: transparent;
  box-shadow: 0 0 20px var(--uc-accent-glow, rgba(124, 58, 237, 0.45));
}

.uc-pipeline__connector {
  display: flex;
  align-items: center;
  width: 1.25rem;
  height: 1px;
  margin: 0 0.15rem;
  opacity: 0;
  animation: uc-pipeline-in 0.4s ease forwards;
  animation-delay: calc((var(--uc-step-i, 0) + 0.45) * 0.1s);
}

.uc-pipeline__connector span {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15));
}

.uc-pipeline__connector::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 4px solid rgba(255, 255, 255, 0.35);
  margin-left: -1px;
}

@keyframes uc-pipeline-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----- CTA variants ----- */

.uc-block__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-family: var(--uc-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.uc-block__cta i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.uc-block__cta:hover i {
  transform: translateX(3px);
}

/* Primary teal — used as default solid CTA */
.uc-block__cta--outline {
  color: #fff;
  background: #0e7490;
  border: 1px solid rgba(6,182,212,0.4);
  box-shadow: 0 4px 16px rgba(6,182,212,0.2);
}

.uc-block__cta--outline:hover {
  background: #0891b2;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(6,182,212,0.3);
}

/* Gold variant */
.uc-block__cta--gold {
  color: #0a0a0f;
  background: #f59e0b;
  border: none;
  box-shadow: 0 4px 18px rgba(245,158,11,0.28);
}

.uc-block__cta--gold:hover {
  color: #0a0a0f;
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245,158,11,0.38);
}

/* Violet variant */
.uc-block__cta--violet {
  color: #fff;
  background: #6d28d9;
  border: 1px solid rgba(139,92,246,0.4);
  box-shadow: 0 4px 16px rgba(109,40,217,0.3);
}

.uc-block__cta--violet:hover {
  color: #fff;
  background: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(109,40,217,0.4);
}

/* Blue/teal outline variant */
.uc-block__cta--glow-blue {
  color: #e0f2fe;
  background: rgba(14, 116, 144, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 18px rgba(6,182,212,0.15);
}

.uc-block__cta--glow-blue:hover {
  color: #fff;
  background: #0e7490;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}

.uc-block__cta--ghost {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
  position: relative;
}

.uc-block__cta--ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.45rem;
  width: 100%;
  height: 2px;
  background: var(--uc-accent, var(--uc-amber));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.uc-block__cta--ghost:hover {
  color: #fff;
  transform: none;
}

.uc-block__cta--ghost:hover::after {
  transform: scaleX(1);
}

/* ----- Shared layout ----- */

.uc-block__layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .uc-block__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .uc-block--reverse .uc-block__layout {
    direction: rtl;
  }

  .uc-block--reverse .uc-block__layout > * {
    direction: ltr;
  }
}

.uc-block__media {
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #221a32 0%, #100c18 100%);
}

.uc-block__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- 01 AI Films (overlay) ----- */

.uc-block--ai-films {
  --uc-accent: #6366f1;
  --uc-accent-text: #a5b4fc;
  --uc-accent-glow: rgba(99, 102, 241, 0.45);
}

.uc-block--ai-films .uc-block__shell--overlay {
  position: relative;
  min-height: clamp(420px, 55vh, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: var(--uc-navy);
}

.uc-block--ai-films .uc-block__overlay-media {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
}

.uc-block--ai-films .uc-block__overlay-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.uc-block--ai-films .uc-block__grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.uc-block--ai-films .uc-block__overlay-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 36, 0.35) 0%, rgba(12, 18, 36, 0.75) 55%, rgba(10, 10, 15, 0.95) 100%),
    linear-gradient(120deg, rgba(12, 18, 36, 0.65) 0%, transparent 50%);
  pointer-events: none;
}

.uc-block--ai-films .uc-block__copy--overlay,
.uc-block--ai-films .uc-block__copy {
  max-width: 640px;
}

.uc-block--ai-films .uc-block__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
}

/* ----- 02 Commercials (split + gold) ----- */

.uc-block--commercials {
  --uc-accent: var(--uc-gold);
  --uc-accent-text: #fcd34d;
  --uc-accent-glow: rgba(232, 160, 74, 0.4);
}

.uc-block--commercials .uc-block__shell {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(232, 160, 74, 0.22);
  background: linear-gradient(155deg, rgba(24, 20, 12, 0.98) 0%, rgba(12, 10, 8, 0.98) 100%);
}

.uc-block--commercials .uc-block__watermark {
  opacity: 0.08;
  color: var(--uc-gold);
}

.uc-block--commercials .uc-block__media--framed {
  position: relative;
  min-height: 260px;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px var(--uc-gold),
    0 0 0 6px rgba(232, 160, 74, 0.12),
    12px 12px 0 rgba(232, 160, 74, 0.15);
}

.uc-block--commercials .uc-block__media--framed::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(232, 160, 74, 0.35);
  pointer-events: none;
  z-index: 1;
}

/* ----- 03 Social Content ----- */

.uc-block--social-content {
  --uc-accent: #c084fc;
  --uc-accent-text: #e9d5ff;
  --uc-accent-glow: rgba(192, 132, 252, 0.4);
}

.uc-block--social-content .uc-block__shell {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(192, 132, 252, 0.2);
  background: linear-gradient(165deg, rgba(28, 18, 38, 0.95) 0%, rgba(14, 10, 20, 0.98) 100%);
}

.uc-block--layout-social .uc-block__layout--social {
  align-items: center;
}

@media (min-width: 860px) {
  .uc-block--layout-social .uc-block__layout--social {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.uc-block__phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
}

.uc-phone {
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #1a1028;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.uc-phone:nth-child(2) {
  transform: translateY(-12px);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.25);
}

.uc-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) saturate(1.1);
}

.uc-block--social-content .uc-block__title {
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
}

.uc-block--social-content .uc-block__copy {
  padding-top: 0.5rem;
}

@media (max-width: 859px) {
  .uc-block__phones {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ----- 04 Music Videos ----- */

.uc-block--music-videos {
  --uc-accent: var(--uc-blue);
  --uc-accent-text: #7dd3fc;
  --uc-accent-glow: var(--uc-blue-glow);
}

.uc-block--music-videos .uc-block__shell {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: #050508;
  overflow: hidden;
}

.uc-waveform {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  color: rgba(56, 189, 248, 0.25);
  pointer-events: none;
  animation: uc-wave-drift 12s ease-in-out infinite;
}

@keyframes uc-wave-drift {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(-2%);
    opacity: 1;
  }
}

.uc-block--music-videos .uc-block__media--bleed {
  min-height: 280px;
  aspect-ratio: 16 / 10;
  border-radius: var(--uc-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.uc-block--music-videos .uc-block__media--bleed img {
  filter: brightness(0.88) contrast(1.08);
}

/* ----- 05 Storytelling (editorial) ----- */

.uc-block--storytelling {
  --uc-accent: var(--uc-amber);
  --uc-accent-text: #fcd34d;
  --uc-accent-glow: rgba(245, 158, 11, 0.35);
}

.uc-block--storytelling .uc-block__shell {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: linear-gradient(160deg, rgba(28, 22, 14, 0.96) 0%, rgba(14, 12, 10, 0.98) 100%);
}

.uc-block__layout--editorial {
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 860px) {
  .uc-block__layout--editorial {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.uc-block__media--soft {
  border-radius: var(--uc-radius);
  overflow: hidden;
  min-height: 300px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.uc-block__media--soft img {
  filter: sepia(0.12) brightness(1.02);
}

.uc-block--storytelling .uc-block__copy {
  font-size: 1.02rem;
}

.uc-block--storytelling .uc-block__list li {
  font-size: 1rem;
  line-height: 1.65;
}

.uc-block--storytelling .uc-block__title {
  font-weight: 600;
}

/* ----- Footer CTA ----- */

.uc-footer-cta {
  position: relative;
  margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem));
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  background: linear-gradient(165deg, #2d1b4e 0%, #12081f 45%, #0a0a0f 100%);
}

.uc-footer-cta__shimmer {
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.04) 48%,
    rgba(167, 139, 250, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 52%,
    transparent 60%
  );
  animation: uc-shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.uc-footer-cta__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.12) 0%, transparent 35%),
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  background-size: 100% 100%, 100% 100%, 180px 180px, 220px 220px, 200px 200px;
  opacity: 0.8;
  pointer-events: none;
}

@keyframes uc-shimmer {
  0%,
  100% {
    transform: translateX(-30%) rotate(8deg);
  }
  50% {
    transform: translateX(30%) rotate(8deg);
  }
}

.uc-footer-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.uc-footer-cta__text {
  margin: 0 0 1.75rem;
  font-family: var(--uc-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.uc-footer-cta__text em {
  font-style: italic;
  font-weight: 700;
  color: #fff;
}

.uc-footer-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.875rem 1.85rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: #0e7490;
  border: 1px solid rgba(6,182,212,0.4);
  box-shadow: 0 4px 20px rgba(6,182,212,0.25), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.uc-footer-cta__btn:hover {
  transform: translateY(-1px);
  background: #0891b2;
  box-shadow: 0 6px 28px rgba(6,182,212,0.35), 0 2px 10px rgba(0,0,0,0.3);
  color: #fff;
}

/* ----- Reduced motion ----- */

@media (prefers-reduced-motion: reduce) {
  .uc-pipeline__step,
  .uc-pipeline__connector,
  .uc-waveform,
  .uc-footer-cta__shimmer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .uc-picker__card,
  .uc-picker__thumb,
  .uc-block__cta,
  .uc-footer-cta__btn {
    transition: none !important;
  }
}

/* ----- Header Studio CTA ----- */

body.ms-page-use-cases .index-wrap .index-user-actions a.index-studio-cta.btn-primary,
body.ms-page-use-cases .index-wrap .index-mobile-drawer a.index-studio-cta.btn-primary {
  font-family: var(--uc-sans);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 0.85rem;
  background: #0e7490;
  color: #fff;
  border: 1px solid rgba(6,182,212,0.4);
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(6,182,212,0.2);
  background-image: none;
}

body.ms-page-use-cases .index-wrap .index-user-actions a.index-studio-cta.btn-primary:hover,
body.ms-page-use-cases .index-wrap .index-mobile-drawer a.index-studio-cta.btn-primary:hover {
  background: #0891b2;
  color: #fff;
  border: 1px solid rgba(6,182,212,0.5);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(6,182,212,0.3);
  background-image: none;
}

body.ms-page-use-cases .index-wrap .index-user-actions a.index-studio-cta.btn-primary:focus-visible,
body.ms-page-use-cases .index-wrap .index-mobile-drawer a.index-studio-cta.btn-primary:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
}

body.ms-page-use-cases .index-wrap .index-mobile-drawer-inner > a.index-studio-cta:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.55rem 1rem;
  font-family: var(--uc-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: none;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  text-decoration: none;
  width: fit-content;
}

body.ms-page-use-cases .index-wrap .index-mobile-drawer-inner > a.index-studio-cta:not(.btn):hover {
  background: linear-gradient(135deg, #9d6fff 0%, #8b5cf6 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.45);
}

html[data-theme="dark"] body.ms-page-use-cases .index-wrap .index-user-actions a.index-studio-cta.btn-primary,
html[data-theme="dark"] body.ms-page-use-cases .index-wrap .index-mobile-drawer a.index-studio-cta.btn-primary,
html[data-theme="dark"] body.ms-page-use-cases .index-wrap .index-mobile-drawer-inner > a.index-studio-cta:not(.btn) {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

html[data-theme="dark"] body.ms-page-use-cases .index-wrap .index-user-actions a.index-studio-cta.btn-primary:hover,
html[data-theme="dark"] body.ms-page-use-cases .index-wrap .index-mobile-drawer a.index-studio-cta.btn-primary:hover,
html[data-theme="dark"] body.ms-page-use-cases .index-wrap .index-mobile-drawer-inner > a.index-studio-cta:not(.btn):hover {
  background: linear-gradient(135deg, #9d6fff 0%, #8b5cf6 100%);
  color: #fff;
}
