/* ==========================================================================
   B-Movie Club case study
   Values are taken 1:1 from the Figma exports (1440px artboard). Fluid sizes
   use clamp() so they hit the exact design value at 1440px and scale below.
   All classes use the "cs-" prefix with single hyphens only: style.css resets
   every [class*="__"] element inside sections on tablet/mobile.
   ========================================================================== */

:root {
  --cs-ink: #1A182B;
  --cs-muted: #716F7E;
  --cs-soft: #9693A3;
  --cs-violet: #6E47FF;
  --cs-violet-tint: #F1EDFF;
  --cs-line: rgba(26, 24, 43, 0.08);
  --cs-warm: #FAF5F1;
  --cs-purple-gradient: radial-gradient(125% 98% at 45% 100%, #8B6CFF 0%, #6E47FF 26%, #4E32B5 55%, #2E1E6B 78%, #150079 100%);
  --cs-gutter: clamp(16px, 5.556vw, 80px);
}

.cs-page {
  background: #FFF;
  color: var(--cs-ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cs-main,
.cs-main *,
.cs-main *::before,
.cs-main *::after { box-sizing: border-box; }

.cs-main :where(h1, h2, h3, h4, p, ul, ol, li, figure) { margin: 0; padding: 0; }
.cs-main :where(ul, ol) { list-style: none; }
.cs-main :where(a) { color: inherit; text-decoration: none; }
.cs-main img { display: block; max-width: 100%; }
.cs-main {
  display: block;
  overflow-x: clip;
  background: #FFF;
  color: var(--cs-ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Theme global styles set Poppins on headings/body; force the design font. */
.cs-main :is(h1, h2, h3, h4, h5, h6, p, a, li, span, strong, ol, ul, button) { font-family: inherit; }

.cs-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--cs-gutter);
}

/* ---------- Buttons ---------- */
.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 36px;
  border-radius: 60px;
  border: 0.667px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cs-btn img { width: 16px; height: 16px; flex-shrink: 0; }
.cs-btn:hover { transform: translateY(-2px); }
.cs-btn-light { background: #FFF; color: var(--cs-ink); }
.cs-btn-light:hover { box-shadow: 0 10px 28px rgba(21, 0, 121, .28); }
.cs-btn-outline { color: #FFF; border-color: rgba(255, 255, 255, .45); background: transparent; }
.cs-btn-outline:hover { background: rgba(255, 255, 255, .1); }
.cs-btn-dark { padding: 0 32px; border-radius: 40px; background: var(--cs-ink); color: #FFF; }
.cs-btn-dark:hover { box-shadow: 0 10px 28px rgba(26, 24, 43, .25); }
.cs-btn-white {
  padding: 0 32px;
  border-radius: 40px;
  background: #FFF;
  color: var(--cs-ink);
  border-color: rgba(26, 24, 43, .15);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}
.cs-btn-white img { width: 20px; height: 20px; }
.cs-btn-sm { height: 48px; padding: 0 24px; gap: 8px; border-radius: 40px; font-size: 14px; line-height: 20px; }

/* ---------- Shared section heading ---------- */
.cs-section-head {
  max-width: 1032px;
  margin: 0 auto;
  text-align: center;
}
.cs-section-title {
  color: var(--cs-ink);
  font-size: clamp(32px, 3.75vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.cs-title-bold { font-weight: 600; }
.cs-section-text {
  margin-top: 20px;
  color: var(--cs-muted);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.556;
  text-wrap: pretty;
}
.cs-text-strong { font-weight: 500; }

.cs-item-title {
  color: var(--cs-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
}
.cs-item-text {
  color: var(--cs-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
}

/* ---------- 1. Hero (1440 x 960) ---------- */
.cs-hero {
  position: relative;
  min-height: clamp(600px, 66.667vw, 960px);
  padding: clamp(128px, 19.097vw, 275px) 0 clamp(56px, 6vw, 90px);
  border-radius: 0 0 clamp(28px, 3.889vw, 56px) clamp(28px, 3.889vw, 56px);
  overflow: hidden;
  color: #FFF;
  background:
    linear-gradient(90deg, rgba(9, 6, 28, .70) 0%, rgba(9, 6, 28, .38) 52%, rgba(9, 6, 28, 0) 100%),
    linear-gradient(180deg, rgba(9, 6, 28, .80) 0%, rgba(18, 10, 62, .72) 55%, rgba(27, 15, 104, .78) 100%),
    url("../../images/casestudiesottstreaming/hero-bg.png") center / cover no-repeat,
    linear-gradient(180deg, #09061C 0%, #120A3E 55%, #1B0F68 100%);
  background-color: #120A3E;
}
.cs-hero-inner {
  position: relative;
  z-index: 1;
  padding-left: clamp(16px, 8.611vw, 124px);
  padding-right: var(--cs-gutter);
}

.cs-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: #FFF;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}
.cs-breadcrumb-list li { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.cs-breadcrumb-list li + li::before { content: "/"; }
.cs-breadcrumb-list a:hover { text-decoration: underline; }

.cs-hero-title {
  max-width: 780px;
  margin-top: 20px;
  color: #FFF;
  font-size: clamp(36px, 4.722vw, 68px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.cs-hero-text {
  max-width: 620px;
  margin-top: 24px;
  color: #FFF;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.611;
}
.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- 2. Stats (1440 x 152) ---------- */
.cs-stats { background: #FFF; }
.cs-stats .cs-container { padding-inline: 0; }
.cs-stats-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 288px));
  justify-content: center;
  min-height: 152px;
  padding: 40px var(--cs-gutter);
  border-bottom: 1px solid rgba(117, 117, 117, 0.20);
}
.cs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  text-align: center;
}
.cs-stat-value {
  color: var(--cs-ink);
  font-size: clamp(30px, 3.056vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.cs-stat-label {
  padding-top: 12px;
  color: var(--cs-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---------- 3. Project Overview ---------- */
.cs-overview { min-height: clamp(0px, 72.431vw, 1043px); padding: clamp(56px, 6.667vw, 96px) 0; background: #FFF; }
.cs-overview .cs-section-head { max-width: 840px; }
.cs-overview .cs-section-title { line-height: 1.15; letter-spacing: -0.038em; }
.cs-overview .cs-section-text { line-height: 28px; }

.cs-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 597px) minmax(0, 496px);
  justify-content: center;
  gap: clamp(32px, 2.986vw, 43px);
  align-items: start;
  max-width: 1136px;
  margin: clamp(40px, 4.444vw, 64px) auto 0;
}
.cs-overview-media {
  position: relative;
  aspect-ratio: 597 / 620.25;
  border-radius: clamp(24px, 2.778vw, 40px);
  background: #F5F5F5;
  overflow: hidden;
}
.cs-overview-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
}
.cs-overview-phones { position: absolute; inset: 0; }
.cs-overview-phones img { position: absolute; max-width: none !important; height: auto; }
/* Screens keep their natural aspect ratio (no cover-cropping). */
.cs-overview-screen-left { left: 0.5%; top: 18.7%; width: 18.4%; }
.cs-overview-screen-right { left: 80%; top: 18.7%; width: 20.6%; }
.cs-overview-screen-center {
  left: 18.9%;
  top: 9.7%;
  width: 60.3%;
  z-index: 1;
  border-radius: clamp(28px, 3.3vw, 48px) clamp(28px, 3.3vw, 48px) 0 0;
  box-shadow: 0 0 0 3px #3A3A3A, 0 0 0 5px #D9D9D9, 0 18px 40px rgba(0, 0, 0, .35);
}

.cs-eyebrow {
  color: var(--cs-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
  letter-spacing: 1.56px;
  text-transform: uppercase;
}
.cs-overview-list { padding-top: 24px; }
.cs-overview-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 0.667px solid var(--cs-line);
  font-size: 16px;
}
.cs-overview-item:first-child { padding-top: 0; }
.cs-overview-item:last-child { padding-bottom: 0; border-bottom: 0; }
.cs-overview-item .cs-item-title { font-weight: 600; line-height: 27px; letter-spacing: -0.36px; }
.cs-overview-item .cs-item-text { padding-top: 4px; line-height: 24px; }
.cs-overview-icon { width: 44px; height: 46px; flex-shrink: 0; }

.cs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8.75px 10.5px;
  margin-top: 32px;
  padding-top: 24.67px;
  border-top: 0.667px solid var(--cs-line);
}
.cs-pill {
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--cs-violet-tint);
  color: var(--cs-violet);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

/* ---------- 4. Challenges ---------- */
.cs-challenges {
  min-height: clamp(0px, 63.75vw, 918px);
  padding: clamp(56px, 7.083vw, 102px) 0 clamp(56px, 6.25vw, 90px);
  background: var(--cs-warm);
}
.cs-challenges .cs-container { max-width: 1280px; padding-inline: clamp(16px, 2.778vw, 40px); }
.cs-challenges .cs-section-head { max-width: 896px; }
.cs-challenges .cs-section-title { line-height: 1.185; letter-spacing: -0.039em; }
.cs-challenges .cs-section-text { line-height: 26px; }

.cs-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 1024px;
  margin: 48px auto 0;
  padding: 6px;
  border-radius: 40px;
  border: 0.667px solid rgba(26, 24, 43, .06);
  background: #FBFBFB;
}
.cs-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 40px;
  color: #625F6E;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
button.cs-tab {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
button.cs-tab:hover:not(.cs-tab-active) { background: rgba(26, 24, 43, .05); color: var(--cs-ink); }
.cs-tab:focus-visible,
.cs-dot:focus-visible,
.cs-solution-footer .cs-btn:focus-visible { outline: 2px solid var(--cs-violet); outline-offset: 2px; }
.cs-tab-dot { width: 8px; height: 8px; border-radius: 50%; background: #C9C4D6; flex-shrink: 0; }
.cs-tab.cs-tab-active { background: var(--cs-ink); color: #FFF; }
.cs-tab-active .cs-tab-dot { background: #FFBB98; }

.cs-challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
}
.cs-challenge-card,
.cs-solution-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 369px;
  padding: 36px;
  border-radius: 32px;
}
.cs-challenge-card { background: #FFF; border: 0.667px solid var(--cs-line); }
.cs-challenge-icon { width: 48px; height: 48px; flex-shrink: 0; }
.cs-challenge-meta {
  padding-top: 28px;
  color: var(--cs-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.cs-challenge-heading,
.cs-solution-heading {
  font-size: clamp(20px, 1.944vw, 28px);
  font-weight: 500;
  line-height: 1.357;
  letter-spacing: -0.5px;
}
.cs-challenge-heading { padding-top: 12px; color: var(--cs-ink); }
.cs-dots { display: flex; gap: 6px; margin-top: auto; padding-top: 32px; }
.cs-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #E8E3EB;
  cursor: pointer;
  transition: width .3s ease, background-color .3s ease;
}
.cs-dot:hover:not(.cs-dot-active) { background: #CFC6E0; }
.cs-dot-active { width: 32px; background: var(--cs-violet); }
.cs-slide[hidden] { display: none; }
.cs-slide-in { animation: cs-slide-in .4s ease both; }
@keyframes cs-slide-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}
.cs-solution-footer button.cs-btn { font-family: inherit; cursor: pointer; }

.cs-solution-card {
  color: #FFF;
  background:
    radial-gradient(125% 98% at 45% 100%, #8B6CFF 0%, #6E47FF 26%, #4E32B5 55%, #2E1E6B 78%, #150079 100%),
    radial-gradient(108.79% 100% at 50% 0%, rgba(255, 187, 152, 0) 0%, rgba(255, 187, 152, .2) 100%);
  overflow: hidden;
}
.cs-solution-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  color: #FFF;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.cs-solution-badge img { width: 14px; height: 14px; }
.cs-solution-heading { padding-top: 28px; color: #FFF; }
.cs-solution-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 36px;
}
.cs-solution-count { color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 500; line-height: 20px; }

/* ---------- 5. Mid-page CTA banner (1440 x 314) ---------- */
.cs-banner {
  display: flex;
  align-items: center;
  min-height: clamp(260px, 21.806vw, 314px);
  padding: 48px 0 52px;
  background: var(--cs-purple-gradient);
  color: #FFF;
}
.cs-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cs-banner-copy { max-width: 720px; }
.cs-banner-title {
  color: #FFF;
  font-size: clamp(30px, 3.75vw, 54px);
  font-weight: 600;
  line-height: 1.037;
  letter-spacing: -0.0385em;
  text-wrap: balance;
}
.cs-banner-text {
  margin-top: 20px;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}
.cs-banner-btn { flex-shrink: 0; border-color: rgba(26, 24, 43, .1); }

/* ---------- 6. Features ---------- */
.cs-features { padding: clamp(56px, 6.667vw, 96px) 0; background: #FFF; }
.cs-features .cs-section-head { max-width: 1280px; }
.cs-features .cs-section-title { line-height: 1.037; letter-spacing: -0.0385em; }
.cs-features .cs-section-text { line-height: 28px; max-width: 860px; margin-inline: auto; }

.cs-feature {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 560px);
  gap: clamp(32px, 5.556vw, 80px);
  align-items: center;
  max-width: 1280px;
  margin: clamp(48px, 6.111vw, 88px) auto 0;
}
.cs-feature-reverse { grid-template-columns: minmax(0, 560px) minmax(0, 640px); }
.cs-feature-reverse .cs-feature-media { order: 2; }

.cs-feature-media {
  position: relative;
  aspect-ratio: 640 / 581;
  border-radius: clamp(24px, 2.778vw, 40px);
  background: linear-gradient(160deg, #EEE9FF 8.49%, #F8F5FF 91.51%);
  overflow: hidden;
}
.cs-feature-media img { position: absolute; max-width: none !important; }
/* Blurred backdrops fill the card; device mockups keep their natural ratio. */
.cs-feature-media .cs-feature-bg { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-feature-media .cs-feature-img { height: auto; }

/* Row 1 – Discovery */
.cs-discovery-phone-1 { left: 0.5%; top: 4.5%; width: 51%; }
.cs-discovery-phone-2 { left: 51.5%; top: 2.5%; width: 49%; }

/* Row 2 – Payments */
.cs-pay-img { left: 3%; top: 3.8%; width: 94%; }

/* Row 3 – Playback */
.cs-playback-shape {
  display: none;
  position: absolute;
  left: -0.031%;
  top: 13.540%;
  width: 100%;
  height: 17.556%;
  background: #FAFAFA;
  filter: blur(32.9px);
}
.cs-playback-img { left: 0; top: 19%; width: 100%; }

/* Row 4 – Purchases */
.cs-purchases-img { left: 3.7%; top: 5%; width: 92.5%; }

.cs-feature-title {
  color: var(--cs-ink);
  font-size: clamp(28px, 2.778vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.cs-feature-list { display: grid; gap: 20px; padding-top: 28px; }
.cs-feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.cs-feature-icon { width: 44px; height: 44px; flex-shrink: 0; }

/* ---------- 7. Results & business impact ---------- */
.cs-impact { padding: clamp(56px, 6.25vw, 90px) 0 clamp(40px, 4.167vw, 60px); background: #FFF; }
.cs-impact .cs-section-head { max-width: 960px; }
.cs-impact .cs-section-title { line-height: 1.185; letter-spacing: -0.04em; }
.cs-impact .cs-section-text { line-height: 26px; }

.cs-impact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5.972vw, 86px);
  max-width: 1200px;
  margin: clamp(40px, 4.444vw, 64px) auto 0;
}
.cs-impact-item {
  display: grid;
  grid-template-columns: clamp(76px, 8.333vw, 120px) minmax(0, 1fr);
  align-items: center;
  min-height: 140px;
  padding: 32px 0;
  border-top: 1px solid rgba(26, 24, 43, .08);
  font-size: 16px;
}
.cs-impact-item:first-child { border-top: 0; }
.cs-impact-number {
  color: #3D12F2;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.cs-impact-title {
  color: var(--cs-ink);
  font-size: clamp(20px, 1.6vw, 23px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.cs-impact-item .cs-item-text { padding-top: 4px; font-size: 15px; line-height: 25px; }

/* ---------- 8. Industry insight & future trends ---------- */
.cs-insights { padding: clamp(56px, 6.25vw, 90px) 0; background: #FFF; }
.cs-insights .cs-section-head { max-width: 1000px; }
.cs-insights .cs-section-title { line-height: 1.185; letter-spacing: -0.04em; }
.cs-insights .cs-section-text { color: #5B5870; line-height: 26px; }

.cs-insight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1200px;
  margin: clamp(32px, 3.056vw, 44px) auto 0;
}
.cs-insight-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 256px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(26, 24, 43, .09);
  background: #FFF;
  font-size: 16px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.cs-insight-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(26, 24, 43, .06); }
.cs-insight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cs-violet-tint);
  flex-shrink: 0;
}
.cs-insight-icon img { width: 28px; height: 28px; }
.cs-insight-title {
  padding-top: 22px;
  color: var(--cs-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.cs-insight-text {
  padding-top: 12px;
  color: #5B5870;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.015em;
}

/* ---------- 9. Tech stack (1440 x 498) ---------- */
.cs-tech { padding: 60px 0; background: #FFF; overflow: hidden; }
.cs-tech .cs-section-title { line-height: 1.185; letter-spacing: -0.044em; }
.cs-tech .cs-section-text { max-width: 718px; margin-inline: auto; color: var(--cs-muted); font-weight: 500; line-height: 24px; }

/* ---------- Logo marquee (tech stack + compliance) ----------
   Same seamless loop as the home page: two identical tracks sit side by
   side and each slides one full track width, so the copy lands exactly
   where the original started. Each track carries the gap as right padding,
   which keeps the spacing at the seam equal to every other gap. */
.cs-marquee {
  --cs-marquee-gap: 24px;
  position: relative;
  display: flex;
  width: 100%;
  margin-top: 60px;
  padding: 8px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.cs-main .cs-marquee-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--cs-marquee-gap);
  margin: 0;
  padding: 0 var(--cs-marquee-gap) 0 0;
  list-style: none;
  animation: cs-marquee var(--cs-marquee-speed, 40s) linear infinite;
  will-change: transform;
}
.cs-marquee:hover .cs-marquee-track { animation-play-state: paused; }
@keyframes cs-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.cs-tech-item {
  flex: 0 0 126px;
  width: 126px;
  height: 126px;
  border-radius: 28px;
  overflow: hidden;
  transition: transform .2s ease;
}
.cs-tech-item:hover { transform: translateY(-4px); }
.cs-tech-item img { width: 100%; height: 100%; }

/* ---------- 8. Compliance (1440 x 615) ---------- */
.cs-compliance {
  padding: 60px 0;
  background: #FFF;
  overflow: hidden;
}
.cs-compliance .cs-section-title { line-height: 1.185; letter-spacing: -0.047em; }
.cs-compliance .cs-section-text { color: #5B5870; line-height: 29.7px; }

.cs-compliance-marquee { --cs-marquee-gap: 16px; margin-top: 56px; padding: 4px 0; }
.cs-compliance-card {
  flex: 0 0 227px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 227px;
  height: 192px;
  padding: 24px 20px;
  border-radius: 26px;
  background: #FFF;
  box-shadow: 0 0 0 1px rgba(26, 24, 43, .09);
  text-align: center;
  font-size: 16px;
  overflow: hidden;
}
.cs-compliance-icon { width: 59.92px; height: 79.98px; object-fit: contain; }
.cs-compliance-badge { width: 115.55px; height: 64px; }
.cs-compliance-label {
  color: var(--cs-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 18.02px;
  letter-spacing: -0.17px;
  white-space: nowrap;
}

/* ---------- 9. Final CTA (1440 x 500) ---------- */
/* ---------- Section rhythm ----------
   The white sections from Features down to Compliance sit back to back.
   Each keeps 60px top and bottom, but a section that follows another one
   drops its top padding, so the gap between any two is 60px, not 120px. */
.cs-main :is(.cs-features, .cs-impact, .cs-insights, .cs-tech, .cs-compliance) { padding: 60px 0; }
.cs-main :is(.cs-features, .cs-impact, .cs-insights, .cs-tech) + :is(.cs-impact, .cs-insights, .cs-tech, .cs-compliance) { padding-top: 0; }
/* The CTA's gradient starts white, so its own top padding is the gap. */
.cs-main .cs-compliance { padding-bottom: 0; }

.cs-final {
  display: flex;
  align-items: center;
  min-height: clamp(400px, 34.722vw, 500px);
  padding: 60px 0;
  background:
    radial-gradient(60% 55% at 10% 100%, rgba(188, 170, 255, .85) 0%, rgba(188, 170, 255, 0) 100%),
    linear-gradient(180deg, #FFF 0%, #F7F3FF 55%, #ECE6FF 100%);
  text-align: center;
}
.cs-final-inner { display: flex; flex-direction: column; align-items: center; }
.cs-final-title {
  color: var(--cs-ink);
  font-size: clamp(32px, 3.75vw, 54px);
  font-weight: 600;
  line-height: 1.185;
  letter-spacing: -1.75px;
}
.cs-final-text {
  max-width: 936px;
  margin-top: 20px;
  color: rgba(26, 24, 43, .75);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.667;
}
.cs-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet landscape: bleeding rows wrap instead of overflowing */
@media (max-width: 1100px) {
  .cs-tech-item { flex-basis: 108px; width: 108px; height: 108px; border-radius: 24px; }
  .cs-marquee { --cs-marquee-gap: 18px; }
  .cs-compliance-card { flex-basis: 200px; width: 200px; height: 176px; }

  .cs-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 28px; }

  .cs-banner-inner { flex-direction: column; align-items: flex-start; }

  .cs-insight-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cs-stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }

  .cs-overview-grid,
  .cs-feature,
  .cs-feature-reverse,
  .cs-challenge-grid { grid-template-columns: minmax(0, 1fr); }

  .cs-overview-media { width: 100%; max-width: 597px; margin-inline: auto; }
  .cs-overview-content { width: 100%; max-width: 597px; margin-inline: auto; }
  .cs-feature-media { width: 100%; max-width: 640px; margin-inline: auto; }
  .cs-feature-reverse .cs-feature-media { order: 0; }
  .cs-feature-content { width: 100%; max-width: 640px; margin-inline: auto; }

  .cs-challenge-card,
  .cs-solution-card { min-height: 0; }

  .cs-impact-list { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .cs-impact-item { min-height: 0; padding: 24px 0; }
  .cs-impact-item:first-child { padding-top: 0; }
  .cs-impact-title br,
  .cs-impact .cs-section-title br { display: none; }
}

@media (max-width: 767px) {
  .cs-hero {
    min-height: 0;
    padding-top: 120px;
    background:
      linear-gradient(180deg, rgba(9, 6, 28, .78) 0%, rgba(18, 10, 62, .80) 50%, rgba(27, 15, 104, .90) 100%),
      url("../../images/casestudiesottstreaming/hero-bg.png") 62% center / cover no-repeat,
      linear-gradient(180deg, #09061C 0%, #120A3E 55%, #1B0F68 100%);
  }
  .cs-hero-inner { padding-left: var(--cs-gutter); }
  .cs-hero-actions { flex-direction: column; align-items: stretch; }
  .cs-hero-actions .cs-btn { width: 100%; }

  .cs-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cs-tabs::-webkit-scrollbar { display: none; }
  .cs-tab { flex: 0 0 auto; padding: 12px 16px; font-size: 13px; }

  .cs-challenge-card,
  .cs-solution-card { padding: 28px 24px; border-radius: 24px; }

  .cs-insight-list { grid-template-columns: minmax(0, 1fr); }
  .cs-insight-card { min-height: 0; padding: 24px; }

  .cs-marquee { --cs-marquee-gap: 14px; margin-top: 40px; }
  .cs-tech-item { flex-basis: 92px; width: 92px; height: 92px; border-radius: 20px; }
  .cs-compliance-marquee { --cs-marquee-gap: 12px; }
  .cs-compliance-card { flex-basis: 172px; width: 172px; height: 160px; border-radius: 22px; }

  .cs-final-title br { display: none; }
}

@media (max-width: 480px) {
  .cs-btn { height: auto; min-height: 52px; padding: 12px 24px; font-size: 15px; white-space: normal; text-align: center; }
  .cs-banner-btn,
  .cs-final-actions,
  .cs-final-actions .cs-btn,
  .cs-solution-footer .cs-btn { width: 100%; }
  .cs-final-actions { flex-direction: column; }

  .cs-stat { padding: 0 6px; }
  .cs-stat-label { font-size: 11px; letter-spacing: .3px; }

  .cs-overview-item,
  .cs-feature-item { gap: 12px; }
  .cs-overview-item .cs-item-title { white-space: normal; }

  .cs-tech-item { flex-basis: 80px; width: 80px; height: 80px; border-radius: 18px; }
  .cs-compliance-card { flex-basis: 150px; width: 150px; height: 148px; padding: 18px 14px; }
  .cs-compliance-label { font-size: 15px; }
}

@media (max-width: 360px) {
  .cs-stats-list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .cs-btn,
  .cs-tech-item { transition: none; }
  .cs-slide-in { animation: none; }
  /* No motion: stop the loop and let the row scroll by hand instead. */
  .cs-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: thin; }
  .cs-main .cs-marquee-track { animation: none; }
  .cs-main .cs-marquee-track[aria-hidden="true"] { display: none; }
  .cs-btn:hover,
  .cs-tech-item:hover { transform: none; }
}
