/* ============================================
   MASTERPLACE.IN — COMPLETE STYLESHEET
   ============================================ */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #e0e7ff;
  --secondary: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #0f172a;
  --dark2: #1e293b;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* Loading shimmer skeleton */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
input, select, textarea, button { font-family: var(--font); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--gray-light); }
.bg-dark { background: var(--dark); color: var(--white); }
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.w-full { width: 100%; }
.mt-1 { margin-top: 8px; }
.accent { color: var(--primary); }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white; border: none;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
  cursor: pointer; transition: all .2s; font-size: 15px;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,.3); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
  padding: 10px 22px; border-radius: var(--radius); font-weight: 600;
  cursor: pointer; transition: all .2s; font-size: 15px;
}
.btn-outline:hover { background: var(--primary-light); }
.btn-white { display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--primary); padding: 16px 32px; border-radius: var(--radius); font-weight: 700; font-size: 16px; cursor: pointer; border: none; transition: all .2s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 18px; }
.btn-link { background: none; border: none; color: var(--primary); cursor: pointer; font-weight: 500; }
.btn-outline-sm { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; border: 1.5px solid var(--border); background: white; font-size: 13px; cursor: pointer; transition: all .2s; color: var(--dark); }
.btn-outline-sm:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary-sm { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; background: var(--primary); color: white; border: none; font-size: 13px; cursor: pointer; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); transition: all .3s;
}
.navbar.navbar-transparent { background: transparent; border-color: transparent; }
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; text-decoration: none; }
.logo img { height: 42px; width: auto; display: block; transition: transform 0.2s; }
.logo:hover img { transform: scale(1.04); }
.logo-icon { width: 38px; height: 38px; background: var(--primary); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.logo-text .accent { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--dark); transition: all .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--primary-light); color: var(--primary); }
.btn-post { background: var(--primary); color: white !important; border-radius: 8px; position: relative; }
.btn-post:hover { background: var(--primary-dark) !important; }
.badge-free { background: var(--secondary); color: white; font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 4px; margin-left: 4px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; background: none; border: none; font-size: 20px; cursor: pointer; }
.nav-search { display: flex; align-items: center; gap: 8px; background: var(--gray-light); border-radius: 10px; padding: 8px 14px; flex: 1; max-width: 280px; }
.nav-search input { border: none; background: none; outline: none; font-size: 14px; width: 100%; }
.nav-search i { color: var(--gray); }

/* ===== HERO ===== */
.hero { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 70px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(99,102,241,.85) 0%, rgba(15,23,42,.9) 100%); }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.hero-content { position: relative; z-index: 2; padding: 60px 0 20px; color: white; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); color: white; padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.hero-subtitle { font-size: 18px; opacity: .9; margin-bottom: 40px; }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; margin-top: auto; }
.stat-item { background: rgba(255,255,255,.08); backdrop-filter: blur(10px); padding: 24px; text-align: center; color: white; }
.stat-num { font-size: 2.5rem; font-weight: 900; color: white; }
.stat-item p { font-size: 13px; opacity: .8; margin-top: 4px; }

/* SEARCH BOX */
.search-box { background: white; border-radius: var(--radius-lg); padding: 8px; box-shadow: var(--shadow-lg); max-width: 900px; margin: 0 auto 32px; text-align: left; }
.search-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 8px; padding: 0 8px; }
.stab { background: none; border: none; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent; transition: all .2s; }
.stab.active { color: var(--primary); border-bottom-color: var(--primary); }
.search-inputs { display: flex; gap: 0; align-items: stretch; padding: 0 8px 8px; }
.si-wrap { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-right: 1px solid var(--border); flex: 1; position: relative; }
.si-wrap i { color: var(--primary); flex-shrink: 0; }
.si-wrap input, .si-wrap select { border: none; outline: none; font-size: 14px; width: 100%; background: none; color: var(--dark); }
.si-wrap select { cursor: pointer; }
.btn-search { background: var(--primary); color: white; border: none; padding: 12px 24px; border-radius: var(--radius); font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: all .2s; }
.btn-search:hover { background: var(--primary-dark); }
.search-tags { padding: 8px 16px 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.search-tags a { color: var(--primary); font-weight: 500; }
.search-tags a:hover { text-decoration: underline; }
.search-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: white; border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); z-index: 100; display: none; }

