/* ============================================
   EmlakBot - Premium Real Estate Data Platform
   Design System & Styles
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Colors */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  /* Gold Palette */
  --gold-50: #fff9e6;
  --gold-100: #fff0b3;
  --gold-200: #ffe680;
  --gold-300: #ffdc4d;
  --gold-400: #ffd21a;
  --gold-500: #e6b800;
  --gold-600: #cc9900;
  --gold-700: #997300;
  --gold-800: #664d00;
  --gold-900: #332600;

  /* Accent */
  --accent-primary: #f59e0b;
  --accent-secondary: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-glow-strong: rgba(245, 158, 11, 0.3);

  /* WhatsApp Green */
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-glow: rgba(37, 211, 102, 0.2);

  /* Text */
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-gold: #fbbf24;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(245, 158, 11, 0.3);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
  --gradient-gold-soft: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
  --gradient-dark: linear-gradient(180deg, #0a0e1a 0%, #111827 100%);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a1a2e 50%, #16213e 100%);
  --gradient-cta: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 24px rgba(245, 158, 11, 0.2);
  --shadow-gold-lg: 0 8px 40px rgba(245, 158, 11, 0.3);
  --shadow-whatsapp: 0 4px 24px rgba(37, 211, 102, 0.3);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Animations */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--text-gold);
  -webkit-text-fill-color: var(--text-gold);
}

/* ============================================
   Animated Background Particles
   ============================================ */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-base);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-gold) !important;
  border-radius: var(--radius-full) !important;
  color: #000 !important;
  font-weight: 600 !important;
  -webkit-text-fill-color: #000 !important;
  box-shadow: var(--shadow-gold);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  /* Çok yüksek/geniş ekranlarda (düşük zoom, büyük monitör) salt 100vh
     içeriği ortalayıp üstte/altında devasa boşluklar bırakıyordu — üst sınır eklendi */
  min-height: min(100vh, 880px);
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(37, 211, 102, 0.05) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(2%, -1%); }
  66% { transform: translate(-1%, 2%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-gold);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating cards on hero */
.floating-card {
  position: absolute;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.floating-card.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 15%;
  left: -30px;
  animation-delay: 2s;
}

.floating-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.floating-card .card-icon.gold {
  background: rgba(245, 158, 11, 0.15);
}

.floating-card .card-icon.green {
  background: rgba(37, 211, 102, 0.15);
}

.floating-card .card-info .card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.floating-card .card-info .card-value {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-lg);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-icon {
  font-size: 1.2rem;
}

/* ============================================
   Brands / Trust Bar
   ============================================ */
.trust-bar {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.trust-bar .container {
  text-align: center;
}

.trust-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.5;
  transition: var(--transition-base);
}

.trust-item:hover {
  opacity: 1;
  color: var(--text-primary);
}

.trust-item .trust-icon {
  font-size: 1.8rem;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition-base);
}

.feature-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-primary), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--bg-primary);
  border: 2px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-gold);
  transition: var(--transition-base);
}

.step-card:hover .step-number {
  background: var(--gradient-gold);
  color: #000;
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-gold);
  transform: scale(1.1);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Dashboard / Live Data Section
   ============================================ */
.dash-stats-bar {
  display: flex;
  justify-content: space-between;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 32px;
  gap: 20px;
}

.dash-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(10, 14, 26, 0.4);
  border-radius: var(--radius-lg);
  flex: 1;
}

.dash-stat-icon {
  font-size: 2rem;
}

.dash-stat-info {
  display: flex;
  flex-direction: column;
}

.dash-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.data-filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 32px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.filter-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.filter-group select {
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition-base);
}

.filter-group select:focus {
  border-color: var(--accent-primary);
}

.filter-btn {
  background: var(--gradient-gold);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  height: 45px;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.listings-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.listing-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.listing-card:hover {
  transform: translateX(5px);
  border-color: var(--border-gold);
  background: rgba(245, 158, 11, 0.05);
}

.listing-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.listing-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.listing-tag {
  background: rgba(245, 158, 11, 0.15);
  color: var(--text-gold);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.listing-tag.new {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.listing-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  padding: 44px 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: var(--transition-slow);
  overflow: hidden;
}

.pricing-card.featured {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.03) 100%);
  border-color: var(--border-gold);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 14px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-plan {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-price .currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-price .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li .check-icon {
  color: var(--whatsapp);
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  opacity: 0.4;
  text-decoration: line-through;
}

.pricing-card .btn {
  width: 100%;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.testimonials::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--accent-primary);
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-gold);
}

