/* ANA SAYFA SLIDER: impact-visual, impact-slide, impact-copy, impact-link, noktalar */

.impact-trial {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(23, 78, 166, 0.12);
}

.impact-trial.home-start {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.impact-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(260px, 0.68fr);
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-items: stretch;
}

.impact-visual {
  position: relative;
  height: clamp(440px, 56vh, 620px);
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #101828;
  color: var(--white);
  box-shadow: var(--shadow);
  isolation: isolate;
  /* Slayt yazıları pencereye göre değil, kartın kendi genişliğine göre ölçeklensin */
  container-type: inline-size;
}

.impact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 24, 40, 0.8), rgba(16, 24, 40, 0.28) 54%, rgba(16, 24, 40, 0.12));
}

.impact-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.72s cubic-bezier(0.45, 0, 0.2, 1),
    visibility 0s linear 0.72s;
}

.impact-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.impact-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-copy {
  position: absolute;
  z-index: 2;
  left: clamp(1.5rem, 4vw, 3rem);
  right: clamp(10rem, 18vw, 14rem);
  bottom: clamp(1.15rem, 3vw, 2.35rem);
  max-width: 720px;
}

.impact-copy h3 {
  /* Container query desteklemeyen tarayıcılar için vw tabanlı yedek */
  font-size: clamp(1.5rem, 3vw, 2.9rem);
  /* Modern tarayıcılar: kart genişliğine göre akışkan ölçek
     kart 350px -> ~26px, 728px -> ~37px, 963px -> ~44px */
  font-size: clamp(1.5rem, calc(0.98rem + 2.94cqw), 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.impact-copy p {
  max-width: 560px;
  margin-top: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.85rem, calc(0.62rem + 0.5cqw), 1rem);
  line-height: 1.5;
}

.impact-link {
  position: absolute;
  right: clamp(1.1rem, 3vw, 2.2rem);
  bottom: clamp(1rem, 2vw, 1.65rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.22);
  transform: translate(18px, 16px) scale(0.96);
  transition:
    opacity 0.34s cubic-bezier(0.45, 0, 0.2, 1),
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  will-change: opacity, transform;
}

.impact-visual:hover .impact-slide.is-active .impact-link,
.impact-visual:focus-within .impact-slide.is-active .impact-link {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0) scale(1);
}

.impact-link:hover,
.impact-link:focus-visible {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 22px 42px rgba(16, 24, 40, 0.28);
}

@media (hover: none) {
  .impact-link {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, 0) scale(1);
  }
}

.impact-dots {
  position: absolute;
  left: clamp(1.1rem, 3vw, 2.2rem);
  bottom: clamp(1rem, 2vw, 1.65rem);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.impact-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.impact-dot.is-active {
  background: var(--amber);
}
