/* ===================================================================
   AYCOM — Modern Layer
   Mevcut mor/menekşe renk tonları korunarak eklenen
   animasyon + cam efekti + mikro etkileşim katmanı.
   Bu dosya en son yüklenir, diğer stilleri ezer.
   =================================================================== */

:root {
  /* --- Marka tonları (mevcut paletten türetildi) --- */
  --ay-violet:        #6653e8;
  --ay-violet-deep:   #4f38d9;
  --ay-purple:        #6317e7;
  --ay-purple-dim:    #4c2fb8;
  --ay-purple-900:    #3d1a86;
  --ay-bg-1:          #ffffff;
  --ay-bg-2:          #f3f2fc;
  --ay-ink:           #ffffff;
  --ay-ink-2:         #f6f5fd;
  --ay-pink:          #e01f52;
  --ay-mint:          #2f9e58;
  /* Beyaz zeminde okunabilirlik icin koyulastirilmis vurgu tonlari */
  --ay-cyan:          #0d93bb;
  --ay-lilac:         #6a4be6;

  /* --- Yüzeyler --- */
  --ay-surface:       #ffffff;
  --ay-glass:         rgba(255, 255, 255, .72);
  --ay-glass-strong:  #ffffff;
  --ay-tint:          rgba(102, 83, 232, .055);
  --ay-tint-hi:       rgba(102, 83, 232, .11);
  --ay-stroke:        rgba(23, 19, 49, .10);
  --ay-stroke-hi:     rgba(102, 83, 232, .42);

  /* --- Metin --- */
  --ay-text:          #171331;
  --ay-text-soft:     #4f4d6b;
  --ay-text-dim:      #77758f;

  /* --- Hareket --- */
  --ay-ease:          cubic-bezier(.22, 1, .36, 1);
  --ay-ease-soft:     cubic-bezier(.4, 0, .2, 1);
  --ay-radius:        20px;
  --ay-radius-lg:     28px;

  --ay-shadow:        0 18px 44px -20px rgba(35, 24, 88, .26);
  --ay-shadow-hi:     0 26px 60px -22px rgba(102, 83, 232, .38);
}

/* ===================================================================
   1. TEMEL
   =================================================================== */

html { scroll-behavior: smooth; }

/* Temel gradyan sabit arka plan katmanında (.ay-bg) duruyor.
   `background-attachment: fixed` KULLANILMIYOR: tarayıcıyı her kaydırma
   karesinde tüm ekranı yeniden boyamaya zorluyor ve kaydırmayı kasıyordu. */
body {
  background-color: var(--ay-ink);
  color: var(--ay-text-soft);
  overflow-x: hidden;
}

::selection { background: var(--ay-violet); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: var(--ay-violet) rgba(23,19,49,.06); }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: rgba(23,19,49,.05); }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ay-violet), var(--ay-purple-900));
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.page-wrapper.bg_linear_full {
  background-image: none;
  background-color: transparent;
  position: relative;
  isolation: isolate;
}

/* ===================================================================
   2. CANLI ARKA PLAN (aurora + ızgara + parçacık)
   =================================================================== */

.ay-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ay-bg-1) 40%, var(--ay-bg-2) 100%);
  /* Kendi GPU katmanında dursun: kaydırmada yeniden boyanmaz */
  transform: translateZ(0);
  contain: strict;
}

/* PERFORMANS: Arka plan tamamen DURAĞAN.
   Bu katman `position: fixed` olduğu için ekrandan hiç çıkmıyor; içinde
   tek bir animasyon bile olsa tarayıcı, sayfa arka planda açık dururken
   bile saniyede 60-120 kare çizmeye devam ediyordu. Lekeler bulanıklık
   filtresi yerine yumuşak sönen gradyanla çiziliyor ve yalnızca bir kez
   boyanıyor. */
.ay-bg__aurora {
  position: absolute;
  border-radius: 50%;
  opacity: .3;
}
/* `closest-side` + kademeli duraklar: leke kenara varmadan tamamen
   sönüyor, bulanıklık filtresi olmadan da yumuşak görünüyor. Boyutlar,
   kaldırılan 100px bulanıklığın yaydığı alanı telafi etmek için büyütüldü. */
.ay-bg__aurora--1 {
  width: 60vw; height: 60vw; min-width: 480px; min-height: 480px;
  left: -18vw; top: -16vw;
  background: radial-gradient(closest-side, rgba(102,83,232,1), rgba(102,83,232,.72) 30%,
              rgba(102,83,232,.32) 58%, rgba(102,83,232,.08) 82%, rgba(102,83,232,0));
  opacity: .19;
}
.ay-bg__aurora--2 {
  width: 52vw; height: 52vw; min-width: 440px; min-height: 440px;
  right: -14vw; top: 16vh;
  background: radial-gradient(closest-side, rgba(224,31,82,1), rgba(224,31,82,.72) 30%,
              rgba(224,31,82,.32) 58%, rgba(224,31,82,.08) 82%, rgba(224,31,82,0));
  opacity: .08;
}
.ay-bg__aurora--3 {
  width: 66vw; height: 66vw; min-width: 520px; min-height: 520px;
  left: 15vw; bottom: -30vw;
  background: radial-gradient(closest-side, rgba(99,23,231,1), rgba(99,23,231,.72) 30%,
              rgba(99,23,231,.32) 58%, rgba(99,23,231,.08) 82%, rgba(99,23,231,0));
  opacity: .12;
}
.ay-bg__aurora--4 {
  width: 40vw; height: 40vw; min-width: 340px; min-height: 340px;
  right: 13vw; bottom: 2vh;
  background: radial-gradient(closest-side, rgba(13,147,187,1), rgba(13,147,187,.72) 30%,
              rgba(13,147,187,.32) 58%, rgba(13,147,187,.08) 82%, rgba(13,147,187,0));
  opacity: .09;
}


/* Perspektifli ızgara */
.ay-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(23,19,49,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,19,49,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  /* PERFORMANS: ızgara artık kaymıyor. `background-position` animasyonu
     GPU'da yapılamıyor; saniyede ~2px'lik, gözle zor fark edilen bu hareket
     için tarayıcı her karede tam ekran maskeli bir katmanı yeniden
     boyuyordu. */
}


/* İçerik arka planın üstünde kalsın */
.page-wrapper > header,
.page-wrapper > section,
.page-wrapper > footer { position: relative; z-index: 2; }

/* ===================================================================
   3. KAYDIRMA İLERLEME ÇUBUĞU
   =================================================================== */

.ay-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 9999;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--ay-violet), var(--ay-cyan), var(--ay-pink));
  box-shadow: 0 0 14px rgba(102,83,232,.9);
  pointer-events: none;
}

/* ===================================================================
   4. PRELOADER
   =================================================================== */

