:root {
  --cc-story-bg: #1f5fd1;
  --cc-story-bg-deep: #1749a9;
  --cc-story-white: #ffffff;
  --cc-story-soft-white: rgba(255, 255, 255, 0.8);
  --cc-story-dim-white: rgba(255, 255, 255, 0.58);
  --cc-story-ink: #111827;
  --cc-story-line: rgba(255, 255, 255, 0.14);
  --cc-story-shadow: 0 30px 90px rgba(4, 18, 56, 0.24);
  --cc-story-top: 92px;
}

.cc-story {
  position: relative;
  background: linear-gradient(180deg, var(--cc-story-bg) 0%, #225fd0 100%);
  overflow: clip;
  z-index: 1;
}

.cc-story__track {
  position: relative;
  height: 320vh;
  overflow: clip;
}

.cc-story__pin {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.cc-story__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cc-story__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.32;
}

.cc-story__glow--1 {
  width: 42vw;
  height: 42vw;
  min-width: 340px;
  min-height: 340px;
  top: -8%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 72%);
}

.cc-story__glow--2 {
  width: 28vw;
  height: 28vw;
  min-width: 300px;
  min-height: 300px;
  right: -4%;
  bottom: -4%;
  background: radial-gradient(circle, rgba(180, 220, 255, 0.26) 0%, rgba(180, 220, 255, 0) 72%);
}

.cc-story__noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  opacity: 0.18;
}

.cc-story__frame {
  position: relative;
  z-index: 3;
  width: min(1280px, calc(100% - 96px));
  height: 100%;
  margin: 0 auto;
}

.cc-story__progress {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 220px;
  border-radius: 999px;
  overflow: hidden;
  z-index: 8;
}

.cc-story__progress-track,
.cc-story__progress-bar {
  position: absolute;
  inset-inline: 0;
  border-radius: inherit;
}

.cc-story__progress-track {
  inset-block: 0;
  background: rgba(255, 255, 255, 0.18);
}

.cc-story__progress-bar {
  top: 0;
  height: 0%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.32);
  transform-origin: top center;
}

.cc-story__scenes {
  position: relative;
  width: 100%;
  height: 100%;
}

.cc-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 540px);
  gap: clamp(44px, 5vw, 88px);
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(32px) scale(0.985);
  will-change: transform, opacity, filter;
}

.cc-scene.is-active {
  pointer-events: auto;
}

.cc-scene__left,
.cc-scene__right {
  will-change: transform, opacity;
}

.cc-scene__eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.cc-scene__eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffd449;
  box-shadow: 0 0 18px rgba(255, 212, 73, 0.72);
}

.cc-scene__eyebrow {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cc-story-white);
}

.cc-scene__title {
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.06em;
  font-size: clamp(2.7rem, 4.5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: var(--cc-story-white);
  word-break: keep-all;
}

.cc-scene__title-accent {
  color: #dcecff;
}

.cc-scene__desc {
  margin: 24px 0 0;
  max-width: 33rem;
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.85;
  color: var(--cc-story-soft-white);
  word-break: keep-all;
}

.cc-scene__meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cc-scene__meta-item {
  min-width: 142px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.cc-scene__meta-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--cc-story-dim-white);
}

.cc-scene__meta-item strong {
  font-size: 1rem;
  color: var(--cc-story-white);
}

.cc-scene__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cc-scene__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 134px;
  height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.cc-scene__action:hover {
  transform: translateY(-2px);
}

.cc-scene__action--primary {
  background: #ffffff;
  color: #1f5fd1;
}

.cc-scene__action--secondary {
  background: #ffd93b;
  color: #111827;
}

.cc-scene__action--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cc-scene__right {
  display: flex;
  justify-content: flex-end;
}

.cc-panel {
  position: relative;
  width: min(100%, 520px);
  min-height: 650px;
  border-radius: 32px;
  padding: clamp(26px, 2.8vw, 34px);
  box-shadow: var(--cc-story-shadow);
  border: 1px solid rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.cc-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
}

.cc-panel--light {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(240, 244, 250, 0.98) 100%);
  color: #0f172a;
}

