/* ═══════════════════════════════════════════════
   VOQA Company — Global Stylesheet v2.0
   assets/css/voqa.css
   
   Accent: #8115FF (Vişne-Mor)
   Dark: Siyah zeminli, accent gradient
   Light: Beyaz zeminli, accent gradient
   Header: Sticky + auto-hide on scroll
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ══════════════════════════════════════════════ DARK MODE ══════════════════════════════════════════════ */
:root {
  /* Ana Accent — #8115FF bazlı */
  --accent:         #8115FF;
  --accent-dark:    #6A0FD6;
  --accent-deep:    #4A0B96;
  --accent-light:   #9D4EFF;
  --accent-muted:   #7520D9;
  --accent-glow:    rgba(129, 21, 255, 0.25);
  --accent-subtle:  rgba(129, 21, 255, 0.08);

  /* Gradient: Sol üst accent → siyah (%10-15 accent) */
  --gradient-brand:    linear-gradient(135deg, rgba(129,21,255,0.15) 0%, rgba(129,21,255,0.04) 40%, transparent 100%);
  --gradient-btn:      linear-gradient(135deg, #8115FF 0%, #6A0FD6 100%);
  --gradient-bar:      linear-gradient(90deg, #8115FF, #6A0FD6, #4A0B96);
  --gradient-ticker:   linear-gradient(135deg, #6A0FD6 0%, #4A0B96 100%);

  /* Arkaplan */
  --bg:             #070709;
  --bg2:            #0E0E12;
  --bg3:            #151518;
  --surface:        #101013;
  --surface2:       #1A1A1F;
  --surface3:       #222228;

  /* Kenarlık */
  --border:         rgba(255, 255, 255, 0.07);
  --border-hover:   rgba(255, 255, 255, 0.14);
  --border-focus:   rgba(129, 21, 255, 0.50);
  --border-accent:  rgba(129, 21, 255, 0.25);

  /* Metin */
  --text:           #EBEBEB;
  --text-muted:     #888892;
  --text-dim:       #505058;

  /* Form */
  --input-bg:       rgba(255, 255, 255, 0.04);

  /* Header / Footer */
  --header-bg:      rgba(7, 7, 9, 0.95);
  --footer-bg:      #050507;
  --ticker-bg:      var(--gradient-ticker);

  /* Gölge */
  --shadow-card:    0 8px 40px rgba(0, 0, 0, 0.50);
  --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.30);
  --shadow-accent:  0 4px 20px rgba(129, 21, 255, 0.20);

  /* Layout */
  --header-h:       72px;
  --ticker-h:       38px;
  --max-w:          1320px;
  --radius-xs:      6px;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
}

/* ══════════════════════════════════════════════ LIGHT MODE ══════════════════════════════════════════════ */
[data-theme="light"] {
  /* Gradient: Sol üst accent → beyaz (%10-15 accent) */
  --gradient-brand:    linear-gradient(135deg, rgba(129,21,255,0.12) 0%, rgba(129,21,255,0.03) 40%, transparent 100%);
  --gradient-ticker:   linear-gradient(135deg, #8115FF 0%, #6A0FD6 100%);

  --accent-light:   #7010E0;

  --bg:             #FAFAFE;
  --bg2:            #F2F2F8;
  --bg3:            #EAEAF0;
  --surface:        #FFFFFF;
  --surface2:       #F6F6FA;
  --surface3:       #EEEEEF;

  --border:         rgba(0, 0, 0, 0.07);
  --border-hover:   rgba(0, 0, 0, 0.14);
  --border-focus:   rgba(129, 21, 255, 0.40);
  --border-accent:  rgba(129, 21, 255, 0.15);

  --text:           #18181B;
  --text-muted:     #626268;
  --text-dim:       #9898A0;

  --input-bg:       rgba(0, 0, 0, 0.03);
  --header-bg:      rgba(255, 255, 255, 0.96);
  --footer-bg:      #F4F4F8;

  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-sm:      0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-accent:  0 4px 16px rgba(129, 21, 255, 0.12);
}

/* ══════════════════════════════════════════════ RESET ══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, color 0.3s;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════ SCROLLBAR ═══════════ */
/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(129, 21, 255, 0.25);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(129, 21, 255, 0.50);
}

::-webkit-scrollbar-thumb:active {
  background: var(--accent);
}

/* Scrollbar corner */
::-webkit-scrollbar-corner {
  background: var(--bg);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 21, 255, 0.25) var(--bg);
}

/* Global gradient arka plan — sol üst köşe accent → siyah */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at center, rgba(129,21,255,0.20) 0%, rgba(129,21,255,0.08) 30%, rgba(129,21,255,0.02) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* İkinci gradient orb — sağ alt */
body::after {
  content: '';
  position: fixed;
  bottom: -250px;
  right: -250px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(129,21,255,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

[data-theme="light"] body::before {
  background: radial-gradient(circle at center, rgba(129,21,255,0.14) 0%, rgba(129,21,255,0.05) 30%, rgba(129,21,255,0.01) 55%, transparent 75%);
}

[data-theme="light"] body::after {
  background: radial-gradient(circle at center, rgba(129,21,255,0.06) 0%, transparent 65%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ══════════════════════════════════════════════ TICKER (Header Üstü) ══════════════════════════════════════════════ */
.voqa-ticker {
  background: var(--gradient-ticker);
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1000;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 20px;
  height: 100%;
  background: rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
  z-index: 2;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.ticker-label svg { color: rgba(255,255,255,0.70); }

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.ticker-content {
  display: flex;
  gap: 80px;
  animation: tickerScroll 35s linear infinite;
  white-space: nowrap;
  padding-left: 20px;
}

.ticker-content span {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.2px;
  flex-shrink: 0;
}

.ticker-content span::before {
  content: '◆';
  margin-right: 12px;
  font-size: 6px;
  opacity: 0.4;
  vertical-align: middle;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.voqa-ticker:hover .ticker-content {
  animation-play-state: paused;
}

/* Ticker scroll'da gizlenme */
.voqa-ticker {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.voqa-ticker.ticker-hidden {
  transform: translateY(-100%);
}

/* ══════════════════════════════════════════════ HEADER ══════════════════════════════════════════════ */
.voqa-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s,
              box-shadow 0.3s;
}

/* Scroll sonrası gölge */
.voqa-header.scrolled {
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.18);
}

/* Aşağı scroll → header gizle (yukarı kayar) */
.voqa-header.header-hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ── Logo (Büyük) ── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--gradient-btn);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.3px;
}

.logo-accent {
  color: var(--accent-light);
  font-weight: 500;
}

/* ── Nav ── */
.header-nav { display: flex; align-items: center; gap: 4px; flex: 1; }

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--text); background: var(--surface2); }
.nav-link.active { color: var(--accent-light); background: var(--accent-subtle); font-weight: 600; }

/* ── Actions ── */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.theme-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.theme-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--surface2);
}

