/* ═══════════════════════════════════════════════════════
   SELLGITSIN — BLACK & WHITE THEME
   ═══════════════════════════════════════════════════════ */

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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0a0a0a;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.w-full { width: 100%; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; font-family: inherit;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; border: none; line-height: 1;
}
.btn-primary {
  background: var(--black); color: var(--white);
}
.btn-primary:hover {
  background: var(--gray-800); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
/* Nav butonları override */
.nav .btn-primary {
  background: var(--white); color: var(--black);
}
.nav .btn-primary:hover {
  background: var(--gray-200);
}
.btn-secondary {
  background: var(--gray-100); color: var(--black);
  border: 1px solid var(--gray-200);
}
.btn-secondary:hover {
  background: var(--gray-200); transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--gray-300);
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--white); background: var(--gray-800); }
.btn-social {
  background: var(--white); color: var(--gray-900);
  border: 1px solid var(--gray-200); width: 100%;
  padding: 14px;
}
.btn-social:hover { background: var(--gray-50); border-color: var(--gray-300); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-lg); }

/* ── NAV ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--gray-800);
  transition: background 0.3s, border-color 0.3s;
}
.nav.nav-light {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--gray-200);
}
.nav.nav-light .logo { color: var(--black); }
.footer .logo span { display: none; }
.nav.nav-light .nav-links a { color: var(--gray-500); }
.nav.nav-light .nav-links a:hover { color: var(--black); }
.nav.nav-light .btn-ghost { color: var(--gray-700); }
.nav.nav-light .btn-ghost:hover { color: var(--black); background: var(--gray-100); }
.nav.nav-light .btn-primary { background: var(--black); color: var(--white); }
.nav.nav-light .btn-primary:hover { background: var(--gray-800); }
.nav.nav-light .hamburger span { background: var(--black); }
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.logo {
  font-size: 22px; font-weight: 800; color: var(--white);
  text-decoration: none; letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  color: var(--gray-400); text-decoration: none;
  font-weight: 500; font-size: 14px; transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; gap: 8px; }
.hamburger {
  display: none; background: none; border: none;
  width: 32px; height: 32px; cursor: pointer; margin-left: auto;
  flex-direction: column; justify-content: center; gap: 5px; align-items: center;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--white); transition: all var(--transition);
  border-radius: 2px;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px 20px; border-top: 1px solid var(--gray-800);
  background: var(--black);
}
.mobile-menu a {
  color: var(--gray-300); text-decoration: none;
  font-weight: 500; padding: 12px 0; font-size: 15px;
}
.mobile-menu.open { display: flex; }
.mobile-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--black); color: var(--white);
  overflow: hidden; padding-bottom: 40px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero .container { position: relative; z-index: 1; }
.hero-center {
  text-align: center; padding: 60px 0 40px;
}
.hero-title {
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 900; line-height: 0.9;
  letter-spacing: -6px; margin-bottom: 24px;
}
.hero-line-1 { display: block; color: var(--white); }
.hero-line-2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-400); max-width: 480px;
  margin: 0 auto 40px; font-weight: 400; line-height: 1.6;
}
.search-box {
  display: flex; align-items: center;
  background: var(--gray-900); border: 1px solid var(--gray-700);
  border-radius: 60px; padding: 6px 6px 6px 0;
  max-width: 560px; margin: 0 auto;
  transition: border-color var(--transition);
}
.search-box:focus-within { border-color: var(--white); }
.search-icon {
  padding: 0 16px; color: var(--gray-500);
  display: flex; align-items: center;
}
.search-box input {
  flex: 1; padding: 14px 0; border: none;
  outline: none; font-size: 16px; font-family: inherit;
  background: transparent; color: var(--white);
}
.search-box input::placeholder { color: var(--gray-500); }
.search-btn {
  padding: 14px 28px; background: var(--white);
  color: var(--black); border: none; border-radius: 50px;
  font-weight: 700; font-size: 15px; font-family: inherit;
  cursor: pointer; transition: all var(--transition);
}
.search-btn:hover { background: var(--gray-200); transform: scale(1.02); }

/* Marquee */
.marquee-wrap {
  position: relative; z-index: 1;
  padding: 40px 0 32px; overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; gap: 12px; width: max-content;
  animation: scroll-left 30s linear infinite;
}
.marquee-item {
  padding: 12px 28px; border-radius: 50px;
  border: 1px solid var(--gray-700); background: transparent;
  color: var(--gray-300); font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.marquee-item:hover {
  background: var(--white); color: var(--black); border-color: var(--white);
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Stats Bar */
.hero-stats-bar {
  display: flex; justify-content: center; gap: 48px;
  padding: 32px 0 0;
  border-top: 1px solid var(--gray-800);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block; font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; color: var(--white); letter-spacing: -1px;
}
.hero-stat span {
  font-size: 12px; color: var(--gray-500);
  font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
}

/* ── LIVE PREVIEW ──────────────────────────────────────── */
.live-preview {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}
.live-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  font-size: 13px; font-weight: 600; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 1px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.live-scroll {
  display: flex; gap: 16px; overflow-x: auto;
  padding-bottom: 8px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.live-scroll::-webkit-scrollbar { display: none; }
.live-card {
  flex: 0 0 220px; scroll-snap-align: start;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: all var(--transition);
}
.live-card:hover {
  border-color: var(--black); transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.live-card-img {
  height: 140px; display: flex; align-items: center;
  justify-content: center; font-size: 48px;
  background: var(--gray-100); overflow: hidden;
}
.live-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.live-card-body {
  padding: 12px;
}
.live-card-body strong {
  display: block; font-size: 13px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-card-body .live-price {
  font-size: 16px; font-weight: 800; color: var(--black);
  display: block; margin-top: 4px;
}
.live-card-body .live-loc {
  font-size: 11px; color: var(--gray-400);
}

/* ── FEATURES STRIP ────────────────────────────────────── */
.features-strip {
  padding: 64px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.strip-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.strip-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--black); color: var(--white);
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center;
}
.strip-item strong {
  display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px;
}
.strip-item p {
  font-size: 13px; color: var(--gray-500); line-height: 1.5; margin: 0;
}

/* ── SECTIONS ──────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray-500); margin-bottom: 12px;
}
.section-header h2, .section-header-row h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 12px; color: var(--black);
}
.section-header p {
  font-size: 17px; color: var(--gray-500);
  max-width: 560px; margin: 0 auto;
}

/* ── CATEGORIES ────────────────────────────────────────── */
.categories { padding: 100px 0; }
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 28px 16px;
  background: var(--white); border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg); cursor: pointer;
  font-family: inherit; transition: all var(--transition);
}
.cat-card:hover {
  border-color: var(--black); background: var(--black);
  color: var(--white); transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card:hover small { color: var(--gray-400); }
.cat-emoji { font-size: 36px; }
.cat-card strong { font-size: 14px; font-weight: 700; }
.cat-card small { font-size: 12px; color: var(--gray-400); transition: color var(--transition); }

/* ── LISTINGS ──────────────────────────────────────────── */
.listings {
  padding: 80px 0 100px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

/* Üst filtre satırı */
.listings-topbar {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 48px;
}
.filter-label { font-size: 14px; color: var(--gray-400); margin-top: 4px; }
.filter-controls { display: flex; gap: 12px; align-items: center; }
.filter-btn {
  padding: 8px 20px; border-radius: 50px;
  border: 1px solid var(--gray-200); background: var(--white);
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all var(--transition);
  color: var(--gray-600);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--black); color: var(--white); border-color: var(--black);
}
.filter-controls select {
  padding: 8px 16px; border-radius: 50px;
  border: 1px solid var(--gray-200); font-size: 13px;
  font-family: inherit; color: var(--gray-600);
  background: var(--white); cursor: pointer;
}

/* Horizontal Scroll Blokları */
.hs-block {
  margin-bottom: 56px;
}
.hs-block:last-child { margin-bottom: 0; }
.hs-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 20px;
}
.hs-title-group h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px;
  margin: 0 0 2px;
}
.hs-subtitle {
  font-size: 13px; color: var(--gray-400); font-weight: 400;
}

/* Scroll container */
.hs-scroll-wrap {
  position: relative;
  overflow: hidden;
}
.hs-scroll-wrap::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80px; height: 100%;
  background: linear-gradient(to right, transparent, var(--gray-50));
  pointer-events: none; z-index: 1;
}
.hs-row {
  display: flex; gap: 16px;
  overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hs-row::-webkit-scrollbar { display: none; }

/* Kartlar */
.listing-card {
  flex: 0 0 260px; width: 260px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition); cursor: pointer;
  position: relative; scroll-snap-align: start;
}
.listing-card:hover {
  border-color: var(--black); transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.listing-img {
  height: 180px; display: flex; align-items: center;
  justify-content: center; font-size: 56px;
  background: var(--gray-50); border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { padding: 14px; }
.listing-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gray-500); background: var(--gray-100);
  padding: 3px 8px; border-radius: 50px; margin-bottom: 7px;
}
.listing-title {
  font-size: 15px; font-weight: 700; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.listing-desc {
  font-size: 12px; color: var(--gray-400); margin-bottom: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.listing-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.listing-price {
  font-size: 18px; font-weight: 800; color: var(--black);
}
.listing-loc {
  font-size: 11px; color: var(--gray-400); font-weight: 500;
}
.badge-new {
  position: absolute; top: 10px; right: 10px;
  background: var(--black); color: var(--white);
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 3px 8px; border-radius: 50px;
}
.badge-price-drop {
  position: absolute; top: 10px; right: 10px;
  background: #ef4444; color: var(--white);
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 3px 8px; border-radius: 50px;
}
.hs-empty {
  flex: 0 0 100%; text-align: center; padding: 48px 24px;
  color: var(--gray-400); font-size: 14px;
}

/* Eski grid (geriye dönük uyumluluk) */
.listings-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.load-more { text-align: center; margin-top: 40px; }

/* Responsive */
@media (max-width: 768px) {
  .listings-topbar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .listing-card { flex: 0 0 220px; width: 220px; }
  .listing-img { height: 150px; }
}

/* ── DOWNLOAD ──────────────────────────────────────────── */
.download {
  padding: 100px 0;
  background: var(--black); color: var(--white);
}
.download-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.download .section-tag { color: var(--gray-400); }
.download h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px; line-height: 1.1;
}
.download-content p {
  font-size: 17px; color: var(--gray-400);
  margin-bottom: 32px; line-height: 1.7;
}
.download-features {
  list-style: none; margin-bottom: 40px;
}
.download-features li {
  padding: 8px 0; font-size: 15px; color: var(--gray-300);
  font-weight: 500;
}
.download .btn-primary {
  background: var(--white); color: var(--black);
}
.download .btn-primary:hover {
  background: var(--gray-200);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.download-visual { display: flex; justify-content: center; }
.app-preview {
  display: flex; gap: 20px;
  transform: perspective(1000px) rotateY(-5deg);
}
.app-screen {
  width: 200px; background: var(--gray-900);
  border: 1px solid var(--gray-700); border-radius: var(--radius-xl);
  overflow: hidden;
}
.app-screen-header {
  padding: 20px 16px 12px; font-weight: 700; font-size: 18px;
  color: var(--white);
}
.app-screen-body { padding: 0 12px 20px; }
.mini-card {
  width: 100%; height: 48px; background: var(--gray-800);
  border-radius: 10px; margin-bottom: 8px;
}
.chat-bubble {
  padding: 10px 14px; border-radius: 14px;
  font-size: 12px; margin-bottom: 8px;
  max-width: 85%; line-height: 1.4;
}
.chat-bubble.left {
  background: var(--gray-800); color: var(--gray-300);
  border-bottom-left-radius: 4px;
}
.chat-bubble.right {
  background: var(--white); color: var(--black);
  margin-left: auto; border-bottom-right-radius: 4px;
}

/* ── CONTACT ───────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  border-top: 1px solid var(--gray-100);
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-info h2 {
  font-size: 36px; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.contact-info > p { color: var(--gray-500); margin-bottom: 40px; font-size: 16px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
}
.contact-icon {
  width: 48px; height: 48px; background: var(--gray-100);
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center; font-size: 20px;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 14px; font-weight: 600; }
.contact-item span { font-size: 14px; color: var(--gray-500); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px; font-weight: 600; color: var(--gray-700);
}
.contact-form input,
.contact-form textarea {
  padding: 14px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: 15px;
  font-family: inherit; transition: border-color var(--transition);
  outline: none; background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--black); }
.contact-form textarea { resize: vertical; }
.form-success {
  display: none; color: var(--gray-600); font-weight: 600;
  text-align: center; padding: 12px;
  background: var(--gray-100); border-radius: var(--radius);
}

/* ── AUTH MODAL ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px; max-width: 420px; width: 100%;
  position: relative; box-shadow: var(--shadow-xl);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 24px;
  cursor: pointer; color: var(--gray-400);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--gray-100); color: var(--black); }
.modal h2 {
  font-size: 24px; font-weight: 800; margin-bottom: 24px;
  text-align: center;
}
.modal .form-field { margin-bottom: 16px; }
.modal .form-field label {
  font-size: 13px; font-weight: 600; color: var(--gray-600);
  margin-bottom: 6px; display: block;
}
.modal .form-field input {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--gray-200); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color var(--transition);
}
.modal .form-field input:focus { border-color: var(--black); }
.auth-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 20px 0; color: var(--gray-400); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-200);
}
.auth-switch {
  text-align: center; margin-top: 20px;
  font-size: 14px; color: var(--gray-500);
}
.auth-switch a {
  color: var(--black); font-weight: 600; text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--gray-950); color: var(--gray-400);
}
.footer-inner {
  display: flex; justify-content: space-between;
  gap: 48px; padding: 64px 0 48px;
}
.footer-brand { max-width: 280px; }
.footer .logo { color: var(--white); display: inline-block; margin-bottom: 12px; }
.footer .logo span { color: var(--gray-600); }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--gray-300);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  color: var(--gray-500); text-decoration: none;
  font-size: 14px; padding: 4px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--gray-800); padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--gray-600); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  color: var(--gray-500); text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--white); }

/* ── ADMIN PANEL ──────────────────────────────────────── */
.admin-overlay { z-index: 210; }
.admin-sidebar { background: #0a0a0a; border-color: #1a1a1a; }
.admin-sidebar .prof-menu-item { color: #a3a3a3; }
.admin-sidebar .prof-menu-item:hover { background: #1a1a1a; color: #fff; }
.admin-sidebar .prof-menu-active { background: #fff !important; color: #000 !important; }
.admin-sidebar .prof-close { color: #525252; }
.admin-sidebar .prof-close:hover { color: #fff; }

.admin-sidebar-brand {
  padding: 48px 24px 24px; text-align: center;
  border-bottom: 1px solid #1a1a1a;
}
.admin-badge {
  width: 56px; height: 56px; border-radius: 16px;
  background: #fff; color: #000;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 12px;
}
.admin-sidebar-brand h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.admin-sidebar-brand p { font-size: 12px; color: #525252; }

.admin-loading { text-align: center; padding: 80px; color: var(--gray-400); font-size: 15px; }
.admin-error { color: #ef4444; padding: 20px; }

/* Stats Grid */
.admin-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.admin-stat-icon { font-size: 32px; margin-bottom: 8px; }
.admin-stat-card strong { display: block; font-size: 26px; font-weight: 900; color: var(--black); }
.admin-stat-card span { font-size: 13px; color: var(--gray-500); }

/* Recent Grid */
.admin-recent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-recent-block {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 20px;
}
.admin-recent-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.admin-recent-head h4 { font-size: 14px; font-weight: 700; }
.admin-link-btn {
  background: none; border: none; font-size: 12px; font-weight: 600;
  color: var(--gray-500); cursor: pointer; font-family: inherit;
  transition: color var(--transition);
}
.admin-link-btn:hover { color: var(--black); }

/* Admin Rows */
.admin-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 8px; border-radius: 8px;
  cursor: pointer; transition: background var(--transition);
}
.admin-row:hover { background: var(--gray-200); }
.admin-row-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.admin-row-thumb {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--gray-200); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.admin-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-row-info { flex: 1; min-width: 0; }
.admin-row-info strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row-info span { font-size: 12px; color: var(--gray-400); }
.admin-role-badge {
  font-size: 11px; font-weight: 700;
  background: var(--gray-200); color: var(--gray-600);
  padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}
.admin-badge-admin {
  background: #000; color: #fff;
}
.admin-price { font-size: 13px; font-weight: 700; white-space: nowrap; }

/* Table */
.admin-table-wrap {
  overflow-x: auto; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); margin-top: 8px;
}
.admin-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.admin-table thead th {
  background: var(--gray-50); padding: 12px 16px;
  text-align: left; font-size: 12px; font-weight: 700;
  color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.admin-table-row {
  cursor: pointer; transition: background var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.admin-table-row:last-child { border-bottom: none; }
.admin-table-row:hover { background: var(--gray-50); }
.admin-table td { padding: 12px 16px; vertical-align: middle; }
.admin-table-user, .admin-table-listing {
  display: flex; align-items: center; gap: 12px;
}
.admin-table-user strong, .admin-table-listing strong {
  display: block; font-weight: 600; font-size: 14px;
}
.admin-table-user span, .admin-table-listing span {
  font-size: 12px; color: var(--gray-400);
}
.admin-td-date { font-size: 12px; color: var(--gray-400); white-space: nowrap; }
.admin-td-price { font-weight: 700; white-space: nowrap; }

/* Action Buttons */
.admin-action-btn {
  padding: 5px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: 1px solid; margin-right: 4px;
  transition: all var(--transition);
}
.admin-action-view {
  background: none; border-color: var(--gray-300); color: var(--gray-600);
}
.admin-action-view:hover { border-color: var(--black); color: var(--black); }
.admin-action-del {
  background: none; border-color: #fca5a5; color: #ef4444;
}
.admin-action-del:hover { background: #ef4444; color: #fff; border-color: #ef4444; }

/* User Detail Modal */
.admin-user-detail-header {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 24px 16px;
}
.admin-user-detail-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; flex-shrink: 0;
}
.admin-user-detail-header h2 { font-size: 20px; font-weight: 800; margin-bottom: 2px; }
.admin-user-detail-header p { font-size: 13px; color: var(--gray-500); margin-bottom: 6px; }
.admin-user-detail-stats {
  display: flex; gap: 0;
  border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
  margin: 0 0 16px;
}
.admin-user-stat { flex: 1; text-align: center; padding: 16px; }
.admin-user-stat:not(:last-child) { border-right: 1px solid var(--gray-200); }
.admin-user-stat strong { display: block; font-size: 20px; font-weight: 800; }
.admin-user-stat span { font-size: 12px; color: var(--gray-400); }
.admin-user-detail-listings { padding: 0 24px 16px; }
.admin-user-detail-listings h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--gray-600); }

/* Dropdown admin link */
.dropdown-admin-link {
  color: var(--black) !important; font-weight: 700 !important;
  background: var(--gray-100) !important; border-radius: 8px;
}
.dropdown-admin-link:hover { background: var(--black) !important; color: var(--white) !important; }

/* 5-column stat grid */
.admin-stats-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.admin-stat-label {
  font-size: 12px; font-weight: 600; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px;
}
.admin-stat-sub {
  font-size: 11px; color: var(--gray-400); margin-top: 2px; display: block;
}
.admin-stat-highlight {
  background: var(--black) !important; border-color: var(--black) !important;
}
.admin-stat-highlight strong { color: var(--white) !important; }
.admin-stat-highlight .admin-stat-label,
.admin-stat-highlight .admin-stat-sub { color: var(--gray-400) !important; }

/* Charts Section */
.admin-charts-section {
  margin-bottom: 32px;
}
.admin-charts-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.admin-charts-header h3 {
  font-size: 18px; font-weight: 800;
}
.admin-charts-summary {
  display: flex; gap: 20px; font-size: 13px; color: var(--gray-500);
}
.admin-charts-summary strong {
  color: var(--black); font-weight: 700;
}
.admin-charts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

/* Individual Chart Block */
.admin-chart-block {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 20px 20px 12px;
}
.admin-chart-title {
  font-size: 13px; font-weight: 700; color: var(--gray-600);
  margin-bottom: 16px;
}

/* Chart Container: y-axis + chart area side by side */
.admin-chart-container {
  display: flex; gap: 0; height: 180px;
}

/* Y-axis */
.admin-chart-yaxis {
  display: flex; flex-direction: column; justify-content: space-between;
  align-items: flex-end; padding-right: 8px; width: 32px; flex-shrink: 0;
  padding-bottom: 22px;
}
.admin-chart-yaxis span {
  font-size: 10px; color: var(--gray-400); line-height: 1;
}

/* Chart area: gridlines + bars layered */
.admin-chart-area {
  flex: 1; position: relative; min-width: 0;
}

/* Gridlines (horizontal) */
.admin-chart-gridlines {
  position: absolute; inset: 0; bottom: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
}
.admin-chart-gridline {
  border-bottom: 1px solid var(--gray-200); width: 100%;
}

/* Bars container */
.admin-chart-bars {
  display: flex; align-items: flex-end; gap: 2px;
  height: calc(100% - 22px); position: relative; z-index: 1;
}

/* Single column (bar + label) */
.admin-chart-col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; min-width: 0; height: 100%;
}
.admin-chart-bar-wrap {
  flex: 1; width: 100%; display: flex; align-items: flex-end;
  justify-content: center;
}

/* The actual bar */
.admin-chart-bar {
  width: 70%; max-width: 18px; min-height: 2px;
  background: var(--black); border-radius: 3px 3px 0 0;
  transition: background 0.15s, transform 0.15s;
  position: relative; cursor: pointer;
}
.admin-chart-bar:hover {
  background: var(--gray-700); transform: scaleY(1.03);
}

/* Tooltip on hover */
.admin-chart-bar::after {
  content: attr(data-count);
  position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) scale(0);
  background: var(--black); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px;
  white-space: nowrap; pointer-events: none;
  transition: transform 0.15s;
  z-index: 5;
}
.admin-chart-bar:hover::after {
  transform: translateX(-50%) scale(1);
}

/* X-axis labels */
.admin-chart-xlabel {
  font-size: 9px; color: var(--gray-400); margin-top: 4px;
  white-space: nowrap; height: 18px; line-height: 18px;
}
.admin-chart-xlabel-hide {
  visibility: hidden;
}

/* Responsive: admin charts & stats */
@media (max-width: 900px) {
  .admin-stats-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .admin-charts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .admin-stats-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .admin-charts-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .admin-chart-container { height: 140px; }
  .admin-chart-bar { max-width: 10px; }
}

/* ── PROFILE PAGE ─────────────────────────────────────── */
.prof-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--white);
  overflow: hidden;
  animation: profFadeIn 0.25s ease;
}
@keyframes profFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.prof-container {
  display: flex; height: 100vh;
}

/* Sidebar */
.prof-sidebar {
  width: 300px; min-width: 300px;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  display: flex; flex-direction: column;
  overflow-y: auto; position: relative;
}
.prof-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  font-size: 28px; color: var(--gray-400);
  cursor: pointer; line-height: 1;
  transition: color var(--transition);
}
.prof-close:hover { color: var(--black); }

.prof-user-card {
  padding: 40px 24px 24px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.prof-avatar { margin-bottom: 12px; }
.prof-avatar-img {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--gray-200);
}
.prof-avatar-ph {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800;
}
.prof-user-name {
  font-size: 18px; font-weight: 800; margin-bottom: 2px;
}
.prof-user-email {
  font-size: 13px; color: var(--gray-500); margin-bottom: 8px;
}
.prof-member-since {
  font-size: 11px; color: var(--gray-400);
  background: var(--gray-200); padding: 3px 10px;
  border-radius: 20px; display: inline-block;
}

/* Sidebar Menu */
.prof-menu {
  padding: 12px; flex: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.prof-menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: none; background: none;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  font-family: inherit; color: var(--gray-600);
  cursor: pointer; text-align: left; width: 100%;
  transition: all var(--transition);
}
.prof-menu-item:hover { background: var(--gray-200); color: var(--black); }
.prof-menu-active { background: var(--black) !important; color: var(--white) !important; }
.prof-menu-active .prof-menu-icon { filter: none; }
.prof-menu-icon { font-size: 18px; width: 24px; text-align: center; }
.prof-menu-logout { margin-top: auto; }
.prof-menu-logout:hover { color: #ef4444 !important; background: #fef2f2 !important; }

/* Content Area */
.prof-content {
  flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden;
  padding: 40px 48px;
}
.prof-section {}
.prof-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0;
}
.prof-title {
  font-size: 26px; font-weight: 800; margin-bottom: 4px;
}
.prof-subtitle {
  font-size: 14px; color: var(--gray-500); margin-bottom: 28px;
}

/* Stats Row — 4'lü grid */
.prof-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 24px;
}
.prof-stat-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 18px 12px; text-align: center;
}
.prof-stat-card strong {
  display: block; font-size: 24px; font-weight: 800; color: var(--black);
}
.prof-stat-card span {
  font-size: 12px; color: var(--gray-500); line-height: 1.3;
}

/* Views Placeholder (artık kullanılmıyor ama sakla) */
.prof-views-placeholder {
  text-align: center; padding: 60px 24px;
  background: var(--gray-50); border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
}
.prof-views-icon { font-size: 48px; margin-bottom: 12px; }
.prof-views-placeholder p { color: var(--gray-400); font-size: 15px; }

/* ── Profil Görüntülenme Grafikleri ───────────────── */
.prof-chart-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 20px 12px;
  margin-bottom: 16px;
}
.prof-chart-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.prof-chart-header h3 { font-size: 14px; font-weight: 700; margin: 0; }
.prof-chart-header span { font-size: 12px; color: var(--gray-400); }