/* ===== SECTION HEADERS ===== */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-header.center { flex-direction: column; align-items: center; text-align: center; }
.section-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 50px; margin-bottom: 8px; }
.section-tag.light { background: rgba(255,255,255,.15); color: white; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.section-title.light { color: white; }

/* ===== FEATURES STRIP ===== */
.features-strip { background: var(--dark); padding: 30px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.feat-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; color: white; }
.feat-icon { width: 44px; height: 44px; background: rgba(255,255,255,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--secondary); flex-shrink: 0; }
.feat-card h4 { font-size: 14px; font-weight: 700; }
.feat-card p { font-size: 12px; opacity: .6; margin-top: 2px; }

/* ===== PROPERTY CARDS ===== */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.prop-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; cursor: pointer; border: 1px solid var(--border); }
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pc-img { height: 220px; background: linear-gradient(135deg, #1e3a5f, #4a90d9); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pc-img i { font-size: 3rem; color: rgba(255,255,255,.2); }
.pc-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 3; flex-wrap: wrap; }
.pc-action { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; z-index: 3; }
.pc-action button { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.9); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--dark); transition: all .2s; }
.pc-action button:hover { background: white; color: var(--danger); }
.badge { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.badge-new { background: var(--success); color: white; }
.badge-verified { background: rgba(16,185,129,.15); color: var(--success); }
.badge-rera { background: rgba(99,102,241,.15); color: var(--primary); }
.badge-featured { background: var(--secondary); color: white; }
.badge-live { background: var(--success); color: white; }
.badge-expired { background: #ef4444; color: white; }
.pc-body { padding: 16px; }
.pc-price { font-size: 20px; font-weight: 800; color: var(--dark); }
.pc-price-psf { font-size: 12px; color: var(--gray); margin-top: 2px; }
.pc-title { font-size: 15px; font-weight: 600; margin: 8px 0 4px; }
.pc-location { font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.pc-specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; padding: 12px 0; border-top: 1px solid var(--border); }
.pc-spec { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray); white-space: nowrap; }
.pc-spec i { color: var(--primary); font-size: 12px; }
.pc-spec.area-spec {
  background: var(--primary-light); color: var(--primary);
  padding: 3px 10px; border-radius: 20px; font-weight: 600; font-size: 12px;
}
.pc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.pc-owner { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray); }
.pc-owner-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.pc-contact { display: flex; gap: 8px; }
.pc-contact button { padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1.5px solid; transition: all .2s; }
.btn-call { border-color: var(--primary); color: var(--primary); background: white; }
.btn-call:hover { background: var(--primary); color: white; }
.btn-whatsapp { background: #25d366; color: white; border-color: #25d366; }

/* ===== SWIPER FEATURED ===== */
.featuredSwiper { padding-bottom: 40px !important; }
.featuredSwiper .swiper-slide { width: 320px; }

/* ===== CATEGORY CARDS ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { background: white; border-radius: var(--radius-lg); padding: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; border: 2px solid var(--border); transition: all .3s; }
.cat-card:hover { border-color: var(--cat-color); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.cat-card i { font-size: 2.5rem; color: var(--cat-color); }
.cat-card h3 { font-size: 18px; font-weight: 700; }
.cat-card p { font-size: 13px; color: var(--gray); }

/* ===== AI SECTION ===== */
.ai-section { background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%); color: white; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ai-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.ai-features li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ai-features li i { color: var(--success); }
.chat-preview { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.chat-avatar { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; }
.online-dot { display: inline-block; width: 8px; height: 8px; background: var(--success); border-radius: 50%; margin-left: 8px; }
.chat-messages { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.msg.bot { background: rgba(255,255,255,.1); color: white; align-self: flex-start; }
.msg.user { background: var(--primary); color: white; align-self: flex-end; }
.msg.typing { background: rgba(255,255,255,.08); }
.dots { display: inline-block; animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.chat-input-row { display: flex; padding: 12px; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); }
.chat-input-row input { flex: 1; background: rgba(255,255,255,.1); border: none; border-radius: 8px; padding: 10px 14px; color: white; outline: none; font-size: 14px; }
.chat-input-row input::placeholder { color: rgba(255,255,255,.5); }
.chat-input-row button { background: var(--primary); border: none; color: white; width: 38px; height: 38px; border-radius: 8px; cursor: pointer; }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 0; }
.step-card { flex: 1; text-align: center; padding: 40px 24px; background: white; border-radius: var(--radius-lg); position: relative; }
.step-num { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.step-icon { font-size: 3rem; color: var(--primary); margin-bottom: 16px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--gray); }
.step-connector { color: var(--primary); font-size: 1.5rem; padding: 0 8px; }

/* ===== CITIES ===== */
.cities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city-card { background: rgba(255,255,255,.05); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s; }
.city-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.city-img { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); }
.city-card h4 { font-size: 16px; font-weight: 700; color: white; padding: 12px 16px 4px; }
.city-card p { font-size: 13px; color: rgba(255,255,255,.6); padding: 0 16px 16px; }

/* ===== TESTIMONIALS ===== */
.testimonialsSwiper { padding-bottom: 40px !important; }
.testimonial-card { background: white; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); }
.stars { color: var(--secondary); font-size: 20px; margin-bottom: 12px; }
.testimonial-card p { font-size: 15px; color: var(--gray); line-height: 1.6; margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.t-author strong { display: block; font-size: 14px; }
.t-author span { font-size: 12px; color: var(--gray); }

/* ===== NRI SECTION ===== */
.nri-section { background: linear-gradient(135deg, #f0f4ff 0%, #fef3e2 100%); }
.nri-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nri-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.nri-feat { display: flex; align-items: center; gap: 10px; padding: 14px; background: white; border-radius: 10px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); }
.nri-feat i { color: var(--primary); font-size: 18px; }
.globe-container { position: relative; width: 280px; height: 280px; margin: 0 auto; }
.globe-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(99,102,241,.3); animation: spin 8s linear infinite; }
.globe-ring.ring2 { inset: 20px; animation-duration: 12s; animation-direction: reverse; border-color: rgba(245,158,11,.3); }
.globe-ring.ring3 { inset: 40px; animation-duration: 16s; border-color: rgba(16,185,129,.3); }
.globe-center { position: absolute; inset: 60px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: white; }
.globe-dot { position: absolute; left: var(--x); top: var(--y); font-size: 1.5rem; animation: float 3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-content h2 { font-size: 2rem; font-weight: 800; color: white; }
.cta-content h2 .accent { color: var(--secondary); }
.cta-content p { color: rgba(255,255,255,.8); margin: 8px 0 20px; }
.cta-stats { display: flex; gap: 32px; }
.cta-stats div { text-align: center; color: white; }
.cta-stats strong { display: block; font-size: 1.5rem; font-weight: 800; }
.cta-stats span { font-size: 12px; opacity: .8; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 14px; margin: 16px 0; opacity: .7; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.social-links a:hover { background: var(--primary); }
.footer-col h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; opacity: .7; transition: opacity .2s; display: flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { opacity: 1; color: var(--primary); }
.app-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.app-badge { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,.1); border-radius: 8px; font-size: 13px; transition: all .2s; }
.app-badge:hover { background: rgba(255,255,255,.2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom p { font-size: 13px; opacity: .6; margin: 4px 0; }
.footer-bottom a { color: var(--primary); }
.footer-trust { display: flex; align-items: center; gap: 16px; }

/* ===== AI CHAT WIDGET ===== */
.ai-chat-widget {
  position: fixed; bottom: 90px; right: 24px; width: 370px; z-index: 9998;
  background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); display: none; flex-direction: column; overflow: hidden;
  max-height: 580px;
}
.ai-chat-widget.open { display: flex; }
.acw-header { background: var(--primary); padding: 16px; display: flex; align-items: center; justify-content: space-between; }
.acw-info { display: flex; align-items: center; gap: 12px; color: white; }
.acw-avatar { width: 38px; height: 38px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.acw-info strong { display: block; font-size: 14px; }
.acw-info small { font-size: 12px; opacity: .8; }
.acw-actions { display: flex; gap: 8px; }
.acw-actions button { background: rgba(255,255,255,.2); border: none; color: white; width: 30px; height: 30px; border-radius: 6px; cursor: pointer; }
.acw-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.acw-msg { display: flex; gap: 10px; align-items: flex-start; }
.acw-msg.user { flex-direction: row-reverse; }
.acw-avatar-sm { width: 30px; height: 30px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: white; flex-shrink: 0; }
.acw-bubble { background: var(--gray-light); padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; max-width: 280px; }
.acw-msg.user .acw-bubble { background: var(--primary); color: white; }
.acw-bubble ul { margin: 8px 0 0 16px; }
.acw-bubble ul li { margin-bottom: 4px; font-size: 13px; }
.acw-quick { padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--border); }
.acw-quick button { padding: 6px 12px; border-radius: 50px; background: var(--primary-light); color: var(--primary); border: none; font-size: 12px; cursor: pointer; transition: all .2s; font-weight: 500; }
.acw-quick button:hover { background: var(--primary); color: white; }
.acw-footer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.acw-footer input { flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; outline: none; font-size: 14px; }
.acw-footer input:focus { border-color: var(--primary); }
.acw-footer button { background: var(--primary); border: none; color: white; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; flex-shrink: 0; }

/* AI FAB */
.ai-chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--primary); color: white; border: none;
  width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: 0 8px 30px rgba(99,102,241,.4); transition: all .3s;
}
.ai-chat-fab:hover { transform: scale(1.1); }
.fab-label { display: none; position: absolute; right: 70px; background: var(--dark); color: white; padding: 6px 12px; border-radius: 8px; font-size: 13px; white-space: nowrap; }
.fab-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--primary); opacity: .5; animation: pulse-ring 2s ease-out infinite; }
@keyframes pulse-ring { 0%{transform:scale(.8);opacity:.8} 100%{transform:scale(1.4);opacity:0} }

/* ===== MODALS ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-box { background: white; border-radius: var(--radius-lg); padding: 32px; max-width: 460px; width: 100%; position: relative; animation: modalIn .3s ease; }
.modal-wide { max-width: 700px; }
@keyframes modalIn { from{transform:scale(.9);opacity:0} to{transform:scale(1);opacity:1} }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--gray-light); border: none; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-icon { width: 60px; height: 60px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); margin: 0 auto 16px; }
.modal-box h3 { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.modal-box p { text-align: center; color: var(--gray); font-size: 14px; margin-bottom: 20px; }
.modal-box input, .modal-box select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; outline: none; font-size: 14px; }
.modal-box input:focus, .modal-box select:focus { border-color: var(--primary); }

/* OTP */
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 16px 0; }
.otp-digit { width: 48px; height: 52px; text-align: center; font-size: 22px; font-weight: 700; border: 2px solid var(--border); border-radius: 10px; outline: none; transition: all .2s; }
.otp-digit:focus { border-color: var(--primary); }
.otp-sent { font-size: 14px; color: var(--gray); text-align: center; margin-bottom: 8px; }
.otp-sent-msg { font-size: 14px; color: var(--gray); text-align: center; margin-bottom: 16px; }
.verify-success { text-align: center; }
.success-icon { font-size: 3rem; color: var(--success); margin-bottom: 12px; }
.verify-note { font-size: 12px; color: var(--gray); text-align: center; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.unlock-info { display: flex; align-items: flex-start; gap: 14px; background: var(--gray-light); padding: 14px; border-radius: 10px; margin-bottom: 14px; }
.unlock-info i { font-size: 24px; color: var(--primary); margin-top: 2px; }
.unlock-info strong { display: block; margin-bottom: 4px; }
.unlock-info p { font-size: 13px; color: var(--gray); }
.btn-unlock { font-size: 15px; padding: 14px; }
.unlock-note { font-size: 12px; color: var(--gray); text-align: center; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* SHARE */
.share-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.share-btn { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: all .2s; color: white; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.email { background: var(--gray); }
.copy-link { display: flex; gap: 8px; }
.copy-link input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; outline: none; }
.copy-link button { padding: 10px 18px; background: var(--primary); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }

/* TOAST */
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--dark); color: white; padding: 12px 24px; border-radius: 50px; font-size: 14px; z-index: 99999; animation: toastIn .3s ease; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lg); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--primary); }
@keyframes toastIn { from{transform:translate(-50%,20px);opacity:0} to{transform:translate(-50%,0);opacity:1} }