.ay-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 26px;
  background: linear-gradient(150deg, #ffffff, var(--ay-bg-2));
  transition: opacity .7s var(--ay-ease), visibility .7s;
}
.ay-preloader.is-done { opacity: 0; visibility: hidden; }
.ay-preloader__mark {
  width: 78px; height: 78px;
  position: relative;
  display: grid;
  place-items: center;
}
.ay-preloader__mark span {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--ay-violet);
  border-right-color: var(--ay-cyan);
  border-radius: 50%;
  animation: ay-spin 1.1s linear infinite;
}
.ay-preloader__mark span:nth-child(2) {
  inset: 12px;
  border-top-color: var(--ay-pink);
  border-right-color: transparent;
  border-left-color: var(--ay-lilac);
  animation-duration: 1.7s;
  animation-direction: reverse;
}
.ay-preloader__mark img { width: 34px; height: auto; opacity: .95; }
@keyframes ay-spin { to { transform: rotate(360deg); } }
.ay-preloader__bar {
  width: 190px; height: 3px;
  border-radius: 99px;
  background: rgba(23,19,49,.10);
  overflow: hidden;
}
.ay-preloader__bar i {
  display: block; height: 100%; width: 40%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ay-violet), var(--ay-cyan));
  animation: ay-load 1.15s var(--ay-ease-soft) infinite;
}
@keyframes ay-load {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(360%); }
}
.preloader { display: none !important; }

/* ===================================================================
   5. GİRİŞ ANİMASYONLARI
   =================================================================== */

/* PERFORMANS:
   - `will-change` YOK. Sayfada 85 açılış öğesi var; her biri için önceden
     GPU katmanı ayırmak her karede 85 katmanın birleştirilmesi demekti.
     Tarayıcı, geçiş başladığında katmanı zaten kendisi oluşturuyor.
   - Açılışlarda `filter: blur` yok; bulanıklık animasyonu GPU'da
     yapılamadığı için her karede yeniden boyama gerektiriyordu. */
[data-reveal] {
  opacity: 0;
  transition:
    opacity .75s var(--ay-ease),
    transform .75s var(--ay-ease);
  transition-delay: var(--ay-delay, 0ms);
}
[data-reveal="up"]     { transform: translate3d(0, 36px, 0); }
[data-reveal="down"]   { transform: translate3d(0, -32px, 0); }
[data-reveal="left"]   { transform: translate3d(-44px, 0, 0); }
[data-reveal="right"]  { transform: translate3d(44px, 0, 0); }
[data-reveal="zoom"]   { transform: scale(.94); }
[data-reveal="flip"]   { transform: perspective(1200px) rotateX(-18deg) translateY(40px); }
[data-reveal].is-in    { opacity: 1; transform: none; }

/* Kelime kelime başlık açılışı.
   Not: kelimelerde `overflow:hidden` maskesi KULLANILMIYOR — Kiril ve
   Türkçe'deki alt uzantılı harfler (ң, ү, ğ, ş) kırpılıyor ve satır
   kutusu kısaldığı için başlık alttaki paragrafın üzerine biniyordu.
   Bunun yerine yükselme + yumuşama kullanılıyor; her yazı sisteminde
   güvenli çalışır. */
/* .ay-split'e display verilmez: kural hem <span> hem <h2> üzerinde
   kullanılıyor; `display:inline` verilirse başlık blok olmaktan çıkıp
   üstündeki kicker'ın yanına kayıyor. */
.ay-split .ay-word {
  display: inline-block;
  vertical-align: baseline;
}
.ay-split .ay-word > span {
  display: inline-block;
  transform: translateY(.42em);
  opacity: 0;
  transition: transform .8s var(--ay-ease), opacity .6s var(--ay-ease);
  transition-delay: var(--d, 0ms);
}
.ay-split.is-in .ay-word > span {
  transform: none;
  opacity: 1;
}

/* ===================================================================
   6. HEADER / NAVİGASYON
   =================================================================== */

/* Şablonda header "absolute"; sabit tutup bulanıklaşma efektini açıyoruz */
.main-header.header-style-four {
  position: fixed;
  z-index: 900;
}
.main-header.header-style-four .header-lower { padding: 0 clamp(18px, 4vw, 80px); }
.main-header.header-style-four .main-box { min-height: 92px; flex-wrap: nowrap; }

/* Menü hiçbir dilde alt satıra kaymasın: Kazakça/Rusça etiketler
   Türkçe ve İngilizce'den belirgin şekilde uzun. Boşluklar ekran
   genişliğine göre daralıyor, etiketler bölünmüyor. */
.main-header.header-style-four .header-lower .main-menu .navigation {
  flex-wrap: nowrap;
}
.main-header.header-style-four .header-lower .main-menu .navigation > li {
  margin: 0 clamp(9px, 1.15vw, 26px);
}
.main-menu .navigation > li > a { white-space: nowrap; }
.main-header .header-lower .outer-box { flex: 0 0 auto; }
.outer-box .info-btn small { white-space: nowrap; }

.main-header.header-style-four .header-lower {
  transition: background .45s var(--ay-ease), box-shadow .45s var(--ay-ease);
}
body.ay-scrolled .main-header.header-style-four .header-lower {
  /* Sayfadaki TEK cam efekti burada. Bulanıklık yarıçapı düşürüldü,
     `saturate` kaldırıldı (ikinci bir filtre geçişi demekti). */
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px -18px rgba(35, 24, 88, .35);
  border-bottom: 1px solid var(--ay-stroke);
}

.main-menu .navigation > li > a {
  position: relative;
  transition: color .3s var(--ay-ease);
}
.main-menu .navigation > li > a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  width: 0; height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--ay-cyan), var(--ay-violet));
  transition: width .38s var(--ay-ease);
}
.main-menu .navigation > li > a:hover::after,
.main-menu .navigation > li.current > a::after,
.main-menu .navigation > li.ay-active > a::after { width: 62%; }

.main-header .logo img { transition: transform .5s var(--ay-ease), filter .5s var(--ay-ease); }
.main-header .logo:hover img {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 6px 16px rgba(102,83,232,.4));
}

.outer-box .info-btn { transition: transform .35s var(--ay-ease); }
.outer-box .info-btn:hover { transform: translateY(-2px); }
/* Telefon ikonu artık sürekli sallanmıyor: header sabit olduğu için bu
   animasyon sayfanın her yerinde ve her an kare çizdiriyordu. Yalnızca
   üzerine gelindiğinde bir kez sallanıyor. */
.outer-box .info-btn .icon { transform-origin: 50% 80%; }
.outer-box .info-btn:hover .icon { animation: ay-ring .7s var(--ay-ease-soft); }
@keyframes ay-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(6deg); }
}

/* ===================================================================
   7. DİL SEÇİCİ
   =================================================================== */

.ay-lang { position: relative; z-index: 60; margin-left: 20px; }

.ay-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 99px;
  border: 1px solid var(--ay-stroke);
  background: rgba(255, 255, 255, .9);
  color: var(--ay-text);
  font: 600 14px/1 var(--text-font, "DM Sans", sans-serif);
  cursor: pointer;
  transition: border-color .35s var(--ay-ease), background .35s var(--ay-ease),
              transform .35s var(--ay-ease), box-shadow .35s var(--ay-ease);
}
.ay-lang__btn:hover {
  border-color: var(--ay-stroke-hi);
  background: var(--ay-glass-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px rgba(102,83,232,.8);
}
.ay-lang__btn img {
  width: 22px; height: 15px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(23,19,49,.22);
}
.ay-lang__caret {
  font-size: 10px;
  opacity: .7;
  transition: transform .35s var(--ay-ease);
}
.ay-lang.is-open .ay-lang__caret { transform: rotate(180deg); }

.ay-lang__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--ay-stroke);
  background: #ffffff;
  box-shadow: var(--ay-shadow);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.96);
  transform-origin: top right;
  transition: opacity .32s var(--ay-ease), visibility .32s, transform .32s var(--ay-ease);
}
.ay-lang.is-open .ay-lang__menu { opacity: 1; visibility: visible; transform: none; }
.ay-lang__menu li { margin: 0; }
.ay-lang__menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ay-text-soft);
  font: 500 14.5px/1.2 var(--text-font, "DM Sans", sans-serif);
  text-align: left;
  cursor: pointer;
  transition: all .25s var(--ay-ease);
}
.ay-lang__menu button:hover {
  background: linear-gradient(90deg, rgba(102,83,232,.14), rgba(102,83,232,.04));
  color: var(--ay-text);
  transform: translateX(3px);
}
.ay-lang__menu button img {
  width: 24px; height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(23,19,49,.24);
}
.ay-lang__native { flex: 1; }
.ay-lang__menu li.is-active button { color: var(--ay-violet-deep); background: rgba(102,83,232,.12); }
.ay-lang__menu li.is-active .ay-lang__check { opacity: 1; color: var(--ay-violet); }
.ay-lang__check { opacity: 0; font-size: 11px; transition: opacity .25s var(--ay-ease); }