.prof-chart-wrap { overflow: hidden; }
.prof-chart-bars {
  display: flex; align-items: flex-end;
  height: 110px; gap: 2px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.prof-chart-col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; height: 100%; position: relative;
}
.prof-chart-bar-wrap {
  flex: 1; width: 100%;
  display: flex; align-items: flex-end; justify-content: center;
}
.prof-chart-bar {
  width: 75%; max-width: 16px; min-height: 2px;
  background: var(--black); border-radius: 2px 2px 0 0;
  position: relative; cursor: default; transition: opacity 0.15s;
}
.prof-chart-bar:hover { opacity: 0.65; }
.prof-chart-bar::after {
  content: attr(data-val);
  position: absolute; bottom: calc(100% + 4px); left: 50%;
  transform: translateX(-50%);
  background: var(--black); color: var(--white);
  font-size: 10px; padding: 2px 6px; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.15s; z-index: 10;
}
.prof-chart-bar:hover::after { opacity: 1; }
.prof-chart-xlabel {
  font-size: 9px; color: var(--gray-400);
  text-align: center; position: absolute;
  bottom: 4px; white-space: nowrap;
}
.prof-chart-xlabel-hide { visibility: hidden; }

/* ── İlan Bazında Analitik ────────────────────────── */
.prof-analytics-head {
  display: flex; justify-content: space-between; align-items: center;
  margin: 24px 0 12px;
}
.prof-analytics-head h3 { font-size: 14px; font-weight: 700; margin: 0; }
.prof-analytics-head span { font-size: 12px; color: var(--gray-400); }
.prof-analytics-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: nowrap;
  padding: 12px 14px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-200);
  margin-bottom: 10px; cursor: pointer;
  transition: border-color var(--transition);
  overflow: hidden;
}
.prof-analytics-row:hover { border-color: var(--black); }
.prof-analytics-thumb {
  width: 50px; height: 50px; border-radius: 10px;
  background: var(--gray-100); overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.prof-analytics-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prof-analytics-info { flex: 1; min-width: 0; overflow: hidden; }
.prof-analytics-info strong {
  display: block; font-size: 13px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.prof-analytics-info span { font-size: 11px; color: var(--gray-400); }
.prof-analytics-stats {
  display: flex; gap: 8px; flex-shrink: 0;
  border-left: 1px solid var(--gray-100); padding-left: 12px;
}
.prof-analytics-stat { text-align: center; min-width: 44px; }
.prof-analytics-stat strong {
  display: block; font-size: 14px; font-weight: 800; color: var(--black);
}
.prof-analytics-stat span { font-size: 9px; color: var(--gray-400); white-space: nowrap; }

@media (max-width: 520px) {
  .prof-analytics-stats { gap: 8px; }
  .prof-analytics-stat { min-width: 36px; }
  .prof-analytics-stat strong { font-size: 13px; }
  .prof-chart-bars { height: 80px; }
}

/* Listing Rows */
.prof-listing-list {}
.prof-listing-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: var(--radius);
  cursor: pointer; transition: background var(--transition);
  border: 1px solid transparent;
}
.prof-listing-row:hover {
  background: var(--gray-50); border-color: var(--gray-200);
}
.prof-listing-thumb {
  width: 56px; height: 56px; border-radius: 10px;
  background: var(--gray-100); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.prof-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prof-listing-thumb span { font-size: 28px; }
.prof-listing-detail { flex: 1; min-width: 0; }
.prof-listing-detail strong {
  display: block; font-size: 15px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prof-listing-cat {
  font-size: 13px; color: var(--gray-400);
}
.prof-listing-price {
  font-size: 15px; font-weight: 700; color: var(--black);
  white-space: nowrap;
}

/* Empty State */
.prof-empty-state {
  text-align: center; padding: 60px 24px;
}
.prof-empty-icon { font-size: 48px; margin-bottom: 12px; }
.prof-empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.prof-empty-state p { color: var(--gray-500); font-size: 14px; margin-bottom: 16px; }

/* Chat Rows */
.prof-chat-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  cursor: pointer; transition: background var(--transition);
}
.prof-chat-row:hover { background: var(--gray-50); }
.prof-chat-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.prof-chat-info { flex: 1; }
.prof-chat-info strong { display: block; font-size: 14px; font-weight: 600; }
.prof-chat-info span { font-size: 12px; color: var(--gray-400); }
.prof-chat-arrow { font-size: 24px; color: var(--gray-300); }
.prof-loading { text-align: center; padding: 40px; color: var(--gray-400); }

/* Settings */
.prof-settings-group {
  margin-bottom: 32px; padding: 24px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.prof-settings-group h4 {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--gray-400);
  margin-bottom: 20px;
}
.prof-field { margin-bottom: 16px; }
.prof-field:last-child { margin-bottom: 0; }
.prof-field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--gray-600); margin-bottom: 6px;
}
.prof-field-row {
  display: flex; gap: 8px;
}
.prof-field-row input {
  flex: 1; padding: 11px 14px;
  border: 1px solid var(--gray-300); border-radius: 8px;
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color var(--transition);
}
.prof-field-row input:focus { border-color: var(--black); }
.prof-field-row .btn { white-space: nowrap; padding: 11px 18px; font-size: 13px; }

