/* ==========================================================================
   Design System: Dark Mode (OLED) + Apple Glassmorphism + Micro-Interactions
   Colors: #090D16 (OLED Base), #3B82F6 (Primary Blue), #EC4899 (Pink Flirt Accent), #22C55E (Success Green)
   ========================================================================== */

:root {
  --bg-oled: #090d16;
  --bg-surface: rgba(15, 23, 42, 0.78);
  --bg-surface-hover: rgba(30, 41, 59, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(56, 189, 248, 0.35);
  
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent-pink: #ec4899;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-hover: #dc2626;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-full: 9999px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;

  --shadow-dock: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-pip: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 0 1.5px rgba(255, 255, 255, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-stack);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body, html {
  width: 100%;
  height: 100%;
  height: 100dvh;
  height: -webkit-fill-available;
  overflow: hidden;
  overscroll-behavior: none;
  background-color: var(--bg-oled);
  color: var(--text-main);
  position: fixed;
  inset: 0;
}

/* Ana Görüşme Sahnesi */
.video-call-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  height: -webkit-fill-available;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

/* Karşı Taraf Videosu (Tam Ekran) */
#remote-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: var(--bg-oled);
}

/* Katılımcı Bekleniyor Placeholder */
.placeholder {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: radial-gradient(circle at center, #1e293b 0%, #090d16 100%);
  width: 100%;
  height: 100%;
}

.avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1.5px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.placeholder p {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.2px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.5);
}

.btn-primary:active {
  transform: scale(0.96);
}

/* Karşı Taraf Ses Dalgalanma Halkası (Halo Ring) */
.remote-speaking-ring {
  position: absolute;
  inset: 0;
  border: 4px solid transparent;
  pointer-events: none;
  z-index: 3;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.remote-speaking-ring.speaking {
  border-color: rgba(34, 197, 94, 0.6);
  box-shadow: inset 0 0 45px rgba(34, 197, 94, 0.25);
}

/* Karşı Taraf Sessiz Rozeti */
.remote-mic-badge {
  position: absolute;
  top: 80px;
  left: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

/* Yerel Kullanıcı (PiP Sağ Üst) */
.local-video-wrapper {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 135px;
  height: 190px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 12;
  box-shadow: var(--shadow-pip);
  background: #000;
  cursor: grab;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.local-video-wrapper:hover {
  transform: translateY(-2px) scale(1.02);
}

#local-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.local-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.local-label #local-mic-status {
  color: var(--danger);
  font-weight: 700;
}

/* Canlı Ekolayzer Seviye Çubuğu */
.audio-level-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #22c55e 0%, #38bdf8 100%);
  transition: width 0.08s ease;
  z-index: 4;
}

/* Kamera Kapalı Overlay'leri */
.local-cam-off-overlay {
  position: absolute;
  inset: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  z-index: 3;
}

.remote-cam-off-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-oled);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 4;
}

.remote-cam-off-overlay p {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

/* ==========================================================================
   Üst Kontrol & Bilgi Barı (Single-Row Modern Header)
   ========================================================================== */
.top-bar {
  position: absolute;
  top: calc(env(safe-area-inset-top, 16px) + 8px);
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  white-space: nowrap;
}

.badge-pill:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.badge-pill:active {
  transform: scale(0.96);
}

/* Durum Rozeti */
.badge-status {
  cursor: default;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--warning);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--warning);
  transition: all 0.3s ease;
}

.pulse-dot.connected {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.pulse-dot.disconnected {
  background: var(--danger);
  box-shadow: 0 0 10px var(--danger);
}

/* Dil Değiştirici */
.btn-lang-switch {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

.lang-flag {
  font-size: 13px;
  line-height: 1;
}

/* Ton & Ayarlar Butonu */
.btn-settings {
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.35);
  background: rgba(15, 23, 42, 0.85);
}

.btn-settings svg {
  opacity: 0.8;
  transition: transform 0.2s ease;
}

/* Sohbet Açma Butonu & Rozet */
.btn-chat-toggle {
  position: relative;
}

.chat-unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-oled);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.6);
}

