/* ===== PROPFIND - Main Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Bricolage+Grotesque:wght@400;600;700;800&display=swap');

:root {
  --navy: #0F172A;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-dark: #1D4ED8;
  --green: #10B981;
  --green-light: #34D399;
  --bg: #F8FAFC;
  --bg-dark: #F1F5F9;
  --white: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-dark: #CBD5E1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 32px rgba(37,99,235,0.20);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-blue { background: #EFF6FF; color: var(--blue); }
.badge-green { background: #ECFDF5; color: var(--green); }
.badge-orange { background: #FFF7ED; color: #EA580C; }
.badge-navy { background: var(--navy); color: white; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-body);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--navy);
  color: white;
}
.btn-secondary:hover { background: #1E293B; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-green {
  background: var(--green);
  color: white;
}
.btn-green:hover { background: #059669; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 48px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--blue);
  opacity: 0.3;
  max-width: 40px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}
.section-header.text-center .section-subtitle { margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}
.nav-logo span { color: var(--blue); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: #EFF6FF;
}
.nav-link i { font-size: 10px; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 40%, #0F172A 100%);
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.95) 40%, rgba(15,23,42,0.6) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 68px;
  width: 100%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 60px 0;
}
.hero-text .badge { margin-bottom: 20px; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-headline .highlight {
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  gap: 36px;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: white;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* Search Card */
.hero-search-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}
.search-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
}
.search-tab {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}
.search-tab.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}
.search-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.search-field {
  position: relative;
}
.search-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.search-field input,
.search-field select {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 14px;
  font-family: var(--font-body);
  transition: var(--transition);
  appearance: none;
}
.search-field select option { background: var(--navy); color: white; }
.search-field input::placeholder { color: rgba(255,255,255,0.35); }
.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(37,99,235,0.12);
}
.search-field-icon {
  position: absolute;
  left: 13px;
  bottom: 13px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  pointer-events: none;
}
.search-btn-full {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}
.search-btn-full:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,99,235,0.45); }