.btn-giris,
.btn-kayit {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-block;
}

.btn-giris:hover,
.btn-kayit:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
}

/* İlan Ver — Gradient buton */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}
.header-cart:hover { border-color: var(--accent); color: var(--accent-light); }
.header-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-ilan-ver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--gradient-btn);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: var(--shadow-accent);
  position: relative;
  overflow: hidden;
}

.btn-ilan-ver::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-ilan-ver:hover::before { left: 100%; }

.btn-ilan-ver:hover {
  box-shadow: 0 6px 24px rgba(129, 21, 255, 0.35);
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.btn-ilan-ver:active { transform: translateY(0); }

/* ── User Menu ── */
.user-menu-wrap { position: relative; }

.user-menu-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px; font-weight: 500;
  transition: all 0.2s;
}

.user-menu-btn:hover { border-color: var(--border-hover); color: var(--text); }

.user-avatar {
  width: 30px; height: 30px;
  background: var(--gradient-btn);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.user-name-short { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-card);
  z-index: 1000;
  animation: dropDown 0.2s ease;
}

.user-dropdown.open { display: block; }

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

.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  font-size: 13px; color: var(--text-muted);
  transition: all 0.15s;
}

.dropdown-item:hover { background: var(--surface2); color: var(--text); }
.dropdown-item svg { flex-shrink: 0; }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.dropdown-danger:hover { color: #dc3545; background: rgba(220,53,69,0.06); }

/* ── Hamburger ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 8px;
}

.hamburger:hover { border-color: var(--border-hover); }
.hamburger span { display: block; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 20px 20px;
  animation: slideDown 0.25s ease;
}

.mobile-menu.open { display: block; }

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

.mobile-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active { background: var(--accent-subtle); color: var(--accent-light); }

.mobile-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.mobile-btn-secondary {
  flex: 1; text-align: center; padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s; display: block;
}

.mobile-btn-secondary:hover { border-color: var(--accent); color: var(--accent-light); }

.mobile-btn-ilan-ver {
  flex: 1; text-align: center; padding: 11px;
  background: var(--gradient-btn);
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; color: #fff;
  display: block; transition: filter 0.2s;
}

.mobile-btn-ilan-ver:hover { filter: brightness(1.1); }

/* ══════════════════════════════════════════════ FOOTER ══════════════════════════════════════════════ */
.voqa-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 56px 40px 28px;
  margin-top: auto;
  position: relative;
}