/* ==========================================================================
   Netflix / Apple TV Canlı Altyazı Dock'u
   ========================================================================== */
.captions-dock {
  position: absolute;
  bottom: 105px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 620px;
  background: rgba(10, 15, 26, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-dock);
  z-index: 22;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.caption-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 5px;
}

.caption-speaker {
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.caption-state-badge {
  font-size: 9.5px;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 1.5px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.caption-state-badge.speaking {
  background: rgba(56, 189, 248, 0.22);
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.caption-state-badge.translating {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.35);
}

.caption-tone-badge {
  font-size: 10px;
  background: rgba(236, 72, 153, 0.2);
  color: #f472b6;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.caption-live-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px 0 8px 0;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInLive 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInLive {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-mic-icon {
  font-size: 12px;
  animation: pulseLiveMic 1.2s infinite ease-in-out;
}

@keyframes pulseLiveMic {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 4px #38bdf8); }
}

.caption-live-text {
  font-size: 13.5px;
  color: #93c5fd;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  letter-spacing: -0.1px;
}

.caption-translated {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  transition: opacity 0.2s ease;
}

.caption-original {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
  opacity: 0.85;
}

/* ==========================================================================
   Alt Kontrol Barı (FaceTime / WhatsApp Dock)
   ========================================================================== */
.bottom-controls {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 16px) + 16px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 26;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-dock);
}

.ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.ctrl-btn:active {
  transform: scale(0.92);
}

.ctrl-btn.off {
  background: var(--danger);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

.ctrl-btn.end-call {
  background: var(--danger-hover);
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

.ctrl-btn.end-call:hover {
  background: #991b1b;
}

/* Reaksiyon Popover Menüsü */
.reactions-wrapper {
  position: relative;
}

.reactions-popover {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  z-index: 30;
}

.reactions-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.reaction-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  padding: 4px 6px;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  line-height: 1;
  border-radius: 50%;
}

.reaction-btn:hover {
  transform: scale(1.4) translateY(-3px);
}

.reaction-btn:active {
  transform: scale(1.1);
}

/* ==========================================================================
   Ekran Emoji Animasyonları (Kişinin Kendi Kamerasında Uçuşan Emojiler)
   ========================================================================== */
.emoji-stage, .remote-emoji-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 18;
}

/* Karşı Taraf Kamerasında Uçuşan Emojiler */
.floating-emoji-remote, .floating-emoji {
  position: absolute;
  font-size: 56px;
  bottom: 120px;
  animation: floatUpRemote 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65));
  will-change: transform, opacity;
}

@keyframes floatUpRemote {
  0% {
    transform: translateY(0) scale(0.3) rotate(0deg);
    opacity: 0;
  }
  15% {
    transform: translateY(-40px) scale(1.25) rotate(-10deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-180px) scale(1) rotate(12deg);
    opacity: 0.95;
  }
  100% {
    transform: translateY(-420px) scale(0.75) rotate(-18deg);
    opacity: 0;
  }
}

/* Yerel Kullanıcının Kendi PiP Kamerasında Uçuşan Emojiler */
.local-emoji-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 15;
}

.floating-emoji-local {
  position: absolute;
  font-size: 30px;
  bottom: 15px;
  animation: floatUpLocal 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  will-change: transform, opacity;
}

@keyframes floatUpLocal {
  0% {
    transform: translateY(0) scale(0.35) rotate(0deg);
    opacity: 0;
  }
  18% {
    transform: translateY(-20px) scale(1.15) rotate(-8deg);
    opacity: 1;
  }
  55% {
    transform: translateY(-70px) scale(1) rotate(8deg);
    opacity: 0.92;
  }
  100% {
    transform: translateY(-130px) scale(0.7) rotate(-10deg);
    opacity: 0;
  }
}

