/* LiveCity Pro Theme - Exact Match to Demo */
* { font-family: 'Inter', sans-serif; }

/* ===== NAVBAR ===== */
.navbar-pro {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  padding: 12px 0;
  position: sticky; top: 0; z-index: 999;
}
.brand-logo {
  font-size: 1.6rem; font-weight: 900;
  background: linear-gradient(135deg, #6c63ff, #e040fb);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-link-pro { color: #444; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all 0.2s; }
.nav-link-pro:hover { background: #f0f2f5; color: #6c63ff; }
.btn-post-ad {
  background: linear-gradient(135deg, #6c63ff, #e040fb);
  color: white; border: none; padding: 10px 24px;
  border-radius: 25px; font-weight: 700; font-size: 0.95rem;
  transition: all 0.3s; box-shadow: 0 4px 15px rgba(108,99,255,0.4);
}
.btn-post-ad:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108,99,255,0.5); color: white; }

/* ===== HERO ===== */
.hero-pro {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  min-height: 580px; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-pro::before {
  content: '';
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(108,99,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(224,64,251,0.1) 0%, transparent 50%);
}
.hero-badge {
  background: rgba(108,99,255,0.2); border: 1px solid rgba(108,99,255,0.4);
  color: #a78bfa; padding: 6px 16px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; display: inline-block; margin-bottom: 20px;
}
.hero-title {
  font-size: 3.8rem; font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title span {
  background: linear-gradient(135deg, #6c63ff, #e040fb);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { color: #94a3b8; font-size: 1.15rem; margin-bottom: 35px; }
.search-hero {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 20px;
}
.search-hero .form-control, .search-hero .form-select {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; border-radius: 10px; padding: 14px 18px; font-size: 1rem;
}
.search-hero .form-control::placeholder { color: #94a3b8; }
.search-hero .form-control:focus, .search-hero .form-select:focus {
  background: rgba(255,255,255,0.12); border-color: #6c63ff;
  box-shadow: 0 0 0 3px rgba(108,99,255,0.2); color: #fff;
}
.search-hero .form-select option { background: #1a1a2e; color: #fff; }
.btn-search-hero {
  background: linear-gradient(135deg, #6c63ff, #e040fb);
  border: none; color: white; padding: 14px 30px;
  border-radius: 10px; font-weight: 700; font-size: 1rem;
  width: 100%; transition: all 0.3s;
}
.btn-search-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108,99,255,0.5); color: white; }
.popular-tags { margin-top: 15px; }
.popular-tags span { color: #94a3b8; font-size: 0.9rem; margin-right: 10px; }
.tag-pill {
  background: rgba(255,255,255,0.08); color: #cbd5e1;
  padding: 5px 14px; border-radius: 20px; font-size: 0.85rem;
  text-decoration: none; margin: 3px; display: inline-block;
  border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s;
}
.tag-pill:hover { background: rgba(108,99,255,0.3); color: #a78bfa; border-color: #6c63ff; }
.hero-stats {
  display: flex; gap: 30px; margin-top: 30px;
}
.hero-stat-item { text-align: center; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-stat-label { color: #94a3b8; font-size: 0.8rem; }
.hero-image-side {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.floating-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 16px;
  padding: 16px 20px; color: white; margin: 8px;
  animation: float 3s ease-in-out infinite;
}
.floating-card:nth-child(2) { animation-delay: 1s; }
.floating-card:nth-child(3) { animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== CATEGORIES ===== */
.section-title { font-size: 2rem; font-weight: 800; color: #1a1a2e; }
.section-sub { color: #64748b; font-size: 1rem; }

.cat-card {
  border-radius: 20px; padding: 28px 20px; text-align: center;
  cursor: pointer; transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
  border: 2px solid transparent; position: relative; overflow: hidden;
  text-decoration: none; display: block;
}
.cat-card:hover { transform: translateY(-8px) scale(1.02); }
.cat-icon-wrap {
  width: 70px; height: 70px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 15px; font-size: 2rem;
  transition: transform 0.3s;
}
.cat-card:hover .cat-icon-wrap { transform: scale(1.15) rotate(-5deg); }
.cat-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.cat-count { font-size: 0.82rem; opacity: 0.7; }

/* Each category unique color */
.cat-1 { background: linear-gradient(135deg, #fff5f5, #ffe0e0); }
.cat-1 .cat-icon-wrap { background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: white; }
.cat-1 .cat-name { color: #c0392b; }
.cat-1:hover { border-color: #ff6b6b; box-shadow: 0 15px 40px rgba(255,107,107,0.3); }

.cat-2 { background: linear-gradient(135deg, #f0f9ff, #dbeafe); }
.cat-2 .cat-icon-wrap { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white; }
.cat-2 .cat-name { color: #1d4ed8; }
.cat-2:hover { border-color: #3b82f6; box-shadow: 0 15px 40px rgba(59,130,246,0.3); }

.cat-3 { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.cat-3 .cat-icon-wrap { background: linear-gradient(135deg, #22c55e, #16a34a); color: white; }
.cat-3 .cat-name { color: #16a34a; }
.cat-3:hover { border-color: #22c55e; box-shadow: 0 15px 40px rgba(34,197,94,0.3); }

.cat-4 { background: linear-gradient(135deg, #fffbeb, #fef3c7); }
.cat-4 .cat-icon-wrap { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.cat-4 .cat-name { color: #d97706; }
.cat-4:hover { border-color: #f59e0b; box-shadow: 0 15px 40px rgba(245,158,11,0.3); }

.cat-5 { background: linear-gradient(135deg, #fdf4ff, #fae8ff); }
.cat-5 .cat-icon-wrap { background: linear-gradient(135deg, #a855f7, #7c3aed); color: white; }
.cat-5 .cat-name { color: #7c3aed; }
.cat-5:hover { border-color: #a855f7; box-shadow: 0 15px 40px rgba(168,85,247,0.3); }

.cat-6 { background: linear-gradient(135deg, #fff1f2, #ffe4e6); }
.cat-6 .cat-icon-wrap { background: linear-gradient(135deg, #f43f5e, #be123c); color: white; }
.cat-6 .cat-name { color: #be123c; }
.cat-6:hover { border-color: #f43f5e; box-shadow: 0 15px 40px rgba(244,63,94,0.3); }

.cat-7 { background: linear-gradient(135deg, #f0fdfa, #ccfbf1); }
.cat-7 .cat-icon-wrap { background: linear-gradient(135deg, #14b8a6, #0f766e); color: white; }
.cat-7 .cat-name { color: #0f766e; }
.cat-7:hover { border-color: #14b8a6; box-shadow: 0 15px 40px rgba(20,184,166,0.3); }

.cat-8 { background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.cat-8 .cat-icon-wrap { background: linear-gradient(135deg, #f97316, #ea580c); color: white; }
.cat-8 .cat-name { color: #ea580c; }
.cat-8:hover { border-color: #f97316; box-shadow: 0 15px 40px rgba(249,115,22,0.3); }

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, #6c63ff 0%, #e040fb 100%);
  padding: 60px 0;
}
.stat-box { text-align: center; padding: 20px; }
.stat-num { font-size: 3rem; font-weight: 900; color: white; }
.stat-lbl { color: rgba(255,255,255,0.85); font-size: 1rem; font-weight: 500; }

/* ===== LISTINGS ===== */
.listings-section { background: #f0f2f5; padding: 80px 0; }
.listing-card {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease; border: 1px solid #e2e8f0;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.listing-img {
  height: 200px; overflow: hidden; position: relative; background: #f8fafc;
}
.listing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.listing-card:hover .listing-img img { transform: scale(1.08); }
.badge-featured {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white; padding: 4px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
}
.badge-new {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white; padding: 4px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
}
.wishlist-btn {
  position: absolute; top: 12px; right: 12px;
  background: white; border: none; width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); cursor: pointer; transition: all 0.2s;
  color: #94a3b8;
}
.wishlist-btn:hover { color: #ef4444; transform: scale(1.1); }
.listing-body { padding: 16px; }
.listing-title { font-weight: 700; font-size: 0.95rem; color: #1a1a2e; margin-bottom: 6px; line-height: 1.4; }
.listing-price { font-size: 1.3rem; font-weight: 800; color: #6c63ff; margin-bottom: 10px; }
.listing-meta { display: flex; justify-content: space-between; color: #94a3b8; font-size: 0.82rem; }
.listing-location { display: flex; align-items: center; gap: 4px; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(108,99,255,0.2) 0%, transparent 70%);
}
.cta-title { font-size: 2.8rem; font-weight: 900; color: white; margin-bottom: 15px; }
.cta-sub { color: #94a3b8; font-size: 1.1rem; margin-bottom: 35px; }
.btn-cta-main {
  background: linear-gradient(135deg, #6c63ff, #e040fb);
  color: white; border: none; padding: 16px 50px;
  border-radius: 50px; font-size: 1.1rem; font-weight: 700;
  box-shadow: 0 10px 30px rgba(108,99,255,0.4);
  transition: all 0.3s; text-decoration: none; display: inline-block;
}
.btn-cta-main:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(108,99,255,0.6); color: white; }
.btn-cta-secondary {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3);
  padding: 16px 40px; border-radius: 50px; font-size: 1.1rem; font-weight: 600;
  transition: all 0.3s; text-decoration: none; display: inline-block; margin-left: 15px;
}
.btn-cta-secondary:hover { border-color: white; color: white; background: rgba(255,255,255,0.1); }

/* ===== FAB ===== */
.fab {
  position: fixed; bottom: 30px; right: 30px;
  background: linear-gradient(135deg, #6c63ff, #e040fb);
  color: white; width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 8px 25px rgba(108,99,255,0.5);
  text-decoration: none; transition: all 0.3s; z-index: 1000;
  animation: pulse-fab 2s infinite;
}
.fab:hover { transform: scale(1.1); color: white; }
@keyframes pulse-fab {
  0%, 100% { box-shadow: 0 8px 25px rgba(108,99,255,0.5); }
  50% { box-shadow: 0 8px 40px rgba(108,99,255,0.8); }
}

/* ===== LOCATIONS ===== */
.locations-section { background: #fff; padding: 80px 0; }
.locations-card {
  background: white; border-radius: 16px; padding: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); border: 1px solid #e2e8f0;
}
.locations-title { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin-bottom: 20px; }
.city-link {
  color: #475569; text-decoration: none; display: block;
  padding: 8px 0; transition: all 0.2s; font-size: 0.95rem;
}
.city-link:hover { color: #6c63ff; padding-left: 8px; }

/* Pro Locations Section */
.locations-pro-section { background: #fff; padding: 80px 0; }
.location-card-pro {
  background: white; border-radius: 16px; padding: 40px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); border: 1px solid #e2e8f0;
  max-width: 900px; margin: 0 auto;
}
.location-title-pro {
  font-size: 1.5rem; font-weight: 700; color: #1a1a2e;
  margin-bottom: 30px; text-align: center;
}
.city-link-pro {
  color: #475569; text-decoration: none; display: block;
  padding: 8px 0; transition: all 0.2s; font-size: 0.95rem;
}
.city-link-pro:hover { color: #6c63ff; padding-left: 8px; }
.city-link-more { font-weight: 600; color: #6c63ff; }
.city-count-text { color: #94a3b8; font-size: 0.85rem; margin-left: 4px; }
.btn-create-listing-pro {
  background: linear-gradient(135deg, #6c63ff, #e040fb);
  color: white; border: none; padding: 12px 30px;
  border-radius: 25px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; display: inline-block;
  box-shadow: 0 4px 15px rgba(108,99,255,0.4);
  transition: all 0.3s;
}
.btn-create-listing-pro:hover {
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108,99,255,0.5);
  color: white;
}