/* ===== PROPERTY CARDS ===== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.property-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.property-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.property-card:hover .property-card-image img {
  transform: scale(1.06);
}
.property-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}
.property-card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.property-card-wishlist:hover, .property-card-wishlist.active {
  background: #FEE2E2;
  color: #EF4444;
}
.property-card-body { padding: 20px; }
.property-card-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.property-card-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
.property-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.property-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.property-card-location i { color: var(--blue); font-size: 11px; }
.property-card-meta {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.property-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}
.property-meta-item i { color: var(--blue); }
.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.property-card-builder {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.builder-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 700;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.feature-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(37,99,235,0.12);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.feature-icon-blue { background: #EFF6FF; color: var(--blue); }
.feature-icon-green { background: #ECFDF5; color: var(--green); }
.feature-icon-orange { background: #FFF7ED; color: #EA580C; }
.feature-icon-purple { background: #F5F3FF; color: #7C3AED; }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== BUILDER CARDS ===== */
.builders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.builder-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.builder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.builder-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: white;
}
.builder-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.builder-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.builder-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.builder-stat-num { font-size: 18px; font-weight: 800; color: var(--navy); }
.builder-stat-label { font-size: 11px; color: var(--text-muted); }
.rating-stars { color: #F59E0B; font-size: 11px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-quote { font-size: 32px; color: var(--blue); opacity: 0.3; line-height: 1; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
}
.author-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.author-location { font-size: 12px; color: var(--text-muted); }

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image { height: 180px; overflow: hidden; position: relative; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-card-category { margin-bottom: 8px; }
.blog-card-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-card-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}
.footer-brand-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; max-width: 300px; }
.footer-social { display: flex; gap: 8px; }
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}
.footer-social-link:hover { background: var(--blue); color: white; }
.footer-col-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: white; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-link:hover { color: white; padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: white; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A5F 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.2), transparent 70%);
  top: -100px;
  right: -100px;
}
.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.cta-subtitle { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 36px; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== DASHBOARD WIDGETS ===== */
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-card-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 100px;
}
.trend-up { color: var(--green); background: #ECFDF5; }
.trend-down { color: #EF4444; background: #FEE2E2; }
.stat-card-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.stat-card-label { font-size: 13px; color: var(--text-muted); }

/* ===== SIDEBAR ===== */
.sidebar-filter {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.filter-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.filter-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-label { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 0;
}
.filter-option input[type="checkbox"] { accent-color: var(--blue); width: 15px; height: 15px; }
.filter-option:hover { color: var(--blue); }
.range-slider { width: 100%; accent-color: var(--blue); margin: 8px 0; }
.range-values { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

/* ===== TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.status-new { background: #EFF6FF; color: var(--blue); }
.status-contacted { background: #FFF7ED; color: #EA580C; }
.status-qualified { background: #F5F3FF; color: #7C3AED; }
.status-visit { background: #ECFDF5; color: var(--green); }
.status-closed { background: var(--navy); color: white; }
.status-pending { background: #FEFCE8; color: #CA8A04; }
.status-approved { background: #ECFDF5; color: var(--green); }
.status-rejected { background: #FEE2E2; color: #EF4444; }

/* ===== PIPELINE ===== */
.pipeline-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.pipeline-col {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  padding: 16px;
  min-width: 180px;
}
.pipeline-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pipeline-col-title { font-size: 12px; font-weight: 700; color: var(--text-primary); }
.pipeline-col-count {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pipeline-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.pipeline-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); }
.pipeline-card-name { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.pipeline-card-info { font-size: 11px; color: var(--text-muted); }
.pipeline-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; background: var(--bg-dark); border-radius: var(--radius-md); padding: 4px; margin-bottom: 24px; }
.tab-btn {
  flex: 1;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.tab-btn.active {
  background: white;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

/* ===== GALLERY ===== */
.gallery-main {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 10px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-thumb {
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.gallery-thumb.active { border-color: var(--blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
  height: 320px;
  background: linear-gradient(135deg, #E0E7FF, #EFF6FF);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--blue);
  border: 1px solid #DBEAFE;
}
.map-placeholder i { font-size: 48px; opacity: 0.4; }
.map-placeholder p { font-size: 14px; color: var(--text-muted); }

/* ===== AI SECTION ===== */
.ai-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.ai-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ai-card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.ai-icon-blue { background: linear-gradient(135deg, #DBEAFE, #EFF6FF); color: var(--blue); }
.ai-icon-green { background: linear-gradient(135deg, #D1FAE5, #ECFDF5); color: var(--green); }
.ai-icon-purple { background: linear-gradient(135deg, #EDE9FE, #F5F3FF); color: #7C3AED; }
.ai-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.ai-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.ai-card-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; margin-top: 14px; }
.status-live { color: var(--green); }
.status-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; animation: pulse 1.5s infinite; }
.status-beta { color: #7C3AED; }
.status-soon { color: var(--text-muted); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A5F 100%);
  padding: 120px 0 60px;
  color: white;
}
.page-hero-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.page-hero-subtitle { font-size: 16px; color: rgba(255,255,255,0.65); }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ===== CHIPS ===== */
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-dark);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.chip:hover, .chip.active { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== PROGRESS BAR ===== */
.progress-bar { height: 6px; background: var(--border); border-radius: 100px; overflow: hidden; margin-top: 8px; }
.progress-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width 0.6s ease; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ===== NOTIFICATION DOT ===== */
.notif-dot {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  position: absolute;
  top: -2px;
  right: -2px;
}

/* ===== SIDEBAR DASH ===== */
.dash-layout { display: flex; min-height: 100vh; }
.dash-sidebar {
  width: 260px;
  background: var(--navy);
  flex-shrink: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}
.dash-main { margin-left: 260px; flex: 1; min-height: 100vh; background: var(--bg); }
.dash-top {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.dash-content { padding: 32px; }
.sidebar-logo {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.sidebar-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-logo-icon { width: 32px; height: 32px; background: var(--blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; }
.sidebar-section-title { padding: 12px 24px 4px; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-link:hover, .sidebar-link.active {
  color: white;
  background: rgba(255,255,255,0.06);
  border-left-color: var(--blue);
}
.sidebar-link i { width: 18px; font-size: 14px; }
.sidebar-link .badge { margin-left: auto; font-size: 10px; padding: 2px 7px; }

/* ===== CHART PLACEHOLDER ===== */
.chart-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.chart-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.bar-chart { display: flex; align-items: flex-end; gap: 12px; height: 160px; padding-top: 16px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue), #60A5FA);
  transition: opacity 0.2s;
}
.bar:hover { opacity: 0.8; }
.bar-alt { background: linear-gradient(180deg, var(--green), #34D399); }
.bar-label { font-size: 10px; color: var(--text-muted); }
.donut-chart-wrap { display: flex; align-items: center; gap: 24px; }
.donut-legend { display: flex; flex-direction: column; gap: 10px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ===== SEARCH RESULTS BAR ===== */
.results-bar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.results-count span { color: var(--blue); }
.results-sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.results-sort select { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 10px; font-size: 13px; font-family: var(--font-body); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 48px; }
.page-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== AMENITY TAGS ===== */
.amenity-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-dark);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
.amenity-tag i { color: var(--blue); }

/* ===== NEW LAUNCH CARD ===== */
.launch-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: var(--transition);
}
.launch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.launch-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: transform 0.4s;
}
.launch-card:hover .launch-card-bg { transform: scale(1.05); }
.launch-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, transparent 100%);
}
.launch-card-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: white; margin-bottom: 4px; }
.launch-card-location { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.launch-card-price { font-size: 20px; font-weight: 800; color: white; margin-bottom: 12px; }
.launch-card-footer { display: flex; align-items: center; justify-content: space-between; }

/* ===== FORM STATUS (AJAX lead form feedback) ===== */
.form-status {
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status:not(:empty) { display: block; }
.form-status-success { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.form-status-error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* ===== DASH SIDEBAR OVERLAY (mobile) ===== */
.dash-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  z-index: 99;
}
.dash-sidebar-overlay.visible { display: block; }

/* ===== PIPELINE COLUMN CARD WRAPPER ===== */
.pipeline-col-cards { display: flex; flex-direction: column; gap: 12px; min-height: 60px; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 1; }
  .hero-search-card { order: 2; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pipeline-board { grid-template-columns: repeat(3, 1fr); }
  .dash-sidebar { transform: translateX(-100%); transition: transform 0.25s ease; }
  .dash-sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .dash-top .nav-toggle { display: flex; }
  .dash-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.5); z-index: 99; }
  .dash-sidebar-overlay.visible { display: block; }
}
@media (min-width: 1025px) {
  .dash-top .nav-toggle { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: white; padding: 16px; flex-direction: column; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .hero-inner { gap: 40px; }
  .search-form-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .pipeline-board { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .page-hero { padding: 100px 0 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-main { height: 280px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .builders-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}
