/* Yaşayan Zekâ — pitch demosu. Etkinlik Dili: gece mavisi zemin + altın/sarı ışık */
:root {
  --zemin: #060B22;
  --zemin-slayt: #0A1230;
  --zemin-kart: #101A42;
  --vurgu: #E3C77B;
  --sari: #FFD900;
  --metin: #F5F1E6;
  --metin-soluk: rgba(245, 241, 230, 0.55);
  --cizgi: rgba(227, 199, 123, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--zemin);
  color: var(--metin);
  font-family: "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- üst bant ---------- */
.topbar { padding: 14px 28px 8px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--vurgu); box-shadow: 0 0 12px var(--vurgu);
}
.topbar h1 { font-size: 1.02rem; font-weight: 600; letter-spacing: 0.05em; }
.mod-badge {
  margin-left: auto;
  font-size: 0.68rem; letter-spacing: 0.16em;
  color: var(--zemin); background: var(--vurgu);
  border-radius: 20px; padding: 3px 14px; font-weight: 700;
  transition: opacity 0.3s ease;
}
.mod-badge.gizli { opacity: 0; }

/* ---------- sahne düzeni ---------- */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 28px 0;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
}

/* ---------- SLAYT ALANI ---------- */
.slayt {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 58vh;
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 30% 110%, rgba(227, 199, 123, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 75% -10%, rgba(60, 90, 200, 0.16) 0%, transparent 60%),
    var(--zemin-slayt);
  border: 1px solid var(--cizgi);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.slayt .sayfa {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4% 7%;
  animation: sayfaGir 0.9s ease both;
}
@keyframes sayfaGir { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }

/* nöron ağı arkaplanı (inline SVG konteyneri) */
.slayt .ag {
  position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
}

.sayfa .ust-etiket {
  font-size: clamp(0.6rem, 1.1vw, 0.8rem);
  letter-spacing: 0.35em;
  color: var(--vurgu); margin-bottom: 2.2%;
}
.sayfa h2 {
  font-size: clamp(1.6rem, 4.2vw, 3.4rem);
  font-weight: 700; line-height: 1.15; letter-spacing: 0.02em;
}
.sayfa h2 .ince { font-weight: 300; }
.sayfa .alt-metin {
  margin-top: 2.4%;
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  color: var(--metin-soluk); max-width: 72%;
  line-height: 1.5;
}
.sayfa .sari { color: var(--sari); }
.sayfa .altin { color: var(--vurgu); }

/* kapak */
.sayfa.kapak h2 { letter-spacing: 0.06em; }
.sayfa.kapak .yil {
  margin-top: 1.4%;
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--vurgu); letter-spacing: 0.5em;
}

/* açılış anlatısı: zaman çizgisi */
.zaman {
  display: flex; align-items: center; gap: 3.2%;
  margin-top: 3%;
}
.zaman .nokta { text-align: center; }
.zaman .nokta .sene {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--vurgu);
}
.zaman .nokta .ne {
  font-size: clamp(0.65rem, 1.1vw, 0.85rem);
  color: var(--metin-soluk); margin-top: 6px; max-width: 150px;
}
.zaman .cizgi { width: clamp(30px, 6vw, 90px); height: 1px; background: var(--cizgi); }
.zaman .nokta.soru .sene { color: var(--sari); text-shadow: 0 0 24px rgba(255, 217, 0, 0.5); }

/* hedefler / listeler */
.uclu {
  display: flex; gap: 2.5%;
  margin-top: 3%; width: 100%; justify-content: center;
}
.uclu .kutu {
  flex: 0 1 30%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cizgi);
  border-radius: 12px;
  padding: 2.2% 1.8%;
}
.uclu .kutu .no {
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  color: var(--vurgu); font-weight: 700; margin-bottom: 8px;
}
.uclu .kutu .baslik { font-weight: 600; font-size: clamp(0.85rem, 1.5vw, 1.1rem); margin-bottom: 6px; }
.uclu .kutu .aciklama { font-size: clamp(0.7rem, 1.2vw, 0.9rem); color: var(--metin-soluk); line-height: 1.45; }

/* içgörü istatistikleri */
.istatistik { display: flex; gap: 6%; margin-top: 3%; }
.istatistik .kalem { text-align: center; }
.istatistik .deger { font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 700; color: var(--vurgu); }
.istatistik .etiket { font-size: clamp(0.65rem, 1.1vw, 0.85rem); color: var(--metin-soluk); margin-top: 4px; }

/* KONSEPT REVEAL */
.sayfa.reveal .on-cumle {
  font-size: clamp(0.95rem, 1.8vw, 1.3rem);
  color: var(--metin-soluk); font-style: italic;
  animation: belirsizGir 1.2s ease both;
}
.sayfa.reveal .konsept {
  margin-top: 2.5%;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 800; letter-spacing: 0.08em;
  color: var(--metin);
  text-shadow: 0 0 40px rgba(227, 199, 123, 0.35);
  opacity: 0;
  animation: revealGir 2.4s ease 6s both;
}
.sayfa.reveal .konsept-en {
  margin-top: 1%;
  font-size: clamp(0.9rem, 1.9vw, 1.4rem);
  letter-spacing: 0.45em;
  color: var(--vurgu);
  opacity: 0;
  animation: revealGir 2s ease 7.2s both;
}
@keyframes belirsizGir { from { opacity: 0; } to { opacity: 1; } }
@keyframes revealGir {
  0% { opacity: 0; letter-spacing: 0.3em; filter: blur(6px); }
  100% { opacity: 1; letter-spacing: 0.08em; filter: blur(0); }
}