/* Toggle Switch */
.prof-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--gray-200);
}
.prof-toggle-row:last-child { border-bottom: none; }
.prof-toggle-row strong { font-size: 14px; font-weight: 600; display: block; }
.prof-toggle-row p { font-size: 12px; color: var(--gray-400); margin: 2px 0 0; }
.prof-toggle {
  position: relative; display: inline-block;
  width: 48px; height: 26px; flex-shrink: 0;
}
.prof-toggle input { opacity: 0; width: 0; height: 0; }
.prof-toggle-slider {
  position: absolute; inset: 0;
  background: var(--gray-300); border-radius: 26px;
  cursor: pointer; transition: background 0.3s;
}
.prof-toggle-slider::before {
  content: ''; position: absolute;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); left: 3px; top: 3px;
  transition: transform 0.3s;
}
.prof-toggle input:checked + .prof-toggle-slider { background: var(--black); }
.prof-toggle input:checked + .prof-toggle-slider::before { transform: translateX(22px); }

/* Privacy */
.prof-privacy-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--gray-200);
}
.prof-privacy-item:last-child { border-bottom: none; }
.prof-privacy-item strong { font-size: 14px; font-weight: 600; display: block; }
.prof-privacy-item p { font-size: 12px; color: var(--gray-400); margin: 2px 0 0; }
.prof-badge-soon {
  font-size: 11px; font-weight: 700; color: var(--gray-500);
  background: var(--gray-200); padding: 4px 12px;
  border-radius: 20px; white-space: nowrap;
}
.prof-danger-zone { border-color: #fecaca; background: #fef2f2; }
.prof-danger-zone h4 { color: #ef4444; }
.prof-btn-danger {
  background: none; border: 1px solid #ef4444;
  color: #ef4444; padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all var(--transition);
}
.prof-btn-danger:hover { background: #ef4444; color: var(--white); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .download-inner { grid-template-columns: 1fr; text-align: center; }
  .download-content p { margin-left: auto; margin-right: auto; }
  .download-features { display: inline-block; text-align: left; }
  .download-visual { margin-top: 40px; }
  .app-preview { transform: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero-stats-bar { gap: 24px; flex-wrap: wrap; }
  .strip-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 32px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .app-preview { flex-direction: column; align-items: center; }
  /* Profile responsive */
  .prof-container { flex-direction: column; }
  .prof-sidebar {
    width: 100%; min-width: 100%;
    max-height: 50vh; border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }
  .prof-user-card { padding: 24px 16px 16px; }
  .prof-avatar-img, .prof-avatar-ph { width: 56px; height: 56px; font-size: 24px; }
  .prof-menu { flex-direction: row; flex-wrap: wrap; padding: 8px; gap: 4px; }
  .prof-menu-item { padding: 8px 12px; font-size: 12px; gap: 6px; }
  .prof-menu-icon { font-size: 14px; width: 18px; }
  .prof-menu-logout { margin-top: 0; }
  .prof-content { padding: 24px 16px; }
  .prof-title { font-size: 20px; }
  .prof-stats-row { grid-template-columns: 1fr; }
  .prof-field-row { flex-direction: column; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════
   FIREBASE COMPONENTS
   ═══════════════════════════════════════════════════════ */

/* ── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 300; display: flex; align-items: center; gap: 10px;
  background: var(--gray-900); color: var(--white);
  padding: 14px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-xl); font-size: 14px; font-weight: 500;
  opacity: 0; transition: all 0.3s ease;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { background: #1a1a1a; }
.toast-error { background: #1a1a1a; border: 1px solid #ef4444; }
.toast-info { background: #1a1a1a; }
.toast span { font-size: 18px; }

/* ── User Menu ─────────────────────────────────────────── */
.user-menu {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 6px 12px;
  border-radius: var(--radius); transition: background var(--transition);
  position: relative;
}
.user-menu:hover { background: var(--gray-100); }
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gray-200);
}
.user-avatar-placeholder {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.user-name {
  font-size: 14px; font-weight: 600; color: var(--gray-700);
  max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 180px; padding: 8px; display: none; z-index: 50;
}
.user-dropdown.open { display: block; }
.user-dropdown a {
  display: block; padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: var(--gray-700); text-decoration: none;
  border-radius: 8px; transition: background var(--transition);
}
.user-dropdown a:hover { background: var(--gray-100); color: var(--black); }
.dropdown-divider { height: 1px; background: var(--gray-100); margin: 4px 0; }

/* ── Listing Card Extras ───────────────────────────────── */
.listing-real-img {
  width: 100%; height: 100%; object-fit: cover;
}
.listing-emoji { font-size: 64px; }
.fav-btn {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,0.9); border: 1px solid var(--gray-200);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; color: var(--gray-400);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.fav-btn:hover { color: #ef4444; border-color: #ef4444; }
.fav-btn.fav-active { color: #ef4444; background: #fef2f2; border-color: #ef4444; }

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 24px;
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); margin-bottom: 20px; }

/* ── Full-Page Listing Detail ──────────────────────────── */
.dtl-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--white); display: flex; flex-direction: column;
}
.dtl-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 32px; border-bottom: 1px solid var(--gray-200);
  background: var(--white); flex-shrink: 0;
}
.dtl-back {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; font-size: 14px; font-weight: 600;
  color: var(--black); cursor: pointer;
}
.dtl-back:hover { color: var(--gray-500); }
.dtl-topbar-right { display: flex; gap: 8px; }
.dtl-fav-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gray-100); border: none;
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.dtl-fav-btn:hover { background: var(--gray-200); }
.dtl-fav-active { background: #fee2e2 !important; color: #ef4444 !important; }

.dtl-scroll { flex: 1; overflow-y: auto; padding: 32px 48px 60px; }

/* Ana grid: galeri sol + bilgiler sağ */
.dtl-main {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px;
  margin-bottom: 40px;
}

/* Galeri */
.dtl-gallery {}
.dtl-main-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--gray-100); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.dtl-main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-placeholder { font-size: 80px; }
.dtl-thumbs {
  display: flex; gap: 8px; margin-top: 12px;
  overflow-x: auto; scrollbar-width: none;
}
.dtl-thumbs::-webkit-scrollbar { display: none; }
.dtl-thumbs img {
  width: 72px; height: 72px; border-radius: 8px;
  object-fit: cover; cursor: pointer;
  border: 2px solid transparent; opacity: 0.5;
  transition: all 0.15s; flex-shrink: 0;
}
.dtl-thumbs img:hover { opacity: 0.8; }
.dtl-thumb-active { border-color: var(--black) !important; opacity: 1 !important; }

