/* =========================================================
   HERO ÜRÜN/MARKA VİTRİNİ (sağ taraf slider) — CANLI ANA SAYFA
   /hero-lab üzerinde geliştirilip onaylanan premium vitrin slider'ının
   birebir aynısı; yalnızca ana sayfaya taşındı (.hero-lab-showcase-col
   -> .hero__showcase-col, geri kalan tüm class adları/kurallar aynı).

   İstatistik kutusunun yerini alan premium cross-fade slider. Gerçek
   yatay kaydırma yok: slaytlar üst üste (position:absolute) dizilir,
   aktif olan opacity + çok hafif translateX ile geçiş yapar (bkz.
   hero-showcase.js). Arka plandaki atmosfer katmanının (.hero-atmosphere)
   tamamlayıcısı olacak şekilde cam/koyu tasarım kullanılır - neon/oyun
   arayüzü hissi kasıtlı olarak kaçınılmıştır.
   ========================================================= */
.hero__showcase-col {
  position: relative;
  z-index: 1;
}

/* Kartın arkasında, atmosferle aynı mavi tonlarında çok hafif/geniş bir
   ambiyans parıltısı - vitrin arka plana "yapıştırılmış" değil, onun bir
   parçası gibi hissettirir. Sabit/durağan (animasyon yok) - dikkat
   çekmez, yalnızca kartın etrafında derinlik hissi kurar. */