[data-i18n], [data-i18n-html] { transition: opacity .28s var(--ay-ease-soft); }
body.ay-lang-switching [data-i18n],
body.ay-lang-switching [data-i18n-html] { opacity: .15; }

/* ===================================================================
   8. HERO
   =================================================================== */

.ay-hero {
  position: relative;
  padding: 210px 0 170px;
  overflow: hidden;
}
.ay-hero__inner { position: relative; z-index: 3; }

.ay-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  margin-bottom: 26px;
  border-radius: 99px;
  border: 1px solid rgba(102,83,232,.28);
  background: rgba(102,83,232,.08);
  color: var(--ay-violet-deep);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ay-eyebrow .ay-dot {
  position: relative;
  width: 9px; height: 9px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--ay-mint);
}
/* Nabız halkası: box-shadow animasyonu her karede yeniden boyama
   istiyordu; aynı görüntü scale + opacity ile GPU'da üretiliyor. */
.ay-eyebrow .ay-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(89,180,115,.7);
  animation: ay-pulse-ring 2.2s var(--ay-ease-soft) infinite;
}
@keyframes ay-pulse-ring {
  0%        { transform: scale(1);   opacity: .9; }
  70%, 100% { transform: scale(3.6); opacity: 0; }
}

.ay-hero h1 {
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  /* Üst sınır Rusça'ya göre belirlendi: "Революционизируйте" gibi tek
     parça uzun kelimeler sütundan taşmasın. */
  font-size: clamp(2.15rem, 3.9vw, 3.45rem);
  line-height: 1.14;
  font-weight: 700;
  color: var(--ay-text);
  margin: 0 0 26px;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}
.ay-sec-head h2,
.ay-card h3 { overflow-wrap: break-word; }

.ay-grad-text {
  background: linear-gradient(100deg, var(--ay-cyan) 0%, var(--ay-violet) 45%, var(--ay-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 220% auto;
  background-repeat: repeat;
  /* Kayma animasyonu kaldırıldı: yazının her karede yeniden boyanmasını
     gerektiriyordu. Renk geçişi aynen duruyor. */
}

.ay-hero__lead {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.72;
  color: var(--ay-text-soft);
  margin-bottom: 40px;
}

/* --- Butonlar --- */
.ay-btns { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.ay-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 17px 34px;
  border-radius: 99px;
  border: 1px solid transparent;
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ay-ease), box-shadow .4s var(--ay-ease),
              border-color .4s var(--ay-ease), background .4s var(--ay-ease);
}
.ay-btn:hover { color: #fff; transform: translateY(-3px); }
.ay-btn i { transition: transform .4s var(--ay-ease); }
.ay-btn:hover i { transform: translateX(4px); }

.ay-btn--primary {
  background: linear-gradient(100deg, var(--ay-violet), var(--ay-purple) 55%, var(--ay-pink));
  background-size: 200% auto;
  /* no-repeat şart: desen tekrarı açıkken yuvarlatılmış sol kenarın
     kenar yumuşatması bir sonraki döşemenin pembe ucundan örnek alıyor
     ve kenarda ince kırmızı bir çizgi bırakıyor. */
  background-repeat: no-repeat;
  box-shadow: 0 16px 38px -14px rgba(102,83,232,.95);
}
.ay-btn--primary:hover {
  background-position: right center;
  box-shadow: 0 24px 52px -14px rgba(242,41,91,.7);
}
/* parlama süpürmesi */
.ay-btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-22deg);
  z-index: -1;
  transition: left .75s var(--ay-ease);
}
.ay-btn--primary:hover::after { left: 130%; }

.ay-btn--ghost {
  background: #ffffff;
  border-color: rgba(102,83,232,.3);
  color: var(--ay-violet-deep);
  box-shadow: 0 8px 22px -14px rgba(35,24,88,.4);
}
.ay-btn--ghost:hover {
  border-color: var(--ay-violet);
  background: rgba(102,83,232,.07);
  color: var(--ay-violet-deep);
  box-shadow: 0 16px 34px -18px rgba(102,83,232,.7);
}

/* --- Hero istatistik şeridi --- */
.ay-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 26px 22px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--ay-stroke);
}
.ay-stat__num {
  display: block;
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ay-text);
  letter-spacing: -.02em;
}
.ay-stat__num .ay-suffix { color: var(--ay-violet); }
.ay-stat__label {
  font-size: 13.5px;
  color: var(--ay-text-dim);
  letter-spacing: .02em;
}

/* ===================================================================
   9. ANİMASYONLU GÖRSEL / SVG YARDIMCILARI
   =================================================================== */

.ay-float   { animation: ay-float 6s var(--ay-ease-soft) infinite; }
.ay-float-2 { animation: ay-float 8s var(--ay-ease-soft) infinite reverse; }
@keyframes ay-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

/* Kesik çizgili bağlantı yolları (artık akmıyor) */
.ay-dash { stroke-dasharray: 6 10; }


/* Görsel çerçevesi: parlayan halka + yüzen kart */
.ay-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.ay-visual__glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  /* blur(38px) filtresi yerine daha yumuşak sönen gradyan */
  background: radial-gradient(closest-side, rgba(102,83,232,.20), rgba(102,83,232,.11) 45%,
              rgba(102,83,232,.03) 78%, rgba(102,83,232,0));
  opacity: .75;
}
.ay-visual__ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(102,83,232,.26);
}
/* Yalnızca hero'daki dış halka yavaşça dönüyor; diğerleri durağan */
.ay-hero .ay-visual__ring:not(.ay-visual__ring--2) { animation: ay-spin 40s linear infinite; }
.ay-visual__ring--2 {
  inset: 16%;
  border-style: solid;
  border-color: rgba(13,147,187,.22);
}
.ay-visual img { position: relative; z-index: 2; max-width: 100%; height: auto; }
.ay-visual svg { position: relative; z-index: 2; width: 100%; height: auto; }
/* Hero SVG'si (içinde akan veri paketleri var) ayrı GPU katmanında durur;
   her karedeki yeniden çizimi çevresindeki halka ve rozetlere yayılmaz. */
.ay-hero-svg { will-change: transform; }


/* Yörüngedeki rozetler */
.ay-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.ay-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--ay-stroke);
  background: #ffffff;
  box-shadow: var(--ay-shadow);
  color: var(--ay-text);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.ay-chip i { color: var(--ay-violet); font-size: 15px; }