.testimonial-info .author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testimonial-info .author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CTA Section - Money Making
   ============================================ */
.cta-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(37, 211, 102, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.cta-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-content h2 .gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 48px;
  background: var(--whatsapp);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-whatsapp);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-whatsapp-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 48px rgba(37, 211, 102, 0.45);
}

.cta-whatsapp-btn .whatsapp-icon {
  font-size: 1.5rem;
}

.cta-trust-text {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-base);
}

.faq-question:hover {
  color: var(--text-gold);
}

.faq-question .faq-toggle {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--text-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .navbar-brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-column a:hover {
  color: var(--text-gold);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--accent-glow);
  border-color: var(--border-gold);
  color: var(--text-gold);
  transform: translateY(-2px);
}

/* ============================================
   Scroll Animations (Intersection Observer)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Counter Animation
   ============================================ */
.counter-animated {
  display: inline-block;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    border-left: 1px solid var(--border-subtle);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .floating-card {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-whatsapp-btn {
    padding: 16px 32px;
    font-size: 1rem;
  }
}

/* ============================================
   Calculator Section
   ============================================ */
.calculator-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-gold);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}
.calc-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-gold);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.calc-select {
  width: 100%;
  padding: 14px;
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
}
.calc-select:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.calc-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.selected-regions-container {
  margin-top: 32px;
}
.selected-regions-container h4 {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.selected-regions {
  min-height: 80px;
  background: rgba(10, 14, 26, 0.5);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.empty-state {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin: auto;
}
.region-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.region-tag-name {
  font-weight: 600;
  color: var(--text-primary);
}
.region-tag-price {
  color: var(--text-gold);
  font-weight: 600;
  margin-right: 12px;
}
.remove-region-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  transition: transform 0.2s;
}
.remove-region-btn:hover {
  transform: scale(1.2);
}
.calc-summary {
  background: rgba(17, 24, 39, 0.8);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: auto;
}
.summary-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.calc-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 10px 0;
}
.summary-stat {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.calc-total-box {
  margin: 24px 0;
  text-align: center;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
}
.calc-total-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-total-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.calc-total-price .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
}
.calc-total-price .currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.calc-total-price .period {
  font-size: 1rem;
  color: var(--text-muted);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent-secondary);
  border-radius: 4px;
}

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

/* Selection styling */
::selection {
  background: rgba(245, 158, 11, 0.3);
  color: var(--text-primary);
}

/* ============================================
   DASHBOARD PAGE STYLES
   ============================================ */
.dashboard-body {
  background: var(--bg-primary);
  overflow: hidden;
  height: 100vh;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: 100vh;
  overflow: hidden;
}

/* --- Sidebar --- */
.dash-sidebar {
  background: rgba(10, 14, 26, 0.95);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  backdrop-filter: blur(20px);
}

.sidebar-brand {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-base);
  text-decoration: none;
}

.sidebar-nav .nav-item:hover {
  background: rgba(245, 158, 11, 0.08);
  color: var(--text-primary);
}

.sidebar-nav .nav-item.active {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-primary);
  font-weight: 600;
  border-left: 3px solid var(--accent-primary);
}

.sidebar-nav .nav-item .nav-icon {
  font-size: 1.25rem;
  width: 28px;
  text-align: center;
}

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
}

.sidebar-footer .nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: var(--transition-base);
  text-decoration: none;
}

.sidebar-footer .nav-item:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* --- Topbar --- */
.dash-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10, 14, 26, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  flex: 1;
  max-width: 480px;
  transition: var(--transition-base);
}

.topbar-search:focus-within {
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.topbar-search .search-icon {
  font-size: 1rem;
  opacity: 0.6;
}

.topbar-search input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
}