/* ==========================================================================
   Tonlama & Ayarlar Modal Sheet (iOS Style Bottom Sheet)
   ========================================================================== */
.settings-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.settings-modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInBackdrop 0.25s ease forwards;
}

@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-sheet {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  padding: 14px 20px calc(env(safe-area-inset-bottom, 20px) + 20px);
  box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.75);
  animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet-handle {
  width: 38px;
  height: 4.5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  margin: 0 auto 14px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sheet-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.sheet-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.sheet-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.15s ease;
}

.sheet-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.tone-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.tone-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tone-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
}

.tone-card.active {
  background: rgba(236, 72, 153, 0.12);
  border-color: var(--accent-pink);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.25);
}

.tone-card-emoji {
  font-size: 24px;
  line-height: 1;
}

.tone-card-content {
  flex: 1;
  min-width: 0;
}

.tone-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tone-card-desc {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tone-card-check {
  display: none;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-pink);
}

.tone-card.active .tone-card-check {
  display: block;
}

.sheet-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 14px 0;
}

.sheet-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.setting-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.setting-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* iOS Style Switch */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
}

.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: 0.25s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2.5px;
  bottom: 2px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

input:checked + .slider {
  background-color: var(--success);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* ==========================================================================
   Yan / Alt Sohbet Çekmecesi (Responsive Sheet)
   ========================================================================== */
.chat-drawer {
  position: absolute;
  top: 0;
  right: -380px;
  width: 380px;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid var(--border-subtle);
  z-index: 40;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
}

.chat-drawer.open {
  right: 0;
}

.mobile-only {
  display: none;
}

.chat-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-title-icon {
  font-size: 22px;
}

.chat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.chat-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
}

.chat-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.15s ease;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.chat-messages {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.chat-msg {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: fadeInMsg 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.self {
  align-self: flex-end;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg.remote {
  align-self: flex-start;
  background: #1e293b;
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-bottom-left-radius: 4px;
}

.chat-msg.system {
  align-self: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-msg-translation {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 6px;
  font-style: italic;
}

.chat-msg-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  margin-top: 4px;
}

.chat-form {
  padding: 14px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.75);
}

.chat-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 12px 18px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.chat-form input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.chat-send-btn {
  background: var(--primary);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.chat-send-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.chat-send-btn:active {
  transform: scale(0.92);
}

/* ==========================================================================
   Responsive Tasarım (iPhone Safari & Mobile Optimized)
   ========================================================================== */
@media (max-width: 768px) {
  /* Üst Bar: Tek satır, taşma yapmaz */
  .top-bar {
    top: calc(env(safe-area-inset-top, 14px) + 6px);
    left: 12px;
    right: 12px;
  }

  .badge-pill {
    padding: 6px 11px;
    font-size: 12px;
    gap: 5px;
  }

  /* PiP: Üst barın temiz bir şekilde ALTINDA yer alır (Çarpışma %0) */
  .local-video-wrapper {
    top: calc(env(safe-area-inset-top, 14px) + 52px);
    right: 12px;
    width: 92px;
    height: 132px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  }

  .local-label {
    padding: 1px 6px;
    font-size: 10px;
    bottom: 6px;
    left: 6px;
  }

  /* Altyazı Dock: Kompakt, ekranı kapatmayan Apple TV stili */
  .captions-dock {
    bottom: calc(env(safe-area-inset-bottom, 16px) + 82px);
    padding: 10px 14px;
    width: calc(100% - 24px);
    border-radius: var(--radius-lg);
  }

  .caption-header {
    margin-bottom: 3px;
  }

  .caption-speaker {
    font-size: 9.5px;
  }

  .caption-tone-badge {
    font-size: 9.5px;
    padding: 1px 6px;
  }

  .caption-translated {
    font-size: 15px;
    line-height: 1.35;
  }

  .caption-original {
    font-size: 11.5px;
    margin-top: 2px;
  }

  /* Alt Kontrol Barı: 5 Yuvarlak Dokunmatik Buton */
  .bottom-controls {
    bottom: calc(env(safe-area-inset-bottom, 14px) + 12px);
    gap: 12px;
    padding: 7px 14px;
  }

  .ctrl-btn {
    width: 48px;
    height: 48px;
  }

  .ctrl-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Reaksiyon Popover */
  .reactions-popover {
    bottom: 60px;
    padding: 5px 10px;
    gap: 4px;
  }

  .reaction-btn {
    font-size: 20px;
    padding: 3px 5px;
  }

  /* Tone Modal Sheet Mobil Kartlar */
  .tone-cards-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tone-card {
    padding: 10px 12px;
  }

  .tone-card-emoji {
    font-size: 20px;
  }

  .tone-card-name {
    font-size: 12.5px;
  }

  .tone-card-desc {
    font-size: 10px;
    -webkit-line-clamp: 1;
  }

  /* Mobil Sohbet: iOS Bottom Sheet Stili */
  .chat-drawer {
    position: fixed;
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 84vh;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.75);
  }

  .chat-drawer.open {
    transform: translateY(0);
    right: 0;
  }

  .mobile-only {
    display: block;
  }

  .chat-form {
    padding: 12px 16px calc(env(safe-area-inset-bottom, 14px) + 12px);
  }
}

/* ==========================================================================
   Güvenlik & PIN Doğrulama Modalları (Apple Glassmorphism UI)
   ========================================================================== */
.security-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.security-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.security-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: rgba(24, 24, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
              0 0 40px rgba(99, 102, 241, 0.15);
  animation: cardPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardPop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.security-icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
}

.security-icon-circle.lock {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.25);
}

.security-icon-circle.key {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.15);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
}