/* Rozetler görsel sütununun içinde kalır; taşarlarsa uzun Rusça
   başlıkların üzerine biniyorlar. */
.ay-chip--a { top: 0;    left: 2%; }
.ay-chip--b { top: 44%;  right: -7%; }
.ay-chip--c { bottom: 1%; left: 0; }
/* Yüzme hareketi yalnızca hero'da; alt bölümlerde görsel zaten yüzüyor */
.ay-hero .ay-chip--a { animation: ay-float 6.5s var(--ay-ease-soft) infinite; }
.ay-hero .ay-chip--b { animation: ay-float 7.5s var(--ay-ease-soft) 1s infinite reverse; }
.ay-hero .ay-chip--c { animation: ay-float 8.5s var(--ay-ease-soft) .5s infinite; }

/* ===================================================================
   10. LOGO ŞERİDİ (sonsuz kayan)
   =================================================================== */

.ay-marquee {
  position: relative;
  padding: 30px 0 34px;
  border-top: 1px solid var(--ay-stroke);
  border-bottom: 1px solid var(--ay-stroke);
  background: rgba(102,83,232,.04);
  overflow: hidden;
}
.ay-marquee__label {
  display: block;
  margin-bottom: 22px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ay-text-dim);
}
.ay-marquee__track {
  display: flex;
  width: max-content;
  gap: 62px;
  animation: ay-marquee 34s linear infinite;
}
/* Kenarlarda yumuşak geçiş — kayan şeridin kendisine değil,
   sabit duran kapsayıcıya uygulanır ki maske hareket etmesin. */
.ay-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ay-marquee:hover .ay-marquee__track { animation-play-state: paused; }
@keyframes ay-marquee {
  to { transform: translateX(-50%); }
}
.ay-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ay-text-dim);
  letter-spacing: .01em;
  transition: color .3s var(--ay-ease), transform .3s var(--ay-ease);
}
.ay-marquee__item:hover { color: var(--ay-text); transform: scale(1.06); }
.ay-marquee__item i { font-size: 24px; color: var(--ay-violet); }

/* ===================================================================
   11. BÖLÜM BAŞLIKLARI
   =================================================================== */

.ay-sec { position: relative; padding: 110px 0; }
.ay-sec--tight { padding: 80px 0; }

.ay-sec-head { max-width: 760px; margin-bottom: 62px; }
.ay-sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.ay-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ay-violet-deep);
}
.ay-kicker::before {
  content: "";
  width: 30px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ay-cyan), transparent);
}
.ay-sec-head--center .ay-kicker::after {
  content: "";
  width: 30px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(270deg, var(--ay-cyan), transparent);
}

.ay-sec-head h2 {
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.16;
  font-weight: 700;
  color: var(--ay-text);
  letter-spacing: -.02em;
  margin: 0 0 20px;
}
.ay-sec-head p {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ay-text-soft);
  margin: 0;
}

/* ===================================================================
   12. CAM KARTLAR / HİZMET IZGARASI
   =================================================================== */

.ay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.ay-grid--3 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }

.ay-card {
  position: relative;
  padding: 36px 32px 34px;
  border-radius: var(--ay-radius-lg);
  border: 1px solid var(--ay-stroke);
  background:
    linear-gradient(160deg, rgba(102,83,232,.07), rgba(102,83,232,.015)),
    #ffffff;
  box-shadow: var(--ay-shadow);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ay-ease), border-color .5s var(--ay-ease),
              box-shadow .5s var(--ay-ease);
}
/* imleci takip eden ışık */
.ay-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(102,83,232,.13), transparent 62%);
  transition: opacity .45s var(--ay-ease);
}
.ay-card:hover::before { opacity: 1; }
/* üst kenar ışığı */
.ay-card::after {
  content: "";
  position: absolute;
  top: 0; left: 12%;
  width: 76%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102,83,232,.6), transparent);
  opacity: 0;
  transition: opacity .45s var(--ay-ease);
}
.ay-card:hover::after { opacity: 1; }
.ay-card:hover {
  transform: translateY(-9px);
  border-color: var(--ay-stroke-hi);
  box-shadow: var(--ay-shadow-hi);
}

.ay-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  margin-bottom: 24px;
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(102,83,232,.16), rgba(99,23,231,.06));
  border: 1px solid rgba(102,83,232,.2);
  font-size: 28px;
  color: var(--ay-violet-deep);
  transition: transform .55s var(--ay-ease), background .55s var(--ay-ease),
              color .55s var(--ay-ease);
}
.ay-card__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 24px;
  border: 1px solid rgba(102,83,232,.26);
  opacity: 0;
  transform: scale(.85);
  transition: all .55s var(--ay-ease);
}
.ay-card:hover .ay-card__icon {
  transform: translateY(-4px) rotate(-7deg) scale(1.06);
  background: linear-gradient(145deg, var(--ay-violet), var(--ay-pink));
  color: #fff;
}
.ay-card:hover .ay-card__icon::after { opacity: 1; transform: scale(1); }

.ay-card h3 {
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ay-text);
  margin: 0 0 12px;
}
.ay-card p {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ay-text-soft);
  margin: 0;
}
.ay-card__num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: rgba(23,19,49,.07);
  transition: color .5s var(--ay-ease);
}
.ay-card:hover .ay-card__num { color: rgba(102,83,232,.18); }

/* ===================================================================
   13. ÖZELLİK SATIRLARI (metin + görsel)
   =================================================================== */

.ay-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.ay-split-row--rev .ay-split-row__media { order: -1; }

.ay-feature-list { list-style: none; margin: 34px 0 0; padding: 0; }
.ay-feature-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 18px;
  margin-bottom: 12px;
  border-radius: 15px;
  border: 1px solid transparent;
  background: rgba(102,83,232,.05);
  color: var(--ay-text-soft);
  font-size: 16px;
  line-height: 1.6;
  transition: all .4s var(--ay-ease);
}
.ay-feature-list li:hover {
  border-color: var(--ay-stroke-hi);
  background: rgba(102,83,232,.1);
  color: var(--ay-text);
  transform: translateX(7px);
}
.ay-feature-list li i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--ay-violet), var(--ay-purple));
  font-size: 11px;
  color: #fff;
}
.ay-feature-list li strong { color: var(--ay-text); font-weight: 600; }

/* ===================================================================
   14. SÜREÇ ADIMLARI
   =================================================================== */

.ay-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.ay-steps::before {
  content: "";
  position: absolute;
  top: 44px; left: 8%;
  width: 84%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(102,83,232,.35), rgba(13,147,187,.35), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.ay-step { position: relative; text-align: center; padding: 0 12px; }
.ay-step__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1px solid rgba(102,83,232,.32);
  background: linear-gradient(160deg, var(--ay-violet), var(--ay-purple));
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  transition: transform .5s var(--ay-ease), box-shadow .5s var(--ay-ease);
}
.ay-step__dot::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--ay-cyan);
  opacity: 0;
  transition: opacity .4s var(--ay-ease);
}
.ay-step:hover .ay-step__dot {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 40px -16px rgba(102,83,232,.6);
}
/* Dönüş yalnızca üzerine gelindiğinde çalışır (eskiden opacity:0 iken
   bile sürekli dönüyordu). */
.ay-step:hover .ay-step__dot::after { opacity: 1; animation: ay-spin 3s linear infinite; }
.ay-step h4 {
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: 18.5px;
  font-weight: 600;
  color: var(--ay-text);
  margin: 0 0 10px;
}
.ay-step p { font-size: 15px; line-height: 1.68; color: var(--ay-text-soft); margin: 0; }

