/* ══ KAHRAMAN: İLAN → HAT → DANIŞMAN (15 Kasım 2026) ════════════════════════
   Yalnız index.html yükler, en SON yüklenir (styles, demo, tema'yı ezer).
   Her kural `#home` ya da `#demo-video` altında: restoran sayfası aynı
   demo.js/demo.css'i kullanıyor ve o sayfaya dokunulmuyor.

   İSKELET (Güney seçti): başlık üstte, altında tam genişlikte üç duraklı bir
   şerit. Ziyaretçinin her gün gördüğü bir ilan kartı → NeuraWeb'in açtığı
   çağrı → danışmanın telefonuna düşen bildirim. Emlakçı kendi işini tanır;
   "yapay zekâ" ekranı yerine işin kendisi görünür.

   21st.dev kalıpları (kod kopyalanmadı, hepsi React; burada düz CSS/JS):
   - İlan kartı: "Property Preview Card" (shadcnspace) — görsel, rozet,
     adres, oda/m²/kat satırı.
   - Hat: "Transcript" (aadixc0de) — zaman · konuşan · söz, konuşulan satır
     vurgulu; "Waveform" (aadixc0de) — kayıttan tepeler, dinlenen kısım
     mürekkep rengi.
   - Bağlantı: "Animated Beam" fikri, ışıltısız: kesik çizgi, aşama
     gelince düzleşir ve üstünden tek bir nokta geçer.
   - Telefon: iPhone mockup kalıplarının sade hâli, kilit ekranı + bildirim.

   Renkler tema.css paletinden: krem #F6EFE3/#F1E8D8/#EADFCB, kâğıt #FFFAF2,
   kenar #E3D6C0/#C9B796, kahve #7A4B2A, tarçın #8F4A1A, koyu mavi #22445C,
   metin #2B2219, silik #6B5C48/#A08D70. */

/* ── Başlık bloğu ─────────────────────────────────────────────────────── */
#home.hero--akis {
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: 56px;
  margin-top: 56px;
}
/* İlk açılışta alttaki bölüm görünmesin (Güney, 15 Kasım 2026; telefon ve
   tablet dahil). Şerit kapalıyken kahraman en az bir ekran boyu: menünün
   altından ekranın dibine kadar. Başlık üstte, giriş bağlantısı ve kablo
   dipte (ortadaki satır esniyor). --hero-ust: kahramanın sayfanın en
   üstünden uzaklığı (menü + sayfa kabının payı + kendi payı), hero-akis.js
   ölçüp yazıyor; elle toplamak 90 px'lik kab payını kaçırdı. svh: telefonda
   adres çubuğu açıkken de taşmasın. */
#home.hero--akis:has(.akis-ac:not([hidden])) {
  margin-top: 28px;
  gap: 36px;
  min-height: calc(100svh - var(--hero-ust, 120px));
  grid-template-rows: auto 1fr auto;
}
#home.hero--akis:has(.akis-ac:not([hidden])) .akis-ac { align-self: end; }
/* Masaüstünde giriş bağlantısı ve kablo dipte değil, başlığın altında kalan
   boşluğun ORTASINDA (Güney, 15 Kasım 2026: "neden aşağı kaydırdın"). Esnek
   sütun: bağlantının üstüne ve kablonun altına eşit otomatik pay. Telefon ve
   tablette dipte kalıyor (orada başlık ekranın çoğunu kaplıyor). */
@media (min-width: 961px) {
  #home.hero--akis:has(.akis-ac:not([hidden])) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  #home.hero--akis:has(.akis-ac:not([hidden])) .akis-ac { align-self: center; margin-top: auto; }
  #home.hero--akis:has(.akis-ac:not([hidden])) .kablo { align-self: center; margin-bottom: auto; }
}

#home.hero--akis::before {
  background: radial-gradient(closest-side at 50% 70%, rgba(233,201,160,0.30), transparent 75%);
}

#home .hero-text {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px 64px;
  align-items: end;
  text-align: left;
}
#home .hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8F4A1A;
}
#home .hero-kicker::before { content: ''; width: 32px; height: 1px; background: #8F4A1A; }
#home h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
#home .hero-accent { background: none; -webkit-text-fill-color: currentColor; color: #8F4A1A; }
/* Başlığın altındaki el çizgisi kaldırıldı (Güney, 15 Kasım 2026). */
#home .hero-underline { display: none; }
#home .hero-sub { margin: 0 0 24px; max-width: 44ch; }
#home .hero-cta-row { justify-content: flex-start; align-self: auto; }