.cc-panel--lime {
  background: linear-gradient(180deg, rgba(225, 255, 97, 0.98) 0%, rgba(197, 236, 11, 0.98) 100%);
  color: #102a10;
}

.cc-panel--silver {
  background: linear-gradient(180deg, rgba(245, 247, 251, 0.98) 0%, rgba(232, 238, 247, 0.98) 100%);
  color: #111827;
}

.cc-panel__top,
.cc-panel__body,
.cc-panel__footer {
  position: relative;
  z-index: 2;
}

.cc-panel__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-panel__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 95, 209, 0.1);
  color: #1f5fd1;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cc-panel__kicker {
  font-size: 0.96rem;
  font-weight: 900;
  color: #1f5fd1;
}

.cc-panel--lime .cc-panel__badge,
.cc-panel--lime .cc-panel__kicker {
  background: rgba(17, 24, 39, 0.10);
  color: #14240f;
}

.cc-panel__body {
  margin-top: 56px;
}

.cc-panel__title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 900;
  word-break: keep-all;
}

.cc-panel__copy {
  margin: 18px 0 0;
  font-size: clamp(0.98rem, 1.05vw, 1.04rem);
  line-height: 1.8;
  color: rgba(17, 24, 39, 0.68);
  word-break: keep-all;
}

.cc-panel__footer {
  position: absolute;
  left: clamp(26px, 2.8vw, 34px);
  right: clamp(26px, 2.8vw, 34px);
  bottom: clamp(26px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-panel__stat {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.cc-panel__caption {
  font-size: 0.94rem;
  color: rgba(17, 24, 39, 0.56);
}

.cc-story__nav {
  position: absolute;
  left: 36px;
  bottom: 34px;
  z-index: 9;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 72px));
}

.cc-story__nav-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--cc-story-line);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.cc-story__nav-item:hover {
  transform: translateY(-1px);
}

.cc-story__nav-item:not(.is-active) {
  opacity: 0.52;
}

.cc-story__nav-item.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 36px rgba(3, 18, 50, 0.18);
}

.cc-story__nav-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cc-story__nav-item.is-active .cc-story__nav-index {
  background: rgba(255, 255, 255, 0.94);
  color: #1f5fd1;
}

.cc-story__nav-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-story__nav-copy strong {
  font-size: 1rem;
  line-height: 1.2;
}

.cc-story__nav-copy small {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

.cc-story__nav-item.is-active .cc-story__nav-copy small {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1180px) {
  .cc-story__frame {
    width: min(100%, calc(100% - 64px));
  }

  .cc-scene {
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 480px);
    gap: 38px;
  }

  .cc-panel {
    min-height: 600px;
  }
}

@media (max-width: 960px) {
  .cc-story__track {
    height: auto;
  }

  .cc-story__pin {
    height: auto;
    min-height: auto;
  }

  .cc-story__frame {
    width: min(100%, calc(100% - 32px));
    padding: 72px 0 64px;
  }

  .cc-story__progress,
  .cc-story__nav {
    display: none;
  }

  .cc-story__scenes {
    display: grid;
    gap: 24px;
    height: auto;
  }

  .cc-scene {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0;
  }

  .cc-panel {
    width: 100%;
    min-height: 460px;
    border-radius: 26px;
  }

  .cc-panel__body {
    margin-top: 40px;
  }

  .cc-panel__footer {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 32px;
  }

  .cc-scene__title {
    font-size: clamp(2.3rem, 10vw, 4rem);
  }
}

@media (max-width: 640px) {
  .cc-story__frame {
    width: calc(100% - 24px);
    padding: 64px 0 56px;
  }

  .cc-scene__title {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .cc-scene__desc {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .cc-scene__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cc-scene__action {
    width: 100%;
  }

  .cc-panel {
    min-height: 400px;
    padding: 22px;
  }

  .cc-panel__title {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .cc-panel__copy {
    font-size: 0.95rem;
  }

  .cc-panel__stat {
    font-size: clamp(2.1rem, 10vw, 3.3rem);
  }
}