/* ===================================================================
   15. İSTATİSTİK BANDI
   =================================================================== */

.ay-statband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2px;
  border-radius: var(--ay-radius-lg);
  border: 1px solid var(--ay-stroke);
  background: var(--ay-stroke);
  overflow: hidden;
}
.ay-statband__cell {
  padding: 42px 26px;
  text-align: center;
  background: linear-gradient(160deg, #ffffff, #faf9ff);
  transition: background .45s var(--ay-ease);
}
.ay-statband__cell:hover {
  background: linear-gradient(160deg, rgba(102,83,232,.11), rgba(102,83,232,.03));
}
.ay-statband__cell .ay-stat__num { font-size: 2.8rem; }

/* ===================================================================
   16. İLETİŞİM
   =================================================================== */

/* İletişim kartları */
.ay-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.ay-contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--ay-radius);
  border: 1px solid var(--ay-stroke);
  background: #ffffff;
  box-shadow: 0 10px 26px -20px rgba(35,24,88,.5);
  text-decoration: none;
  transition: transform .42s var(--ay-ease), border-color .42s var(--ay-ease),
              box-shadow .42s var(--ay-ease);
}
.ay-contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--ay-stroke-hi);
  background: #ffffff;
  box-shadow: var(--ay-shadow-hi);
}
.ay-contact-card i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--ay-violet), var(--ay-purple));
  font-size: 19px;
  color: #fff;
  transition: transform .42s var(--ay-ease);
}
.ay-contact-card:hover i { transform: rotate(-8deg) scale(1.08); }
.ay-contact-card span { display: block; font-size: 12.5px; color: var(--ay-text-dim); letter-spacing: .06em; text-transform: uppercase; }
.ay-contact-card strong { display: block; font-size: 16.5px; color: var(--ay-text); font-weight: 600; margin-top: 3px; }

/* ===================================================================
   17. FOOTER
   =================================================================== */

.main-footer-app-4 { background: var(--ay-ink-2); }
.main-footer-app-4 .widgets-section { padding: 96px 0 56px; }
.main-footer-app-4::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102,83,232,.3), transparent);
}
.main-footer-app-4 .widget-title {
  position: relative;
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  color: var(--ay-text);
  margin-bottom: 26px;
}
.main-footer-app-4 .user-links li a,
.main-footer-app-4 .contact-info li a {
  color: var(--ay-text-soft);
  transition: color .3s var(--ay-ease), padding-left .3s var(--ay-ease);
}
.main-footer-app-4 .user-links li a:hover { color: var(--ay-violet-deep); padding-left: 7px; }

.ay-social { display: flex; gap: 11px; list-style: none; padding: 0; margin: 22px 0 0; }
.ay-social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  border: 1px solid var(--ay-stroke);
  background: #ffffff;
  color: var(--ay-text-soft);
  font-size: 16px;
  transition: all .4s var(--ay-ease);
}
.ay-social a:hover {
  color: #fff;
  transform: translateY(-4px) rotate(-6deg);
  border-color: transparent;
  background: linear-gradient(145deg, var(--ay-violet), var(--ay-pink));
  box-shadow: 0 14px 28px -14px rgba(224,31,82,.6);
}

.ay-footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--ay-stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--ay-text-dim);
}
.ay-footer-bottom a { color: var(--ay-text-soft); }
.ay-footer-bottom a:hover { color: var(--ay-violet-deep); }

/* ===================================================================
   17b. ALT SAYFALAR (belgeler / oyunlar)
   Şablonun üst bloğu opak bir mor katman basıyordu; hafifletip
   sabit aurora arka planının içeriden görünmesini sağlıyoruz.
   =================================================================== */

.home_layout_app_4 {
  background-image: none;
  padding-top: 170px;
}
/* Sablonun 450px alt boslugu, altindaki bolumun -550px margin ile
   binmesi icin var (games.html). Bindirme yapmayan metin sayfalarinda
   beyaz zeminde devasa bos bir band birakiyor; oralarda kisaltiliyor. */
.home_layout_app_4.ay-band--compact {
  padding-bottom: 110px;
}
.home_layout_app_4::before {
  background: linear-gradient(180deg, rgba(102,83,232,.11) 0%, rgba(102,83,232,.02) 100%);
  opacity: 1;
}
/* Şablonun sert beyaz daireleri yerine yumuşak ışık lekeleri */
.home_layout_app_4 .each-object-round::before,
.home_layout_app_4 .each-object-round::after {
  background: radial-gradient(closest-side, rgba(102,83,232,.13), rgba(102,83,232,.05) 60%,
              rgba(102,83,232,0));
  height: 240px;
  width: 240px;
}

.legal-card {
  border-radius: var(--ay-radius) !important;
  border: 1px solid var(--ay-stroke) !important;
  transition: transform .45s var(--ay-ease), border-color .45s var(--ay-ease),
              box-shadow .45s var(--ay-ease) !important;
}
.legal-card:hover {
  transform: translateY(-6px);
  border-color: var(--ay-stroke-hi) !important;
  box-shadow: var(--ay-shadow-hi);
}

.legal-back {
  transition: transform .35s var(--ay-ease), background .35s var(--ay-ease);
}
.legal-back:hover { transform: translateX(-4px); }

/* ===================================================================
   18. YUKARI ÇIK
   =================================================================== */

.scroll-to-top {
  display: grid !important;
  place-items: center;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  line-height: 1;
  font-size: 18px;
  border-radius: 50% !important;
  background: linear-gradient(145deg, var(--ay-violet), var(--ay-purple)) !important;
  border: 1px solid rgba(102,83,232,.4) !important;
  box-shadow: 0 14px 30px -12px rgba(102,83,232,.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.85);
  transition: opacity .4s var(--ay-ease), visibility .4s,
              transform .4s var(--ay-ease), box-shadow .4s var(--ay-ease);
}
body.ay-scrolled-far .scroll-to-top {
  opacity: 1;
  visibility: visible;
  transform: none;
}
body.ay-scrolled-far .scroll-to-top:hover { transform: translateY(-5px) scale(1.07); }

/* ===================================================================
   19. MOBİL MENÜ RÖTUŞU
   =================================================================== */