/* Sağ sidebar */
.dtl-sidebar { position: sticky; top: 0; }
.dtl-seller {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; background: var(--gray-50);
  border-radius: var(--radius-lg); margin-bottom: 12px;
}
.dtl-seller-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; overflow: hidden; flex-shrink: 0;
}
.dtl-seller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dtl-seller-info { min-width: 0; }
.dtl-seller-info strong { display: block; font-size: 15px; font-weight: 700; }
.dtl-seller-info span { font-size: 12px; color: var(--gray-400); }

.dtl-phone {
  display: block; width: 100%; padding: 12px;
  text-align: center; font-size: 15px; font-weight: 600;
  color: var(--black); background: var(--gray-100);
  border-radius: var(--radius); text-decoration: none;
  margin-bottom: 8px; transition: background 0.15s;
}
.dtl-phone:hover { background: var(--gray-200); }
.dtl-msg-actions { margin-bottom: 20px; }

.dtl-info-block {}
.dtl-info-block h1 {
  font-size: 22px; font-weight: 800; margin: 8px 0 4px; line-height: 1.3;
}
.dtl-price-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.dtl-price { font-size: 28px; font-weight: 900; color: var(--black); }
.dtl-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.dtl-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 50px; background: var(--gray-100); color: var(--gray-600);
}