.topbar-search input::placeholder {
  color: var(--text-muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-base);
  color: var(--text-primary);
}

.icon-btn:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--border-gold);
}

.icon-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-base);
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-gold);
}

.user-profile .avatar {
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  border-radius: 50%;
}

.user-profile .user-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* --- Content --- */
.dash-content {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}

.dash-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.dash-title span {
  color: var(--accent-primary);
}

.text-gold {
  color: var(--accent-primary) !important;
}

/* Mobile sidebar toggle */
.sidebar-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-base);
}

.sidebar-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.1);
}

/* Mobile overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
}

.sidebar-overlay.active {
  display: block;
}

/* ============================================
   DASHBOARD RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s ease;
  }

  .dash-sidebar.open {
    left: 0;
  }

  .sidebar-toggle-btn {
    display: block;
  }

  .dash-topbar {
    padding: 12px 16px;
    gap: 10px;
  }

  .topbar-search {
    max-width: 100%;
    padding: 8px 14px;
  }

  .user-profile .user-name {
    display: none;
  }

  .dash-content {
    padding: 20px 16px;
  }

  .dash-title {
    font-size: 1.4rem;
  }

  .dash-content .dash-stats-bar {
    flex-direction: column !important;
  }

  .dash-content .data-filter-bar {
    flex-direction: column;
  }

  .listing-card {
    flex-direction: column !important;
    gap: 16px;
  }

  .listing-card > div:last-child {
    text-align: left !important;
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

/* ─── İlan Haritası (MapLibre + Supercluster) ─── */
.emlakbot-map-wrap {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  /* overflow: hidden kaldırıldı — haritanın alt/sağ kenarına yakın ilan popup'ları kesiliyordu.
     Köşe yuvarlaklığı artık doğrudan harita canvas'ına uygulanıyor. */
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
}

.emlakbot-map-wrap canvas {
  border-radius: var(--radius-md);
}

/* Tarayıcı pinch/Ctrl+tekerlek sayfa zoom'unu haritayla birlikte tetiklemesin —
   yalnızca harita zoom'lansın, popup/etiketler sayfayla birlikte büyümesin */
.emlakbot-map-wrap, .emlakbot-map-wrap canvas, .emlakbot-map-wrap .maplibregl-map {
  touch-action: pan-x pan-y;
}

/* Anasayfa şehir istatistik kutuları — çok sayıda il olduğunda sarmalı (wrap) ızgara */
#cityStatsBar.dash-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  flex-wrap: unset;
}
#cityStatsBar .dash-stat {
  flex: unset;
  padding: 14px 16px;
  gap: 10px;
}
#cityStatsBar .dash-stat-icon { font-size: 1.4rem; }
#cityStatsBar .dash-stat-value { font-size: 1.2rem; }
#cityStatsBar .dash-stat-soon {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
#cityStatsBar .dash-stat-featured {
  padding: 20px 22px;
  border-color: var(--text-gold);
  background: rgba(212, 175, 55, 0.08);
}
#cityStatsBar .dash-stat-featured .dash-stat-value { font-size: 1.6rem; }
#cityStatsBar .dash-stat-featured .dash-stat-label { font-size: 0.95rem; font-weight: 600; }
#cityStatsBar .dash-stat-minor {
  padding: 10px 12px;
  opacity: 0.8;
}
#cityStatsBar .dash-stat-minor .dash-stat-value { font-size: 1rem; }
#cityStatsBar .dash-stat-minor .dash-stat-label { font-size: 0.7rem; }

/* Anasayfa kısıtlı önizleme haritası — üzerine kilit katmanı biner */
#homeMapWrap {
  position: relative;
}
#homeMapWrap #homeListingsMap {
  filter: saturate(0.85);
}