/* Footer gradient efekt (sol üst köşe) */
.voqa-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 400px; height: 400px;
  background: var(--gradient-brand);
  pointer-events: none;
  filter: blur(40px);
  border-radius: 50%;
}

.footer-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Footer Logo — Büyütülmüş */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-logo-fallback .logo-mark {
  width: 50px;
  height: 50px;
  font-size: 24px;
}

.footer-logo-fallback .logo-text {
  font-size: 28px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 340px;
}

.social-links { display: flex; gap: 8px; }

.social-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
}

.footer-col h4 {
  font-size: 11px; font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent-light); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; font-style: normal; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
}

.footer-contact-item .ci { color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--text-muted); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--accent-light); }

/* Footer alt bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

/* Footer Mobil Uygulama Bölümü */
.footer-app-section {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-app-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-app-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-app-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.footer-app-badges {
  display: flex;
  gap: 10px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.2s;
}

.store-badge:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
}

.store-badge svg {
  flex-shrink: 0;
}

.store-badge-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.store-badge-main {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

/* Üyelik bilgi kutuları (register) */
.membership-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(129,21,255,0.10) 0%, rgba(129,21,255,0.02) 100%);
  border: 1px solid rgba(129,21,255,0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.mi-emoji {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}

.membership-info div {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.membership-info strong {
  color: var(--accent-light);
}

/* Login yardım notu */
.login-help-text {
  text-align: center;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--accent-subtle);
  border: 1px solid rgba(129,21,255,0.10);
  border-radius: var(--radius-sm);
}

.login-help-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.footer-copy { font-size: 12px; color: var(--text-dim); }
.footer-copy a { color: var(--accent-light); }
.footer-copy a:hover { text-decoration: underline; }

.footer-badges { display: flex; align-items: center; gap: 10px; }

.status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
}

.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.version-badge {
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════ FORMS ══════════════════════════════════════════════ */
.form-group { margin-bottom: 16px; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }

.form-label {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.req { color: var(--accent-light); }

.input-wrap { position: relative; display: flex; align-items: center; }

.input-icon {
  position: absolute; left: 13px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.2s;
  display: flex; align-items: center;
}

.form-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input.no-icon { padding-left: 14px; }
.form-input::placeholder { color: var(--text-dim); }

.form-input:focus {
  border-color: var(--accent);
  background: rgba(129, 21, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(129, 21, 255, 0.10);
}

.input-wrap:focus-within .input-icon { color: var(--accent-light); }

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888892'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
  cursor: pointer;
}

/* Textarea */
.form-textarea,
textarea.form-input,
textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  outline: none;
  resize: vertical;
  min-height: 110px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-textarea::placeholder,
textarea::placeholder {
  color: var(--text-dim);
}

.form-textarea:focus,
textarea:focus {
  border-color: var(--accent);
  background: rgba(129, 21, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(129, 21, 255, 0.10);
}

/* Scrollbar */
.form-textarea::-webkit-scrollbar,
textarea::-webkit-scrollbar { width: 6px; }
.form-textarea::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track { background: transparent; }
.form-textarea::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
.form-textarea::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.pw-toggle {
  position: absolute; right: 13px;
  background: none; border: none;
  color: var(--text-dim);
  display: flex; align-items: center;
  padding: 0; cursor: pointer;
  transition: color 0.2s;
}

.pw-toggle:hover { color: var(--accent-light); }

.phone-wrap { display: flex; gap: 8px; }

.phone-code {
  width: 110px; flex-shrink: 0;
  padding: 11px 26px 11px 10px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 13px; color: var(--text);
  outline: none;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888892'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-code:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(129, 21, 255, 0.10);
}

.phone-num { flex: 1; }

/* ── Ana Buton (Gradient) ── */
.btn-primary,
.hero-btn-primary,
.ilan-add-btn,
.ilanlarim-add-btn,
.ilan-engel-btn:not(.ilan-engel-btn--secondary),
.detay-login-btn,
.priv-filter-btn,
.ilan-filter-btn,
.chatbot-send,
.chatbot-toggle {
  background: var(--gradient-btn) !important;
  border: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Hover shimmer efekti */
.btn-primary::before,
.hero-btn-primary::before,
.ilan-add-btn::before,
.ilanlarim-add-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  z-index: -1;
  transition: left 0.5s ease;
}

.btn-primary:hover::before,
.hero-btn-primary:hover::before,
.ilan-add-btn:hover::before,
.ilanlarim-add-btn:hover::before {
  left: 100%;
}
.btn-primary {
  width: 100%;
  padding: 13px;
  background: var(--gradient-btn);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.btn-primary:hover {
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; filter: none; }

.btn-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Alerts ── */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.alert svg { flex-shrink: 0; }
.alert-error   { background: rgba(220,53,69,0.08); border: 1px solid rgba(220,53,69,0.20); color: #dc3545; }
.alert-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.20); color: #22c55e; }
.alert-info    { background: var(--accent-subtle); border: 1px solid rgba(129,21,255,0.15); color: var(--accent-light); }

.info-box {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--accent-subtle);
  border: 1px solid rgba(129,21,255,0.12);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 20px; line-height: 1.6;
}

.info-box svg { color: var(--accent-light); flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════════ AUTH ══════════════════════════════════════════════ */
.auth-main {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 20px;
  position: relative;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.12;
}

.orb1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--accent-deep), transparent); top: -180px; left: -180px; }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(129,21,255,0.20), transparent); bottom: -100px; right: -100px; }