.dtl-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 16px;
}
.dtl-spec {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}
.dtl-spec:nth-child(odd) { border-right: 1px solid var(--gray-100); }
.dtl-spec span { color: var(--gray-400); }
.dtl-spec strong { font-weight: 600; color: var(--black); }

.dtl-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  padding-top: 12px; border-top: 1px solid var(--gray-100);
}
.dtl-meta-item {
  font-size: 13px; color: var(--gray-500);
  display: flex; align-items: center; gap: 4px;
}

/* Açıklama */
.dtl-desc-section {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 24px;
}
.dtl-desc-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.dtl-desc-section p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin: 0; }

/* Konum */
.dtl-location-section { margin-bottom: 40px; }
.dtl-location-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.dtl-location-box {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; background: var(--gray-50);
  border-radius: var(--radius); font-size: 15px; color: var(--gray-600);
}

/* Benzer İlanlar */
.dtl-similar-section { margin-bottom: 20px; }
.dtl-similar-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }

/* Responsive */
@media (max-width: 900px) {
  .dtl-main { grid-template-columns: 1fr; gap: 24px; }
  .dtl-scroll { padding: 20px 16px 40px; }
  .dtl-sidebar { position: static; }
  .dtl-topbar { padding: 10px 16px; }
  .dtl-specs { grid-template-columns: 1fr; }
  .dtl-spec:nth-child(odd) { border-right: none; }
}