.mobile-menu .menu-box {
  background: linear-gradient(170deg, #ffffff, var(--ay-bg-2)) !important;
}
.mobile-menu .navigation li > a { transition: padding-left .3s var(--ay-ease); }
.mobile-menu .navigation li > a:hover { padding-left: 32px; }
.ay-lang--mobile { margin: 22px 20px 0; }
.ay-lang--mobile .ay-lang__menu { right: auto; left: 0; }

/* ===================================================================
   20. DUYARLI (RESPONSIVE)
   =================================================================== */

@media (max-width: 1199px) {
  .ay-split-row { gap: 46px; }
  .ay-hero { padding: 180px 0 130px; }
}

@media (max-width: 991px) {
  .ay-split-row { grid-template-columns: 1fr; gap: 54px; }
  .ay-split-row--rev .ay-split-row__media { order: 0; }
  .ay-sec { padding: 84px 0; }
  .ay-hero { padding: 150px 0 100px; text-align: center; }
  .ay-hero__lead { margin-left: auto; margin-right: auto; }
  .ay-btns { justify-content: center; }
  .ay-hero__stats { justify-content: center; gap: 14px 34px; }
  .ay-sec-head { text-align: center; margin-left: auto; margin-right: auto; }
  .ay-kicker { justify-content: center; }
  .ay-steps::before { display: none; }
  .ay-visual { min-height: 340px; }
  .ay-lang { display: none; }
  .ay-lang--mobile { display: block; }
}

@media (max-width: 767px) {
  .ay-hero { padding: 130px 0 80px; }
  .ay-hero h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .ay-hero__lead { font-size: 17px; }
  .ay-btn { padding: 15px 26px; font-size: 14.5px; }
  .ay-card { padding: 30px 24px; }
  .ay-chip { font-size: 12px; padding: 9px 13px; }
  .ay-chip--a { left: -2%; }
  .ay-chip--b { right: -2%; }
  .ay-marquee__track { gap: 40px; }
  .ay-marquee__item { font-size: 17px; }
  .ay-stat__num { font-size: 2rem; }
  .ay-sec { padding: 66px 0; }
}

/* ===================================================================
   20b. ANİMASYONLARI DURDUR
   aycom-ui.js iki durumda animasyonları dondurur:
   - `.ay-paused`: blok görünür alanda değil.
   - `html.ay-idle`: pencere arka planda / sekme gizli ya da kullanıcı
     bir süredir sayfayla etkileşmiyor. Hareket edilince kaldığı yerden
     devam eder.
   =================================================================== */

html.ay-idle *,
html.ay-idle *::before,
html.ay-idle *::after,
.ay-paused,
.ay-paused::before,
.ay-paused::after,
.ay-paused *,
.ay-paused *::before,
.ay-paused *::after {
  animation-play-state: paused !important;
}

/* ===================================================================
   21. HAREKET AZALTMA TERCİHİ
   =================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ay-split .ay-word > span { opacity: 1 !important; transform: none !important; }
}

/* ===================================================================
   22. AÇIK TEMA — ŞABLON DEVRALMALARI
   -------------------------------------------------------------------
   style.css / style-app4.css koyu zemin varsayarak yazıldı: menü, mobil
   menü, footer ve belge sayfalarındaki metinler beyaz. Aşağıdaki blok
   bu kuralları beyaz zemine göre yeniden tanımlar. Seçiciler bilerek
   şablondan bir kademe daha özgül; belge sayfalarındaki satır içi
   <style> bloklarını da ezebilmek için `body` öneki kullanılıyor.
   =================================================================== */

/* --- Üst menü ------------------------------------------------------ */
/* responsive.css mobilde header'a rgba(0,0,0,.2) veriyor ve hamburger
   ikonunu beyaza cekiyor; beyaz temada ikisi de geri aliniyor. */
body .header-style-four .header-lower {
  background-color: transparent;
  border-bottom: 1px solid var(--ay-stroke);
}
body .header-style-four .header-lower .mobile-nav-toggler,
body .header-style-four .header-lower .mobile-nav-toggler .icon {
  color: var(--ay-text);
}
body .header-style-four .header-lower .main-menu .navigation > li > a:not(:hover) {
  color: var(--ay-text);
}
body .header-style-four .header-lower .main-menu .navigation > li > a:hover,
body .main-menu .navigation > li > a:hover,
body .main-menu .navigation > li.current > a,
body .main-menu .navigation > li.ay-active > a {
  color: var(--ay-violet-deep);
}
body .header-style-four .header-lower .info-btn,
body .header-style-four .header-lower .info-btn small,
body .main-header .outer-box .info-btn {
  color: var(--ay-text) !important;
}
body .header-style-four .header-lower .info-btn i {
  color: #fff;
}
body .main-header .mobile-nav-toggler .icon,
body .main-header .mobile-nav-toggler {
  color: var(--ay-text);
}

/* --- Mobil menü ---------------------------------------------------- */
body .mobile-menu .navigation li { border-bottom-color: var(--ay-stroke); }
body .mobile-menu .navigation li > ul > li:first-child { border-top-color: var(--ay-stroke); }
body .mobile-menu .navigation li > a { color: var(--ay-text); }
body .mobile-menu .navigation li:hover > a,
body .mobile-menu .navigation li.current > a { color: var(--ay-violet-deep); }
body .mobile-menu .close-btn { color: var(--ay-text); }
body .mobile-menu .contact-list-one li .contact-info-box,
body .mobile-menu .contact-list-one li .contact-info-box a { color: var(--ay-text-soft); }
body .mobile-menu .contact-list-one li .contact-info-box .title { color: var(--ay-text-dim); }
body .mobile-menu .contact-list-one li .contact-info-box .icon { color: var(--ay-violet); }
body .mobile-menu .social-links { border-top-color: rgba(255,255,255,.22); }
body .mobile-menu .social-links li { border-right-color: rgba(255,255,255,.22); }
body .mobile-menu .social-links li a { color: #fff; }
body .mobile-menu .social-links li a:hover { color: #ffe1ea; }
body .mobile-menu .menu-backdrop { background: rgba(23,19,49,.55); }

/* --- Sabit (sticky) menü ------------------------------------------- */
body .sticky-header {
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 28px -18px rgba(35,24,88,.4);
}
body .sticky-header .main-menu .navigation > li > a { color: var(--ay-text); }

/* --- Footer (şablon sınıfları) ------------------------------------- */
body .main-footer-app-4 .widget-title:before { background-color: var(--ay-stroke); }
body .main-footer-app-4 .widget-title:after { background-color: var(--ay-violet); }
body .main-footer-app-4 .user-links li,
body .main-footer-app-4 .user-links li a,
body .main-footer-app-4 .about-widget .text,
body .main-footer-app-4 .contact-widget-app-4 .text,
body .main-footer-app-4 .contact-widget-app-4 .contact-info li,
body .main-footer-app-4 .contact-widget-app-4 .contact-info li a {
  color: var(--ay-text-soft);
}
body .main-footer-app-4 .contact-widget-app-4 .contact-info li a:hover {
  color: var(--ay-violet-deep);
}
body .main-footer-app-4 .contact-widget-app-4 .contact-info li i,
body .main-footer-app-4 .contact-info li i { color: var(--ay-violet); }

/* Eski şablon footer'ı (belge / oyun sayfaları) */
body .main-footer .inner-container,
body .footer-bottom .inner-container {
  background: var(--ay-ink-2) !important;
  border: 1px solid var(--ay-stroke);
  border-radius: var(--ay-radius);
}
body .copyright-text,
body .copyright-text.text-white,
body .footer-bottom .copyright-text { color: var(--ay-text-dim) !important; }
body .copyright-text a { color: var(--ay-text-soft) !important; }
body .copyright-text a:hover { color: var(--ay-violet-deep) !important; }

/* --- Belge / oyun sayfası başlık bandı ------------------------------ */
/* .home-details hem baslik bandinda hem games.html'deki oyun
   kartlarinda kullaniliyor; bu yuzden bolume bagli degil. */
body .home-details h2,
body .home-details .text {
  color: var(--ay-text);
}
body .text-white,
body .home-details .text-white { color: var(--ay-text-soft) !important; }
body .text-white a { color: var(--ay-violet-deep) !important; }
/* Dalga ayraci: sablonda yollarin uzerinde satir ici opacity:.33 var ve
   ust uste bindiklerinde beyaz zeminde kalin bir mor bant olusturuyor.
   !important ile hepsi ayni dusuk degere cekiliyor. */
body .home_layout_app_4 .elementor-shape-bottom .elementor-shape-fill {
  fill: var(--ay-violet);
  opacity: .07 !important;
}

/* --- Belge sayfalarındaki satır içi kart stilleri -------------------- */
body .legal-updated {
  color: var(--ay-violet-deep);
  background: rgba(102,83,232,.09);
  border: 1px solid rgba(102,83,232,.26);
}
body .legal-intro { color: var(--ay-text-soft); }
body .legal-card {
  background: #ffffff;
  border: 1px solid var(--ay-stroke) !important;
  box-shadow: 0 12px 30px -22px rgba(35,24,88,.5);
}
body .legal-card:hover { background: #ffffff; }
body .legal-card h3 { color: var(--ay-text); }
body .legal-card p,
body .legal-card ul li { color: var(--ay-text-soft); }
body .legal-card a { color: var(--ay-violet-deep); }
body .legal-card a:hover { color: var(--ay-purple); }
body .legal-card ul li:before { background: var(--ay-violet); }
body .legal-highlight {
  border-color: rgba(224,31,82,.35) !important;
  background: rgba(224,31,82,.06);
}
body .step-card .step-no,
body .legal-card h3 span { background: var(--ay-violet); color: #fff; }
body .mail-box .mail-label { color: var(--ay-text-dim); }
body .mail-box .mail-address { color: var(--ay-text) !important; }
body .mail-box .mail-subject { color: var(--ay-text-soft); }
body .legal-btn {
  background: var(--ay-violet);
  border-color: var(--ay-violet);
  color: #fff !important;
}
body .legal-btn:hover {
  background: var(--ay-violet-deep);
  border-color: var(--ay-violet-deep);
  color: #fff !important;
}
body .legal-btn.btn-ghost {
  background: #fff;
  border-color: rgba(102,83,232,.4);
  color: var(--ay-violet-deep) !important;
}
body .legal-btn.btn-ghost:hover {
  background: rgba(102,83,232,.08);
  border-color: var(--ay-violet);
  color: var(--ay-violet-deep) !important;
}
body .legal-back {
  border: 1px solid rgba(102,83,232,.32);
  color: var(--ay-violet-deep) !important;
  background: #fff;
}
body .legal-back:hover {
  background: rgba(102,83,232,.08);
  border-color: var(--ay-violet);
}
body .copy-feedback { color: var(--ay-mint); }
body .legal-contact { color: var(--ay-text-soft); }

/* --- Eski şablon sosyal butonları (belge / oyun sayfaları) ---------- */
body .social-icon-two li a {
  background-color: #ffffff;
  border: 1px solid var(--ay-stroke);
  color: var(--ay-text-soft);
}
body .social-icon-two li a:hover {
  background-color: var(--ay-violet);
  color: #fff;
  border-color: var(--ay-violet);
}

/* --- Arama kutusu --------------------------------------------------- */
body .search-popup .search-back-drop { background: rgba(23,19,49,.75); }

/* --- Genel metin devralmaları -------------------------------------- */
body .sec-title h2,
body .sec-title .text { color: var(--ay-text); }

/* --- Logo ölçüsü ---------------------------------------------------
   logo-light.png yüksek çözünürlüklü (400px); şablonda üst menü logosu
   için genişlik sınırı yok, bu yüzden burada sabitleniyor. */
body .main-header .logo img {
  width: 160px;
  max-width: 100%;
  height: auto;
}
body .main-footer-app-4 .about-widget .logo img {
  width: 168px;
  max-width: 100%;
  height: auto;
}

/* ===================================================================
   23. REFERANS UYGULAMALAR  (#apps)
   -------------------------------------------------------------------
   Sayfanın alt kısmında duran ama gözden kaçmaması gereken blok:
   kendi ürünümüz AycomX'in tanıtımı, demo hesabı ve canlı bağlantısı.
   =================================================================== */

.ay-apps {
  position: relative;
  isolation: isolate;
}
/* Bölümü sayfanın geri kalanından ayıran yumuşak şerit */
.ay-apps::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 460px at 50% 0%, rgba(102, 83, 232, .10), transparent 70%),
    linear-gradient(180deg, rgba(102, 83, 232, .045), rgba(13, 147, 187, .035));
  border-top: 1px solid var(--ay-stroke);
  border-bottom: 1px solid var(--ay-stroke);
}

/* --- Uygulama paneli ---------------------------------------------- */
.ay-app {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 54px;
  align-items: center;
  padding: 48px 50px;
  border-radius: var(--ay-radius-lg);
  background: #ffffff;
  box-shadow: 0 34px 80px -34px rgba(35, 24, 88, .34);
  isolation: isolate;
  overflow: hidden;
}
/* Akan gradyan çerçeve — panelin "canlı" görünmesini sağlar */
.ay-app::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(115deg,
              var(--ay-violet), var(--ay-cyan) 28%, var(--ay-pink) 52%,
              var(--ay-violet) 78%, var(--ay-cyan));
  background-size: 260% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  background-position: 30% 0;
  opacity: .75;
  pointer-events: none;
  /* PERFORMANS: çerçeve artık akmıyor. Maskeli ve panel büyüklüğündeki bu
     katmanın `background-position` animasyonu her karede tüm paneli
     yeniden boyatıyordu. */
}

/* Arkadaki renk bulutu */
.ay-app__aura {
  position: absolute;
  z-index: -1;
  width: 46%;
  aspect-ratio: 1;
  right: -8%;
  top: -18%;
  border-radius: 50%;
  opacity: .5;
  /* blur(90px) filtresi yerine yumuşak sönen gradyan */
  background: radial-gradient(closest-side, rgba(102, 83, 232, .42), rgba(102, 83, 232, .22) 40%,
              rgba(102, 83, 232, .06) 75%, rgba(102, 83, 232, 0));
  pointer-events: none;
}

/* --- Başlık bloğu -------------------------------------------------- */
.ay-app__head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}

.ay-app__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--ay-stroke);
  box-shadow: 0 18px 40px -20px rgba(102, 83, 232, .8);
  transition: transform .55s var(--ay-ease), box-shadow .55s var(--ay-ease);
}
.ay-app__mark::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 32px;
  border: 1px solid rgba(102, 83, 232, .28);
  opacity: .6;
  pointer-events: none;
}
.ay-app__mark img { width: 60px; height: 60px; object-fit: contain; }
.ay-app:hover .ay-app__mark {
  transform: translateY(-4px) rotate(-5deg);
  box-shadow: 0 24px 52px -20px rgba(102, 83, 232, .95);
}