.auth-card {
  width: 100%; max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; z-index: 1;
}

.auth-card--wide { max-width: 560px; }

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

.card-top-bar {
  height: 3px;
  background: var(--gradient-bar);
}

.card-body { padding: 36px 40px 40px; }
.auth-title-block { margin-bottom: 28px; }

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  margin-bottom: 6px; line-height: 1.2;
}

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

/* Chip'ler */
.login-type-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.chip {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
}

.chip:hover { border-color: var(--accent); color: var(--accent-light); }

.chip.active {
  border-color: transparent;
  background: linear-gradient(var(--accent-subtle), var(--accent-subtle)) padding-box,
              var(--gradient-btn) border-box;
  border: 1px solid transparent;
  color: var(--accent-light);
  font-weight: 600;
}

/* Gradient border aktif tablar */
.reg-tab-btn.active,
.ilan-cat-btn.active,
.ilanlarim-tab.active,
.ilan-durum-btn.active,
.nav-link.active {
  border-color: transparent;
  background: linear-gradient(var(--accent-subtle), var(--accent-subtle)) padding-box,
              var(--gradient-btn) border-box;
  border: 1px solid transparent;
  color: var(--accent-light);
  font-weight: 600;
}

.forgot-link { text-align: right; margin-top: -4px; margin-bottom: 20px; }
.forgot-link a { font-size: 13px; color: var(--accent-light); font-weight: 500; }
.forgot-link a:hover { text-decoration: underline; }

.auth-switch { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.auth-switch a { color: var(--accent-light); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.terms-wrap { text-align: center; margin-top: 16px; font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.terms-wrap a { color: var(--accent-light); }

/* Kayıt tabları */
.reg-tabs { display: flex; gap: 6px; margin-bottom: 24px; }

.reg-tab-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.reg-tab-btn:hover { border-color: var(--border-hover); color: var(--text); }

.reg-tab-btn.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
  color: var(--accent-light);
  font-weight: 600;
}

.reg-panel { display: none; }
.reg-panel.active { display: block; animation: fadeIn 0.3s ease; }

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

.id-type-toggle { display: flex; gap: 6px; }

.id-toggle-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.id-toggle-btn.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
  color: var(--accent-light);
}

/* ══════════════════════════════════════════════ MODAL ══════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9000;
  align-items: center; justify-content: center;
  padding: 20px;
}

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

.modal-box {
  width: 100%; max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-body { padding: 28px 30px 32px; }

.modal-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  gap: 12px; margin-bottom: 24px;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  margin-bottom: 4px;
}

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

.modal-close-btn {
  width: 32px; height: 32px; flex-shrink: 0;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
}

.modal-close-btn:hover { border-color: var(--accent); color: var(--accent-light); }

.success-state { text-align: center; padding: 8px 0; }

.success-icon-wrap {
  width: 60px; height: 60px;
  background: var(--gradient-btn);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-accent);
}

.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  margin-bottom: 8px;
}

.success-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════ YASAL SAYFALAR ══════════════════════════════════════════════ */

.legal-page-main {
  flex: 1;
}

/* Hero */
.legal-hero {
  position: relative;
  padding: 80px 40px 50px;
  text-align: center;
  overflow: hidden;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.legal-hero .hero-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent);
  filter: blur(80px);
  opacity: 0.10;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
}