.hero__showcase-col::before {
  content: "";
  position: absolute;
  /* NOT: negatif yuzdelik inset kullanilmiyor - dar (mobil) ekranlarda
     bu kutunun kendi geometrik siniri viewport disina tasip yatay
     sayfa kaydirmasi yaratiyordu (filter:blur ile gorsel "sizinti"
     zaten yeterli, kutunun kendisinin buyumesine gerek yok). */
  inset: 0;
  background: radial-gradient(closest-side, rgba(60,110,220,0.16), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero-showcase {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(160deg, rgba(18,28,52,0.62), rgba(10,17,34,0.5));
  /* NOT: backdrop-filter KASITLI OLARAK kullanilmiyor - kartin arkasinda
     surekli hareket eden atmosfer (fiber enerji noktalari, sis, yildizlar)
     oldugu icin canli bir arka-plan bulaniklastirma her karede yeniden
     hesaplaniyor ve FPS'i ~60'tan ~39'a dusuruyordu (olculdu). Bunun
     yerine kartin kendi arka planini biraz daha koyu/opak yaparak (yukarida)
     "cam" hissi backdrop-filter olmadan, performans maliyeti sifir sekilde
     korunuyor. */
  /* Ust kenarda ince bir "cam yansimasi" + genis yumusak golge + yakin
     temas golgesi - duz bir kutu yerine katmanli, premium bir derinlik. */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 0 60px rgba(90,140,255,0.05),
    0 30px 70px rgba(2,6,16,0.45),
    0 8px 22px rgba(2,6,16,0.35);
  padding: 34px 30px 26px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.hero-showcase__viewport {
  position: relative;
  flex: 1;
  min-height: 400px;
}

/* ---- Slaytlar: üst üste, cross-fade + çok hafif yatay hareket ---- */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  transition-delay: 0.05s;
}

/* Kademeli ("staggered") iceri giris: logo/ikon once, ardindan baslik,
   aciklama, buton sirayla yumusakca belirir - tek blok halinde degil,
   premium keynote sunumlarindaki gibi. Sadece opacity/transform
   kullanildigi icin GPU-dostu, 60fps'i etkilemez. */
.hero-slide__logo-zone,
.hero-slide__title,
.hero-slide__desc,
.hero-slide__btn {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide.is-active .hero-slide__logo-zone {
  opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.08s;
}
.hero-slide.is-active .hero-slide__title {
  opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.22s;
}
.hero-slide.is-active .hero-slide__desc {
  opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.32s;
}
.hero-slide.is-active .hero-slide__btn {
  opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.42s;
}

/* ---- Slayt 1: istatistikler (mevcut kart, slider genel tasarımına uyumlu) ---- */
.hero-slide__stats {
  width: 100%;
}
.hero-slide__stat { display: flex; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero-slide__stat:last-child { border-bottom: none; }
.hero-slide__stat strong { display: block; font-size: 1.6rem; color: var(--white); }
.hero-slide__stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ---- Slayt 2..N ortak: logo/ikon alanı + başlık + açıklama + buton ---- */
.hero-slide__logo-zone {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero-slide__logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* ADALI logosu: beyaz zeminli PNG oldugu icin zarif bir "cam plaka" icine
   oturtulur; sekli/orani ASLA bozulmaz (max-width ile orantili sinirlanir,
   width/height sabitlenmez). Kart genisliginin ~%48'i. Plakanin arkasinda
   atmosferle ayni mavi tondan sabit/durgun bir halo - marka "one cikiyor"
   hissi, oyun-arayuzu degil. */
.hero-slide__logo-plate-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide__logo-plate-wrap::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 26px;
  background: radial-gradient(closest-side, rgba(91,147,255,0.28), transparent 75%);
  filter: blur(18px);
  z-index: 0;
}
.hero-slide__logo-plate {
  position: relative;
  z-index: 1;
  background: linear-gradient(165deg, #ffffff 0%, #f2f5fb 55%, #e4eaf5 100%);
  border-radius: 18px;
  padding: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 4px 10px rgba(10,20,45,0.12),
    0 18px 40px rgba(4,10,25,0.38);
}
.hero-slide__logo-plate .hero-slide__logo {
  max-width: 258px;
  max-height: 258px;
}
/* QORA MENU gibi zaten seffaf/koyu-zemine-uygun logolar dogrudan, hafif
   glow ile kullanilir - plaka gerekmez, sekli degistirilmez. */
.hero-slide__logo--freefloat {
  max-width: 54%;
  max-height: 190px;
  filter: drop-shadow(0 0 26px rgba(70,130,255,0.3));
}
.hero-slide__logo--cover {
  max-width: 78%;
  max-height: 170px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
/* Ürün logosu/görseli yoksa: soyut ikon, dairesel cam rozet icinde.
   Ince degrade halka + iki katmanli golge ile "duz daire" degil,
   hafifce islenmis bir rozet hissi. */
.hero-slide__icon-badge {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 32% 28%, rgba(130,175,255,0.30), rgba(15,28,58,0.5) 70%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 0 22px rgba(90,140,255,0.12),
    0 14px 30px rgba(4,10,25,0.4);
}
.hero-slide__icon-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.35), rgba(120,160,255,0.08) 45%, rgba(255,255,255,0.14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.hero-slide__icon-badge svg {
  width: 46px;
  height: 46px;
  color: #b7cbff;
  filter: drop-shadow(0 0 10px rgba(110,163,255,0.35));
}

.hero-slide__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin: 20px 0 8px;
  line-height: 1.3;
}
.hero-slide__title small {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-top: 5px;
}
.hero-slide__desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  text-align: center;
  max-width: 300px;
  margin: 0 auto 18px;
}
.hero-slide__btn {
  align-self: center;
}

/* ---- Ok butonları ---- */
.hero-showcase__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22,34,60,0.82);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 6px 16px rgba(2,6,16,0.35);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  z-index: 3;
  padding: 0;
}
.hero-showcase__arrow svg { width: 17px; height: 17px; }
.hero-showcase__arrow:hover { background: rgba(45,70,130,0.55); border-color: rgba(140,175,255,0.4); transform: translateY(-50%) scale(1.06); }
.hero-showcase__arrow:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; }
.hero-showcase__arrow--prev { left: -6px; }
.hero-showcase__arrow--next { right: -6px; }

/* ---- Nokta göstergeleri ---- */
.hero-showcase__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.hero-showcase__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
}
.hero-showcase__dot:hover { background: rgba(255,255,255,0.5); }
.hero-showcase__dot:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; }
.hero-showcase__dot[aria-current="true"] {
  background: var(--blue-400);
  width: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(91,147,255,0.55);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.5s ease;
    transform: none !important;
  }
  .hero-slide__logo-zone,
  .hero-slide__title,
  .hero-slide__desc,
  .hero-slide__btn {
    transition: opacity 0.5s ease !important;
    transform: none !important;
    transition-delay: 0s !important;
  }
}

@media (max-width: 960px) {
  .hero-showcase { min-height: 460px; padding: 28px 24px 22px; }
  .hero-showcase__viewport { min-height: 360px; }
  .hero-slide__logo-plate .hero-slide__logo { max-width: 210px; max-height: 210px; }
}

@media (max-width: 640px) {
  .hero-showcase { min-height: 430px; }
  .hero-showcase__viewport { min-height: 330px; }
  .hero-showcase__arrow { width: 30px; height: 30px; }
  .hero-showcase__arrow svg { width: 15px; height: 15px; }
  .hero-showcase__arrow--prev { left: -2px; }
  .hero-showcase__arrow--next { right: -2px; }
  .hero-slide__logo-zone { min-height: 180px; }
  .hero-slide__logo-plate .hero-slide__logo { max-width: 175px; max-height: 175px; }
  .hero-slide__icon-badge { width: 88px; height: 88px; }
  .hero-slide__icon-badge svg { width: 40px; height: 40px; }
}
