/* Aşağı kaydırdıkça beliren bölümler: bugünkü durum, kaydırmayla ilerleyen "tek bakışta" sahnesi, çıktılar. site.css'in üstüne yüklenir. */

/* noktalı zemin (koyu bölümler) */
.slider, .hikaye {
  background:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.3px) 0 0 / 24px 24px,
    radial-gradient(55% 75% at 88% 8%, rgba(139,92,246,.50), transparent 62%),
    radial-gradient(48% 70% at 6% 95%, rgba(79,142,247,.38), transparent 62%),
    radial-gradient(38% 50% at 96% 100%, rgba(236,72,153,.32), transparent 62%),
    var(--koyu);
}

/* küçük mono etiket */
.etiket { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 500 .75rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mor-yazi); }
.etiket::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.etiket-a { color: #FCD34D; }

/* kaydırınca belirme */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.gor { opacity: 1; transform: none; }

/* ===== bugünkü durum ===== */
.durum h2, .cikti-blok h2 { max-width: 24ch; }
.sorunlar { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sorun { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 16px; padding: 26px; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.s-ik { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #FFF1F2; margin-bottom: 16px; }
.s-ik svg { width: 24px; height: 24px; fill: none; stroke: #E11D48; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sorun h3 { font-size: 1.1rem; }
.sorun p { margin-top: 8px; color: var(--metin2); font-size: .975rem; line-height: 1.6; }
.sonuc { margin-top: 24px; display: flex; align-items: center; gap: 22px; padding: 22px 28px; border-radius: 16px; background: var(--koyu); color: #fff; box-shadow: 0 24px 40px -20px rgba(15,15,35,.55); }
.sonuc span { font: 500 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #9AA0C2; }
.sonuc p { font-weight: 600; font-size: 1.15rem; }

/* ===== tek bakışta: kaydırmayla ilerleyen sahne ===== */
.hikaye { position: relative; height: 380vh; color: #fff; }
.yapis { position: sticky; top: 68px; height: calc(100vh - 68px); display: flex; align-items: center; }
.yapis-ic { display: grid; grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sol2 h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 24px; max-width: 16ch; }
.adimlar { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.adim { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); opacity: .42; transition: opacity .35s; cursor: pointer; }
.adim.aktif { opacity: 1; }
.adim .no { font: 500 .72rem var(--mono); color: #FCD34D; padding-top: 6px; }
.adim h3 { color: #fff; font-size: 1.1rem; }
.adim p { color: #C9CEE6; font-size: .93rem; line-height: 1.55; margin-top: 4px; }
.ilerleme { height: 3px; margin-top: 22px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.ilerleme i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #FCD34D, #EC4899); }

.sahne2 { position: relative; container-type: inline-size; aspect-ratio: 100 / 84; width: min(100%, calc((100vh - 150px) * 100 / 84)); margin-inline: auto; }
.egriler { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.giris path, .cikis path { fill: none; stroke: #C4B5FD; stroke-width: .42; stroke-linecap: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 1.1s ease; }
.cikis path { stroke: #F9A8D4; transition-delay: .2s; }
.noktalar2 circle { fill: #FCD34D; opacity: 0; transition: opacity .6s .6s; }
.sahne2[data-adim="1"] .giris path, .sahne2[data-adim="2"] .giris path, .sahne2[data-adim="3"] .giris path { stroke-dashoffset: 0; }
.sahne2[data-adim="1"] .noktalar2 circle, .sahne2[data-adim="2"] .noktalar2 circle, .sahne2[data-adim="3"] .noktalar2 circle { opacity: 1; }
.sahne2[data-adim="3"] .cikis path { stroke-dashoffset: 0; }

/* renkli simge karoları */
.c1 { background: linear-gradient(135deg, #4F8EF7, #8B5CF6); } .c2 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.c3 { background: linear-gradient(135deg, #10B981, #0EA5E9); } .c4 { background: linear-gradient(135deg, #F59E0B, #EC4899); }
.c5 { background: linear-gradient(135deg, #F43F5E, #EC4899); } .c6 { background: linear-gradient(135deg, #0EA5E9, #4F8EF7); }
.c7 { background: linear-gradient(135deg, #10B981, #22C55E); } .c8 { background: linear-gradient(135deg, #4F8EF7, #6366F1); }
.c9 { background: linear-gradient(135deg, #8B5CF6, #4F8EF7); } .c10 { background: linear-gradient(135deg, #EC4899, #8B5CF6); }
.kaynaklar i, .ciktilar i, .grup i { display: grid; place-items: center; flex: none; border-radius: 50%; }
.kaynaklar svg, .ciktilar svg, .grup svg { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.kaynaklar { list-style: none; margin: 0; padding: 0; }
.kaynaklar li { position: absolute; left: 0; top: var(--y); width: 29%; height: 8%; display: flex; align-items: center; gap: 1.2cqw; padding: 0 1.6cqw 0 .8cqw; background: #fff; color: var(--murekkep); border-radius: 999px; font-weight: 600; font-size: 2.1cqw; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.55); opacity: 0; transform: translateX(-3cqw); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * 80ms); }
.sahne2.on .kaynaklar li { opacity: 1; transform: none; }
.kaynaklar i { width: 5.4cqw; height: 5.4cqw; }
.kaynaklar svg { width: 3cqw; height: 3cqw; }

.pmock { position: absolute; left: 42%; top: 3%; width: 58%; height: 66%; container-type: inline-size; display: flex; flex-direction: column; gap: 2cqw; padding: 3cqw; background: #fff; color: var(--murekkep); border-radius: 3.4cqw;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); transform: perspective(900px) rotateY(-9deg) rotateX(3deg); opacity: .22; transition: opacity .7s ease, transform .7s ease; }
.sahne2[data-adim="2"] .pmock, .sahne2[data-adim="3"] .pmock { opacity: 1; transform: perspective(900px) rotateY(-4deg) rotateX(1deg); }
.pm-bas { display: flex; align-items: center; gap: 1.6cqw; font-size: max(11px, 3.3cqw); }
.pm-bas img { width: 7cqw; height: auto; }
.pm-ornek { margin-left: auto; font-size: max(9px, 2.3cqw); color: var(--metin2); background: var(--zemin); padding: .5cqw 1.8cqw; border-radius: 999px; }
.pm-izgara { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2cqw; min-height: 0; }
.w { position: relative; background: var(--yuzey2); border: 1px solid var(--cizgi); border-radius: 2.2cqw; padding: 2cqw 2.4cqw; overflow: hidden; min-height: 0; }
.w small { display: block; font-size: max(9px, 2.5cqw); color: var(--metin2); }
.w b.m { font-size: max(14px, 6cqw); line-height: 1.1; }
.w em { font-style: normal; font-size: max(9px, 2.8cqw); color: var(--metin2); margin-left: .5cqw; }
.w-deger svg, .w-nem svg { width: 100%; height: 22%; min-height: 12px; margin-top: 1cqw; fill: none; stroke: var(--mor); stroke-width: 2; vector-effect: non-scaling-stroke; }
.w-deger path, .w-nem path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.w-nem svg { stroke: var(--mavi); }
.w-harita { padding: 0; }
.w-harita small { position: absolute; left: 2cqw; top: 1.6cqw; z-index: 1; background: rgba(255,255,255,.85); padding: 0 1.2cqw; border-radius: 6px; }
.w-harita svg { width: 100%; height: 100%; }
.w-alarm { list-style: none; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.6cqw; }
.w-alarm li { display: flex; align-items: center; gap: 1.4cqw; font-size: max(9px, 2.4cqw); font-weight: 500; white-space: nowrap; }
.w-alarm i { width: 2.2cqw; height: 2.2cqw; min-width: 7px; min-height: 7px; border-radius: 50%; }
.w-alarm .k i { background: #F43F5E; box-shadow: 0 0 0 .8cqw rgba(244,63,94,.2); } .w-alarm .s i { background: #F59E0B; } .w-alarm .y i { background: #10B981; }
.pm-bildirim { position: absolute; left: -9cqw; bottom: -4cqw; display: flex; align-items: center; gap: 2cqw; padding: 2cqw 3cqw; background: #fff; border-radius: 3cqw; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); font-size: max(10px, 2.6cqw); line-height: 1.3; opacity: 0; transform: translateY(3cqw); transition: opacity .5s .5s, transform .5s .5s; }
.pm-bildirim i { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 50%; background: linear-gradient(135deg, #F43F5E, #EC4899); }
.pm-bildirim svg { width: 3.4cqw; height: 3.4cqw; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pm-bildirim b { display: block; } .pm-bildirim span { color: var(--metin2); }
.sahne2[data-adim="2"] .pm-bildirim, .sahne2[data-adim="3"] .pm-bildirim { opacity: 1; transform: none; }

.ciktilar { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 76%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.2cqw 1.6cqw; }
.ciktilar li { display: flex; align-items: center; gap: 1cqw; padding: .7cqw 1.2cqw .7cqw .7cqw; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); border-radius: 999px; color: #fff; font-weight: 600; font-size: 1.85cqw; white-space: nowrap;
  opacity: 0; transform: translateY(2cqw); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * 70ms); }
.sahne2[data-adim="3"] .ciktilar li { opacity: 1; transform: none; }
.ciktilar i { width: 4.6cqw; height: 4.6cqw; }
.ciktilar svg { width: 2.6cqw; height: 2.6cqw; }

/* ===== çıktılar ===== */
.cikti-blok { background: #fff; }
.cikti-blok .lead { max-width: 62ch; }
.gruplar { margin-top: 40px; display: grid; grid-template-columns: 1.15fr 1.15fr .9fr; gap: 20px; }
.grup { background: var(--zemin); border: 1px solid var(--cizgi); border-radius: 16px; padding: 24px; }
.grup h3 { font-size: 1.05rem; margin-bottom: 14px; }
.grup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.grup li { display: flex; gap: 14px; align-items: flex-start; }
.grup i { width: 40px; height: 40px; }
.grup svg { width: 22px; height: 22px; }
.grup b { display: block; font-weight: 600; line-height: 1.3; }
.grup span { display: block; color: var(--metin2); font-size: .93rem; line-height: 1.5; }
.grup .not { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--cizgi2); color: var(--metin2); font-size: .9rem; }
.iletisim { background: #fff; }
.iletisim .ilet li { background: var(--zemin); }

/* ===== dar ekran / hareket azaltma: sahne sabitlenmez, her şey görünür ===== */
@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  .hikaye { height: auto; padding: clamp(48px, 8vw, 88px) 0; }
  .yapis { position: static; height: auto; }
  .yapis-ic { grid-template-columns: 1fr; gap: 32px; }
  .adim { opacity: 1; cursor: default; }
  .ilerleme { display: none; }
  .sahne2 { container-type: normal; aspect-ratio: auto; width: 100%; display: grid; gap: 22px; }
  .egriler { display: none; }
  .kaynaklar, .ciktilar { position: static; display: flex; flex-wrap: wrap; gap: 10px; }
  .kaynaklar li, .ciktilar li { position: static; width: auto; height: auto; opacity: 1; transform: none; font-size: .95rem; gap: 10px; padding: 6px 16px 6px 6px; }
  .kaynaklar i, .ciktilar i { width: 34px; height: 34px; } .kaynaklar svg, .ciktilar svg { width: 19px; height: 19px; }
  .pmock { position: relative; left: auto; top: auto; width: 100%; height: auto; opacity: 1; transform: none; padding: 16px; gap: 12px; border-radius: 18px; }
  .pm-izgara { grid-template-rows: auto; }
  .w { min-height: 92px; padding: 12px 14px; border-radius: 12px; }
  .w-harita { min-height: 110px; }
  .pm-bildirim { position: static; opacity: 1; transform: none; box-shadow: none; background: var(--yuzey2); border: 1px solid var(--cizgi); padding: 10px 14px; gap: 12px; border-radius: 14px; }
  .pm-bildirim i { width: 34px; height: 34px; } .pm-bildirim svg { width: 19px; height: 19px; }
  .pm-bas { font-size: 15px; } .pm-bas img { width: 34px; }
  .sorunlar, .gruplar { grid-template-columns: 1fr; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .sorunlar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gruplar { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .noktalar2 { display: none; }
}
