.cinematic-hero {
  min-height: min(760px, calc(100vh - 72px));
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 30px;
  padding-right: clamp(18px, 5vw, 70px);
  background: #071523;
}

.cinematic-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 32%, rgba(23, 105, 194, .35), transparent 28%),
    linear-gradient(90deg, rgba(5, 16, 29, .88), rgba(8, 24, 43, .58) 46%, rgba(8, 24, 43, .2));
  z-index: 0;
}

.cinematic-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cinematic-bg img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.04);
  animation: cinematicImage 35s infinite ease-in-out;
}

.cinematic-bg img:nth-child(1) { animation-delay: 0s; }
.cinematic-bg img:nth-child(2) { animation-delay: 7s; }
.cinematic-bg img:nth-child(3) { animation-delay: 14s; }
.cinematic-bg img:nth-child(4) { animation-delay: 21s; }
.cinematic-bg img:nth-child(5) { animation-delay: 28s; }

.cinematic-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, .16) 48%, transparent 52% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
  opacity: .44;
  transform: translateX(-35%);
  animation: scanMove 7s infinite linear;
}

.cinematic-hero .hero-copy {
  z-index: 2;
  max-width: 870px;
  padding-top: clamp(80px, 10vw, 132px);
  padding-bottom: clamp(80px, 10vw, 132px);
}

.cinematic-copy {
  display: grid;
  min-height: 330px;
  align-content: center;
}

.copy-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(22px);
  animation: copyFade 35s infinite ease-in-out;
}

.copy-slide:nth-child(1) { animation-delay: 0s; }
.copy-slide:nth-child(2) { animation-delay: 7s; }
.copy-slide:nth-child(3) { animation-delay: 14s; }
.copy-slide:nth-child(4) { animation-delay: 21s; }
.copy-slide:nth-child(5) { animation-delay: 28s; }

.cinematic-hero .hero-copy h1,
.cinematic-hero .hero-copy .hero-title {
  display: block;
  margin: 0 0 18px;
  font-size: clamp(34px,5.2vw,62px);
  line-height: 1.14;
  font-weight: 850;
  letter-spacing: 0;
  text-shadow: 0 18px 46px rgba(0, 0, 0, .34);
}

.cinematic-panel {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(150deg, rgba(7, 21, 35, .72), rgba(18, 62, 102, .42));
  box-shadow: 0 26px 72px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px) saturate(145%);
}

.cinematic-panel span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  text-transform: uppercase;
}

.cinematic-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.cinematic-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.panel-slide {
  display: grid;
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px);
  animation: panelFade 35s infinite ease-in-out;
}

.panel-slide:nth-child(1) { animation-delay: 0s; }
.panel-slide:nth-child(2) { animation-delay: 7s; }
.panel-slide:nth-child(3) { animation-delay: 14s; }
.panel-slide:nth-child(4) { animation-delay: 21s; }
.panel-slide:nth-child(5) { animation-delay: 28s; }

.cinematic-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.cinematic-dots i {
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
}

.cinematic-dots i:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(-100%);
  animation: dotProgress 35s infinite linear;
}

.cinematic-dots i:nth-child(1):before { animation-delay: 0s; }
.cinematic-dots i:nth-child(2):before { animation-delay: 7s; }
.cinematic-dots i:nth-child(3):before { animation-delay: 14s; }
.cinematic-dots i:nth-child(4):before { animation-delay: 21s; }
.cinematic-dots i:nth-child(5):before { animation-delay: 28s; }

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 40px;
  align-items: start;
}

.capability-lead {
  position: sticky;
  top: 96px;
}

.capability-lead p {
  max-width: 540px;
  margin-bottom: 24px;
}

.scenario-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scenario-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #31445d;
  font-size: 14px;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list a {
  display: grid;
  grid-template-columns: 54px minmax(120px, .34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 42, 67, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.capability-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 105, 194, .35);
  box-shadow: 0 16px 34px rgba(16, 42, 67, .09);
}

.capability-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue);
  font-size: 15px;
}

.capability-list strong {
  color: var(--deep);
  font-size: 20px;
}

.capability-list span {
  color: var(--muted);
  font-size: 14px;
}

@keyframes cinematicImage {
  0% { opacity: 0; transform: scale(1.04) translateX(0); }
  5% { opacity: 1; }
  20% { opacity: 1; }
  27% { opacity: 0; transform: scale(1.15) translateX(-1.6%); }
  100% { opacity: 0; transform: scale(1.15) translateX(-1.6%); }
}

@keyframes scanMove {
  from { transform: translateX(-42%); }
  to { transform: translateX(42%); }
}

@keyframes copyFade {
  0% { opacity: 0; transform: translateY(22px); }
  5% { opacity: 1; transform: translateY(0); }
  20% { opacity: 1; transform: translateY(0); }
  27% { opacity: 0; transform: translateY(-18px); }
  100% { opacity: 0; transform: translateY(-18px); }
}

@keyframes panelFade {
  0% { opacity: 0; transform: translateY(16px); }
  5% { opacity: 1; transform: translateY(0); }
  20% { opacity: 1; transform: translateY(0); }
  27% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 0; transform: translateY(-12px); }
}

@keyframes dotProgress {
  0%, 20% { transform: translateX(-100%); }
  5%, 19% { transform: translateX(0); }
  21%, 100% { transform: translateX(100%); }
}

@media (max-width: 980px) {
  .cinematic-hero {
    min-height: 660px;
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .cinematic-panel {
    width: auto;
    margin: 0 clamp(22px, 6vw, 78px) 46px;
  }

  .capability-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .capability-lead {
    position: static;
  }

  .capability-list a {
    grid-template-columns: 48px minmax(116px, .4fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .cinematic-hero {
    min-height: 620px;
  }

  .cinematic-copy {
    min-height: 390px;
  }

  .cinematic-panel {
    margin: 0 22px 34px;
    padding: 18px;
  }

  .capability-list a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 14px;
  }

  .capability-list span {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-bg img,
  .cinematic-scan,
  .cinematic-dots i:before,
  .copy-slide,
  .panel-slide {
    animation: none;
  }

  .cinematic-bg img:first-child,
  .copy-slide:first-child,
  .panel-slide:first-child {
    opacity: 1;
    transform: none;
  }
}