.ay-app__id { min-width: 0; }

/* "Canlı demo" rozeti */
.ay-app__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  margin-bottom: 9px;
  border-radius: 99px;
  border: 1px solid rgba(47, 158, 88, .34);
  background: rgba(47, 158, 88, .10);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1f7a44;
}
.ay-app__live i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ay-mint);
}
.ay-app__live i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(47, 158, 88, .55);
  animation: ay-pulse-ring 2s var(--ay-ease-soft) infinite;
}

.ay-app__name {
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 6px;
  color: var(--ay-violet-deep);
  background: linear-gradient(100deg, var(--ay-purple), var(--ay-violet) 45%, var(--ay-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ay-app__tagline {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ay-text-dim);
}

.ay-app__text {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ay-text-soft);
  margin: 0 0 26px;
}

/* --- Özellik etiketleri -------------------------------------------- */
.ay-app__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.ay-app__tags li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 99px;
  border: 1px solid var(--ay-stroke);
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ay-text-soft);
  transition: border-color .35s var(--ay-ease), color .35s var(--ay-ease),
              transform .35s var(--ay-ease), box-shadow .35s var(--ay-ease);
}
.ay-app__tags li:hover {
  transform: translateY(-2px);
  border-color: var(--ay-stroke-hi);
  color: var(--ay-text);
  box-shadow: 0 12px 26px -18px rgba(102, 83, 232, .9);
}
.ay-app__tags i { font-size: 14px; color: var(--ay-violet); }