/* ===== LISTINGS PAGE ===== */
.listings-page { padding-top: 70px; }
.listings-layout { display: grid; grid-template-columns: 340px 1fr; gap: 0; min-height: calc(100vh - 70px); }
.filter-sidebar { background: white; border-right: 1px solid var(--border); padding: 28px; overflow-y: auto; height: calc(100vh - 70px); position: sticky; top: 70px; }
.filter-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.filter-header h3 { font-size: 16px; font-weight: 700; }
.clear-filters { background: none; border: none; color: var(--primary); font-size: 13px; cursor: pointer; }
.filter-group { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.filter-group h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.radio-group, .checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.radio-group label, .checkbox-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.bhk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bhk-chip { padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--border); background: white; font-size: 13px; cursor: pointer; transition: all .2s; }
.bhk-chip.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); font-weight: 600; }
.range-slider { position: relative; padding: 4px 0; }
.range-display {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 12px;
  background: var(--primary-light); border-radius: 8px; padding: 6px 12px;
}
.range-input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 4px;
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) 50%, var(--primary-light) 50%);
  outline: none; cursor: pointer; margin-bottom: 10px; display: block;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); cursor: pointer;
  border: 3px solid white; box-shadow: 0 2px 8px rgba(99,102,241,.4);
}
.range-input::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); cursor: pointer;
  border: 3px solid white; box-shadow: 0 2px 8px rgba(99,102,241,.4);
}
.listings-main { flex: 1; padding: 24px; background: var(--gray-light); }
.listings-topbar { display: flex; align-items: center; justify-content: space-between; background: white; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.result-count { font-size: 14px; color: var(--gray); }
.result-count strong { color: var(--dark); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sort-wrap select { border: 1.5px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 13px; outline: none; }
.view-toggle { display: flex; gap: 4px; }
.view-btn { width: 34px; height: 34px; border: 1.5px solid var(--border); background: white; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.view-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.filter-toggle-btn { display: none; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 8px; background: white; cursor: pointer; font-size: 13px; }
.ai-search-banner { background: linear-gradient(135deg, var(--primary-light), #fef3e2); border: 1px solid rgba(99,102,241,.2); border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; }
.ai-search-banner i { color: var(--primary); font-size: 18px; }
.ai-search-banner button { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--gray); }
.ai-search-banner a { color: var(--primary); font-weight: 600; }
.pagination { display: flex; justify-content: center; gap: 8px; padding: 32px 0; }
.page-btn { width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--border); background: white; cursor: pointer; font-size: 14px; font-weight: 600; transition: all .2s; }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.map-view { height: 600px; background: var(--gray-light); border-radius: var(--radius); overflow: hidden; }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--gray); }
.map-placeholder i { font-size: 4rem; color: var(--primary-light); }

/* ===== PROPERTY DETAIL PAGE ===== */
.detail-page { padding-top: 70px; }
.breadcrumb-bar { background: var(--gray-light); padding: 12px 0; font-size: 13px; color: var(--gray); }
.breadcrumb-bar a { color: var(--primary); }
.breadcrumb-bar i { font-size: 10px; margin: 0 6px; }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 32px 20px; max-width: 1280px; margin: 0 auto; }
.detail-main { min-width: 0; overflow: hidden; }
.detail-sidebar { min-width: 0; }
.gallery-section { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; position: relative; width: 100%; }
.gallerySwiper { width: 100% !important; overflow: hidden !important; }
.gallerySwiper .swiper-wrapper { width: 100% !important; }
.gallery-img { height: 420px; width: 100%; display: flex; align-items: flex-end; justify-content: flex-start; padding: 16px; background-size: cover !important; background-position: center !important; position: relative; }
.img-label { position: absolute; bottom: 16px; left: 16px; background: rgba(0,0,0,.6); color: white; padding: 4px 12px; border-radius: 6px; font-size: 13px; }
.gallery-count { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,.6); color: white; padding: 6px 12px; border-radius: 8px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.gallery-thumbs { display: flex; gap: 8px; padding: 12px; background: white; overflow-x: auto; }
.thumb { padding: 6px 14px; border-radius: 8px; background: var(--gray-light); font-size: 13px; cursor: pointer; white-space: nowrap; transition: all .2s; }
.thumb.active { background: var(--primary); color: white; }
.tour-btn { display: flex; align-items: center; gap: 6px; }
.prop-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 20px; }
.prop-badges { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.detail-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.detail-location { font-size: 14px; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.detail-price { font-size: 2rem; font-weight: 900; color: var(--primary); text-align: right; }
.price-per-sqft { font-size: 13px; color: var(--gray); text-align: right; }
.emi-hint { font-size: 13px; text-align: right; margin-top: 4px; }
.emi-hint a { color: var(--primary); }
.quick-facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 24px; }
.qf-item { background: var(--gray-light); border-radius: 12px; padding: 14px; text-align: center; }
.qf-item i { font-size: 1.4rem; color: var(--primary); margin-bottom: 6px; display: block; }
.qf-item strong { display: block; font-size: 15px; font-weight: 700; }
.qf-item span { font-size: 11px; color: var(--gray); }
.detail-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.dtab { padding: 12px 18px; background: none; border: none; font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all .2s; }
.dtab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ov-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.ov-section p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 10px; }
.details-table { display: flex; flex-direction: column; gap: 1px; }
.dt-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.dt-row span { color: var(--gray); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.am-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; background: var(--gray-light); border-radius: 10px; text-align: center; }
.am-item i { font-size: 1.5rem; color: var(--primary); }
.am-item span { font-size: 12px; font-weight: 500; }
.locality-scores { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.ls-item { display: flex; align-items: center; gap: 12px; }
.ls-item span:first-child { width: 100px; font-size: 14px; }
.ls-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.ls-fill { height: 100%; background: var(--primary); border-radius: 4px; }
.np-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.np-item { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 10px; background: var(--gray-light); border-radius: 8px; }
.np-item i { color: var(--primary); }
.price-chart { background: var(--gray-light); border-radius: var(--radius); padding: 24px; }
.chart-bars { display: flex; align-items: flex-end; gap: 16px; height: 160px; margin-bottom: 12px; }
.cb-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.cb-bar { width: 100%; background: var(--primary-light); border-radius: 6px 6px 0 0; transition: all .3s; }
.cb-bar.active { background: var(--primary); }
.cb-item span { font-size: 11px; text-align: center; color: var(--gray); }
.chart-note { font-size: 13px; color: var(--gray); }
.emi-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.emi-inputs { display: flex; flex-direction: column; gap: 16px; }
.emi-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.emi-field input[type=number] { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; outline: none; }
.emi-field input[type=range] { width: 100%; }
.emi-result { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.emi-donut { position: relative; width: 160px; }
.donut-svg { transform: rotate(-90deg); }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center strong { font-size: 18px; font-weight: 800; }
.donut-center span { font-size: 11px; color: var(--gray); }
.emi-breakdown { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.eb-item { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.eb-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.eb-item strong { margin-left: auto; }
.contact-card { background: white; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.sticky-card { position: sticky; top: 90px; }
.contact-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.owner-info { display: flex; align-items: center; gap: 12px; }
.owner-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.owner-name { font-size: 15px; font-weight: 700; }
.owner-type { font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 4px; }
.response-rate { font-size: 11px; color: var(--gray); margin-top: 2px; }
.trust-badges { display: flex; flex-direction: column; gap: 4px; }
.trust-badges span { font-size: 11px; background: var(--gray-light); padding: 3px 8px; border-radius: 6px; display: flex; align-items: center; gap: 4px; }
.schedule-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.schedule-section h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.date-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.date-chip { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 10px; background: white; cursor: pointer; text-align: center; flex-shrink: 0; font-size: 12px; transition: all .2s; }
.date-chip.active { border-color: var(--primary); background: var(--primary-light); }
.date-chip span { display: block; color: var(--gray); }
.date-chip strong { display: block; font-size: 16px; font-weight: 800; margin: 2px 0; }
.time-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.time-chip { padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--border); background: white; font-size: 13px; cursor: pointer; transition: all .2s; }
.time-chip.active { background: var(--primary); color: white; border-color: var(--primary); }
.quick-enquiry { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.quick-enquiry h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.quick-msgs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.qm-btn { background: var(--gray-light); border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px; font-size: 13px; text-align: left; cursor: pointer; transition: all .2s; }
.qm-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.quick-enquiry textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 14px; outline: none; resize: vertical; margin-bottom: 10px; font-family: var(--font); }
.contact-actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.ca-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 8px; border: 1.5px solid var(--border); background: white; font-size: 13px; cursor: pointer; transition: all .2s; }
.ca-btn:hover { border-color: var(--primary); color: var(--primary); }
.contact-info-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-info-item i { font-size: 20px; color: var(--primary); }
.contact-info-item small { font-size: 11px; color: var(--gray); }
.contact-info-item strong { font-size: 15px; display: block; }
.loan-widget, .ai-valuation { background: white; border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); margin-top: 16px; }
.loan-widget h4, .ai-valuation .aiv-header strong { font-size: 15px; font-weight: 700; }
.loan-partners { display: flex; gap: 8px; margin: 12px 0; }
.lp { padding: 6px 14px; background: var(--gray-light); border-radius: 8px; font-size: 13px; font-weight: 700; }
.aiv-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.aiv-header i { font-size: 1.5rem; color: var(--primary); }
.aiv-range { display: flex; align-items: center; gap: 10px; }
.aiv-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; position: relative; }
.aiv-fill { position: absolute; height: 100%; background: var(--success); border-radius: 4px; }
.aiv-pointer { position: absolute; top: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 2px solid white; box-shadow: 0 2px 8px rgba(0,0,0,.2); transform: translateX(-50%); }
.aiv-fair { display: block; text-align: center; margin-top: 8px; color: var(--success); }
.aiv-note { font-size: 13px; color: var(--gray); margin-top: 10px; }
.similar-section { margin-top: 40px; }
.similar-section h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.tour-placeholder { height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--gray-light); border-radius: 12px; color: var(--gray); }
.tour-placeholder i { font-size: 4rem; color: var(--primary-light); animation: spin 4s linear infinite; }