/* ── "Test simülasyonumuza girin" (15 Kasım 2026, üçüncü hâl) ────────────
   Güney yedi seçenek arasından 1'i seçti: düğme değil, yazı bağlantısı.
   Kaynak kalıp 21st.dev "Directional text button" (ibrandify): serif yazı,
   altında kısa bir çizgi, üzerine gelince çizgi yazının sonuna kadar uzar,
   çapraz ok kayar. Güney'in eki: üzerine gelince sağda bir telefon çalar
   (ok solar, yerine sallanan ahize ve iki ses halkası gelir).
   Denenip bırakılanlar: yuvarlak hap; tuş gibi tabanlı kahve düğme
   ("Tactile 3D Button") — ikisi de "yapay zekâ ürünü" bulundu. */
#home .akis-ac {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 2px 8px;
  border: 0;
  background: none;
  color: #22445C;
  font: inherit;
  cursor: pointer;
  position: relative;
}
#home .akis-ac[hidden] { display: none; }
#home .akis-ac-metin {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  /* Çizgi: başta yazının üçte biri, üzerine gelince tamamı. */
  background: linear-gradient(#7A4B2A, #7A4B2A) left bottom / 32% 1.5px no-repeat;
  padding-bottom: 6px;
  transition: background-size 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}
#home .akis-ac:is(:hover, :focus-visible) .akis-ac-metin { background-size: 100% 1.5px; color: #2B2219; }
#home .akis-ac:focus-visible { outline: 2px solid #7A4B2A; outline-offset: 6px; border-radius: 4px; }

/* Sağdaki yuva: ok ile telefon aynı yerde üst üste. */
#home .akis-ac-yan {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: #7A4B2A;
}
#home .akis-ac-yan > * { grid-area: 1 / 1; }
#home .akis-ac-ok {
  width: 24px; height: 24px;
  transition: opacity 0.2s ease, transform 0.35s ease;
}
/* Eski tip masa telefonu (Güney: "eski tip titreyen telefon"). Kaynak:
   21st.dev "Rotary Passcode" (aakashmehra) — çalınca zili titreyen, ahizesi
   beşiğinde zıplayan çevirmeli telefon. Bileşenin kendisi büyük (çevirme,
   ses, kilit); yalnız çalma hareketi alındı, telefon küçük bir SVG. */
#home .akis-ac-tel {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  color: #7A4B2A;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1);
}
#home .akis-ac-tel svg { width: 46px; height: 46px; overflow: visible; }
#home .akis-ac-tel .eski-govde,
#home .akis-ac-tel .eski-ahize { transform-box: fill-box; transform-origin: 50% 100%; }
#home .akis-ac-tel .eski-cizgi { opacity: 0; }
#home .akis-ac:is(:hover, :focus-visible) .akis-ac-ok { opacity: 0; transform: translate(6px, 6px); }
#home .akis-ac:is(:hover, :focus-visible) .akis-ac-tel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  #home .akis-ac:is(:hover, :focus-visible) .eski-govde { animation: eski-titre 1.2s linear infinite; }
  #home .akis-ac:is(:hover, :focus-visible) .eski-ahize { animation: eski-zipla 1.2s linear infinite; }
  #home .akis-ac:is(:hover, :focus-visible) .eski-cizgi { animation: eski-cizgi 1.2s linear infinite; }
  #home .akis-ac.is-geri { animation: akis-gir 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
}
/* Zil: yarım saniye hızlı titreşim, sonra sessizlik. Gövde sağa sola
   sallanır, ahize beşiğinde zıplar, iki yanda zil çizgileri yanar. */
