/* =========================================================
   Ürün sayfaları (davision.html): style.css'in üzerine yalnızca bu sayfada kullanılan parçalar.
   Renkler ve ölçüler style.css'teki değişkenlerden.
   ========================================================= */

:root {
  --wa: #25d366;        /* bildirim balonu ve "WhatsApp'tan teklif" düğmesi */
  --wa-koyu: #128c4f;
}

/* ---------- Düğmeler ---------- */
.btn-wa {
  background: linear-gradient(180deg, #2fd673 0%, #17a457 100%);
  color: #04120a;
  box-shadow: 0 10px 28px -12px rgba(37, 211, 102, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-wa:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* Mobil uygulama (Android) indirme: masaüstü "Programı indir" düğmesinin yanında */
.btn-mobil .icon { color: #3ddc84; }
.btn-mobil:hover .icon { transform: translateY(-2px); }
.btn-etiket {
  margin-left: 2px;
  padding: 1px 8px;
  border: 1px solid rgba(61, 220, 132, 0.32);
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.1);
  color: #8eefb9;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* ---------- Giriş: telefon bildirimi görseli ---------- */
.bildirim-gorsel { position: relative; padding: 24px 0 44px; }
.bildirim-telefon {
  position: relative;
  max-width: 400px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  background: #0b141a;
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.85), 0 0 90px -24px rgba(37, 211, 102, 0.28);
}
.tel-ust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #1f2c34;
  color: #e9edef;
  font-size: 14px;
}
.tel-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a86ff, #0466f2);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.tel-ust b { display: block; font-weight: 700; }
.tel-ust small { color: #8696a0; font-size: 12px; }
.tel-ust .tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #aebac1;
  font-size: 11px;
  font-weight: 600;
}
.tel-sohbet {
  display: grid;
  gap: 12px;
  padding: 16px 14px 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 211, 102, 0.05), transparent 40%),
    #0b141a;
}
.mesaj {
  position: relative;
  max-width: 92%;
  padding: 6px 6px 8px;
  border-radius: 4px 14px 14px 14px;
  background: #1f2c34;
  color: #e9edef;
  font-size: 13.5px;
  line-height: 1.45;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.mesaj:nth-child(2) { animation-delay: 0.5s; }
.mesaj p { padding: 0 6px; }
.mesaj p + p { color: #aebac1; font-size: 12.5px; }
.mesaj b { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; }
.mesaj b .icon { width: 16px; height: 16px; color: var(--amber); }
.mesaj .saat { display: block; padding: 0 6px; color: #8696a0; font-size: 11px; text-align: right; }

/* Kamera karesi (temsili): koyu sahne, ızgara, işaretlenen alan */
.kare {
  position: relative;
  height: 128px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%),
    linear-gradient(135deg, #1b2733 0%, #10181f 55%, #1a2430 100%);
}
.kare::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.kare-zaman {
  position: absolute;
  left: 8px; top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.kare-kutu {
  position: absolute;
  border: 2px solid #f87171;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 18px rgba(248, 113, 113, 0.45);
}
.kare-kutu i {
  position: absolute;
  left: -2px; top: -22px;
  padding: 1px 6px;
  border-radius: 3px 3px 3px 0;
  background: #f87171;
  color: #1a0505;
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.kare-1 .kare-kutu { left: 44%; top: 34%; width: 52px; height: 78px; }
.kare-2 .kare-kutu { left: 18%; top: 40%; width: 128px; height: 64px; border-color: var(--amber); box-shadow: 0 0 18px rgba(245, 180, 75, 0.4); }
.kare-2 .kare-kutu i { background: var(--amber); color: #1a1205; }
/* Sahnedeki silüetler */
.kare-1::after {
  content: "";
  position: absolute;
  left: calc(44% + 14px); top: calc(34% + 10px);
  width: 24px; height: 64px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, #4b5a68 0 26%, #2f3b47 26%);
}
.kare-2::after {
  content: "";
  position: absolute;
  left: calc(18% + 14px); top: calc(40% + 14px);
  width: 100px; height: 40px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #5b4a33 0 30px, #4a3c2a 30px 34px);
}

.bildirim-gorsel .chip-top { top: 30%; right: -18px; }
.bildirim-gorsel .chip-bottom { bottom: 8px; left: -18px; }

/* ---------- Özel kural ---------- */
.kural-kutusu {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 26, 43, 0.92), rgba(9, 15, 27, 0.94));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85), 0 0 100px -40px rgba(4, 116, 252, 0.45);
}
.kural-etiket {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.kural-etiket .icon { width: 16px; height: 16px; color: var(--blue-300); }
.kural-satir {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(4, 116, 252, 0.45);
  border-radius: 14px;
  background: rgba(4, 7, 14, 0.7);
  box-shadow: 0 0 0 4px rgba(4, 116, 252, 0.12);
}
.kural-yazi {
  flex: 1;
  min-width: 0;
  color: var(--text);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 600;
}
.kural-yazi::after {
  content: "";
  display: inline-block;
  width: 2px; height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--blue-400);
  animation: imlec 1s steps(1) infinite;
}
.kural-dugme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2a86ff, #0466f2);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}
.kural-dugme .icon { width: 16px; height: 16px; }
.kural-ornekleri {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 28px auto 0;
}
.kural-ornekleri li {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 14px;
}
.kural-ornekleri li::before { content: "“"; color: var(--blue-300); }
.kural-ornekleri li::after { content: "”"; color: var(--blue-300); }

/* ---------- Algılamalar ve diğer özellikler (ızgara kartlar) ---------- */
.izgara-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.izgara-4 > *, .izgara-3 > * { min-width: 0; }
.izgara-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Sektörler ---------- */
.sektor h3 { margin: 20px 0 6px; font-size: 1.1rem; font-weight: 700; }
.sektor .izlenen { color: var(--muted); font-size: 14.5px; }
.sektor .ornek {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: rgba(4, 116, 252, 0.07);
  color: var(--text-2);
  font-size: 14.5px;
}
.sektor .ornek span { display: block; margin-bottom: 2px; color: var(--blue-300); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Gizlilik ---------- */
.gizlilik-kolon h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.1rem; font-weight: 700; }
.gizlilik-kolon h3 .icon { width: 22px; height: 22px; }
.gizlilik-kolon.kalan h3 .icon { color: var(--success); }
.gizlilik-kolon.cikan h3 .icon { color: var(--amber); }
.gizlilik-kolon.yapilmayan h3 .icon { color: var(--danger); }
.gizlilik-kolon ul { display: grid; gap: 10px; }
.gizlilik-kolon li { color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* ---------- Bölüm sonu düğmeleri ---------- */
.bolum-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 15px;
}
.bolum-cta p { width: 100%; text-align: center; }
.split-copy .bolum-cta { justify-content: flex-start; margin-top: 32px; }
.split-copy .bolum-cta p { text-align: left; }

/* Telefonda altta sabit iki düğme */
.cta-cubugu { display: none; }

/* ---------- Animasyon ---------- */
@keyframes imlec { 50% { opacity: 0; } }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1080px) {
  .izgara-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .izgara-3 { grid-template-columns: 1fr 1fr; }
  .bildirim-gorsel { max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .izgara-4, .izgara-3 { grid-template-columns: 1fr; }
  .bildirim-gorsel { padding: 44px 0 40px; }
  .bildirim-gorsel .chip-top { top: 0; right: 8px; }
  .bildirim-gorsel .chip-bottom { bottom: 0; left: 8px; }
  .kural-satir { flex-direction: column; align-items: stretch; padding: 14px; }
  .kural-dugme { justify-content: center; }
  .kural-yazi { min-height: 3.2em; }
  .bolum-cta .btn { flex: 1 1 100%; }

  .cta-cubugu {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(6, 10, 19, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .cta-cubugu .btn { min-height: 44px; padding: 0 10px; font-size: 14px; }
  body.urun-sayfasi { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .kural-yazi::after { display: none; }
}
