.ecc-scene-slider {
  width: 100%;
  max-width: 100% !important;
  margin: 0 auto;
  position: relative;
}

.ecc-scene-slider__viewport {
  position: relative;
  height: 520px;
  width: 100%;
  overflow: hidden;
}

.ecc-scene-slider__track {
  position: relative;
  width: 100%;
  height: 100% !important;
}

.ecc-scene-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-sizing: border-box;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #ffffff 0%, #f8f9fa 54%, #e9ecef 100%);
  width: 100% !important;
  height: 100% !important;
}

.ecc-scene-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ecc-scene-slide__content {
  width: 50%;
  padding: 40px 60px 88px 60px;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ecc-scene-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  margin-bottom: 16px;
  border-radius: 6px;
  background: rgba(0, 85, 255, 0.1);
  color: #0055ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: max-content;
  margin-top: 18px;
  box-shadow: 0 2px 8px rgba(0, 85, 255, 0.15);
}

.ecc-scene-slide__title {
  max-width: none;
  margin: 0 0 16px;
  color: #111827;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.ecc-scene-slide__desc,
.ecc-scene-slide__desc p {
  margin: 0;
  max-width: none;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.ecc-scene-slide__desc p + p {
  margin-top: 12px;
}

.ecc-scene-slide__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.ecc-scene-slide__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.2);
  border: 1px solid transparent;
}

.ecc-scene-slide__button:hover {
  color: #111827;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.15);
  border-color: #111827;
}

.ecc-scene-slide__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 25%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 25%);
}

.ecc-scene-slide__visual-stack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ecc-scene-slide__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
}

.ecc-scene-slide__panel--back,
.ecc-scene-slide__panel--mid {
  display: none;
}

.ecc-scene-slide__panel--front {
  width: 100%;
  max-width: 100%;
}

.ecc-scene-slide::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 88px;
  left: calc(55% - 6px);
  width: 1px;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.01));
  pointer-events: none;
}

.ecc-scene-slider__nav {
  position: absolute;
  left: 60px;
  bottom: 40px;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  z-index: 4;
}

.ecc-scene-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.ecc-scene-slider__dot,
.ecc-scene-slider__arrow {
  border: 0;
  cursor: pointer;
}

.ecc-scene-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecc-scene-slider__dot.is-active {
  background: #0055ff;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0, 85, 255, 0.4);
}

.ecc-scene-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecc-scene-slider__arrow:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1100px) {
  .ecc-scene-slide__content {
    width: 60%;
    padding: 30px 40px 80px 40px;
  }
  .ecc-scene-slide__visual {
    width: 50%;
  }
  .ecc-scene-slide__title {
    font-size: clamp(28px, 3.2vw, 46px);
  }
  .ecc-scene-slider__nav {
    left: 40px;
    bottom: 30px;
  }
}

@media (max-width: 900px) {
  .ecc-scene-slide::before {
    display: none;
  }

  .ecc-scene-slider__viewport {
    height: 560px !important;
  }

  .ecc-scene-slider__track {
    height: 100% !important;
  }

  .ecc-scene-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .ecc-scene-slide__content {
    order: 2;
    width: 100%;
    padding: 20px 20px 60px 20px;
    z-index: 2;
    flex: 0 0 auto;
  }

  .ecc-scene-slide__eyebrow {
    min-height: 26px;
    padding: 0 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .ecc-scene-slide__title {
    max-width: none;
    margin-bottom: 8px;
    font-size: 28px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.015em;
  }

  .ecc-scene-slide__desc,
  .ecc-scene-slide__desc p {
    font-size: 14px;
    line-height: 1.5;
  }

  .ecc-scene-slide__desc p + p {
    margin-top: 6px;
  }

  .ecc-scene-slide__actions {
    margin-top: 16px;
  }

  .ecc-scene-slide__visual {
    order: 1;
    position: relative;
    inset: auto;
    width: 100%;
    flex: 1 1 auto;
    z-index: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ecc-scene-slide__visual-stack {
    inset: 0;
    width: 100%;
  }

  .ecc-scene-slide__panel--front {
    width: 100%;
    max-width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .ecc-scene-slide__visual::after {
    display: none;
  }

  .ecc-scene-slider__nav {
    left: auto;
    right: 12px;
    bottom: 12px;
    gap: 8px;
    justify-content: flex-end;
  }

  .ecc-scene-slider__arrow {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .ecc-scene-slider__dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 575px) {
  .ecc-scene-slider__viewport {
    height: 540px !important;
  }

  .ecc-scene-slide__content {
    padding: 20px 20px 60px 20px;
  }

  .ecc-scene-slide__title {
    font-size: 24px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em;
  }

  .ecc-scene-slide__visual {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ecc-scene-slide__button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
  }
}