@keyframes eski-titre {
  0%, 45%, 100% { transform: none; }
  5%  { transform: translateX(-1px) rotate(-5deg); }
  10% { transform: translateX(1px) rotate(5deg); }
  15% { transform: translateX(-1px) rotate(-5deg); }
  20% { transform: translateX(1px) rotate(5deg); }
  25% { transform: translateX(-1px) rotate(-4deg); }
  30% { transform: translateX(1px) rotate(4deg); }
  35% { transform: translateX(-1px) rotate(-3deg); }
  40% { transform: translateX(1px) rotate(2deg); }
}
@keyframes eski-zipla {
  0%, 45%, 100% { transform: none; }
  5%, 15%, 25%, 35% { transform: translateY(-3px) rotate(-6deg); }
  10%, 20%, 30%, 40% { transform: translateY(-1px) rotate(5deg); }
}
@keyframes eski-cizgi {
  0%, 45%, 100% { opacity: 0; }
  5%, 15%, 25%, 35% { opacity: 1; }
  10%, 20%, 30%, 40% { opacity: 0.35; }
}

/* ── Telefon kablosu (15 Kasım 2026, Güney seçti) ──────────────────────
   "Test simülasyonumuza girin" ile alttaki bölüm arasındaki boşlukta,
   iki ucunda nokta olan kıvrımlı bir telefon kablosu. Güney'e gösterilen
   5. önizlemenin BİREBİR aynısı (aynı yol, aynı 600×170 çerçeve, aynı
   2,2 px kahve çizgi, aynı 2,6 sn çizim ve 4,8 sn döngü). İlk uygulama
   (telefona hizalı, kaydırdıkça çizilen yaylı kablo) beğenilmedi.
   Kaynak: 21st.dev "Line Draw SVG" (pulkitxm). Döngü yalnız kablo
   görünür alandayken döner (hero-akis.js). */
#home .kablo {
  width: min(600px, 100%);
  justify-self: center;
  margin-top: -36px;
  pointer-events: none;
}
#home .akis-ac[hidden] + .kablo { display: none; }
/* Boşluk (Güney: "çok fazla"): kablo görünürken (şerit kapalı) alttaki
   bölümün 140 px'lik üst payı 48 px'e iner; ölçüm 1280 px'te bağlantı →
   kablo 40 px, kablo → "Fark" 140 px idi. Şerit açıkken eski pay kalır. */
#home:has(.akis-ac:not([hidden])) + section { margin-top: 48px; }
#home .kablo svg { display: block; width: 100%; height: auto; }
#home .kablo-yol {
  fill: none;
  stroke: #7A4B2A;
  stroke-width: 2.2;
  stroke-linecap: round;
}
#home .kablo-uc { fill: #7A4B2A; }

/* ── Simülasyonun üst çubuğu: başlık + çıkış ─────────────────────────── */
#demo-video .akis-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #C9B796;
}
#demo-video .akis-ust-baslik {
  margin: 0;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8F4A1A;
}
#demo-video .akis-ust-baslik span { width: 28px; height: 1px; background: #8F4A1A; }
#demo-video .akis-kapat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px;
  border: 1px solid #C9B796;
  border-radius: 10px;
  background: #FFFAF2;
  color: #2B2219;
  font: inherit; font-size: 0.86rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 0 #E3D6C0;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.2s ease;
}
#demo-video .akis-kapat svg { width: 15px; height: 15px; color: #7A4B2A; }
#demo-video .akis-kapat:hover { border-color: #7A4B2A; }
#demo-video .akis-kapat:active { transform: translateY(3px); box-shadow: 0 0 0 #E3D6C0; }
#demo-video .akis-kapat:focus-visible { outline: 2px solid #7A4B2A; outline-offset: 3px; }

/* Açılış: üst çubuk, sonra duraklar tek tek, aralarında belirgin ara
   (Güney: "biraz daha aralıklı"). Önce 0,12 sn idi, şimdi 0,45 sn; bağlantı
   çizgileri durağından sonra. Her açılışta yeniden oynar (hero-akis.js). */
#demo-video[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  #demo-video.is-aciliyor .akis-ust { animation: akis-gir 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  #demo-video.is-aciliyor .akis-adim { animation: akis-gir 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  #demo-video.is-aciliyor .akis-adim:nth-child(1) { animation-delay: 0.25s; }
  #demo-video.is-aciliyor .akis-adim:nth-child(2) { animation-delay: 0.7s; }
  #demo-video.is-aciliyor .akis-adim:nth-child(3) { animation-delay: 1.15s; }
  #demo-video.is-aciliyor figcaption { animation: akis-gir 0.6s ease both 1.5s; }
}
@keyframes akis-gir { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ── Çerçeveyi sıfırla: demo.css/tema.css'in koyu ekranı burada yok ────── */
#demo-video {
  max-width: none;
  width: 100%;
  justify-self: stretch;
}
#demo-video .demo-ekran {
  aspect-ratio: auto;
  max-height: none;
  display: block;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #2B2219;
  font-size: 0.9rem;
}
#demo-video figcaption { margin-top: 26px; text-align: center; color: #6B5C48; }