.legal-hero-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-subtle, rgba(129,21,255,0.08));
  color: var(--accent-light, #9D4EFF);
  border: 1px solid rgba(129, 21, 255, 0.15);
}

.legal-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.legal-hero-meta {
  font-size: 13px;
  color: var(--text-dim);
}

/* İçerik */
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  margin-bottom: 28px;
}

.legal-body {
  padding: 40px 44px 48px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}

.legal-body h2,
.legal-body h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  margin: 32px 0 12px;
  font-weight: 700;
}

.legal-body h2 {
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-body h3 {
  font-size: 17px;
}

.legal-body p {
  margin-bottom: 14px;
}

.legal-body strong {
  color: var(--text);
  font-weight: 600;
}

.legal-body ul,
.legal-body ol {
  margin: 12px 0 16px 20px;
  padding: 0;
}

.legal-body ul {
  list-style: disc;
}

.legal-body ol {
  list-style: decimal;
}

.legal-body li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-body a {
  color: var(--accent-light, #9D4EFF);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--accent, #8115FF);
}

.legal-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-dim);
}

/* Alt Navigasyon */
.legal-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.legal-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 8px);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.legal-nav-link:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
}

.legal-nav-link.active {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
  font-weight: 600;
}

.legal-nav-link svg {
  flex-shrink: 0;
  color: inherit;
}

@media (max-width: 768px) {
  .legal-hero { padding: 60px 20px 40px; }
  .legal-hero-title { font-size: 28px; }
  .legal-container { padding: 0 20px 60px; }
  .legal-body { padding: 28px 24px 32px; }
  .legal-nav { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════ SABİT VOQA KART BUTONU ══════════════════════════════════════════════ */
.fixed-kart-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 890;
  padding: 16px 8px;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  text-decoration: none;
  box-shadow: -3px 0 16px var(--accent-glow);
  transition: all 0.25s ease;
}

.fixed-kart-btn:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: var(--accent-light, #9D4EFF);
  box-shadow: -4px 0 24px rgba(129, 21, 255, 0.40);
}

.fixed-kart-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

.fixed-kart-text span {
  display: block;
}

.fixed-kart-text .kart-spacer {
  height: 6px;
}

@media (max-width: 768px) {
  .fixed-kart-btn {
    padding: 12px 6px;
  }
  .fixed-kart-text {
    font-size: 9px;
    width: 11px;
  }
}

/* ══════════════════════════════════════════════ BİLGİLENDİRME SLIDE ══════════════════════════════════════════════ */
.notif-slide {
  position: fixed;
  bottom: 140px;
  left: 24px;
  z-index: 880;
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(129,21,255,0.08);
  overflow: hidden;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.notif-slide.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.notif-slide-inner {
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.notif-slide-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}

.notif-slide-close:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.notif-slide-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.notif-slide-icon--purple {
  background: var(--accent-subtle);
  color: var(--accent-light);
}

.notif-slide-icon--green {
  background: rgba(34,197,94,0.10);
  color: #22c55e;
}

.notif-slide-icon--blue {
  background: rgba(59,130,246,0.10);
  color: #3b82f6;
}

.notif-slide-icon--orange {
  background: rgba(245,166,35,0.08);
  color: #f5a623;
}

.notif-slide-body {
  flex: 1;
  min-width: 0;
  padding-right: 30px;
}

.notif-slide-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.notif-slide-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.notif-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-light);
  transition: gap 0.2s;
}

.notif-slide-btn:hover { gap: 8px; }

/* Alt progress bar — otomatik kapanma göstergesi */
.notif-slide-progress {
  height: 3px;
  background: var(--accent);
  width: 100%;
  transform-origin: left;
  animation: notifCountdown 8s linear forwards;
}

@keyframes notifCountdown {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* Sol alttaki WA/Tel butonlarının üzerine binmesin */
@media (max-width: 480px) {
  .notif-slide {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 100px;
  }
}

/* ══════════════════════════════════════════════ CHATBOT WİDGET ══════════════════════════════════════════════ */
.chatbot-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 950;
}

/* Toggle Butonu */
.chatbot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(129, 21, 255, 0.45);
}

.chatbot-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: chatPulse 2.5s ease-out infinite;
}

@keyframes chatPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