.security-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.security-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.security-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.security-input {
  width: 100%;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  padding: 0 18px;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.security-input:focus {
  border-color: #6366f1;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.security-error {
  font-size: 13px;
  color: #ef4444;
  font-weight: 500;
  margin-top: -4px;
}

.w-full {
  width: 100%;
}

/* ==========================================================================
   GOOGLE MEET DESIGN SYSTEM (Landing, Lobby & Post-Call Screens)
   ========================================================================== */

.btn-meet-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  text-decoration: none;
}

.btn-meet-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-meet-primary:active {
  transform: scale(0.97);
}

.btn-meet-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-meet-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.btn-meet-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 1. LANDING SCREEN */
.landing-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.1), transparent 40%),
              #070a12;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.landing-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.brand-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.brand-title b {
  font-weight: 700;
  color: #38bdf8;
}

.landing-nav-time {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}

.landing-hero {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 48px 24px;
}

.landing-badge {
  display: inline-block;
  margin-bottom: 16px;
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.landing-headline {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.landing-subhead {
  font-size: 17px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 540px;
}

.landing-action-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.landing-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0 14px;
  height: 48px;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.input-with-icon:focus-within {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.input-with-icon input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 14.5px;
  width: 200px;
}

.landing-features-row {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}

.hero-visual-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.hero-mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green { background: #10b981; }

.mock-title {
  font-size: 12px;
  color: #94a3b8;
  margin-left: 8px;
  font-family: monospace;
}

.hero-mock-body {
  height: 220px;
  background: #020617;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background-image: radial-gradient(rgba(56, 189, 248, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
}

.hero-caption-bubble {
  background: rgba(10, 15, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px 16px;
  text-align: center;
  max-width: 90%;
  backdrop-filter: blur(12px);
}

.mock-cap-speaker {
  font-size: 9.5px;
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.mock-cap-text {
  font-size: 14.5px;
  color: #ffffff;
  font-weight: 600;
  margin: 3px 0;
}

.mock-cap-orig {
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
}

/* 2. LOBBY / PRE-JOIN SCREEN */
.lobby-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #070a12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}

.lobby-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 960px;
  width: 100%;
  flex-wrap: wrap;
}

.lobby-preview-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 16/9;
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

#lobby-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.lobby-cam-off-overlay {
  position: absolute;
  inset: 0;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94a3b8;
}

.lobby-controls-bar {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.7);
  padding: 6px 12px;
  border-radius: 30px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lobby-ctrl-btn {
  width: 44px;
  height: 44px;
}

.lobby-level-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #10b981;
  width: 0%;
  transition: width 0.05s ease;
  z-index: 12;
}

.lobby-details {
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lobby-room-code-badge {
  align-self: flex-start;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: monospace;
  font-size: 13.5px;
  font-weight: 700;
}

.lobby-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.lobby-subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

/* Lobi İzin Uyarısı Kartı */
.lobby-perm-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 6px 0;
}

.perm-alert-icon {
  font-size: 22px;
  line-height: 1;
}

.perm-alert-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.perm-alert-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #f87171;
}

.perm-alert-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
}