/* ── Şerit ve duraklar ────────────────────────────────────────────────── */
#demo-video .akis-serit {
  --ara: 56px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.32fr) minmax(0, 0.76fr);
  gap: var(--ara);
  align-items: center;
}
#demo-video .akis-adim {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
#demo-video .akis-etiket {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A08D70;
  transition: color 0.3s ease;
}
#demo-video .akis-etiket span {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid #C9B796;
  font-size: 0.68rem;
  letter-spacing: 0;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* Etkin durak: etiket tarçın, numara dolu. Yalnız bu; kartlar sönmüyor. */
#demo-video:is([data-asama="ilan"], [data-asama="caliyor"]) .akis-ilan .akis-etiket,
#demo-video[data-asama="hat"] .akis-hat .akis-etiket,
#demo-video[data-asama="danisman"] .akis-danisman .akis-etiket { color: #8F4A1A; }
#demo-video:is([data-asama="ilan"], [data-asama="caliyor"]) .akis-ilan .akis-etiket span,
#demo-video[data-asama="hat"] .akis-hat .akis-etiket span,
#demo-video[data-asama="danisman"] .akis-danisman .akis-etiket span {
  background: #7A4B2A; border-color: #7A4B2A; color: #FFF8EE;
}

/* Bağlantı: duraklar arasındaki boşlukta kesik çizgi. Talep o durağa
   ulaşınca çizgi kahveye döner ve üstünden bir nokta bir kez geçer. */
#demo-video .akis-hat::before,
#demo-video .akis-danisman::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(var(--ara) * -1 + 8px);
  width: calc(var(--ara) - 16px);
  border-top: 1.5px dashed #C9B796;
  transition: border-color 0.4s ease;
}
#demo-video .akis-hat::after,
#demo-video .akis-danisman::after {
  content: '';
  position: absolute;
  top: calc(50% - 3.5px);
  left: calc(var(--ara) * -1 + 8px);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7A4B2A;
  opacity: 0;
}
#demo-video:is([data-asama="caliyor"], [data-asama="hat"], [data-asama="danisman"]) .akis-hat::before,
#demo-video[data-asama="danisman"] .akis-danisman::before { border-top-style: solid; border-color: #7A4B2A; }
#demo-video:is([data-asama="caliyor"], [data-asama="hat"]) .akis-hat::after,
#demo-video[data-asama="danisman"] .akis-danisman::after { animation: akis-yol 0.9s ease-out forwards; }
@keyframes akis-yol {
  0%   { opacity: 0; transform: translateX(0); }
  15%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(calc(var(--ara) - 24px)); }
}

/* ── 1. İlan kartı ────────────────────────────────────────────────────── */
#demo-video .ilan-kart {
  background: #FFFDF9;
  border: 1px solid #E3D6C0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(43,34,25,0.45);
}
#demo-video .ilan-gorsel { position: relative; height: 150px; }
#demo-video .ilan-gorsel svg { display: block; width: 100%; height: 100%; }
#demo-video .ilan-rozet {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #FFFAF2;
  color: #7A4B2A;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
#demo-video .ilan-saat {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(27,53,73,0.72);
  color: #F1E8D8;
  font-size: 0.7rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