.chatbot-widget.open .chatbot-pulse { display: none; }
.chatbot-widget.open .chatbot-icon-open { display: none; }
.chatbot-widget.open .chatbot-icon-close { display: block !important; }

/* Pencere */
.chatbot-window {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  flex-direction: column;
  animation: chatSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-widget.open .chatbot-window {
  display: flex;
}

@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(129,21,255,0.12), rgba(129,21,255,0.04));
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.chatbot-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.chatbot-status {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chatbot-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.chatbot-close {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.chatbot-close:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

/* Mesaj Alanı */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  max-height: 360px;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }

/* Mesaj Baloncukları */
.chat-msg {
  display: flex;
  max-width: 88%;
  animation: msgFadeIn 0.25s ease;
}

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

.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; }

.chat-msg-content {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  word-wrap: break-word;
}

.chat-msg--bot .chat-msg-content {
  background: var(--surface2);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-msg--user .chat-msg-content {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Chat içi linkler */
.chat-link {
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-msg--user .chat-link { color: rgba(255,255,255,0.9); }

/* Hızlı Aksiyonlar */
.chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.quick-action-btn {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
}

.quick-action-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
}

/* Link Butonları (bot yanıtında) */
.chat-link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chat-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid rgba(129,21,255,0.20);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-light);
  background: var(--accent-subtle);
  text-decoration: none;
  transition: all 0.2s;
}

.chat-link-btn:hover {
  background: rgba(129,21,255,0.15);
  border-color: var(--accent);
}

.chat-link-btn svg {
  width: 12px;
  height: 12px;
}

/* Yazıyor animasyonu */
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-items: center;
}

.chat-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* Input Alanı */
.chatbot-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input::placeholder { color: var(--text-dim); }
.chatbot-input:focus { border-color: var(--accent); }

.chatbot-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.chatbot-send:hover { background: var(--accent-light); }
.chatbot-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* Responsive */
@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100vw - 32px);
    right: -8px;
    bottom: 64px;
    max-height: 70vh;
  }
  .chatbot-widget { bottom: 16px; right: 16px; }
  .chatbot-toggle { width: 50px; height: 50px; }
}

/* ══════════════════════════════════════════════ SABİT İLETİŞİM BUTONLARI ══════════════════════════════════════════════ */
.fixed-contact {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fixed-contact-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.fixed-contact-btn:hover {
  transform: scale(1.1);
}

.fixed-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.fixed-whatsapp:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.50);
}

.fixed-phone {
  background: var(--gradient-btn);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.fixed-phone:hover {
  box-shadow: 0 6px 24px rgba(129, 21, 255, 0.45);
}

@media (max-width: 480px) {
  .fixed-contact {
    bottom: 16px;
    left: 16px;
    gap: 8px;
  }
  .fixed-contact-btn {
    width: 46px;
    height: 46px;
  }
}

/* ══════════════════════════════════════════════ RESPONSIVE ══════════════════════════════════════════════ */

/* ── App Store Badges (Footer) ── */
.app-badges { display: flex; gap: 8px; }

.app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
}

.app-badge:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
}

.app-badge svg { flex-shrink: 0; }

.app-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.app-badge-small { font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; }
.app-badge-name { font-size: 13px; font-weight: 600; }

/* ── Info Box Accent Variant ── */
.info-box--accent {
  background: linear-gradient(135deg, rgba(129,21,255,0.08) 0%, rgba(129,21,255,0.02) 100%);
  border-color: rgba(129,21,255,0.18);
}

.info-emoji {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Input Hint (Login algılama) ── */
.input-hint {
  font-size: 12px;
  color: var(--accent-light);
  margin-top: 6px;
  min-height: 18px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 1024px) {
  .header-inner { padding: 0 24px; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .btn-giris, .btn-kayit { display: none; }
  .hamburger { display: flex; }
  .voqa-footer { padding: 40px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ticker-label { padding: 0 12px; font-size: 10px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; gap: 10px; }
  .logo-img { height: 38px; }
  .logo-text { font-size: 22px; }
  .logo-mark { width: 38px; height: 38px; font-size: 18px; }
  .btn-ilan-ver { padding: 9px 12px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo-img { height: 42px; }
  .card-body { padding: 28px 20px 32px; }
  .form-row { flex-direction: column; gap: 0; }
  .reg-tabs { flex-direction: column; }
  .app-badges { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-badges { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .voqa-header, .voqa-footer, .voqa-ticker, .bg-orb, body::before, body::after { display: none !important; }
  body { background: #fff; color: #000; }
}
