body {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
  }
  
  .avatar-container {
    flex: 4;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 15px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  
  #remoteVideo {
    position: relative;
    width: 100%;
    max-width: 70rem;
    height: 1000px; /* Daha uzun yükseklik */
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  
  
  #remoteVideo img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* Tüm alanı doldurur */
    object-position: top center; /* Kafayı yukarıda ve ortada tutar */
    transition: transform 0.3s ease;
    border-radius: 20px;
  }
  
  
  .chat-history-header {
    background-color: #0C88B1;
    color: #fff;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .chat-history-body {
    flex: 1;
    overflow-y: auto;
    background-color: #eaeaea;
    padding: 1rem;
  }
  
  .chat-history-footer {
    background-color: #f8f9fa;
    padding: 1rem;
    border-top: 1px solid #ddd;
  }
  
  .chat-history-footer input {
    border: 1px solid #ccc;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    width: 100%;
    outline: none;
  }
  
  .chat-history-footer button {
    background-color: #0C88B1;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-left: 0.5rem;
  }
  
  .chat-history-footer button:hover {
    background-color: #076a91;
  }
  /* ===== Demo Info Panel ===== */
.demo-info {
  flex: 3;
  padding: 20px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.demo-card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(20, 24, 62, 0.12);
  border: 1px solid rgba(19, 99, 198, 0.08);
}

.demo-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--dark, #14183E);
  margin-bottom: 8px;
}

.demo-lead {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
}

.demo-sep {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(19,99,198,.2), rgba(21,172,225,.2));
  margin: 18px 0 14px;
}

.demo-list {
  margin: 0 0 4px 1rem;
  padding: 0;
  color: #374151;
}

.demo-list li {
  margin-bottom: .45rem;
}

.demo-hint {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  background: #F4F7FE;
  border: 1px dashed rgba(19, 99, 198, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  color: #1f2937;
}

/* Avatar alanı mevcut kurallarla uyumlu; yüksekliği telefonda tam ekran olacak şekilde güncelliyoruz */
@media (max-width: 576px) {
  /* Dikey telefonda sadece avatar kalsın */
  .navbar,
  .hero-header,
  #demo-info {
    display: none !important;
  }

  .chat-container {
    height: 100vh !important;
    padding: 0 !important;
  }

  .avatar-container {
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 0 12px 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
  }

  #remoteVideo {
    height: calc(100vh) !important; /* Tam ekran avatar */
    max-width: none !important;
    border-radius: 0 !important;
  }

  #remoteVideo img {
    object-fit: contain !important;
    border-radius: 0 !important;
  }
}

/* Tablet ve küçük dizüstü ayarları */
@media (min-width: 577px) and (max-width: 991.98px) {
  .chat-container {
    gap: 16px;
  }
  .avatar-container { margin-left: 0 !important; }
}