#demo-video .ilan-govde { padding: 14px 16px 16px; }
#demo-video .ilan-baslik {
  margin: 0 0 2px;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #22445C;
}
#demo-video .ilan-yer { margin: 0; font-size: 0.82rem; color: #6B5C48; }
#demo-video .ilan-ozellik {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
#demo-video .ilan-ozellik li { display: flex; flex-direction: column; padding: 0 10px; border-left: 1px solid #EADFCB; }
#demo-video .ilan-ozellik li:first-child { padding-left: 0; border-left: 0; }
#demo-video .ilan-ozellik b { font-size: 0.92rem; color: #2B2219; }
#demo-video .ilan-ozellik span { font-size: 0.7rem; color: #A08D70; }
#demo-video .ilan-danisman {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed #E3D6C0;
}
#demo-video .ilan-avatar {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #EADFCB; color: #7A4B2A;
  font-size: 0.75rem; font-weight: 700;
}
#demo-video .ilan-kisi b { display: block; font-size: 0.86rem; color: #2B2219; }
#demo-video .ilan-kisi small { font-size: 0.72rem; color: #A08D70; }

/* "Ara" düğmesi = demo.js'in oynat düğmesi. Üstüne binen katman değil, ilanın
   kendi düğmesi. Yazıyı aşamaya göre CSS koyuyor (demo.js'in yazısı gizli). */
#demo-video .demo-ort-oynat,
#demo-video .demo-ekran.is-oynuyor .demo-ort-oynat {
  position: static;
  inset: auto;
  z-index: auto;
  width: 100%;
  margin-top: 14px;
  padding: 11px 14px;
  flex-direction: row;
  gap: 9px;
  border: 1.5px solid #7A4B2A;
  border-radius: 10px;
  background: #7A4B2A;
  backdrop-filter: none;
  color: #FFF8EE;
  font-weight: 700;
  font-size: 0.92rem;
  opacity: 1;
  visibility: visible;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#demo-video .demo-ort-oynat:hover { background: #5E391F; border-color: #5E391F; }
#demo-video .demo-ort-simge {
  width: auto; height: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  color: inherit;
}
#demo-video .demo-ort-simge svg { width: 17px; height: 17px; display: block; }
#demo-video .demo-ort-metin { display: none; }
#demo-video .demo-ort-oynat::after { content: 'Ara'; }
#demo-video[data-asama="caliyor"] .demo-ort-oynat::after { content: 'Çalıyor…'; }
#demo-video[data-asama="caliyor"] .demo-ort-simge { animation: akis-cal 0.5s ease-in-out infinite; }
#demo-video.is-oynuyor:is([data-asama="hat"], [data-asama="danisman"]) .demo-ort-oynat {
  background: transparent; color: #7A4B2A;
}
#demo-video.is-oynuyor:is([data-asama="hat"], [data-asama="danisman"]) .demo-ort-oynat::after { content: 'Görüşmede · duraklat'; }
#demo-video:not(.is-oynuyor):not(.is-bitti):is([data-asama="hat"], [data-asama="danisman"]) .demo-ort-oynat::after { content: 'Devam et'; }
#demo-video.is-bitti .demo-ort-oynat::after { content: 'Yeniden dinle'; }
@keyframes akis-cal { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }

/* ── 2. Hat ───────────────────────────────────────────────────────────── */
#demo-video .hat-kart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
  background: #FFFAF2;
  border: 1px solid #E3D6C0;
  border-radius: 16px;
  box-shadow: 0 30px 60px -36px rgba(43,34,25,0.5);
}
#demo-video .demo-baslik {
  padding: 0 0 10px;
  background: none;
  border-bottom: 1px solid #EADFCB;
}
#demo-video .demo-nokta { background: #C9B796; }
#demo-video .demo-nokta.is-caliyor { background: #8F4A1A; }
#demo-video .demo-nokta.is-acik { background: #3F7A5A; }
#demo-video .demo-durum { color: #2B2219; }
#demo-video .demo-kunye { color: #6B5C48; }
#demo-video .demo-akis { background: #F1E8D8; color: #7A4B2A; }

/* Döküm: konuşulan satır dolu, geçenler orta, gelecekler soluk. */
#demo-video .hat-metin {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 12.5em;
  overflow-y: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
#demo-video .hat-metin::-webkit-scrollbar { display: none; }
#demo-video .hat-satir button {
  display: grid;
  grid-template-columns: 2.4em 4.8em minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
