/* ===== Canlı ana sayfa (03.11.2026): hareket, etkileşim. Beyaz zemin; koyu bölüm yok. ===== */

/* Giriş: yumuşak hareketli renk ışıkları */
.giris { position: relative; overflow: hidden; }
.isik { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.isik i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: suz 18s ease-in-out infinite alternate; }
.isik i:nth-child(1) { width: 520px; height: 520px; background: #CDEFF6; top: -180px; right: -120px; }
.isik i:nth-child(2) { width: 420px; height: 420px; background: #E9E3FF; bottom: -220px; left: -140px; animation-duration: 22s; }
.isik i:nth-child(3) { width: 300px; height: 300px; background: #FFF1D6; top: 30%; left: 45%; animation-duration: 26s; opacity: .45; }
@keyframes suz { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.12); } }
.giris .kap { position: relative; z-index: 1; }

/* Dönen kelime */
.donen { display: inline-block; background: linear-gradient(90deg, #0891B2, #6D5BD0); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .35s ease, transform .35s ease; }
.donen.cik { opacity: 0; transform: translateY(12px); }

/* Parlayan birincil düğme */
.dugme.parla { position: relative; overflow: hidden; box-shadow: 0 10px 26px rgba(8,145,178,.32); }
.dugme.parla::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: parilti 3.8s ease-in-out infinite; }
@keyframes parilti { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Ekran + beliren bildirimler */
.sahne { position: relative; max-width: 1100px; width: 100%; margin: 0 auto; }
.sahne .goruntu { animation: yuksel .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes yuksel { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
.bildirim { position: absolute; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.96); border: 1px solid var(--cizgi); box-shadow: 0 14px 34px rgba(16,39,46,.14); font-size: 14px; max-width: 290px;
  opacity: 0; animation: bildir 12s ease-in-out infinite; }
.bildirim b { display: block; font-size: 14px; } .bildirim small { color: var(--ikincil); font-size: 12.5px; }
.bildirim.b1 { left: -36px; top: 16%; animation-delay: .8s; }
.bildirim.b2 { right: -30px; top: 40%; animation-delay: 4.8s; }
.bildirim.b3 { left: 6%; bottom: -24px; animation-delay: 8.8s; }
@keyframes bildir { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 6%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateY(-8px); } }
.nokta { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--yesil); box-shadow: 0 0 0 4px var(--yesil-z); }
.nokta.t { background: #D97706; box-shadow: 0 0 0 4px var(--turuncu-z); } .nokta.k { background: #DC2626; box-shadow: 0 0 0 4px var(--kirmizi-z); }
.nokta.y { background: #16A34A; }

/* Kayan şirket şeridi */
.sirketler p .ws-not { color: var(--ana); font-weight: 600; }
.kayan { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kayan-ic { display: flex; gap: 10px; width: max-content; animation: kay 55s linear infinite; padding: 4px 0; }
.kayan-ic .kopya { display: flex; gap: 10px; }
.kayan:hover .kayan-ic { animation-play-state: paused; }
@keyframes kay { to { transform: translateX(-50%); } }

/* Rakamlar */
.rakamlar { padding: 8px 0 56px; }
.rakamlar .kap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rakamlar .kap > div { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--cizgi); transition: transform .2s ease, box-shadow .2s ease; }
.rakamlar .kap > div:hover { transform: translateY(-3px); box-shadow: var(--golge); }
.rakamlar b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(90deg, #0891B2, #6D5BD0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rakamlar span { display: block; margin-top: 8px; color: var(--ikincil); font-size: 15px; }

/* Acentede bir gün: sekmeli akış */
.gun-akis { background: #fff; border: 1px solid var(--cizgi); border-radius: 20px; box-shadow: var(--golge); overflow: hidden; }
.gun-sekmeler { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--cizgi); }
.gun-sekmeler button { position: relative; text-align: left; font: inherit; color: var(--ikincil); background: transparent; border: 0; border-right: 1px solid var(--cizgi);
  padding: 18px 20px; cursor: pointer; transition: background .2s; }
.gun-sekmeler button:last-child { border-right: 0; }
.gun-sekmeler button:hover { background: var(--zemin2); }
.gun-sekmeler button[aria-selected="true"] { background: var(--ana-acik); color: var(--ana-yazi); }
.gun-sekmeler b { display: block; font-size: 16px; color: var(--yazi); margin-top: 6px; }
.gun-sekmeler .saat { margin: 0; }
.ilerleme { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--ana); }
.gun-sekmeler button[aria-selected="true"] .ilerleme.calis { animation: doldur var(--sure, 6s) linear forwards; }
@keyframes doldur { to { width: 100%; } }
.gun-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; padding: 30px; align-items: center; animation: belir .45s ease both; }
.gun-panel[hidden] { display: none; }
@keyframes belir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gun-metin h3 { font-size: 24px; margin-bottom: 10px; } .gun-metin p { color: var(--ikincil); }
.mini { background: var(--zemin2); border: 1px solid var(--cizgi); border-radius: 16px; padding: 18px; display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.mini > :not(.mini-kart) { grid-column: 1 / -1; }
.mini-kart { background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; padding: 14px; animation: belir .5s ease both; }
.mini-kart:nth-child(2) { animation-delay: .08s; } .mini-kart:nth-child(3) { animation-delay: .16s; }
.mini-kart small { color: var(--ikincil); font-size: 12.5px; } .mini-kart b { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; } .mini-kart span { font-size: 12.5px; color: var(--ikincil); }
.mini-kart.k b { color: #DC2626; } .mini-kart.t b { color: #D97706; } .mini-kart.a b { color: var(--ana); }
.mini-satir { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ikincil); background: #fff; border: 1px solid var(--cizgi); border-radius: 10px; padding: 10px 12px; }
.mini-musteri { background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; padding: 14px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.mini-musteri small { width: 100%; color: var(--ikincil); }
.mini-dugmeler { display: flex; gap: 10px; }
.md { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.md.ara { border: 1.5px solid var(--ana); color: var(--ana); background: #fff; } .md.wa { background: #16A34A; color: #fff; animation: nabiz 1.8s ease-in-out infinite; }
@keyframes nabiz { 50% { box-shadow: 0 0 0 6px rgba(22,163,74,.18); } }
.mini-taksit { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.mini-taksit.soluk { opacity: .6; }
.durum-yeni { color: var(--yesil); font-weight: 800; background: var(--yesil-z); padding: 3px 9px; border-radius: 99px; animation: belir .5s .3s ease both; }
.mini-hak { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: 14px; }
.mini-hak i { height: 10px; border-radius: 99px; background: var(--ana-acik); position: relative; overflow: hidden; }
.mini-hak i::after { content: ""; position: absolute; inset: 0; width: var(--o); border-radius: 99px; background: linear-gradient(90deg, #0891B2, #6D5BD0); animation: cubuk 1s ease both; }
@keyframes cubuk { from { width: 0; } }
.gun-akis > .ekran-not { padding: 0 0 14px; }

/* Hesaplayıcı */
.hesap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hesap-acik { color: var(--ikincil); margin: 12px 0 24px; }
.kaydirici { margin-bottom: 20px; }
.kaydirici label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.kaydirici output { color: var(--ana); font-weight: 800; white-space: nowrap; }
.kaydirici input[type=range] { width: 100%; accent-color: #0891B2; height: 24px; }
.hesap-sonuc { background: #fff; border: 1px solid #CDE8EE; border-radius: 20px; padding: 28px; box-shadow: 0 0 0 6px var(--ana-acik), var(--golge); display: grid; gap: 20px; }
.hesap-sonuc small { color: var(--ikincil); font-size: 14px; font-weight: 600; }
.hesap-sonuc b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  background: linear-gradient(90deg, #0891B2, #6D5BD0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hesap-sonuc span { font-size: 13px; color: var(--ikincil); }
.hesap-sonuc .dugme { justify-content: center; }

/* Renkli ikonlar (bütün sayfalar) */
.ikon { transition: transform .25s ease; }
.uclu > div:nth-child(2) .ikon, .ozellik:nth-child(6n+2) .ikon { background: #EFEBFF; color: #6D5BD0; }
.uclu > div:nth-child(3) .ikon, .ozellik:nth-child(6n+3) .ikon { background: #FEF3E2; color: #D97706; }
.ozellik:nth-child(6n+4) .ikon { background: #E8F7EF; color: #16A34A; }
.ozellik:nth-child(6n+5) .ikon { background: #FDECEC; color: #DC2626; }
.ozellik:nth-child(6n) .ikon { background: #E6F0FF; color: #2563EB; }
.ozellik, .uclu > div, .adim, .paket, .galeri-kart { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.ozellik:hover, .uclu > div:hover, .adim:hover { transform: translateY(-4px); box-shadow: var(--golge); border-color: #CDE8EE; }
.ozellik:hover .ikon, .uclu > div:hover .ikon { transform: scale(1.08) rotate(-4deg); }

/* Kaydırınca belirme (yalnız JS çalışıyor ve hareket açıksa) */
.hareket .gorun { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.hareket .gorun.gorundu { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .bildirim { display: none; }
  .rakamlar .kap { grid-template-columns: 1fr 1fr; }
  .rakamlar b { font-size: 36px; }
  .gun-sekmeler { grid-template-columns: repeat(4, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .gun-sekmeler::-webkit-scrollbar { display: none; }
  .gun-panel { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .hesap { grid-template-columns: 1fr; gap: 28px; }
  .hesap-sonuc b { font-size: 32px; }
}
@media (max-width: 480px) {
  .mini { grid-template-columns: 1fr 1fr; }
  .mini-kart:nth-child(3) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .isik i, .dugme.parla::after, .kayan-ic, .md.wa, .sahne .goruntu, .gun-panel, .mini-kart, .durum-yeni, .mini-hak i::after { animation: none !important; }
  .bildirim { animation: none; opacity: 1; position: static; display: none; }
  .kayan-ic { flex-wrap: wrap; width: auto; justify-content: center; } .kayan-ic .kopya { display: none; }
  .kayan { -webkit-mask-image: none; mask-image: none; }
  .donen { transition: none; }
}
.rakamlar .simdilik { font-style: normal; font-weight: 700; color: var(--ana); white-space: nowrap; }