/* ── Create Listing Modal ──────────────────────────────── */
.create-modal { max-width: 520px; }
.create-modal h2 { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.create-modal select {
  width: 100%; padding: 14px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  outline: none; background: var(--white); cursor: pointer;
  transition: border-color var(--transition);
}
.create-modal select:focus { border-color: var(--black); }
.create-modal textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  outline: none; resize: vertical; transition: border-color var(--transition);
}
.create-modal textarea:focus { border-color: var(--black); }

/* ── Chat Modal ────────────────────────────────────────── */
.chat-modal {
  max-width: 480px; padding: 0; display: flex;
  flex-direction: column; max-height: 80vh;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--gray-100);
}
.chat-header h3 { font-size: 16px; font-weight: 700; }
.chat-messages {
  flex: 1; padding: 20px; overflow-y: auto;
  min-height: 300px; max-height: 400px;
  display: flex; flex-direction: column; gap: 8px;
}
.chat-loading, .chat-empty {
  text-align: center; color: var(--gray-400);
  font-size: 14px; padding: 40px 0;
}
.chat-msg {
  max-width: 75%; padding: 10px 14px;
  border-radius: 16px; font-size: 14px; line-height: 1.5;
}
.chat-msg-left {
  align-self: flex-start; background: var(--gray-100);
  color: var(--gray-900); border-bottom-left-radius: 4px;
}
.chat-msg-right {
  align-self: flex-end; background: var(--black);
  color: var(--white); border-bottom-right-radius: 4px;
}
.chat-msg p { margin: 0; }
.chat-msg-time {
  display: block; font-size: 10px; margin-top: 4px;
  opacity: 0.6;
}
.chat-input-bar {
  display: flex; gap: 8px; padding: 12px 16px;
  border-top: 1px solid var(--gray-100);
}
.chat-input-bar input {
  flex: 1; padding: 12px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
  outline: none;
}
.chat-input-bar input:focus { border-color: var(--black); }

/* ── Chat List ─────────────────────────────────────────── */
.chat-list { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.chat-list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; border-radius: var(--radius);
  cursor: pointer; transition: background var(--transition);
}
.chat-list-item:hover { background: var(--gray-100); }
.chat-list-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.chat-list-info { display: flex; flex-direction: column; }
.chat-list-info strong { font-size: 15px; font-weight: 600; }
.chat-list-info span { font-size: 12px; color: var(--gray-400); }