#demo-video .hat-satir button:hover { opacity: 0.85; }
#demo-video .hat-satir.is-gecti button { opacity: 0.7; }
#demo-video .hat-satir.is-simdi button { opacity: 1; background: #F1E8D8; }
#demo-video .hat-an {
  padding-top: 0.25em;
  font-size: 0.72em;
  color: #A08D70;
  font-variant-numeric: tabular-nums;
}
#demo-video .hat-kim {
  padding-top: 0.3em;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7A4B2A;
}
#demo-video .hat-satir--musteri .hat-kim { color: #22445C; }
#demo-video .hat-soz { font-size: 0.92em; line-height: 1.45; color: #2B2219; }
#demo-video .hat-satir.is-simdi .hat-soz { font-weight: 600; }

/* Oynatıcı: düğme · dalga · süre. Şerit dalganın üstünde görünmez durur;
   sürükleme ve klavye onun, görünüş dalganın. */
#demo-video .demo-bar {
  position: static;
  padding: 0;
  background: none;
  gap: 12px;
}
#demo-video .demo-oynat { background: #7A4B2A; color: #FFF8EE; }
#demo-video .demo-saat { color: #6B5C48; }
#demo-video .hat-oynatici { position: relative; flex: 1; min-width: 0; height: 34px; }
#demo-video .hat-dalga { display: flex; align-items: center; gap: 2px; height: 100%; }
#demo-video .hat-dalga span {
  flex: 1;
  height: calc(var(--y) * 100%);
  min-height: 2px;
  border-radius: 2px;
  background: #E3D6C0;
  transition: background-color 0.2s ease;
}
#demo-video .hat-dalga span.is-dolu { background: #7A4B2A; }
#demo-video .hat-oynatici .demo-serit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
#demo-video .hat-oynatici:has(.demo-serit:focus-visible) {
  outline: 2px solid #7A4B2A;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Alınan bilgiler: altı küçük kutu, değer gelince mürekkep mavisi. */
#demo-video .demo-yakalanan {
  padding-top: 12px;
  border: 0;
  border-top: 1px dashed #E3D6C0;
  border-radius: 0;
  background: none;
  overflow: visible;
}
#demo-video .demo-yakalanan-baslik {
  padding: 0 0 8px;
  border: 0;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A08D70;
}
#demo-video .demo-sayac { color: #A08D70; }
#demo-video .demo-alanlar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
#demo-video .demo-alan {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #F6EFE3;
  transition: background-color 1s ease;
}
#demo-video .demo-alan.is-yeni { background: #EADFCB; transition-duration: 0.1s; }
#demo-video .demo-alan-etiket {
  font-size: 0.64em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A08D70;
}
#demo-video .demo-alan-deger {
  margin-left: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.92em;
  font-weight: 600;
  color: #C9B796;
}
#demo-video .demo-alan.is-dolu .demo-alan-deger { color: #22445C; }
#demo-video .demo-alan-kaynak { display: none; }

/* demo.js'in tek satırlık altyazısı: ekranda yok, ekran okuyucuda var. */
#demo-video .demo-cagri {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── 3. Danışmanın telefonu ───────────────────────────────────────────── */
#demo-video .telefon {
  width: min(100%, 236px);
  margin-inline: auto;
  aspect-ratio: 236 / 484;
  padding: 9px;
  border-radius: 40px;
  background: #2B2219;
  box-shadow:
    inset 0 0 0 1.5px #4A3B2C,
    0 34px 60px -30px rgba(43,34,25,0.6);
}
#demo-video .telefon-ekran {
  position: relative;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(172deg, #1B3549 0%, #2D5674 55%, #6B5C48 100%);
  color: #FFF8EE;
}
#demo-video .telefon-ada {
  position: absolute; z-index: 6;
  top: 9px; left: 50%;
  width: 72px; height: 20px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #120D08;
}
#demo-video .telefon-kilit {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 62px;
  gap: 2px;
}
#demo-video .telefon-saat {
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
#demo-video .telefon-not { font-size: 0.74rem; opacity: 0.75; }

