/* ═══════════════════════════════════════════════════════════
   DİYOSİS DEMO v2 — iPhone Mockup Simülatörü
   Font: Nunito | Tema: Koyu iPhone + Light sayfa
═══════════════════════════════════════════════════════════ */

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

.demo2-sayfa {
  font-family: 'Nunito', sans-serif;
  background: #f0f2f8;
  min-height: 100vh;
}

/* ══ HERO ══════════════════════════════════════════════════ */
.d2-hero {
  background: linear-gradient(145deg, #0a0f1e 0%, #0f1f3d 55%, #0a0f1e 100%);
  padding: max(108px, calc(var(--header-yukseklik,72px) + 48px)) 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.d2-hero::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 60%);
  top: -250px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.d2-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.d2-hero-ic { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.d2-hero-rozet {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.2); border: 1px solid rgba(99,102,241,.4);
  color: #a5b4fc; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 24px;
}
.d2-hero-rozet-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #818cf8;
  animation: d2blink 1.6s ease-in-out infinite;
}
@keyframes d2blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.2;transform:scale(1.6)} }
.d2-hero-baslik {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -.035em; margin-bottom: 18px;
}
.d2-hero-baslik .gr {
  background: linear-gradient(135deg, #818cf8, #c084fc, #60a5fa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.d2-hero-alt { font-size: 1.05rem; color: rgba(255,255,255,.55); line-height: 1.75; font-weight: 500; }

/* ══ ANA BÖLÜM ═════════════════════════════════════════════ */
.d2-ana {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}

/* ══ ADIM BAŞLIKLARI ════════════════════════════════════════ */
.d2-adim-baslik {
  text-align: center;
  margin-bottom: 36px;
}
.d2-adim-baslik h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900; color: #0f172a;
  letter-spacing: -.025em; margin-bottom: 10px;
}
.d2-adim-baslik p { font-size: .95rem; color: #64748b; font-weight: 500; }
.d2-adim-no {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ede9fe; color: #7c3aed;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
}

/* ══ SEKTÖR KARTLARI ════════════════════════════════════════ */
.d2-sektor-iz {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.d2-sektor-kart {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 14px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
.d2-sektor-kart::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.07), rgba(124,58,237,.07));
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.d2-sektor-kart:hover { border-color: #1e293b; transform: translateY(-4px); box-shadow: 0 12px 36px rgba(30,41,59,.15); }
.d2-sektor-kart:hover::before { opacity: 1; }
.d2-sektor-kart.secili {
  border-color: #1e293b;
  background: linear-gradient(135deg, #f0f4f8, #e8ecf0);
  box-shadow: 0 0 0 4px rgba(30,41,59,.12), 0 8px 24px rgba(30,41,59,.18);
  transform: translateY(-4px);
}
.d2-sektor-emoji { font-size: 2.4rem; display: block; margin-bottom: 11px; line-height: 1; }
.d2-sektor-ad { font-size: .82rem; font-weight: 800; color: #1e293b; line-height: 1.3; }
.d2-sektor-kart.secili .d2-sektor-ad { color: #1e293b; }
.d2-secim-oku {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #1e293b; color: #fff;
  display: none; align-items: center; justify-content: center;
  font-size: .65rem;
  pointer-events: none;
}
.d2-sektor-kart.secili .d2-secim-oku { display: flex; }

/* ══ KURUM ADI ══════════════════════════════════════════════ */
.d2-kurum-kap { max-width: 560px; margin: 0 auto; }
.d2-kurum-sarici {
  display: flex; align-items: center; gap: 0;
  background: #fff; border: 2px solid #e2e8f0;
  border-radius: 18px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.d2-kurum-sarici:focus-within {
  border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.d2-kurum-ikon {
  padding: 0 18px; color: #94a3b8; font-size: 1.1rem;
  border-right: 1.5px solid #f1f5f9; flex-shrink: 0;
}
.d2-kurum-input {
  flex: 1; padding: 17px 18px;
  border: none; outline: none;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  color: #0f172a; background: transparent;
}
.d2-kurum-input::placeholder { color: #94a3b8; font-weight: 500; }
.d2-kurum-ipucu {
  text-align: center; margin-top: 10px;
  font-size: .78rem; color: #94a3b8; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* ══ BUTON SEÇİM EKRANI ════════════════════════════════════ */
/* İki iPhone yan yana */
.d2-iphone-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* iPhone çerçevesi */
.d2-iphone {
  width: 300px;
  flex-shrink: 0;
  position: relative;
}
.d2-iphone-frame {
  background: linear-gradient(145deg, #2a2a3e 0%, #1a1a2e 50%, #0f0f1e 100%);
  border-radius: 52px;
  padding: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 0 0 3px #0f0f1e,
    0 0 0 5px rgba(255,255,255,.04),
    0 40px 100px rgba(0,0,0,.6),
    0 12px 40px rgba(99,102,241,.25),
    inset 0 1px 0 rgba(255,255,255,.1),
    inset 0 -1px 0 rgba(0,0,0,.4);
  position: relative;
}
/* Telefon yan butonları */
.d2-iphone-frame::before {
  content: '';
  position: absolute;
  left: -4px; top: 90px;
  width: 4px; height: 32px;
  background: linear-gradient(135deg, #2a2a3e, #1a1a2e);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 38px 0 rgba(255,255,255,.03), 0 76px 0 rgba(255,255,255,.03);
}
.d2-iphone-frame::after {
  content: '';
  position: absolute;
  right: -4px; top: 110px;
  width: 4px; height: 60px;
  background: linear-gradient(135deg, #2a2a3e, #1a1a2e);
  border-radius: 0 3px 3px 0;
}
/* Dynamic island */
.d2-dynamic-island {
  width: 80px; height: 20px;
  background: #000;
  border-radius: 10px;
  margin: 0 auto 4px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.d2-di-camera {
  width: 7px; height: 7px; border-radius: 50%;
  background: #1a1a1a; border: 1px solid #444;
  position: absolute; right: 13px;
}
.d2-di-sensor {
  width: 5px; height: 5px; border-radius: 50%;
  background: #0d3b0d; border: 1px solid #1a5c1a;
  position: absolute; right: 26px;
}

/* Ekran içeriği */
.d2-screen {
  background: #0a0f1e;
  border-radius: 40px;
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
}

/* Status bar */
.d2-status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 16px 2px;
  font-size: .65rem; font-weight: 700; color: #fff;
}
.d2-status-saat { font-size: .75rem; font-weight: 800; }
.d2-status-icons { display: flex; align-items: center; gap: 5px; }

/* Ekran header */
.d2-screen-hdr {
  padding: 2px 14px 6px;
  display: flex; align-items: center; justify-content: space-between;
}
.d2-screen-logo {
  display: flex; align-items: center;
}
.d2-screen-logo img {
  height: 22px; width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.d2-screen-logo-dot { display: none; }
.d2-screen-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; color: #fff;
}

/* Kullanıcı karşılama */
.d2-screen-karsilama {
  padding: 0 12px 4px;
}
.d2-screen-hos {
  font-size: .62rem; font-weight: 700; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px;
}
.d2-screen-kurum {
  font-size: .9rem; font-weight: 900; color: #fff; line-height: 1.15;
}
.d2-screen-sektor {
  font-size: .68rem; color: rgba(255,255,255,.45); font-weight: 600; margin-top: 2px;
  display: flex; align-items: center; gap: 4px;
}

/* Modüller başlığı */
.d2-screen-modul-hdr {
  padding: 0 8px 4px;
  display: flex; align-items: center; gap: 6px;
}
.d2-screen-modul-lbl {
  display: flex; align-items: center; gap: 7px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 50px; padding: 5px 12px;
  font-size: .7rem; font-weight: 800; color: #818cf8;
  text-transform: uppercase; letter-spacing: .08em;
}
.d2-screen-modul-sayi {
  background: #4f46e5; color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: 2px 8px; border-radius: 50px;
}

/* Modül butonları */
.d2-screen-butonlar {
  padding: 12px 8px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 6px;
  flex: 1;
  overflow-y: auto;
  align-content: start;
}
.d2-modul-btn {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 8px 6px;
  cursor: pointer;
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.d2-modul-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(168,85,247,.08));
  opacity: 0; transition: opacity .2s;
}
.d2-modul-btn:hover { border-color: rgba(99,102,241,.4); transform: scale(1.04); }
.d2-modul-btn:hover::before { opacity: 1; }
.d2-modul-btn.secili {
  border-color: #6366f1;
  background: rgba(99,102,241,.18);
  box-shadow: 0 0 0 2px rgba(99,102,241,.3), 0 8px 24px rgba(99,102,241,.2);
  transform: scale(1.04);
}
.d2-modul-btn.secili::before { opacity: 1; }

.d2-modul-ikon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  position: relative; z-index: 1;
}
.d2-modul-ad {
  font-size: .6rem; font-weight: 800; color: rgba(255,255,255,.9);
  line-height: 1.25; position: relative; z-index: 1;
}
/* Alt bar */
.d2-screen-altbar {
  padding: 10px 18px 14px;
  display: flex; justify-content: space-around;
  border-top: 1px solid rgba(255,255,255,.06);
}
.d2-altbar-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: .6rem; font-weight: 700;
}
.d2-altbar-item.aktif { color: #6366f1; }
.d2-altbar-item:not(.aktif) { color: rgba(255,255,255,.3); }
.d2-altbar-item i { font-size: .9rem; }

/* ══ ANALİZ EKRANI (sağ iPhone) ════════════════════════════ */
.d2-analiz-screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; }

/* Analiz yükleniyor butonu */
.d2-analiz-yukleniyor {
  margin: 20px 18px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-radius: 16px;
  padding: 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 24px rgba(79,70,229,.35);
  position: relative; overflow: hidden;
}
.d2-analiz-yukleniyor::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer { 0%{left:-100%} 100%{left:100%} }
.d2-analiz-yukleniyor-ikon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; flex-shrink: 0; position: relative; z-index: 1;
}
.d2-analiz-yukleniyor-metin { position: relative; z-index: 1; }
.d2-analiz-yukleniyor-metin strong { display: block; font-size: .82rem; font-weight: 800; color: #fff; }
.d2-analiz-yukleniyor-metin span { font-size: .7rem; color: rgba(255,255,255,.65); }
.d2-spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Analiz ilerleme */
.d2-analiz-bar-kap {
  padding: 0 18px 6px;
}
.d2-analiz-bar-ust {
  display: flex; justify-content: space-between;
  font-size: .65rem; color: rgba(255,255,255,.4); font-weight: 700; margin-bottom: 6px;
}
.d2-analiz-bar-track {
  height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden;
}
.d2-analiz-bar-fill {
  height: 100%; background: linear-gradient(90deg, #6366f1, #a855f7);
  border-radius: 2px; width: 0%;
  transition: width .5s ease;
}

/* Sonuç kartları */
.d2-sonuc-alan {
  padding: 6px 10px;
  flex: 1;
  overflow-y: scroll;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  min-height: 0;
  /* Telefon içi scroll hissi */
  overscroll-behavior: contain;
}
.d2-sonuc-alan::-webkit-scrollbar { width: 3px; }
.d2-sonuc-alan::-webkit-scrollbar-track { background: rgba(255,255,255,.03); border-radius: 2px; }
.d2-sonuc-alan::-webkit-scrollbar-thumb { background: rgba(99,102,241,.45); border-radius: 2px; }
.d2-sonuc-alan::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,.75); }

.d2-sonuc-kart {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.d2-sonuc-kart.goruntu { opacity: 1; transform: translateY(0); }
.d2-sonuc-kart.bilgi { border-left: 3px solid #60a5fa; }
.d2-sonuc-kart.uyari { border-left: 3px solid #fbbf24; background: rgba(251,191,36,.04); }
.d2-sonuc-kart.kritik { border-left: 3px solid #f87171; background: rgba(248,113,113,.04); }
.d2-sonuc-kart.basari { border-left: 3px solid #34d399; background: rgba(52,211,153,.04); }
.d2-sonuc-kart.wa { border-left: 3px solid #25d366; background: rgba(37,211,102,.04); }

.d2-sonuc-kart-ust {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.d2-sonuc-kart-ikon { font-size: .9rem; flex-shrink: 0; }
.d2-sonuc-kart-baslik {
  font-size: .72rem; font-weight: 800; color: rgba(255,255,255,.9);
  text-transform: uppercase; letter-spacing: .05em;
}
.d2-sonuc-kart-icerik {
  font-size: .74rem; color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.d2-sonuc-kart-icerik .vurgu { color: #a5b4fc; font-weight: 700; }
.d2-sonuc-kart-icerik .uyari { color: #fcd34d; font-weight: 700; }
.d2-sonuc-kart-icerik .kritik { color: #fca5a5; font-weight: 700; }
.d2-sonuc-kart-icerik .basari { color: #6ee7b7; font-weight: 700; }

/* WhatsApp ekranı */
.d2-wa-ekran {
  padding: 10px 14px;
}
.d2-wa-hdr {
  background: #075e54; border-radius: 12px 12px 0 0;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 9px;
}
.d2-wa-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #075e54;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.d2-wa-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0) invert(1);
}
.d2-wa-isim { font-size: .78rem; font-weight: 800; color: #fff; }
.d2-wa-online { font-size: .62rem; color: rgba(255,255,255,.6); }
.d2-wa-sohbet {
  background: #ece5dd;
  border-radius: 0 0 12px 12px;
  padding: 10px;
  min-height: 100px;
  display: flex; flex-direction: column; gap: 6px;
}
.d2-wa-mesaj {
  max-width: 85%;
  background: #fff;
  border-radius: 0 8px 8px 8px;
  padding: 8px 10px 5px;
  font-size: .71rem;
  color: #1a1a1a;
  line-height: 1.5;
  align-self: flex-start;
  opacity: 0; transform: translateY(5px);
  transition: opacity .35s, transform .35s;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.d2-wa-mesaj.goruntu { opacity: 1; transform: translateY(0); }
.d2-wa-mesaj-saat { font-size: .58rem; color: #94a3b8; text-align: right; margin-top: 3px; }

/* ══ BUTONLAR ════════════════════════════════════════════ */
.d2-btn-kap { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.d2-btn {
  padding: 14px 32px; border-radius: 16px;
  font-family: 'Nunito', sans-serif; font-size: .95rem; font-weight: 800;
  cursor: pointer; transition: all .2s; border: none;
  display: inline-flex; align-items: center; gap: 9px;
}
.d2-btn-ana {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff; box-shadow: 0 6px 20px rgba(79,70,229,.32);
}
.d2-btn-ana:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(79,70,229,.4); opacity: .93; }
.d2-btn-ana:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.d2-btn-ikincil {
  background: #fff; color: #475569;
  border: 2px solid #e2e8f0;
}
.d2-btn-ikincil:hover { border-color: #6366f1; color: #4f46e5; }

/* ══ SONUÇ CTA ═══════════════════════════════════════════ */
.d2-cta {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  position: relative; overflow: hidden;
  margin-top: 56px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
}
.d2-cta::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 65%);
  top: -100px; right: -80px; pointer-events: none;
}
.d2-cta::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(168,85,247,.15) 0%, transparent 65%);
  bottom: -60px; left: -60px; pointer-events: none;
}
.d2-cta-ic { position: relative; z-index: 1; }
.d2-cta-rozet {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(99,102,241,.2); border: 1px solid rgba(99,102,241,.35);
  color: #a5b4fc; font-size: .7rem; font-weight: 700;
  padding: 5px 16px; border-radius: 50px; margin-bottom: 20px;
  letter-spacing: .08em; text-transform: uppercase;
}
.d2-cta h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 900; color: #fff; letter-spacing: -.025em; margin-bottom: 12px; }
.d2-cta p { color: rgba(255,255,255,.5); font-size: .95rem; line-height: 1.7; margin-bottom: 32px; }
.d2-cta-butonlar { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.d2-cta-btn {
  padding: 14px 30px; border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-size: .95rem; font-weight: 800;
  cursor: pointer; transition: all .2s; border: none;
  display: inline-flex; align-items: center; gap: 9px;
}
.d2-cta-btn.ana {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff; box-shadow: 0 6px 20px rgba(99,102,241,.4);
}
.d2-cta-btn.ana:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(99,102,241,.5); }
.d2-cta-btn.ikincil {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,.15);
}
.d2-cta-btn.ikincil:hover { background: rgba(255,255,255,.14); }

/* ══ İLETİŞİM POPUP ════════════════════════════════════════ */
.d2-overlay {
  position: fixed; inset: 0;
  background: rgba(10,15,30,.75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 9000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.d2-overlay.acik { opacity: 1; visibility: visible; }
.d2-popup {
  background: #fff; border-radius: 26px;
  width: 100%; max-width: 460px;
  box-shadow: 0 32px 100px rgba(0,0,0,.3);
  overflow: hidden;
  transform: scale(.93) translateY(14px);
  transition: transform .38s cubic-bezier(.34,1.56,.64,1);
}
.d2-overlay.acik .d2-popup { transform: scale(1) translateY(0); }
.d2-popup-hdr {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  padding: 28px 30px 24px;
}
.d2-popup-hdr-ust { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.d2-popup-baslik { font-size: 1.2rem; font-weight: 900; color: #fff; letter-spacing: -.02em; margin-bottom: 5px; }
.d2-popup-alt { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.d2-popup-kapat {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: none;
  color: rgba(255,255,255,.6); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: background .2s;
}
.d2-popup-kapat:hover { background: rgba(255,255,255,.2); }
.d2-popup-etiketler { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.d2-popup-etiket {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6); font-size: .68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
}
.d2-popup-etiket i { color: #818cf8; font-size: .6rem; }
.d2-popup-govde { padding: 26px 28px 28px; }
.d2-popup-grup { margin-bottom: 16px; }
.d2-popup-lbl {
  display: flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 800; color: #64748b;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px;
}
.d2-popup-lbl i { font-size: .63rem; color: #6366f1; }
.d2-popup-input {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid #e2e8f0; border-radius: 13px;
  font-family: 'Nunito', sans-serif; font-size: .92rem; font-weight: 600;
  color: #0f172a; background: #f8faff; outline: none;
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.d2-popup-input:focus { border-color: #6366f1; background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.d2-popup-input::placeholder { color: #94a3b8; font-weight: 500; }
.d2-tel-grup {
  display: flex; gap: 0;
  background: #f8faff; border: 1.5px solid #e2e8f0; border-radius: 13px;
  overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.d2-tel-grup:focus-within { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.1); background: #fff; }
.d2-tel-prefix {
  padding: 12px 14px; font-size: .84rem; font-weight: 700;
  color: #94a3b8; border-right: 1.5px solid #e2e8f0;
  display: flex; align-items: center; flex-shrink: 0; white-space: nowrap;
}
.d2-tel-input {
  flex: 1; padding: 12px 14px; border: none; outline: none; background: transparent;
  font-family: 'Nunito', sans-serif; font-size: .92rem; font-weight: 600; color: #0f172a;
}
.d2-tel-input::placeholder { color: #94a3b8; font-weight: 500; }
.d2-captcha-kap {
  display: flex; align-items: center; gap: 10px;
  background: #f8faff; border: 1.5px solid #e2e8f0;
  border-radius: 13px; padding: 10px 14px; margin-bottom: 16px;
}
.d2-captcha-soru { flex: 1; font-size: .84rem; font-weight: 700; color: #374151; }
.d2-captcha-inp {
  width: 66px; padding: 7px 10px;
  border: 1.5px solid #e2e8f0; border-radius: 9px;
  font-family: 'Nunito', sans-serif; font-size: .9rem; font-weight: 700;
  text-align: center; outline: none; color: #0f172a;
  transition: border-color .2s;
}
.d2-captcha-inp:focus { border-color: #6366f1; }
.d2-captcha-yenile {
  background: none; border: none; color: #94a3b8;
  cursor: pointer; font-size: .85rem; padding: 2px; transition: color .2s;
}
.d2-captcha-yenile:hover { color: #374151; }
.d2-popup-gonder {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff; border: none; border-radius: 13px;
  font-family: 'Nunito', sans-serif; font-size: .95rem; font-weight: 800;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(79,70,229,.28);
}
.d2-popup-gonder:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(79,70,229,.38); opacity: .94; }
.d2-popup-gonder:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.d2-popup-bildirim {
  font-size: .8rem; font-weight: 700; padding: 9px 13px; border-radius: 10px;
  display: none; margin-bottom: 14px; align-items: center; gap: 8px;
}
.d2-popup-bildirim.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; display: flex; }
.d2-popup-bildirim.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; display: flex; }
.d2-popup-gizlilik {
  text-align: center; margin-top: 10px;
  font-size: .7rem; color: #94a3b8; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.d2-popup-gizlilik i { color: #10b981; }

/* ══ ADIM GEÇİŞ ════════════════════════════════════════════ */
.d2-adim { display: none; }
.d2-adim.aktif { display: block; animation: d2FadeIn .4s ease; }
@keyframes d2FadeIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* ══ MOBİL ══════════════════════════════════════════════════ */
@media(max-width:760px) {
  .d2-iphone-stage { gap: 20px; }
  .d2-iphone { width: 270px; }
  .d2-sektor-iz { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .d2-hero-baslik { font-size: 1.9rem; }
  .d2-cta { padding: 36px 24px; }
  .d2-screen { height: 580px; }
}
@media(max-width:640px) {
  .d2-iphone-stage {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .d2-iphone { width: 290px; }
  .d2-screen { height: 600px; }
}

/* ══ PAYLAŞ BUTONLARI ══════════════════════════════════════ */
.d2-paylas-kap {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.d2-paylas-lbl {
  font-size: .72rem; font-weight: 800; color: #94a3b8;
  text-transform: uppercase; letter-spacing: .1em;
  margin-right: 4px;
}
.d2-soc-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; text-decoration: none;
  background: #f1f5f9; color: #64748b;
  border: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.d2-soc-btn:hover { transform: translateY(-3px); color: #fff; }
.d2-soc-btn.wa:hover { background: #25d366; }
.d2-soc-btn.ml:hover { background: #ea4335; }
.d2-soc-btn.li:hover { background: #0077b5; }
.d2-soc-btn.cp:hover { background: #4f46e5; }

/* Toast */
.d2-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  background: #0f172a; color: #fff;
  padding: 11px 22px; border-radius: 50px;
  font-size: .83rem; font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  z-index: 9998; white-space: nowrap;
  animation: d2ToastIn .3s ease;
}
@keyframes d2ToastIn { from{opacity:0;bottom:10px} to{opacity:1;bottom:28px} }

/* Adım 2 scroll düzeltmesi */
#d2-adim-2 { scroll-margin-top: 100px; }

.d2-sektor-kart * { pointer-events: none; }
.d2-sektor-kart { cursor: pointer; }

/* Masaüstü Ekranlarda İki Telefonu Eşitleme Ayarı */
@media (min-width: 761px) {
  .d2-iphone {
    width: 300px !important;
    flex: 0 0 300px !important; /* Tarayıcının sağ telefonu daraltmasını kesin olarak engeller */
  }
  
  .d2-screen {
    height: 600px !important; /* İki ekranın da iç yüksekliğini 600px'e sabitler */
  }
}