/* ===== Terminal Gold — Sinematik açılış (Apple tarzı, açık zemin) ===== */
.tg-sine { position: relative; height: 560vh; background: #fbfaf7; }
.tg-sine-sabit {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; grid-template-columns: minmax(270px, 33%) 1fr; align-items: center;
  /* Tam genişlik: kesim kenarı ekran kenarında kalsın (cihaz gölgesi ortada kesilmesin); içerik 1280px'e ortalanır */
  padding: 80px max(32px, calc((100vw - 1280px) / 2 + 32px)) 40px;
}
.tg-sine { background:
  radial-gradient(ellipse 42% 38% at 62% 50%, rgba(221,162,37,.12), transparent 70%) fixed, #fbfaf7; }
[data-gor] { will-change: opacity, transform; }

/* Açılış başlığı */
.tg-sine-acilis {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; padding-top: 14vh; text-align: center; pointer-events: none;
}
.tg-sine-ust { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #B8891E; margin-bottom: 14px; }
.tg-sine-baslik { font-size: clamp(36px, 5.6vw, 76px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: #0f172a; }
.tg-sine-baslik span, .tg-sine-kapanis h2 span {
  background: linear-gradient(120deg, #B8891E, #DDA225 45%, #f0c040); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tg-sine-kaydir { margin-top: 20px; font-size: 14px; color: #64748b; }
.tg-sine-kaydir span { display: inline-block; animation: tgSineOk 1.6s ease-in-out infinite; }
@keyframes tgSineOk { 50% { transform: translateY(5px); } }

/* Sol yazılar */
.tg-sine-yazilar { position: relative; z-index: 3; height: 320px; }
.tg-sine-yazi { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; }
.tg-sine-etiket {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #8a6716; background: #fdf8e8; border: 1px solid #ecd397; padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
}
.tg-sine-yazi h3 { font-size: clamp(26px, 2.5vw, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: #0f172a; margin-bottom: 16px; }
.tg-sine-yazi p { font-size: 17px; line-height: 1.55; color: #475569; max-width: 420px; }

/* Sahne */
.tg-sine-sahne { position: relative; z-index: 2; height: min(70vh, 640px); perspective: 1800px; }

/* Laptop — gerçek web ekranları (1488×769) */
.tg-laptop { position: absolute; left: 0; right: 15%; top: 8%; transform-origin: 50% 100%; opacity: 0; }
.tg-laptop-ekran {
  background: #0b0a09; border-radius: 16px; padding: 9px; overflow: hidden;
  box-shadow: 0 50px 90px -34px rgba(15,23,42,.55), 0 0 0 1px rgba(15,23,42,.1), inset 0 0 0 1px rgba(255,255,255,.06);
}
.tg-laptop-ust { display: flex; align-items: center; gap: 6px; padding: 3px 8px 8px; }
.tg-laptop-ust i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.tg-laptop-ust i:nth-child(2) { background: #f59e0b; } .tg-laptop-ust i:nth-child(3) { background: #10b981; }
.tg-laptop-ust span { margin-left: 10px; flex: 1; font-size: 11px; color: #8b8b8b; background: #1c1a17; border-radius: 6px; padding: 3px 10px; }
.tg-laptop-govde { position: relative; aspect-ratio: 1488 / 769; border-radius: 6px; overflow: hidden; background: #141210; }
.tg-laptop-alt { height: 14px; margin: 0 -6%; background: linear-gradient(#e2e8f0, #cbd5e1); border-radius: 0 0 16px 16px; box-shadow: 0 18px 30px -18px rgba(15,23,42,.5); }
.tg-l-kat { position: absolute; inset: 0; opacity: 0; }
.tg-l-cerceve { position: absolute; inset: 0; will-change: transform; }
.tg-l-cerceve img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tg-l-cerceve img.tg-l-ust { opacity: 0; }
/* Altın vurgu: dikkat edilecek yeri parlatır */
.tg-l-isik {
  position: absolute; border-radius: 8px; opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 2px #f0c040, 0 0 24px 4px rgba(240,192,64,.55), 0 0 0 9999px rgba(0,0,0,.28);
}

/* Telefon — gerçek mobil kayıtlar */
.tgs-tel { position: absolute; right: 0; bottom: -10%; width: min(230px, 19vw); transform-style: preserve-3d; z-index: 4; }
.tgs-tel-cerceve {
  position: relative; aspect-ratio: 402 / 874; border-radius: 40px; padding: 9px;
  background: linear-gradient(145deg, #3a3f4a, #0b0d12 55%, #2a2f3a);
  box-sizing: content-box;
  box-shadow: 0 50px 90px -30px rgba(15,23,42,.6), inset 0 0 0 1.5px rgba(255,255,255,.14);
}
.tgs-tel-ekran { position: relative; height: 100%; border-radius: 32px; background: #0b0a09; overflow: hidden; }
.tg-t-kat { position: absolute; inset: 0; opacity: 0; }
.tg-t-kat video, .tg-t-kat img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Kapanış */
.tg-sine-kapanis { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; pointer-events: none; background: rgba(251,250,247,.82); backdrop-filter: blur(6px); }
.tg-sine-kapanis.aktif { pointer-events: auto; }
.tg-sine-kapanis h2 { font-size: clamp(36px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #0f172a; margin-bottom: 28px; }
.tg-sine-cta { display: inline-block; padding: 16px 34px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 17px; background: linear-gradient(90deg, #DDA225, #f0c040); box-shadow: 0 14px 30px -12px rgba(221,162,37,.7); transition: transform .2s; }
.tg-sine-cta:hover { transform: translateY(-2px); }
.tg-sine-cta:focus-visible { outline: 3px solid #0f172a; outline-offset: 3px; }
.tg-sine-not { position: absolute; left: 32px; bottom: 16px; font-size: 11px; color: #94a3b8; z-index: 7; }
.tg-sine-ilerleme { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 120px; height: 3px; border-radius: 3px; background: #e2e8f0; z-index: 7; overflow: hidden; }
.tg-sine-ilerleme span { display: block; height: 100%; width: 0; background: #DDA225; }

/* Tablet / telefon: yazı üstte, yalnız telefon */
@media (max-width: 900px) {
  .tg-sine { height: 480vh; }
  .tg-sine-sabit { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 76px 20px 30px; align-items: start; }
  .tg-sine-yazilar { height: 190px; }
  .tg-sine-yazi h3 { font-size: 26px; margin-bottom: 8px; } .tg-sine-yazi p { font-size: 15px; }
  .tg-sine-etiket { margin-bottom: 10px; }
  .tg-sine-sahne { height: auto; display: flex; justify-content: center; }
  .tg-laptop { display: none; }
  .tgs-tel { position: relative; right: auto; bottom: auto; width: min(200px, 50vw, 30vh); margin-top: 12px; }
  .tg-sine-acilis { padding-top: 12vh; }
  .tg-sine-not { left: 20px; }
  /* Altta sabit düğme çubuğu olan sayfada (tek-uygulama) sahne ondan yukarıda kalsın */
  .tg-sine--altcubuk .tg-sine-sabit { padding-bottom: 92px; }
  .tg-sine--altcubuk .tg-sine-not, .tg-sine--altcubuk .tg-sine-ilerleme { bottom: 84px; }
}

/* Hareketi azalt: sahne sabitlenmez, son durum gösterilir */
@media (prefers-reduced-motion: reduce) {
  .tg-sine { height: auto; }
  .tg-sine-sabit { position: relative; height: auto; min-height: 100vh; }
  .tg-sine-kaydir span { animation: none; }
}