/* Uygulama ekranı: talep oluşunca danışmanın listesi. */
#demo-video .demo-panel {
  position: absolute; inset: 0; z-index: 2;
  padding: 108px 12px 14px;
  gap: 8px;
  background: #F6EFE3;
  color: #2B2219;
  font-size: 0.78rem;
}
#demo-video .demo-panel-bar { border-bottom-color: #E3D6C0; padding-bottom: 6px; }
#demo-video .demo-panel-bar strong { color: #22445C; font-size: 1.05em; }
#demo-video .demo-panel-bar span { color: #6B5C48; }
#demo-video .demo-tablo { font-size: 0.95em; }
#demo-video .demo-tablo th { padding: 4px 4px; color: #A08D70; border-bottom-color: #E3D6C0; }
#demo-video .demo-tablo td { padding: 6px 4px; color: #2B2219; border-bottom-color: #EADFCB; vertical-align: top; }
#demo-video .demo-tablo td small { display: block; font-size: 0.85em; color: #A08D70; }
/* Dar telefon sütununda ada yapışıp taşıyordu; rozet adın altına iniyor. */
#demo-video .demo-yeni-rozet { display: block; width: fit-content; margin: 2px 0 0; background: #7A4B2A; color: #FFF8EE; }
#demo-video .demo-panel-not { margin-top: auto; font-size: 0.9em; color: #6B5C48; }
@keyframes akis-satir {
  0%   { background: rgba(233,201,160,0.85); opacity: 0 }
  12%  { background: rgba(233,201,160,0.85); opacity: 1 }
  100% { background: transparent; opacity: 1 }
}
#demo-video .demo-yeni-satir.is-acik { animation-name: akis-satir; }

/* Bildirim: kilit ekranının üstünden iner. demo.js yalnız talep gerçekten
   oluşunca açıyor. */
#demo-video .demo-dustu {
  position: absolute; z-index: 4;
  top: 38px; left: 8px; right: 8px; bottom: auto;
  max-width: none;
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255,250,242,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 26px -12px rgba(0,0,0,0.45);
  color: #2B2219;
  white-space: normal;
  transform: translateY(-150%);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.3s ease, visibility 0.5s;
}
#demo-video .demo-dustu.is-acik { transform: none; }
#demo-video .bildirim-simge {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #7A4B2A; color: #FFF8EE;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
#demo-video .bildirim-metin { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#demo-video .demo-dustu-baslik { font-size: 0.64rem; letter-spacing: 0.06em; color: #6B5C48; }
#demo-video .demo-dustu-satir { font-size: 0.74rem; line-height: 1.35; color: #6B5C48; }
#demo-video .demo-dustu-satir b { display: block; margin: 0; color: #22445C; font-size: 1.04em; }

/* ── Dar ekran ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  #demo-video .akis-serit { --ara: 36px; }
}
@media (max-width: 960px) {
  #home .hero-text { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  #home h1 { max-width: 14ch; }

  /* Şerit dikey: ilan, hat, telefon alt alta; bağlantı dikey çizgi. */
  #demo-video .akis-serit {
    --ara: 52px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }
  #demo-video .akis-hat::before,
  #demo-video .akis-danisman::before {
    top: calc(var(--ara) * -1 + 8px);
    left: 50%;
    width: 0;
    height: calc(var(--ara) - 16px);
    border-top: 0;
    border-left: 1.5px dashed #C9B796;
  }
  #demo-video:is([data-asama="caliyor"], [data-asama="hat"], [data-asama="danisman"]) .akis-hat::before,
  #demo-video[data-asama="danisman"] .akis-danisman::before { border-left-style: solid; border-color: #7A4B2A; }
  #demo-video .akis-hat::after,
  #demo-video .akis-danisman::after {
    top: calc(var(--ara) * -1 + 8px);
    left: calc(50% - 3.25px);
  }
  @keyframes akis-yol {
    0%   { opacity: 0; transform: translateY(0); }
    15%  { opacity: 1; }
    100% { opacity: 1; transform: translateY(calc(var(--ara) - 24px)); }
  }
}
@media (max-width: 480px) {
  #demo-video .hat-kart { padding: 14px 12px 14px; }
  #demo-video .demo-alanlar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #demo-video .hat-satir button { grid-template-columns: 4.4em minmax(0, 1fr); }
  #demo-video .hat-an { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #demo-video .akis-hat::after,
  #demo-video .akis-danisman::after { animation: none !important; opacity: 0; }
  #demo-video[data-asama="caliyor"] .demo-ort-simge { animation: none; }
  #demo-video .hat-metin { scroll-behavior: auto; }
  #demo-video .demo-dustu { transition: opacity 0.2s ease, visibility 0.2s; }
  #demo-video .demo-dustu, #demo-video .demo-dustu.is-acik { transform: none; }
}