.perm-retry-btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  height: auto !important;
}

.lobby-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

/* 4. POST-CALL SCREEN */
.post-call-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #070a12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}

.post-call-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
}

.post-call-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.post-call-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.post-call-desc {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 28px;
}

.post-call-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Mobil Duyarlılık */
@media (max-width: 768px) {
  .landing-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 32px 16px;
  }
  .landing-headline {
    font-size: 28px;
  }
  .landing-subhead {
    font-size: 15px;
    margin: 0 auto 24px;
  }
  .landing-action-group {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  .landing-action-group .btn-meet-primary,
  .landing-input-group,
  .input-with-icon {
    width: 100%;
  }
  .input-with-icon input {
    width: 100%;
  }
  .landing-features-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-visual-card {
    display: none;
  }
  .lobby-container {
    gap: 24px;
  }
/* Ekran Paylaşımı ve Tutanak / AI Özeti Modalı Stilleri (Enterprise SaaS) */
.btn-summary {
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  color: #60a5fa !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-summary:hover {
  background: rgba(59, 130, 246, 0.25) !important;
  transform: translateY(-1px);
}

.ctrl-btn.sharing {
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.6) !important;
}

.meeting-summary-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.summary-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.summary-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.summary-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.summary-tabs {
  display: flex;
  padding: 0 24px;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.summary-tab {
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.summary-tab.active {
  color: #fff;
  border-bottom-color: #3b82f6;
}

.summary-body {
  padding: 20px 24px;
  flex: 1;
  overflow-y: auto;
}

.summary-markdown-view {
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
}

.summary-markdown-view h3 {
  font-size: 15px;
  font-weight: 600;
  color: #93c5fd;
  margin: 16px 0 8px;
}

.summary-markdown-view ul {
  padding-left: 20px;
  margin: 8px 0;
}

.summary-markdown-view li {
  margin-bottom: 6px;
}

.summary-raw-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-raw-item {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 13px;
}

.summary-raw-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.summary-footer {
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.6);
}

/* ==========================================================================
   YİĞİT CENGİZ — KURUMSAL İMZA & GELİŞTİRİCİ ROZETİ STİLLERİ
   ========================================================================== */
.landing-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.creator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.creator-pill:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.creator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.landing-footer {
  margin-top: auto;
  padding: 24px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 18, 0.7);
}

.landing-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-author-link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-author-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.footer-dot {
  color: rgba(255, 255, 255, 0.25);
}

.sheet-creator-info {
  padding: 12px 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.sheet-creator-info a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

/* ==========================================================================
   MASTER ACCESS GATE — YİĞİT CENGİZ ÖZEL ERİŞİM KİLİDİ
   ========================================================================== */
.gate-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #070a12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gate-card {
  width: 100%;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gate-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.gate-icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
}

.gate-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.gate-subtitle {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.gate-input-wrapper input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  outline: none;
  text-align: center;
  letter-spacing: 2px;
  transition: all 0.2s ease;
}

.gate-input-wrapper input:focus {
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.gate-error-text {
  font-size: 12px;
  color: #ef4444;
  margin-top: 10px;
  font-weight: 500;
}