/* ===== POST PROPERTY PAGE ===== */
.post-page { padding-top: 70px; }
.post-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 40px 0 0; color: white; }
.post-header-content { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; }
.post-header h1 { font-size: 2rem; font-weight: 800; }
.post-header p { opacity: .8; margin-top: 8px; }
.post-benefits { display: flex; gap: 20px; }
.pb-item { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); padding: 10px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.post-progress { padding: 24px 0 0; }
.progress-steps { display: flex; align-items: center; }
.ps-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); padding: 10px 16px; border-radius: 50px; transition: all .3s; flex-shrink: 0; }
.ps-item span { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.ps-item.active { color: white; background: rgba(255,255,255,.2); }
.ps-item.active span { background: white; color: var(--primary); }
.ps-item.done { color: white; }
.ps-item.done span { background: var(--success); color: white; }
.ps-line { flex: 1; height: 2px; background: rgba(255,255,255,.2); }
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 32px 20px; }
.post-form-wrap { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-step { display: none; }
.form-step.active { display: block; }
.step-title { margin-bottom: 28px; }
.step-title h2 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; }
.step-badge { width: 30px; height: 30px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.step-subtitle { font-size: 14px; color: var(--gray); margin-top: 8px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.req { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); outline: none; font-size: 14px; transition: border-color .2s; font-family: var(--font); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radio-cards { display: flex; gap: 12px; }
.rc { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 14px; font-weight: 600; transition: all .2s; text-align: center; }
.rc input { display: none; }
.rc.active, .rc:has(input:checked) { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.rc i { font-size: 1.5rem; }
.prop-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ptg-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 2px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all .2s; text-align: center; }
.ptg-item input { display: none; }
.ptg-item.active, .ptg-item:has(input:checked) { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.ptg-item i { font-size: 1.5rem; }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 50px; background: white; font-size: 14px; cursor: pointer; transition: all .2s; }
.chip-opt.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); font-weight: 600; }
.input-with-icon { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.input-with-icon i { padding: 0 14px; color: var(--primary); }
.input-with-icon input { flex: 1; border: none; padding: 12px 14px 12px 0; outline: none; }
.input-unit { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.input-unit input { flex: 1; border: none; padding: 12px 14px; outline: none; }
.input-unit select { border: none; border-left: 1px solid var(--border); padding: 0 10px; outline: none; background: var(--gray-light); }
.amenities-check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amenities-check-grid label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.desc-tools { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.desc-tool { display: flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--primary-light); color: var(--primary); border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.char-count { text-align: right; font-size: 12px; color: var(--gray); margin-top: 4px; }
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: center; cursor: pointer; transition: all .3s; margin-bottom: 20px; }
.upload-zone:hover, .upload-zone.dragover { border-color: var(--primary); background: var(--primary-light); }
.upload-icon { font-size: 3rem; color: var(--primary-light); margin-bottom: 12px; }
.upload-icon i { color: var(--primary); }
.upload-zone h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.upload-zone p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.photo-categories { margin-bottom: 20px; }
.photo-categories p { font-size: 14px; color: var(--gray); margin-bottom: 10px; }
.photo-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.pcat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; background: var(--gray-light); border-radius: 10px; cursor: pointer; font-size: 12px; text-align: center; transition: all .2s; position: relative; }
.pcat:hover { background: var(--primary-light); color: var(--primary); }
.pcat i { font-size: 1.4rem; }
.pcat-count { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; background: var(--primary); color: white; border-radius: 50%; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.photo-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.photo-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; background: rgba(0,0,0,.6); color: white; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.thumb-main { position: absolute; bottom: 6px; left: 6px; background: var(--primary); color: white; font-size: 10px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.upload-tips { background: var(--gray-light); border-radius: var(--radius); padding: 16px 20px; }
.upload-tips h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.upload-tips h4 i { color: var(--secondary); }
.upload-tips ul { display: flex; flex-direction: column; gap: 6px; }
.upload-tips ul li { font-size: 13px; color: var(--gray); padding-left: 12px; position: relative; }
.upload-tips ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); }
.price-input-wrap { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.price-input-wrap:focus-within { border-color: var(--primary); }
.currency { padding: 12px 14px; background: var(--gray-light); font-weight: 700; font-size: 16px; border-right: 1px solid var(--border); }
.price-input-wrap input { flex: 1; border: none; padding: 12px 14px; outline: none; font-size: 16px; font-weight: 600; }
.price-display { padding: 12px 16px; background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 14px; white-space: nowrap; }
.price-extras { display: flex; gap: 20px; margin-top: 8px; }
.price-extras label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.contact-section { background: var(--gray-light); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.contact-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.mobile-input { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.flag, .country-code { padding: 12px 14px; background: var(--gray-light); border-right: 1px solid var(--border); font-size: 14px; font-weight: 600; white-space: nowrap; }
.mobile-input input { flex: 1; border: none; padding: 12px 14px; outline: none; }
.plan-section { margin-bottom: 24px; }
.plan-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-card { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 20px; cursor: pointer; transition: all .3s; position: relative; }
.plan-card.active { border-color: var(--primary); background: var(--primary-light); }
.plan-card.featured-plan { border-color: var(--secondary); }
.plan-popular { height: 22px; font-size: 10px; font-weight: 800; text-align: center; color: var(--secondary); letter-spacing: 1px; }
.plan-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.plan-price { font-size: 24px; font-weight: 900; color: var(--primary); margin-bottom: 12px; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--gray); }
.plan-card ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.plan-card ul li { font-size: 13px; display: flex; align-items: center; gap: 8px; }
.plan-card ul li .fa-check { color: var(--success); }
.plan-card ul li .fa-xmark { color: var(--gray); }
.agree-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.agree-check a { color: var(--primary); }
.step-nav { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.post-sidebar { display: flex; flex-direction: column; gap: 16px; }
.post-preview-card, .lead-estimate, .post-tips, .help-box { background: white; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.post-preview-card h4, .lead-estimate h4, .post-tips h4, .help-box h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.preview-mini { display: flex; gap: 12px; margin-bottom: 16px; }
.pm-img { width: 80px; height: 60px; background: var(--primary-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.5rem; flex-shrink: 0; }
.pm-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.pm-price { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pm-meta { font-size: 12px; color: var(--gray); }
.score-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin: 8px 0; }
.score-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width .5s; }
.score-pct { font-size: 12px; color: var(--gray); }
.le-nums { display: flex; justify-content: space-between; text-align: center; }
.le-nums strong { display: block; font-size: 18px; font-weight: 800; color: var(--primary); }
.le-nums span { font-size: 12px; color: var(--gray); }
.post-tips ul { display: flex; flex-direction: column; gap: 8px; }
.post-tips ul li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tip-done i { color: var(--success); }
.help-box p { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.map-pin-area { border-radius: var(--radius); overflow: hidden; }
.map-placeholder-small { height: 200px; background: var(--gray-light); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--gray); border-radius: var(--radius); border: 2px dashed var(--border); }
.map-placeholder-small i { font-size: 2rem; color: var(--primary-light); }
.radio-inline { display: flex; gap: 20px; margin-bottom: 10px; }
.radio-inline label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.success-modal { text-align: center; }
.success-animation { position: relative; margin-bottom: 20px; }
.success-modal .success-icon { font-size: 4rem; color: var(--success); margin: 0 auto 16px; width: 80px; height: 80px; background: rgba(16,185,129,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.success-modal h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.success-modal p { color: var(--gray); font-size: 15px; margin-bottom: 16px; }
.success-info { background: var(--gray-light); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; text-align: left; font-size: 14px; }
.success-info div { display: flex; align-items: center; gap: 8px; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 16px; }
.success-share { border-top: 1px solid var(--border); padding-top: 16px; }
.success-share p { font-size: 14px; margin-bottom: 10px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti-piece { position: absolute; top: -10px; width: 8px; height: 8px; border-radius: 2px; animation: confettiFall 2s ease-out forwards; }
@keyframes confettiFall { to { transform: translateY(100px) rotate(360deg); opacity: 0; } }

/* ===== AUTH PAGE ===== */
.auth-page { min-height: 100vh; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-left { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 48px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-logo { color: white; }
.auth-logo .logo-icon { background: rgba(255,255,255,.2); }
.auth-logo .logo-text { color: white; }
.auth-logo .accent { color: var(--secondary); }
.auth-hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; color: white; }
.auth-hero-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.auth-hero-content p { opacity: .8; font-size: 16px; margin-bottom: 32px; }
.auth-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.af-item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.af-item i { width: 36px; height: 36px; background: rgba(255,255,255,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.auth-testimonial { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); padding: 20px; }
.at-quote { font-size: 15px; font-style: italic; opacity: .9; margin-bottom: 16px; }
.at-author { display: flex; align-items: center; gap: 10px; }
.at-avatar { width: 36px; height: 36px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.at-author strong { display: block; font-size: 14px; }
.at-author small { font-size: 12px; opacity: .7; }
.auth-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.auth-shape { position: absolute; border-radius: 50%; opacity: .1; }
.auth-shape.s1 { width: 300px; height: 300px; background: white; top: -100px; right: -100px; }
.auth-shape.s2 { width: 200px; height: 200px; background: white; bottom: 100px; right: 50px; }
.auth-shape.s3 { width: 150px; height: 150px; background: var(--secondary); bottom: -50px; left: -50px; }
.auth-right { display: flex; align-items: center; justify-content: center; padding: 40px; background: var(--gray-light); }
.auth-box { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; }
.auth-tabs { display: flex; background: var(--gray-light); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.at-tab { flex: 1; padding: 10px; border: none; background: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s; color: var(--gray); }
.at-tab.active { background: white; color: var(--primary); box-shadow: var(--shadow); }
.auth-form h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.auth-subtitle { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.divider { text-align: center; position: relative; margin: 20px 0; }
.divider::before { content: ''; position: absolute; inset: 50% 0 50%; background: var(--border); height: 1px; }
.divider span { background: white; padding: 0 12px; color: var(--gray); font-size: 13px; position: relative; }
.social-login { display: flex; flex-direction: column; gap: 10px; }
.sl-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: var(--radius); border: 1.5px solid var(--border); background: white; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; }
.sl-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.sl-btn.google i { color: #ea4335; }
.sl-btn.facebook i { color: #1877f2; }
.role-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 4px; }
.role-btn { display: flex; align-items: center; gap: 8px; padding: 12px; border: 2px solid var(--border); border-radius: var(--radius); background: white; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.role-btn.active, .role-btn:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.password-strength { margin-top: 6px; }
.ps-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
.ps-fill { height: 100%; width: 0; transition: all .3s; border-radius: 2px; }
.forgot-link { color: var(--primary); font-size: 13px; }
.form-row-inline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 14px; }
.auth-bottom { margin-top: 20px; text-align: center; font-size: 14px; color: var(--primary); }
.email-login-toggle { text-align: center; margin-top: 12px; font-size: 13px; }
.email-login-toggle a { color: var(--primary); }
.resend-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--gray); }

/* ===== DASHBOARD ===== */
.dashboard-page { background: var(--gray-light); min-height: 100vh; }
.dash-header { background: white; border-bottom: 1px solid var(--border); padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.dash-header-left { display: flex; align-items: center; gap: 16px; }
.sidebar-toggle { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--gray); }
.dash-header-right { display: flex; align-items: center; gap: 16px; }
.notif-btn { position: relative; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--gray); }
.notif-badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; background: var(--danger); color: white; border-radius: 50%; font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.notif-panel { position: absolute; top: 100%; right: 0; width: 340px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); z-index: 200; display: none; }
.notif-panel.active { display: block; }
.np-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.np-header h4 { font-size: 15px; font-weight: 700; }
.np-header button { background: none; border: none; color: var(--primary); font-size: 13px; cursor: pointer; }
.np-list { max-height: 320px; overflow-y: auto; }
.np-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); transition: background .2s; cursor: pointer; }
.np-item:hover { background: var(--gray-light); }
.np-item.unread { background: rgba(99,102,241,.04); }
.np-item strong { display: block; font-size: 13px; font-weight: 700; }
.np-item p { font-size: 13px; color: var(--gray); margin-top: 2px; }
.np-item small { font-size: 11px; color: var(--gray); }
.dash-profile { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 8px 12px; border-radius: var(--radius); transition: background .2s; position: relative; }
.dash-profile:hover { background: var(--gray-light); }
.dp-avatar { width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.dash-profile span { font-size: 14px; font-weight: 600; }
.profile-menu { position: absolute; top: 100%; right: 0; width: 180px; background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); z-index: 200; display: none; overflow: hidden; }
.profile-menu.active { display: block; }
.profile-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 14px; transition: background .2s; }
.profile-menu a:hover { background: var(--gray-light); }
.pm-divider { height: 1px; background: var(--border); }
.dash-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
.dash-sidebar { background: white; border-right: 1px solid var(--border); padding: 20px 0; }
.dash-sidebar.collapsed { width: 0; overflow: hidden; }
.dash-user-info { padding: 16px 20px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.dui-avatar { width: 44px; height: 44px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.user-role { display: block; font-size: 12px; color: var(--success); }
.user-plan { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-top: 4px; }
.premium-plan { background: rgba(245,158,11,.15); color: var(--secondary); }
.dash-nav { padding: 16px 12px; }
.dn-section { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); padding: 12px 8px 4px; }
.dn-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--gray); transition: all .2s; cursor: pointer; margin-bottom: 2px; }
.dn-item:hover { background: var(--gray-light); color: var(--dark); }
.dn-item.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.dn-item i { width: 18px; }
.nav-badge { margin-left: auto; background: var(--primary); color: white; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 50px; }
.nav-badge.hot { background: var(--danger); }
.dash-main { padding: 24px; overflow-y: auto; }
.dash-section { display: none; }
.dash-section.active { display: block; }
.dash-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dash-section-header h2 { font-size: 1.5rem; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border-radius: var(--radius-lg); padding: 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.sc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: white; flex-shrink: 0; }
.sc-num { font-size: 2rem; font-weight: 900; }
.sc-label { font-size: 13px; color: var(--gray); }
.sc-change { font-size: 12px; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.sc-change.positive { color: var(--success); }
.charts-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-bottom: 24px; }
.chart-card, .dash-card { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.cc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cc-header h4 { font-size: 15px; font-weight: 700; }
.cc-header select { border: 1.5px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 13px; outline: none; }
.bar-chart { padding-top: 16px; }
.bc-bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; }
.bc-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.bc-bar-wrap { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; }
.bc-bar { width: 100%; border-radius: 4px 4px 0 0; transition: all .3s; }
.bc-bar.views { background: var(--primary-light); }
.bc-bar.leads { background: rgba(16,185,129,.3); }
.bc-col:hover .bc-bar.views { background: var(--primary); }
.bc-col:hover .bc-bar.leads { background: var(--success); }
.bc-col span { font-size: 11px; color: var(--gray); }
.bc-legend { display: flex; gap: 16px; margin-top: 12px; }
.bc-legend span { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.bc-legend div { width: 12px; height: 12px; border-radius: 3px; }
.donut-chart { display: flex; align-items: center; gap: 24px; }
.donut-svg.donut-lg { width: 140px; height: 140px; }
.donut-legend { display: flex; flex-direction: column; gap: 10px; }
.donut-legend div { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.donut-legend span { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.dc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dc-header h4 { font-size: 15px; font-weight: 700; }
.dc-header a { font-size: 13px; color: var(--primary); font-weight: 600; }
.leads-table { overflow-x: auto; }
.lt-header, .lt-row { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr 0.8fr 0.8fr; gap: 12px; padding: 10px 0; align-items: center; }
.lt-header { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--gray); letter-spacing: 1px; border-bottom: 1px solid var(--border); }
.lt-row { border-bottom: 1px solid var(--border); font-size: 14px; }
.lt-buyer { display: flex; align-items: center; gap: 10px; }
.lb-avatar { width: 34px; height: 34px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.lt-buyer strong { display: block; font-size: 13px; }
.lt-buyer small { font-size: 11px; color: var(--gray); }
.lt-contact { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.contact-blur { letter-spacing: 2px; color: var(--gray); }
.btn-reveal { padding: 4px 10px; background: var(--primary-light); color: var(--primary); border: none; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
.lead-status { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.lead-status.hot { background: rgba(239,68,68,.1); color: #ef4444; }
.lead-status.warm { background: rgba(245,158,11,.1); color: var(--secondary); }
.lead-status.cold { background: rgba(100,116,139,.1); color: var(--gray); }
.lt-actions { display: flex; gap: 6px; }
.lt-actions button { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--border); background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all .2s; }
.lt-actions button:hover { border-color: var(--primary); color: var(--primary); }
.ai-insights-card { background: linear-gradient(135deg, var(--dark), #1e293b); border-radius: var(--radius-lg); padding: 24px; color: white; }
.aic-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.aic-header i { color: var(--primary); font-size: 1.2rem; margin-right: 6px; }
.ai-live { background: var(--danger); padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; animation: blink 1s infinite; }
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.insight-item { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,.05); padding: 16px; border-radius: 10px; }
.insight-item i { font-size: 1.5rem; flex-shrink: 0; }
.insight-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.insight-item p { font-size: 13px; opacity: .7; line-height: 1.5; }
.listings-manage-grid { display: flex; flex-direction: column; gap: 16px; }
.lm-card { background: white; border-radius: var(--radius-lg); display: flex; align-items: center; gap: 20px; padding: 16px; box-shadow: var(--shadow); }
.lm-img { width: 100px; height: 80px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: rgba(255,255,255,.4); flex-shrink: 0; }
.lm-info { flex: 1; }
.lm-badges { display: flex; gap: 6px; margin-bottom: 6px; }
.lm-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.lm-info p { font-size: 13px; color: var(--primary); font-weight: 600; }
.lm-stats { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--gray); }
.lm-stats span { display: flex; align-items: center; gap: 4px; }
.lm-expiry { font-size: 12px; color: var(--gray); margin-top: 6px; }
.lm-expiry.expired { color: var(--danger); }
.lm-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.lead-filters { display: flex; gap: 8px; }
.leads-full-table { background: white; border-radius: var(--radius-lg); overflow: hidden; }
.leads-full-table table { width: 100%; border-collapse: collapse; }
.leads-full-table th, .leads-full-table td { padding: 12px 16px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--border); }
.leads-full-table th { background: var(--gray-light); font-weight: 700; font-size: 12px; text-transform: uppercase; color: var(--gray); }
.messages-layout { display: grid; grid-template-columns: 300px 1fr; background: white; border-radius: var(--radius-lg); overflow: hidden; height: 500px; }
.msg-list { border-right: 1px solid var(--border); overflow-y: auto; }
.msg-item { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .2s; }
.msg-item:hover, .msg-item.active { background: var(--gray-light); }
.mi-avatar { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.mi-info { flex: 1; min-width: 0; }
.mi-info strong { display: block; font-size: 14px; font-weight: 700; }
.mi-info p { font-size: 12px; color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-info small { font-size: 11px; color: var(--gray); }
.mi-badge { background: var(--primary); color: white; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.msg-chat { display: flex; flex-direction: column; }
.mc-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.mc-user { display: flex; align-items: center; gap: 12px; }
.mc-avatar { width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mc-user strong { display: block; font-size: 14px; }
.mc-user small { font-size: 12px; color: var(--success); }
.mc-actions { display: flex; gap: 8px; }
.mc-actions button { width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--border); background: white; cursor: pointer; }
.mc-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mc-msg { display: flex; flex-direction: column; gap: 4px; }
.mc-msg.received { align-items: flex-start; }
.mc-msg.sent { align-items: flex-end; }
.mc-bubble { padding: 10px 14px; border-radius: 12px; font-size: 14px; max-width: 70%; }
.mc-msg.received .mc-bubble { background: var(--gray-light); }
.mc-msg.sent .mc-bubble { background: var(--primary); color: white; }
.mc-msg small { font-size: 11px; color: var(--gray); }
.mc-input { display: flex; gap: 10px; padding: 16px; border-top: 1px solid var(--border); }
.mc-input input { flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; outline: none; font-size: 14px; }
.mc-input button { background: var(--primary); color: white; border: none; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.an-card { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.an-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.perf-list { display: flex; flex-direction: column; gap: 16px; }
.pl-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.pl-item span { width: 140px; color: var(--gray); flex-shrink: 0; }
.pl-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.pl-bar div { height: 100%; border-radius: 4px; }
.pl-item strong { width: 40px; text-align: right; }
.source-list { display: flex; flex-direction: column; gap: 12px; }
.sl-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.sl-item i { font-size: 18px; width: 24px; }
.sl-item span { flex: 1; }
.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.profile-card { background: white; border-radius: var(--radius-lg); padding: 32px; text-align: center; box-shadow: var(--shadow); }
.profile-avatar-lg { width: 80px; height: 80px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; margin: 0 auto 16px; }
.profile-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.profile-stats { display: flex; justify-content: space-around; margin: 20px 0; padding: 16px; background: var(--gray-light); border-radius: 10px; }
.profile-stats strong { display: block; font-size: 20px; font-weight: 800; color: var(--primary); }
.profile-stats span { font-size: 12px; color: var(--gray); }
.verification-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.vb { padding: 6px 12px; border-radius: 50px; background: var(--gray-light); font-size: 12px; display: flex; align-items: center; gap: 6px; color: var(--gray); }
.vb.active { background: rgba(16,185,129,.1); color: var(--success); }
.profile-form { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.profile-form h4 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .listings-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; position: fixed; left: 0; top: 0; bottom: 0; z-index: 500; height: 100vh; overflow-y: auto; }
  .filter-sidebar.mobile-open { display: block; }
  .filter-toggle-btn { display: flex; }
  .mobile-filter-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 499; }
  .mobile-filter-overlay.active { display: block; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { order: -1; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 20px; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .quick-facts { grid-template-columns: repeat(3, 1fr); }
  .overview-grid { grid-template-columns: 1fr; }
  .emi-calc { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .search-inputs { flex-direction: column; }
  .si-wrap { border-right: none; border-bottom: 1px solid var(--border); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid, .nri-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .prop-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
  .amenities-check-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-row { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .messages-layout { grid-template-columns: 1fr; height: auto; }
  .msg-list { height: 200px; }
  .np-grid { grid-template-columns: repeat(2, 1fr); }
  .prop-header { flex-direction: column; }
  .detail-price { text-align: left; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .radio-cards { flex-direction: column; }
  .post-header-content { flex-direction: column; gap: 16px; }
  .post-benefits { flex-wrap: wrap; }
  .progress-steps { overflow-x: auto; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .cta-stats { justify-content: center; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .filter-chips { overflow-x: auto; }
  .filter-chip-wrap .swiper-slide { width: auto !important; }
  .gallerySwiper .swiper-slide { width: 100% !important; }
  .logo img { height: 36px; }
  .nav-right .btn-outline:first-child { display: none; } /* hide Admin on mobile */
  .nav-right { gap: 6px; }
  .nav-right .btn-outline, .nav-right .btn-primary { padding: 7px 12px; font-size: 12px; }
}

@media (max-width: 480px) {
  .nav-right .btn-outline { display: none; }
  .nav-right .btn-primary { padding: 7px 14px; font-size: 13px; }
  .hero-stats .stat-num { font-size: 1.6rem; }
  .hero-stats { font-size: 11px; }
  .prop-card { width: 100%; }
  .feat-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr; }
  /* Dashboard stat cards on small screens */
  .sc-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .sc-card { padding: 14px !important; }
  .sc-num { font-size: 1.5rem !important; }
  .sc-label { font-size: 11px !important; }
  /* Listings card overflow fix */
  .prop-card .pc-contact { flex-wrap: wrap; gap: 6px; }
  .listings-layout { grid-template-columns: 1fr !important; }
}

/* ===== LOGO IMG POLISH ===== */
.navbar .logo img {
  filter: drop-shadow(0 1px 4px rgba(99,102,241,0.18));
}
.navbar-light .logo img,
.navbar .logo img {
  transition: opacity 0.2s, transform 0.2s;
}
.navbar-transparent .logo img {
  filter: brightness(0) invert(1);
}

/* ===== ADMIN LINK IN NAV ===== */
.nav-right .btn-outline[href*="admin"] {
  font-size: 12px !important;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== SCROLLBAR GLOBAL ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ===== SKELETON LOADING ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== FOCUS ACCESSIBILITY ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar, .ai-fab, .ai-chat-panel, .footer { display: none !important; }
  body { font-size: 12px; }
}

/* ===================================================
   MASTERPLACE — ADVANCED ANIMATIONS & ENHANCEMENTS
   =================================================== */

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Glassmorphism card ── */
.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
}

/* ── Enhanced property card ── */
.prop-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(79,70,229,0.07);
  border: 1px solid #f1f5f9;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
}
.prop-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 0 0 2px rgba(79,70,229,0.0);
  transition: box-shadow 0.3s ease;
  pointer-events: none;
}
.prop-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 24px 60px rgba(79,70,229,0.18); }
.prop-card:hover::after { box-shadow: 0 0 0 2px rgba(79,70,229,0.18); }

/* ── PC-IMG enhanced ── */
.pc-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.pc-img::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.pc-img i { filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }

/* ── SQFT pill highlight ── */
.sqft-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(79,70,229,0.08);
  color: #4F46E5;
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}

/* ── WhatsApp Floating Button ── */
.wa-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9000;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  animation: waPulse 2.5s infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,0.7); }
.wa-float .wa-tooltip {
  position: absolute;
  right: 68px;
  background: #0f172a;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }
.wa-float .wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #0f172a;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── LIVE badge (post property success) ── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(16,185,129,0.4);
  animation: livePop 0.5s cubic-bezier(.36,0,.66,-0.56) reverse, livePulse 2s 0.5s infinite;
}
.live-dot {
  width: 10px; height: 10px;
  background: white;
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
@keyframes livePop { from{transform:scale(0)} to{transform:scale(1)} }
@keyframes livePulse { 0%,100%{box-shadow:0 4px 20px rgba(16,185,129,0.4)} 50%{box-shadow:0 4px 32px rgba(16,185,129,0.7)} }

/* ── WhatsApp OTP styling ── */
.otp-wa-header {
  background: linear-gradient(135deg, #075E54, #25D366) !important;
}
.otp-wa-icon { color: #25D366; }
.otp-wa-btn {
  background: linear-gradient(135deg, #075E54, #25D366) !important;
  color: white !important;
}
.otp-wa-btn:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.5) !important; }

/* ── Footer upgrade ── */
.footer {
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.footer-brand p { color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-address {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.footer-address strong { color: #F59E0B; font-size: 14px; display: block; margin-bottom: 6px; }
.footer-address i { color: #4F46E5; margin-right: 6px; }

/* ── AdSense containers ── */
.ad-container {
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  overflow: hidden;
  margin: 16px 0;
}
.ad-label {
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

/* ── Shimmer loading for listings ── */
.prop-card-shimmer .pc-img { background: linear-gradient(90deg,#f0f0f0 25%,#e8e8e8 50%,#f0f0f0 75%); background-size:200% 100%; animation:shimmer 1.4s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Hero stats pulse ── */
.stat-num { display: inline-block; }
.stat-item:hover .stat-num { animation: numPop 0.3s ease; }
@keyframes numPop { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }

/* ── Enhanced search box ── */
.search-box {
  background: rgba(255,255,255,0.98) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.3) !important;
}

/* ── Typewriter cursor ── */
.typewriter::after {
  content: '|';
  animation: cursor 1s infinite;
  color: #F59E0B;
}
@keyframes cursor { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Navbar scroll effect ── */
.navbar.scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 4px 24px rgba(79,70,229,0.12) !important;
}
.navbar .logo img { transition: transform 0.3s ease; }
.navbar .logo:hover img { transform: scale(1.06) rotate(-1deg); }

/* ── Admin protected overlay ── */
#adminAuthGate {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.auth-gate-box {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 40px 36px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  color: white;
}
.auth-gate-box h2 { font-size: 22px; font-weight: 800; margin: 16px 0 6px; }
.auth-gate-box p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.auth-gate-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 16px;
  color: white;
  font-family: inherit;
  outline: none;
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.auth-gate-input:focus { border-color: rgba(79,70,229,0.7); }
.auth-gate-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: white; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: all 0.2s;
}
.auth-gate-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.5); }
.auth-gate-error {
  background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5; border-radius: 8px; padding: 10px; font-size: 13px;
  margin-top: 12px; display: none;
}

/* ── Better mobile nav ── */
@media (max-width: 768px) {
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 999;
    border-bottom: 2px solid rgba(79,70,229,0.1);
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
  .nav-links.mobile-open a { padding: 12px 16px; border-radius: 10px; font-size: 15px; }
  .wa-float { bottom: 80px; right: 16px; width: 52px; height: 52px; font-size: 24px; }
}

/* Hero image slider */
.hero-slider { position: absolute; inset: 0; }
.hs-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease; }
.hs-slide.active { opacity: 1; }

/* PC-IMG real images */
.pc-img[style*="background-image"] i { display: none; }
.pc-img[style*="background-image"] { background-size: cover !important; background-position: center !important; }
.pc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.3) 100%); pointer-events: none; }
.pc-action { z-index: 3; }
.pc-badges { z-index: 3; }

/* Gallery Swiper full-width fix */
.gallery-section { overflow: hidden !important; max-width: 100%; }
.gallerySwiper { width: 100% !important; max-width: 100% !important; overflow: hidden !important; box-sizing: border-box; }
.gallerySwiper .swiper-wrapper { box-sizing: border-box; }
.gallery-img { width: 100% !important; }

/* Projects hero slider */
.ph-slider { position: absolute; inset: 0; z-index: 0; }
.ph-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.8s ease; }
.ph-slide.active { opacity: 1; }
.projects-hero { position: relative; overflow: hidden; }
.projects-hero > *:not(.ph-slider) { position: relative; z-index: 2; }
.projects-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(99,102,241,0.6) 100%); z-index:1; }

/* =====================================================
   ZERO BROKERAGE / OWNER DIRECT — NEW STYLES
   ===================================================== */

/* ── Hero Badge Row ── */
.hero-badge-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 20px;
}
.hero-badge-row .hero-badge {
  background: rgba(255,255,255,0.18); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white; padding: 6px 18px; border-radius: 40px;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px;
}
.hero-badge-row .zero-badge {
  background: rgba(239,68,68,0.25); border-color: rgba(239,68,68,0.5);
  color: #fca5a5; font-size: 13px; font-weight: 700; letter-spacing: .5px;
}
.zero-stat { color: #10b981 !important; }

/* ── Zero Brokerage Bar ── */
.zero-brokerage-bar {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  padding: 10px 0; overflow: hidden;
}
.zb-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.zb-pill {
  background: white; color: #4f46e5;
  padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 800;
  letter-spacing: .5px; white-space: nowrap; display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.zb-items {
  display: flex; gap: 20px; flex-wrap: wrap; flex: 1;
}
.zb-items span {
  color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.zb-items span i { color: #a5b4fc; }

/* ── Features Strip Enhancements ── */
.feat-highlight {
  border: 2px solid #6366f1;
  position: relative;
}
.feat-highlight::before {
  content: '★ KEY FEATURE';
  position: absolute; top: -10px; left: 16px;
  background: #6366f1; color: white; font-size: 10px; font-weight: 700;
  padding: 2px 10px; border-radius: 10px; letter-spacing: 0.5px;
}
.feat-icon-zero { background: linear-gradient(135deg,#ef4444,#dc2626) !important; }
.feat-icon-chat { background: linear-gradient(135deg,#10b981,#059669) !important; }

/* ── How It Works Highlight ── */
.step-card-highlight {
  border: 2px solid #6366f1;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  position: relative;
}
.step-num-highlight {
  background: #6366f1 !important; color: white !important;
}
.step-icon-highlight {
  background: linear-gradient(135deg,#6366f1,#8b5cf6) !important;
}
.step-badge-free {
  display: inline-flex; align-items: center; gap: 5px;
  background: #ef4444; color: white; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; margin-top: 10px;
  letter-spacing: .4px;
}

/* ── CTA Section Additions ── */
.cta-zero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: white; padding: 5px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700; margin-bottom: 14px;
  letter-spacing: .5px;
}
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-white-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.7);
  padding: 18px 40px; border-radius: var(--radius); font-weight: 700; font-size: 18px;
  cursor: pointer; transition: all .2s;
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ── Zero Brokerage Strip (Listings Page) ── */
.zero-brokerage-strip {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(90deg, #eef2ff, #f5f3ff);
  border: 1px solid #c7d2fe; border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 16px; position: relative;
}
.zbs-pill {
  background: #4f46e5; color: white;
  padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 800;
  white-space: nowrap; display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.zbs-left { display: flex; align-items: center; gap: 12px; flex: 1; flex-wrap: wrap; }
.zbs-text { font-size: 13px; color: #374151; }
.zbs-right { display: flex; gap: 14px; flex-wrap: wrap; }
.zbs-right span {
  font-size: 12px; color: #4f46e5; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.zero-brokerage-strip > button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #94a3b8; cursor: pointer; font-size: 14px;
}

/* ── Owner Direct Filter Label ── */
.owner-filter-label { display: flex !important; align-items: center; gap: 8px; flex-wrap: wrap; }
.owner-direct-badge {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white; padding: 2px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}
.zb-tag {
  background: #fef3c7; color: #92400e;
  padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700;
}

/* ── Property Card Owner Badge ── */
.pc-owner-direct {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(90deg,#6366f1,#8b5cf6);
  color: white; padding: 2px 8px; border-radius: 10px;
  font-size: 10px; font-weight: 700; margin-left: 4px;
}
.pc-owner-direct.builder-badge {
  background: linear-gradient(90deg,#f59e0b,#d97706);
}

/* ── Contact Card Zero Brokerage Tag ── */
.contact-zb-tag {
  background: linear-gradient(90deg,#6366f1,#8b5cf6);
  color: white; text-align: center; padding: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -20px -20px 16px; /* bleed to card edges */
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.direct-connect-info {
  display: flex; align-items: flex-start; gap: 12px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 10px; padding: 14px; margin-bottom: 14px;
}
.dci-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg,#10b981,#059669);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; flex-shrink: 0;
}
.direct-connect-info strong { font-size: 14px; color: #065f46; display: block; }
.direct-connect-info p { font-size: 12px; color: #047857; margin-top: 2px; }

.btn-chat-owner {
  background: linear-gradient(135deg,#6366f1,#8b5cf6) !important;
  margin-bottom: 8px !important;
  font-size: 15px !important; padding: 14px !important;
  justify-content: center;
}
.btn-call-owner {
  width: 100%; padding: 12px; border-radius: var(--radius);
  border: 2px solid #6366f1; background: transparent; color: #6366f1;
  font-weight: 600; font-size: 14px; cursor: pointer; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .2s;
}
.btn-call-owner:hover { background: #eef2ff; }

/* =====================================================
   CHAT PAGE STYLES
   ===================================================== */

.chat-page { height: 100vh; overflow: hidden; }

.chat-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  height: calc(100vh - 70px);
  margin-top: 70px;
  background: #f8fafc;
}

/* ── Sidebar ── */
.chat-sidebar {
  background: white;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.cs-header {
  padding: 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cs-header h2 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.zb-mini-tag {
  background: #eef2ff; color: #4f46e5;
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px;
}
.cs-search {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.cs-search i { color: var(--gray); }
.cs-search input {
  flex: 1; border: none; outline: none; font-size: 14px; background: transparent;
  font-family: var(--font);
}
.cs-tabs {
  display: flex; border-bottom: 1px solid var(--border);
}
.cs-tab {
  flex: 1; padding: 10px; border: none; background: none; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--gray); font-family: var(--font);
  border-bottom: 2px solid transparent; transition: all .2s;
}
.cs-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.conv-list { flex: 1; overflow-y: auto; }

/* ── Conversation Item ── */
.conv-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  cursor: pointer; transition: background .15s; border-bottom: 1px solid #f1f5f9;
  position: relative;
}
.conv-item:hover { background: #f8fafc; }
.conv-item.conv-active { background: #eef2ff; border-left: 3px solid var(--primary); }
.conv-item.conv-unread .conv-name,
.conv-item.conv-unread .conv-preview span { font-weight: 700; color: var(--dark); }
.conv-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.conv-info { flex: 1; min-width: 0; }
.conv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.conv-name { font-size: 14px; font-weight: 600; }
.conv-time { font-size: 11px; color: var(--gray); }
.conv-prop { font-size: 11px; color: var(--primary); font-weight: 500; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-preview { display: flex; justify-content: space-between; align-items: center; }
.conv-preview span { font-size: 12px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.conv-badge {
  background: var(--primary); color: white; font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px; flex-shrink: 0;
}
.conv-online-dot {
  position: absolute; top: 14px; left: 52px;
  width: 11px; height: 11px; background: #10b981; border-radius: 50%;
  border: 2px solid white;
}
.conv-empty { padding: 40px 16px; text-align: center; color: var(--gray); }
.conv-empty i { font-size: 36px; margin-bottom: 10px; opacity: .3; }
.conv-empty p { margin-bottom: 8px; }

/* ── Chat Window ── */
.chat-window {
  display: flex; flex-direction: column; overflow: hidden; position: relative;
}
.chat-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; text-align: center; gap: 10px;
}
.chat-empty-icon { font-size: 64px; color: #c7d2fe; margin-bottom: 10px; }
.chat-empty h3 { font-size: 22px; font-weight: 700; }
.chat-empty p { color: var(--gray); margin-bottom: 10px; }
.chat-empty-features {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 20px;
}
.chat-empty-features div { display: flex; align-items: center; gap: 6px; }

.chat-active { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* ── Chat Window Header ── */
.chat-win-header {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  background: white; flex-shrink: 0;
}
.chat-back-btn {
  display: none; background: none; border: none; font-size: 18px;
  cursor: pointer; color: var(--dark); padding: 4px;
}
.chat-win-owner { display: flex; align-items: center; gap: 12px; flex: 1; }
.chat-owner-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 15px;
}
.chat-owner-name { font-size: 15px; font-weight: 700; }
.chat-owner-meta { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.chat-owner-badge {
  background: #eef2ff; color: #4f46e5; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 10px;
}
.chat-online { font-size: 11px; color: #10b981; font-weight: 600;
  display: flex; align-items: center; gap: 4px; }
.online-dot-sm { width: 7px; height: 7px; background: #10b981; border-radius: 50%; display: inline-block; }
.chat-win-actions { display: flex; gap: 8px; }
.cwh-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--border);
  background: white; display: flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer; color: var(--dark); transition: all .2s; text-decoration: none;
}
.cwh-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.cwh-wa { color: #25D366; border-color: #25D366; }
.cwh-wa:hover { background: #f0fdf4; }

/* ── Property Preview Strip ── */
.chat-prop-strip {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; background: #fafafa; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cps-img {
  width: 52px; height: 40px; border-radius: 8px;
  background: #e2e8f0; flex-shrink: 0; background-size: cover;
}
.cps-info { flex: 1; }
.cps-title { font-size: 13px; font-weight: 600; color: var(--dark); }
.cps-price { font-size: 12px; color: var(--primary); font-weight: 600; }
.cps-zb {
  background: #eef2ff; color: #4f46e5; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 12px; display: flex; align-items: center; gap: 4px;
}
.cps-view {
  font-size: 12px; font-weight: 600; color: var(--primary); white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}

/* ── Messages Area ── */
.chat-messages-area {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  background: #f8fafc;
}
.chat-date-divider {
  text-align: center; margin: 8px 0;
}
.chat-date-divider span {
  background: #e2e8f0; color: var(--gray); font-size: 11px;
  padding: 4px 14px; border-radius: 20px; font-weight: 600;
}
.chat-msg-row { display: flex; align-items: flex-end; gap: 8px; }
.chat-msg-row.msg-me { flex-direction: row-reverse; }
.msg-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.msg-bubble {
  max-width: 68%; padding: 10px 14px; border-radius: 16px;
  font-size: 14px; line-height: 1.5; position: relative;
  display: flex; flex-direction: column; gap: 4px;
}
.bubble-owner {
  background: white; border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07); color: var(--dark);
}
.bubble-me {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white; border-bottom-right-radius: 4px;
}
.msg-bubble small {
  font-size: 10px; align-self: flex-end;
  color: rgba(0,0,0,0.35);
}
.bubble-me small { color: rgba(255,255,255,0.7); }

/* ── Quick Replies ── */
.chat-quick-replies {
  display: flex; gap: 8px; padding: 8px 16px; overflow-x: auto;
  border-top: 1px solid var(--border); background: white; flex-shrink: 0;
}
.chat-quick-replies button {
  white-space: nowrap; padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid var(--primary); background: transparent; color: var(--primary);
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--font);
  transition: all .2s;
}
.chat-quick-replies button:hover { background: var(--primary); color: white; }

/* ── Chat Input ── */
.chat-input-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-top: 1px solid var(--border); background: white; flex-shrink: 0;
}
.cib-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 24px;
  padding: 10px 16px; font-size: 14px; outline: none; font-family: var(--font);
  transition: border-color .2s;
}
.cib-input:focus { border-color: var(--primary); }
.cib-attach, .cib-emoji {
  background: none; border: none; font-size: 18px; color: var(--gray);
  cursor: pointer; padding: 6px; border-radius: 8px; transition: all .2s;
}
.cib-attach:hover, .cib-emoji:hover { color: var(--primary); background: var(--primary-light); }
.cib-send {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none; color: white; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
  flex-shrink: 0;
}
.cib-send:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(99,102,241,0.4); }

/* ── FAB ── */
.chat-new-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white; border: none; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(99,102,241,.4); z-index: 100;
  transition: all .2s;
}
.chat-new-fab:hover { transform: scale(1.1); }

/* ── Mobile Chat Layout ── */
@media (max-width: 768px) {
  .chat-layout { grid-template-columns: 1fr; }
  .chat-window { display: none; }
  .chat-window.mobile-show { display: flex; position: fixed; inset: 70px 0 0 0; z-index: 200; }
  .chat-back-btn { display: flex; }
  .chat-sidebar.mobile-hidden { display: none; }
  .cib-attach, .cib-emoji { display: none; }
  .chat-prop-strip { padding: 8px 12px; }
  .chat-win-actions .cwh-btn:last-child { display: none; }
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(99,102,241,.18); }

.proj-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.proj-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.proj-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.proj-badge-ep {
  background: linear-gradient(90deg,#f59e0b,#f97316);
  color: white; padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
}
.proj-badge-rera {
  background: rgba(16,185,129,.9);
  color: white; padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.proj-status {
  position: absolute; bottom: 12px; right: 12px;
  color: white; padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
}

.proj-body {
  padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.proj-developer {
  font-size: 12px; color: var(--primary); font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.proj-name {
  font-size: 17px; font-weight: 700; color: var(--dark); margin: 0; line-height: 1.3;
}
.proj-location {
  font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 5px;
}
.proj-price {
  font-size: 18px; font-weight: 800;
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.proj-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--gray); font-weight: 500;
}
.proj-meta span { display: flex; align-items: center; gap: 4px; }
.proj-enquire {
  margin-top: auto; padding-top: 12px;
  width: 100%; padding: 10px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: white; border: none; font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font); transition: opacity .2s;
}
.proj-enquire:hover { opacity: .88; }

/* Projects swiper wrapper */
.projectsSwiper .swiper-slide { height: auto; }