/* --- Demo hesabı kutusu -------------------------------------------- */
.ay-app__demo {
  padding: 24px;
  border-radius: var(--ay-radius);
  border: 1px solid rgba(102, 83, 232, .26);
  background: linear-gradient(160deg, rgba(102, 83, 232, .085), rgba(13, 147, 187, .045));
  margin-bottom: 28px;
}
.ay-app__demo-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.ay-app__demo-head > div { flex: 1 1 240px; min-width: 0; }
.ay-app__demo-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--ay-violet), var(--ay-purple));
  color: #fff;
  font-size: 16px;
  box-shadow: 0 12px 26px -14px rgba(102, 83, 232, .95);
}
.ay-app__demo-head > div > strong {
  display: block;
  font-family: var(--title-font, "Space Grotesk", sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ay-text);
  margin-bottom: 3px;
}
.ay-app__demo-head > div > span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ay-text-soft);
}

.ay-creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.ay-cred {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--ay-stroke);
  background: #ffffff;
  min-width: 0;
}
.ay-cred__label {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ay-text-dim);
}
.ay-cred__value {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ay-text);
  background: none;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-user-select: all;
  user-select: all;
}
.ay-cred__copy {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--ay-stroke);
  background: rgba(102, 83, 232, .07);
  color: var(--ay-violet-deep);
  font-size: 13px;
  cursor: pointer;
  transition: background .3s var(--ay-ease), color .3s var(--ay-ease),
              border-color .3s var(--ay-ease), transform .3s var(--ay-ease);
}
.ay-cred__copy:hover {
  background: var(--ay-violet);
  border-color: var(--ay-violet);
  color: #fff;
  transform: translateY(-2px);
}
.ay-cred__copy.is-done {
  background: var(--ay-mint);
  border-color: var(--ay-mint);
  color: #fff;
}

.ay-copy-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(47, 158, 88, .34);
  background: rgba(47, 158, 88, .12);
  font-size: 13px;
  font-weight: 600;
  color: #1f7a44;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s var(--ay-ease), transform .3s var(--ay-ease);
}
.ay-copy-note:empty { display: none; }
.ay-copy-note::before {
  content: "✓";
  font-size: 13px;
  line-height: 1;
}
.ay-copy-note.is-on { opacity: 1; transform: none; }
/* Kopyalama başarısızsa (izin yok / eski tarayıcı) uyarı rengine geçiyor */
.ay-copy-note.is-fail {
  border-color: rgba(224, 31, 82, .34);
  background: rgba(224, 31, 82, .10);
  color: #b01340;
  white-space: normal;
}
.ay-copy-note.is-fail::before { content: "⚠"; }

/* --- Alt aksiyon satırı -------------------------------------------- */
.ay-app__btns { gap: 18px; }
.ay-app__url {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  color: var(--ay-text-dim);
}
.ay-app__url i { color: var(--ay-violet); }

/* --- Panel görseli -------------------------------------------------- */
/* .ay-visual varsayilan olarak icerigi ortalar (justify-items:center);
   burada panel gorseli sutunun tamamini kaplasin istiyoruz. */
.ay-visual--app { min-height: auto; justify-items: stretch; }
/* PERFORMANS: gölge eskiden SVG'ye `filter: drop-shadow` ile veriliyordu.
   SVG'nin içi sürekli hareket ettiği için tarayıcı bu büyük bulanık gölgeyi
   her karede yeniden hesaplıyordu. Gölge artık SVG'nin arkasındaki sabit
   bir katmanda (box-shadow); pencere gövdesiyle aynı hizada. */
.ay-app-shot {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.ay-app-shot::before {
  content: "";
  position: absolute;
  /* SVG'deki pencere: x=12 y=16 w=536 h=392 (viewBox 560x424) */
  top: 3.774%; bottom: 3.774%;
  left: 2.143%; right: 2.143%;
  border-radius: 20px;
  box-shadow: 0 26px 50px rgba(35, 24, 88, .22);
  pointer-events: none;
}
.ay-visual--app .ay-app-shot svg {
  display: block;
  width: 100%;
}

/* Grafikler sonsuz döngüde değil: panel ilk kez ekrana geldiğinde
   (aycom-ui.js `.ay-seen` ekler) BİR KEZ çizilip duruyor. `.ay-seen`
   gelmeden önce son hâlleriyle görünürler; IntersectionObserver olmayan
   tarayıcıda da grafik eksiksiz kalır. */
.ay-app-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.ay-seen .ay-app-bar {
  animation: ay-app-bar-in 1s var(--ay-ease) both;
  animation-delay: calc(.2s + var(--ay-bar-delay, 0s));
}
@keyframes ay-app-bar-in { from { transform: scaleY(0); } }

.ay-app-line { stroke-dasharray: 640; stroke-dashoffset: 0; }
.ay-seen .ay-app-line { animation: ay-app-line-in 1.6s var(--ay-ease) .6s both; }
@keyframes ay-app-line-in { from { stroke-dashoffset: 640; } }

.ay-seen .ay-app-area { animation: ay-app-fade-in 1s var(--ay-ease) 1.1s both; }
@keyframes ay-app-fade-in { from { opacity: 0; } }

/* Halka grafik: %72 (çevre ≈ 238.8) */
.ay-app-ring { stroke-dasharray: 238.8; stroke-dashoffset: 66.9; }
.ay-seen .ay-app-ring { animation: ay-app-ring-in 1.6s var(--ay-ease) .4s both; }
@keyframes ay-app-ring-in { from { stroke-dashoffset: 238.8; } }

/* --- Duyarlılık ----------------------------------------------------- */
@media (max-width: 1199px) {
  .ay-app { grid-template-columns: 1fr; gap: 44px; padding: 42px 40px; }
  .ay-app__media { order: -1; }
  .ay-app__info { text-align: left; }
}

@media (max-width: 767px) {
  .ay-app { padding: 32px 22px; border-radius: var(--ay-radius); }
  .ay-app__head { gap: 16px; margin-bottom: 20px; }
  .ay-app__mark { width: 72px; height: 72px; border-radius: 21px; }
  .ay-app__mark img { width: 46px; height: 46px; }
  .ay-app__text { font-size: 15.5px; }
  .ay-app__demo { padding: 20px 18px 16px; }
  /* Etiket ile değer alt alta: dar ekranda tek satıra sığmıyorlar */
  .ay-cred {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "label copy" "value copy";
    align-items: center;
    gap: 2px 10px;
    padding: 12px 12px 12px 15px;
  }
  .ay-cred__label { grid-area: label; }
  .ay-cred__value { grid-area: value; }
  .ay-cred__copy  { grid-area: copy; align-self: center; }
  .ay-app__btns { flex-direction: column; align-items: stretch; }
  .ay-app__btns .ay-btn { justify-content: center; }
  .ay-app__url { justify-content: center; }
}