/* perdeler (açılış şovu) */
.perdeler { display: flex; gap: 2%; width: 100%; justify-content: center; margin-top: 3%; }
.perdeler .perde {
  flex: 0 1 23%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cizgi);
  border-radius: 12px;
  padding: 2% 1.5%;
  text-align: left;
}
.perdeler .no { color: var(--vurgu); font-weight: 700; font-size: clamp(0.85rem, 1.6vw, 1.2rem); }
.perdeler .ad { font-weight: 600; margin: 4px 0 6px; font-size: clamp(0.85rem, 1.5vw, 1.05rem); }
.perdeler .tarif { font-size: clamp(0.65rem, 1.1vw, 0.85rem); color: var(--metin-soluk); line-height: 1.4; }

/* renk paleti (etkinlik dili) */
.palet { display: flex; gap: 3%; margin-top: 3%; align-items: center; }
.palet .renk { text-align: center; }
.palet .ornek {
  width: clamp(54px, 8vw, 96px); height: clamp(54px, 8vw, 96px);
  border-radius: 50%; margin: 0 auto 8px;
  border: 1px solid var(--cizgi);
}
.palet .adi { font-size: clamp(0.65rem, 1.1vw, 0.85rem); color: var(--metin-soluk); }

/* alan planı şeması */
.plan {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  width: 82%; margin-top: 3%;
  aspect-ratio: 16 / 6;
}
.plan .bolge {
  border: 1px solid var(--cizgi);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(0.62rem, 1.15vw, 0.9rem);
  color: var(--metin);
  background: rgba(255, 255, 255, 0.03);
  text-align: center; padding: 4px; line-height: 1.3;
}
.plan .ana { grid-row: 1 / 3; background: rgba(227, 199, 123, 0.10); border-color: var(--vurgu); font-weight: 600; }

/* program (final) */
.ikili { display: flex; gap: 3%; width: 88%; margin-top: 3%; }
.ikili .gun {
  flex: 1; text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cizgi); border-radius: 12px;
  padding: 2.2%;
}
.ikili .gun h3 { color: var(--vurgu); font-size: clamp(0.9rem, 1.7vw, 1.2rem); margin-bottom: 8px; }
.ikili .gun p { font-size: clamp(0.7rem, 1.2vw, 0.92rem); color: var(--metin-soluk); line-height: 1.55; }

/* ---------- SUNUCU RAYI (mini kartlar) ---------- */
.rail {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.card {
  display: flex; align-items: center; gap: 8px;
  background: var(--zemin-kart);
  border: 1px solid var(--cizgi);
  border-radius: 30px;
  padding: 5px 14px 5px 6px;
  opacity: 0.45;
  transition: all 0.25s ease;
}
.card.aktif {
  opacity: 1; border-color: var(--vurgu);
  box-shadow: 0 0 18px rgba(227, 199, 123, 0.35);
}
.card.tamam { opacity: 0.75; }
.avatar {
  position: relative;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(227, 199, 123, 0.14);
  border: 1px solid var(--cizgi);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem; font-weight: 700; color: var(--vurgu);
  flex-shrink: 0;
}
.card.aktif .avatar { background: rgba(227, 199, 123, 0.28); box-shadow: 0 0 10px rgba(227, 199, 123, 0.45); }
.card.tamam .avatar::after {
  content: "✓";
  position: absolute; right: -4px; bottom: -4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--vurgu); color: var(--zemin);
  font-size: 0.55rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.card .isim { font-size: 0.74rem; font-weight: 600; white-space: nowrap; display: flex; flex-direction: column; line-height: 1.15; }
.card .rol-mini { font-size: 0.56rem; font-weight: 400; color: var(--metin-soluk); }
.card .rozet {
  font-size: 0.55rem; letter-spacing: 0.08em; color: var(--vurgu);
  border: 1px solid var(--cizgi); border-radius: 14px; padding: 1px 7px;
}
.card .wave { display: block; width: 46px; height: 18px; }
.card:not(.aktif) .wave { display: none; }

/* ---------- transkript ---------- */
.transcript-band {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cizgi);
  border-radius: 10px;
  padding: 8px 16px;
  min-height: 44px; max-height: 74px;
  overflow-y: auto;
}
.transcript { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; }
.transcript .satir { line-height: 1.3; }
.transcript .kim {
  color: var(--vurgu); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.06em; margin-right: 8px;
}
.transcript .satir.kullanici .kim { color: #7bb3e3; }

/* ---------- kontroller ---------- */
.controls {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 10px 28px 16px;
}
.btn {
  background: transparent; color: var(--metin);
  border: 1px solid var(--cizgi); border-radius: 30px;
  padding: 8px 24px; font-size: 0.88rem; cursor: pointer;
  transition: all 0.2s ease;
}
.btn:hover:not(:disabled) { border-color: var(--vurgu); color: var(--vurgu); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn.primary { background: var(--vurgu); color: var(--zemin); border-color: var(--vurgu); font-weight: 600; }
.btn.primary:hover:not(:disabled) { box-shadow: 0 0 18px rgba(227, 199, 123, 0.5); color: var(--zemin); }
.btn.muted { border-color: #e37b7b; color: #e37b7b; }
/* Test aracı: sunumu atlayıp soru-cevaba geçer — kesik çerçeveyle işaretlenir */
.btn.test { border-style: dashed; opacity: 0.75; font-size: 0.85em; }
.btn.test:hover:not(:disabled) { opacity: 1; }
.status { color: var(--metin-soluk); font-size: 0.78rem; letter-spacing: 0.06em; }