/* Veri kilidi / abonelik teşvik katmanı — harita ve liste önizlemelerinin üzerine biner */
.data-blur-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(to top, rgba(8, 11, 22, 0.92) 10%, rgba(8, 11, 22, 0.55) 55%, rgba(8, 11, 22, 0) 100%);
}
.blur-content {
  text-align: center;
  padding: 28px 20px 22px;
  width: 100%;
}
.blur-content p {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.emlakbot-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.emlakbot-map-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.emlakbot-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.emlakbot-map-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.emlakbot-map-toggle {
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border-radius: var(--radius-sm, 8px);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.emlakbot-map-toggle:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

#listingsMap {
  width: 100%;
  height: 460px;
}

.emlakbot-map-pin-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.emlakbot-map-pin {
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.emlakbot-map-pin-wrap:hover .emlakbot-map-pin {
  transform: scale(1.15);
}

.emlakbot-map-price-tag {
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(17, 24, 39, 0.92);
  border: 1.5px solid;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.emlakbot-map-cluster {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  cursor: pointer;
}

/* Açıklama penceresi her zaman ilan noktalarının ÜSTÜNDE kalsın — başka kırmızı/turuncu
   noktalar açık popup'ın üzerine binip açıklamaya erişimi engellemesin */
.emlakbot-map-wrap .maplibregl-popup {
  z-index: 5000;
}
.emlakbot-map-wrap .maplibregl-marker {
  z-index: 1;
}

.emlakbot-map-popup {
  font-family: inherit;
  color: #1f2937;
  width: 220px;
  max-width: 220px;
  min-width: 220px;
  overflow-wrap: break-word;
  word-break: break-word;
  /* Harita zoom'lansa da popup boyutu/yazı tipi sabit kalsın */
  zoom: 1 !important;
  transform: none !important;
}

.emlakbot-map-wrap .maplibregl-popup-content {
  width: 220px;
  max-width: 220px;
  max-height: 60vh;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 10px 12px;
}

/* Popup ile işaretçi arasındaki bağlantı çubuğu (turuncu/siyah bant) kaldırıldı —
   harita hareket ettikçe sağa sola kayıp görünümü bozuyordu */
.emlakbot-map-wrap .maplibregl-popup-tip {
  display: none !important;
}

/* Popup kapatma çarpısı küçük ve tıklaması zordu — büyütüldü */
.emlakbot-map-wrap .maplibregl-popup-close-button {
  width: 26px;
  height: 26px;
  font-size: 1.2rem;
  line-height: 26px;
  color: #1f2937;
}

.emlakbot-map-popup-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.emlakbot-map-popup h4 {
  margin: 0 0 2px;
  font-size: 0.8rem;
  font-weight: 700;
}

.emlakbot-map-popup-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 2px;
}

.emlakbot-map-popup-meta {
  font-size: 0.68rem;
  color: #4b5563;
  margin-bottom: 1px;
}

.emlakbot-map-popup-desc {
  margin: 4px 0;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #374151;
  overflow-wrap: break-word;
  word-break: break-word;
  /* Açıklama artık popup'ın kendi kaydırma alanı içinde — sabit kısa kutuya sıkıştırılıp kesilmiyor */
  max-height: none;
  overflow: visible;
}

.emlakbot-map-popup-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
}

.emlakbot-map-popup-contact a {
  color: #16a34a;
  text-decoration: none;
}

.emlakbot-map-popup-locked {
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #92400e;
}

.emlakbot-map-popup-locked a {
  color: #b45309;
  text-decoration: underline;
  font-weight: 700;
}

.emlakbot-map-popup-contact span {
  color: #4b5563;
  font-weight: 500;
}

.emlakbot-map-popup-footer {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.7rem;
  color: #9ca3af;
}

@media (max-width: 768px) {
  #listingsMap {
    height: 320px;
  }

  .emlakbot-map-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .container {
    padding: 0 24px;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .floating-card.card-1 {
    right: -10px;
  }

  .floating-card.card-2 {
    left: -10px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  /* Pricing */
  .pricing-grid,
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100% !important;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Calculator */
  .calculator-card {
    padding: 28px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  /* Live Data */
  .dash-stats-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .data-filter-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Navbar Mobile */
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
    padding: 80px 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  .nav-cta {
    padding: 14px 32px !important;
    font-size: 1rem !important;
  }

  /* Hero Mobile */
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .hero-visual {
    max-width: 100%;
  }

  .floating-card {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .floating-card.card-1 {
    right: 5px;
    top: 5%;
  }

  .floating-card.card-2 {
    left: 5px;
    bottom: 10%;
  }

  .floating-card .card-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .floating-card .card-info .card-title {
    font-size: 0.75rem;
  }

  .floating-card .card-info .card-value {
    font-size: 0.7rem;
  }

  /* Trust Bar */
  .trust-logos {
    gap: 24px;
  }

  .trust-item {
    font-size: 0.9rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  /* Section Titles */
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Live Data Dashboard */
  .dash-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .dash-stat {
    padding: 14px;
  }

  .dash-stat-value {
    font-size: 1.3rem;
  }

  .data-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-group select {
    width: 100%;
  }

  .filter-btn {
    width: 100%;
  }

  .listing-card {
    flex-direction: column;
    text-align: center;
  }

  /* Pricing */
  .pricing-grid,
  .pricing-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .pricing-price .amount {
    font-size: 2.5rem;
  }

  /* Calculator */
  .calculator-card {
    padding: 20px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .calc-summary {
    padding: 20px;
  }

  .calc-total-price .amount {
    font-size: 2.2rem;
  }

  .region-tag {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 24px;
  }

  /* CTA */
  .cta-section {
    padding: 80px 0;
  }

  .cta-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-whatsapp-btn {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* FAQ */
  .faq-question {
    padding: 18px 16px;
    font-size: 0.95rem;
  }

  .faq-answer-inner {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 32px;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-links h4 {
    margin-bottom: 12px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* WhatsApp Preview */
  #whatsappPreviewBox textarea {
    height: 140px;
    font-size: 0.85rem;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  :root {
    --section-padding: 48px 0;
  }

  .container {
    padding: 0 12px;
  }

  /* Hero */
  .hero {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }

  .stat-item .stat-number {
    font-size: 1.5rem;
  }

  .stat-item .stat-label {
    font-size: 0.75rem;
  }

  .floating-card {
    display: none;
  }

  /* Section badges & titles */
  .section-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  /* Live Data Dashboard */
  .dash-stats-bar {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-card {
    padding: 24px 18px;
  }

  .pricing-price .amount {
    font-size: 2rem;
  }

  .pricing-plan {
    font-size: 0.75rem;
  }

  .pricing-features li {
    font-size: 0.8rem;
  }

  .storage-amount {
    font-size: 2rem !important;
  }

  /* Calculator */
  .calculator-card {
    padding: 16px;
  }

  .calc-title {
    font-size: 1rem;
  }

  .calc-select {
    padding: 12px;
    font-size: 0.9rem;
  }

  .calc-total-price .amount {
    font-size: 1.8rem;
  }

  .calc-summary {
    padding: 16px;
  }

  /* CTA */
  .cta-icon {
    font-size: 2.5rem;
  }

  .cta-whatsapp-btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 12px;
    font-size: 0.9rem;
  }

  /* Trust Bar */
  .trust-logos {
    flex-direction: column;
    gap: 16px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }

}

/* ============================================
   Anasayfa: Şehir İstatistikleri / Önizleme Haritası — Mobil
   ============================================ */
@media (max-width: 768px) {
  #cityStatsBar.dash-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  #cityStatsBar .dash-stat {
    padding: 12px;
  }
  #cityStatsBar .dash-stat-icon { font-size: 1.2rem; }
  #cityStatsBar .dash-stat-value { font-size: 1.05rem; }
  #cityStatsBar .dash-stat-label { font-size: 0.7rem; }

  #homeMapWrap #homeListingsMap {
    height: 380px;
  }

  .emlakbot-map-toolbar {
    padding: 10px 12px;
  }
  .emlakbot-map-legend {
    gap: 10px;
    font-size: 0.72rem;
  }

  .blur-content {
    padding: 18px 14px 16px;
  }
  .blur-content p {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  .blur-content .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .emlakbot-map-popup {
    width: 200px;
    max-width: 200px;
    min-width: 200px;
  }
  .emlakbot-map-wrap .maplibregl-popup-content {
    width: 200px;
  }
}

@media (max-width: 480px) {
  #cityStatsBar.dash-stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  #homeMapWrap #homeListingsMap {
    height: 320px;
  }
  .emlakbot-map-legend {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
}
