/* ==========================================================================
   NEXORA ESTATES - APPLE macOS DESIGN SYSTEM
   Typography: SF Pro / Apple System Native Font Stack
   Aesthetic: Ultra-clean, Minimalist, Monochromatic, High-Contrast Apple UI
   ========================================================================== */

:root,
[data-theme="light"] {
  /* Apple Light Mode - Clean Canvas & Crisp Card Surfaces */
  --bg-app: #F5F5F7;
  --bg-gradient: none;
  --bg-main: #F5F5F7;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFA;
  --bg-sidebar: #FFFFFF;
  --bg-header: #FFFFFF;
  --bg-input: #FFFFFF;
  --bg-hover: #F2F2F7;

  --border-color: #E5E5EA;
  --border-muted: #F2F2F7;

  --text-main: #1D1D1F;
  --text-muted: #86868B;
  --text-inverse: #FFFFFF;

  --primary: #1D1D1F;
  --primary-hover: #333336;
  --accent: #1D1D1F;
  --accent-hover: #000000;
  --accent-bg: #E5E5EA;

  /* Sidebar */
  --sidebar-bg: #FFFFFF;
  --sidebar-border: #E5E5EA;
  --sidebar-text: #1D1D1F;
  --sidebar-text-muted: #86868B;
  --sidebar-hover-bg: #F5F5F7;
  --sidebar-active-bg: #E5E5EA;

  /* Status Colors - Subdued, Apple-Tone Minimalist */
  --success: #1D1D1F;
  --success-bg: #F2F2F7;
  --warning: #1D1D1F;
  --warning-bg: #F2F2F7;
  --danger: #1D1D1F;
  --danger-bg: #F2F2F7;
  --info: #1D1D1F;
  --info-bg: #F2F2F7;

  --sidebar-width: 240px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --radius-lg: 14px;
  --transition: all 0.15s ease-in-out;
}

[data-theme="dark"] {
  /* Apple Dark Mode - Pitch Black Canvas & System Charcoal Cards */
  --bg-app: #000000;
  --bg-gradient: none;
  --bg-main: #000000;
  --bg-card: #1C1C1E;
  --bg-card-hover: #2C2C2E;
  --bg-sidebar: #1C1C1E;
  --bg-header: #1C1C1E;
  --bg-input: #2C2C2E;
  --bg-hover: #2C2C2E;

  --border-color: #2C2C2E;
  --border-muted: #242426;

  --text-main: #F5F5F7;
  --text-muted: #86868B;
  --text-inverse: #000000;

  --primary: #FFFFFF;
  --primary-hover: #E5E5EA;
  --accent: #FFFFFF;
  --accent-hover: #F5F5F7;
  --accent-bg: #3A3A3C;

  /* Sidebar */
  --sidebar-bg: #1C1C1E;
  --sidebar-border: #2C2C2E;
  --sidebar-text: #F5F5F7;
  --sidebar-text-muted: #86868B;
  --sidebar-hover-bg: #2C2C2E;
  --sidebar-active-bg: #3A3A3C;

  /* Status Colors */
  --success: #F5F5F7;
  --success-bg: #2C2C2E;
  --warning: #F5F5F7;
  --warning-bg: #2C2C2E;
  --danger: #F5F5F7;
  --danger-bg: #2C2C2E;
  --info: #F5F5F7;
  --info-bg: #2C2C2E;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.6);
}

/* Base Reset & Native Apple Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#app {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background-color: var(--bg-app);
}

/* CRM Mode locks viewport */
#app:has(.sidebar),
#app.crm-mode {
  height: 100vh;
  overflow: hidden;
}

/* ── APPLE SIDEBAR ── */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
}

.sidebar-header {
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-logo {
  width: 30px;
  height: 30px;
  background: var(--text-main);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-card);
  font-size: 0.8rem;
  letter-spacing: -0.5px;
}

.sidebar-brand h2 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.sidebar-brand p {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0;
}

.sidebar-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 0.5rem 1rem;
}

.sidebar-section-title {
  padding: 0.75rem 1.25rem 0.25rem 1.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-nav {
  flex: 1;
  padding: 0.6rem 0.6rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  color: var(--sidebar-text);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.nav-item:hover {
  background-color: var(--sidebar-hover-bg);
  color: var(--text-main);
}

.nav-item.active {
  background-color: var(--sidebar-active-bg);
  color: var(--text-main);
  font-weight: 600;
}

.svg-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-color);
  background: var(--sidebar-bg);
}

.user-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-info h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background-color: var(--bg-hover);
}

/* ── MAIN LAYOUT ── */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--bg-app);
}

.top-bar {
  height: 58px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.breadcrumb {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.1rem;
}

.page-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.content-body {
  flex: 1;
  padding: 2rem 2.25rem;
  overflow-y: auto;
  background-color: var(--bg-app);
}

/* ── CARDS & GRIDS ── */
.grid-5,
.metric-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.kpi-card,
.demand-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kpi-card:hover,
.demand-card:hover {
  border-color: #C7C7CC;
}

.kpi-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0.35rem 0;
  letter-spacing: -0.025em;
}

.kpi-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── TABLES (SPACIOUS & CLEAN) ── */
.table-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}

.table-header {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

th {
  background-color: var(--bg-hover);
  padding: 0.85rem 1.25rem;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--border-muted);
  color: var(--text-main);
  vertical-align: middle;
  line-height: 1.45;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: var(--bg-card-hover);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary,
.btn-accent {
  background-color: var(--text-main);
  color: var(--bg-card);
  border: 1px solid var(--text-main);
}

.btn-primary:hover,
.btn-accent:hover {
  opacity: 0.9;
}

.btn-secondary,
.btn-outline {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover,
.btn-outline:hover {
  background-color: var(--bg-hover);
}

.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  border-radius: 6px;
}

/* ── MODALS (macOS Sheet Style) ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 9999;
  box-sizing: border-box;
}

.modal-card,
.modal-content {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  color: var(--text-main);
  box-sizing: border-box;
}

.modal-wide {
  max-width: 820px !important;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

/* ── CHIPS & QUICK PROMPTS ── */
.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover {
  border-color: var(--text-main);
  background-color: var(--border-color);
}

.kpi-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-main);
}

/* ── FORM CONTROLS & FILTER TOOLBARS ── */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label,
.form-group label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-control,
.form-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.84rem;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: var(--transition);
}

.filter-input {
  padding: 0.55rem 0.85rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.84rem;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: var(--transition);
}

.filter-select {
  padding: 0.55rem 0.85rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.84rem;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: var(--transition);
  min-width: 180px;
  width: auto;
  cursor: pointer;
}

.form-control:focus,
.form-input:focus,
.filter-input:focus,
.filter-select:focus {
  border-color: var(--text-main);
}

/* ── CLEAN NORMAL LABELS & STATUS TEXT (NO HIGHLIGHTS OR BUBBLE PILLS) ── */
.badge,
.tier-badge,
.overdue-tag,
.upcoming-tag,
.tier-platinum,
.tier-gold,
.tier-silver {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.notif-badge {
  background: var(--text-main) !important;
  color: var(--bg-card) !important;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.05rem 0.35rem;
  min-width: 15px;
  text-align: center;
}

/* Filter Rows */
.leads-filter-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

/* Right-Side AI Assistant Window */
.ai-chat-window {
  position: fixed;
  top: 58px;
  right: 0;
  width: 380px;
  height: calc(100vh - 58px);
  background-color: var(--bg-card);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 950;
}

.ai-chat-header {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: var(--bg-app);
}

.ai-message {
  max-width: 88%;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ai-message.user {
  align-self: flex-end;
  background-color: var(--text-main);
  color: var(--bg-card);
}

.ai-message.assistant {
  align-self: flex-start;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.ai-chat-footer {
  padding: 0.75rem 1rem;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

/* ── APPLE SEGMENTED PICKER / VIEW TOGGLE BUTTONS ── */
.view-toggle-btn,
.tab-btn {
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.view-toggle-btn:hover,
.tab-btn:hover {
  color: var(--text-main);
  background-color: var(--border-color);
}

.view-toggle-btn.active,
.tab-btn.active {
  background: var(--text-main);
  color: var(--bg-card);
  border-color: var(--text-main);
  font-weight: 600;
}

/* ── APPLE FLOOR MATRIX & INVENTORY TILES ── */
.floor-matrix-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.floor-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.floor-label {
  min-width: 80px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.floor-units-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex: 1;
}

.unit-tile {
  background-color: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  min-width: 80px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: var(--transition);
}

.unit-tile:hover {
  border-color: var(--text-main);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.unit-tile-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.unit-tile-type {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.unit-tile-price {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Unit Status Minimalist Accents */
.unit-tile.available {
  border-left: 3px solid var(--text-main);
}

.unit-tile.hold {
  border-left: 3px solid var(--text-muted);
  opacity: 0.9;
}

.unit-tile.booked {
  border-left: 3px solid var(--border-color);
  opacity: 0.75;
}

.unit-tile.sold {
  border-left: 3px solid var(--border-muted);
  opacity: 0.55;
}

/* ── APPLE SCROLLBARS ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* ── APPLE CALENDAR & SITE VISITS DESIGN SYSTEM ── */
.cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cal-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cal-month-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-left: 0.75rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.cal-google-status {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background-color: var(--bg-hover);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cal-google-status.connected {
  background-color: var(--bg-hover);
  color: var(--text-main);
  border-color: var(--text-main);
}

.cal-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.cal-stat {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cal-stat-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.cal-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.cal-header-cell {
  background-color: var(--bg-hover);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-align: center;
  padding: 0.65rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-day {
  background-color: var(--bg-card);
  min-height: 115px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.cal-day:hover {
  background-color: var(--bg-card-hover);
}

.cal-day-empty {
  background-color: var(--bg-app);
  opacity: 0.4;
}

.cal-day-today {
  background-color: var(--bg-hover);
  box-shadow: inset 0 0 0 1.5px var(--text-main);
}

.cal-day-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.cal-day-events {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  overflow-y: auto;
}

.cal-event {
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.cal-event:hover {
  border-color: var(--text-main);
  background-color: var(--border-color);
}

.cal-event-time {
  font-weight: 600;
  opacity: 0.8;
  font-size: 0.68rem;
}

.cal-event-title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-event-more {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 0.2rem;
}

.cal-legend {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  flex-wrap: wrap;
}

.cal-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background-color: var(--text-main);
}

.cal-legend-dot.scheduled {
  background-color: var(--text-main);
}

.cal-legend-dot.completed {
  background-color: var(--text-muted);
}

.cal-legend-dot.cancelled {
  background-color: var(--border-color);
}

.cal-legend-dot.no_show {
  background-color: var(--border-muted);
}

/* ── VISIT DETAIL MODAL ── */
.visit-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visit-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.visit-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  font-size: 0.82rem;
}

.visit-detail-grid label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  display: block;
}

.visit-detail-grid div div {
  color: var(--text-main);
  font-weight: 500;
}

.visit-notes {
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
}

.visit-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.visit-history {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.visit-history h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.visit-history-item {
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
}

.visit-history-action {
  font-weight: 600;
  color: var(--text-main);
}

.visit-history-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL HIGHLIGHT / BADGE NUCLEAR RESET
   Kill every colored pill, capsule, badge variant & heat indicator
   across ALL views. Nothing gets a background highlight.
   ═══════════════════════════════════════════════════════════════════ */

/* All badge variants → plain text */
.badge,
.badge-active,
.badge-booked,
.badge-sold,
.badge-available,
.badge-hold,
.badge-lead,
.badge-scheduled,
.badge-completed,
.badge-cancelled,
.badge-no_show,
.badge-pending,
.badge-paid,
.badge-overdue,
.badge-low,
.badge-medium,
.badge-high,
.badge-critical,
.badge-open,
.badge-closed,
.badge-done,
.badge-inprogress,
.badge-new,
.badge-warm,
.badge-hot,
.badge-cold,
.tier-badge,
.tier-platinum,
.tier-gold,
.tier-silver,
.tier-bronze,
.overdue-tag,
.upcoming-tag,
[class^="badge-"],
[class*=" badge-"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--text-main) !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  display: inline !important;
}

/* AI heat badge → plain text label */
.ai-heat-badge,
.ai-heat-hot,
.ai-heat-warm,
.ai-heat-cold {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 6px !important;
  padding: 0.25rem 0.6rem !important;
  color: var(--text-main) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* Notification count bubble — subtle monochrome */
#notif-badge,
.notif-badge {
  background: var(--text-main) !important;
  color: var(--bg-card) !important;
  border: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   MARKETPLACE & GROWTH ENGINE STYLES
   ========================================================================== */
.marketplace-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.mkt-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mkt-tab-btn:hover {
  background: var(--bg-hover, rgba(255, 255, 255, 0.04));
  color: var(--text-main);
}

.mkt-tab-btn.active {
  background: var(--primary, #3b82f6);
  color: #ffffff;
  border-color: var(--primary, #3b82f6);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.fomo-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.02);
  }
}

.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover, var(--primary));
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
}

.progress-track {
  background: var(--border);
  border-radius: 9999px;
  height: 8px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.progress-fill {
  background: linear-gradient(90deg, #10b981, #059669);
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill-fomo {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.countdown-box {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   PUBLIC LUXURY REAL ESTATE MARKETPLACE & 3D INTERACTIVE SHOWCASE
   ========================================================================== */
.pub-container {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

.pub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

[data-theme="dark"] .pub-header {
  background: rgba(18, 18, 20, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pub-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.pub-logo-mark {
  background: linear-gradient(135deg, #1D1D1F, #434346);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .pub-logo-mark {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
}

.pub-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.pub-nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
  padding: 0.4rem 0.2rem;
}

.pub-nav-link:hover,
.pub-nav-link.active {
  color: var(--text-main);
}

.pub-hero {
  position: relative;
  min-height: 520px;
  border-radius: 20px;
  max-width: 1240px;
  margin: 1rem auto 2.5rem;
  padding: 4.5rem 2rem 4rem;
  background: linear-gradient(180deg, rgba(16, 14, 13, 0.5) 0%, rgba(14, 12, 11, 0.88) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pub-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fcd34d;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .pub-hero-pill {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.4);
}

.pub-hero-title {
  font-size: 3.2rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #ffffff;
  max-width: 900px;
}

.pub-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.pub-search-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  color: #1a1a1a;
  text-align: left;
}

[data-theme="dark"] .pub-search-card {
  background: rgba(26, 26, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f3f4f6;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.pub-search-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.pub-search-tab {
  background: none;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.pub-search-tab.active {
  background: var(--text-main);
  color: var(--bg-main);
  border-color: var(--text-main);
}

.pub-search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

.pub-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  padding: 1.75rem 2rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 14px;
}

[data-theme="dark"] .pub-stats-strip {
  background: rgba(255, 255, 255, 0.02);
}

.pub-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.pub-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3D SHOWCASE SECTION */
.pub-3d-section {
  padding: 5rem 2.5rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.03), transparent);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .pub-3d-section {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

.pub-3d-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.pub-3d-stage {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.08), transparent 70%), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.12);
}

.pub-tower-container {
  width: 220px;
  height: 380px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pub-tower-floor {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .pub-tower-floor {
  background: rgba(30, 30, 35, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.pub-tower-floor.selected {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #fff !important;
  border-color: #f59e0b !important;
  transform: translateZ(30px) scale(1.06);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.4) !important;
  z-index: 10;
}

.pub-tower-floor:hover:not(.selected) {
  transform: translateZ(15px) scale(1.02);
  border-color: var(--text-main);
}

.pub-floor-plan-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.08);
}

/* ROLE LAUNCHER BAR */
.pub-roles-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pub-role-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.pub-role-badge:hover {
  background: var(--text-main);
  color: var(--bg-main);
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .pub-header {
    padding: 0.8rem 1rem;
  }

  .pub-nav {
    display: none;
  }

  .pub-hero-title {
    font-size: 2.2rem;
  }

  .pub-search-grid {
    grid-template-columns: 1fr;
  }

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

  .pub-3d-wrapper {
    grid-template-columns: 1fr;
  }

  .pub-roles-strip {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   INTERACTIVE SIMULATORS, PROPERTY WALKTHROUGH & COMMUTE RADAR
   ========================================================================== */
.pub-chip-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 1.25rem 0;
}

.pub-filter-chip {
  padding: 0.4rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
  user-select: none;
}

.pub-filter-chip:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.pub-filter-chip.active {
  background: var(--text-main);
  color: var(--bg-main);
  border-color: var(--text-main);
}

.pub-interactive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.calc-slider-group {
  margin-bottom: 1.25rem;
}

.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.calc-range-slider {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  accent-color: #f59e0b;
}

.commute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.commute-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
}

.commute-badge .icon {
  font-size: 1.1rem;
}

.hotspot-pin {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hotspot-pin:hover {
  transform: scale(1.3);
}

.hotspot-tooltip {
  background: rgba(18, 18, 20, 0.95);
  color: #fff;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  max-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.gallery-thumbnail-strip {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  overflow-x: auto;
}

.gallery-thumb {
  width: 68px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: #f59e0b;
  opacity: 1;
}

/* ── ADVANCED INTERACTIVE CONSUMER STYLES (NEXORA PORTAL) ── */
.pub-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}

.bhk-pill-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.bhk-pill {
  padding: 0.35rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bhk-pill:hover {
  color: var(--text-main);
  border-color: #f59e0b;
}

.bhk-pill.active {
  background: #f59e0b;
  color: #000;
  border-color: #f59e0b;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.pub-view-toggle {
  display: inline-flex;
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2px;
}

.pub-view-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pub-view-btn.active {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Floating Comparison Dock */
.pub-compare-dock {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(22, 22, 26, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 9999px;
  padding: 0.65rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  animation: slideUpCompare 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
}

@keyframes slideUpCompare {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.compare-badge-pill {
  background: #f59e0b;
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

/* Locality Heatmap Cards */
.locality-radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.locality-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.locality-card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.1);
}

.locality-card.active {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.04);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.locality-price-tag {
  font-size: 1.3rem;
  font-weight: 850;
  color: var(--text-main);
  margin: 0.3rem 0;
}

.locality-trend-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Nexora Platform Comparison Matrix Table */
.vs-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.vs-matrix-table th {
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--bg-app);
}

.vs-matrix-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border-muted);
}

.vs-matrix-table tr:last-child td {
  border-bottom: none;
}

.vs-nexora-col {
  background: rgba(16, 185, 129, 0.04);
  border-left: 2px solid #10b981;
}

/* Free Cab Dispatch Box */
.cab-dispatch-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}

/* Spam Shield Banner */
.spam-shield-banner {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   NEXORA PREMIUM PORTAL STYLING: HEADER, SEARCH CONSOLE, MODALS & EXPLORE
   ========================================================================== */

/* ── NEXORA TOP HEADER ── */
.eh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.3s ease;
}

.eh-header.is-scrolled {
  background: rgba(7, 18, 36, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  padding: 0.75rem 2.5rem;
}

.eh-logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eh-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}

.eh-logo-text {
  font-weight: 600;
  font-size: 1.3rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.eh-logo-text span {
  color: #38bdf8;
}

.eh-header-city-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.eh-header-city-pill:hover {
  background: rgba(255, 255, 255, 0.22);
}

.eh-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.eh-nav-item {
  position: relative;
}

.eh-nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 450;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0;
  transition: color 0.15s;
}

.eh-nav-link:hover {
  color: #ffffff;
}

.eh-badge-new {
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.eh-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.eh-btn-post-property {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #091e42;
  font-size: 0.84rem;
  font-weight: 550;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.eh-btn-post-property:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.eh-btn-post-property .badge-free {
  background: #10b981;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.eh-icon-btn {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.eh-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.eh-login-dropdown-wrapper {
  position: relative;
}

.eh-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  min-width: 250px;
  padding: 0.5rem;
  z-index: 1000;
}

.eh-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease;
}

.eh-dropdown-menu a:hover {
  background: #eff6ff;
  color: #0078db;
}

/* ── HERO BANNER WITH CINEMATIC KEN BURNS SCREENSAVER BACKGROUND ── */
.eh-hero-section {
  position: relative;
  min-height: 600px;
  height: clamp(580px, 54vw, 760px);
  width: 100%;
  padding: 7.5rem 2.5rem 6.5rem;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #061124;
}

.eh-screensaver-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.eh-screensaver-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  pointer-events: none;
}

.eh-screensaver-slide.active {
  opacity: 1;
}

.eh-screensaver-slide[data-index="0"].active {
  animation: kenBurnsZoomIn 3.4s cubic-bezier(0.15, 0, 0.2, 1) forwards;
}

.eh-screensaver-slide[data-index="1"].active {
  animation: kenBurnsZoomOut 3.4s cubic-bezier(0.15, 0, 0.2, 1) forwards;
}

.eh-screensaver-slide[data-index="2"].active {
  animation: kenBurnsPanRight 3.4s cubic-bezier(0.15, 0, 0.2, 1) forwards;
}

.eh-screensaver-slide[data-index="3"].active {
  animation: kenBurnsZoomIn 3.4s cubic-bezier(0.15, 0, 0.2, 1) forwards;
}

.eh-screensaver-slide[data-index="4"].active {
  animation: kenBurnsPanLeft 3.4s cubic-bezier(0.15, 0, 0.2, 1) forwards;
}

@keyframes kenBurnsZoomIn {
  0% {
    transform: scale(1.0) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.1) translate3d(-1%, -0.5%, 0);
  }
}

@keyframes kenBurnsZoomOut {
  0% {
    transform: scale(1.12) translate3d(0.8%, 0.4%, 0);
  }
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
}

@keyframes kenBurnsPanRight {
  0% {
    transform: scale(1.04) translate3d(-1.5%, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(1.5%, -0.5%, 0);
  }
}

@keyframes kenBurnsPanLeft {
  0% {
    transform: scale(1.1) translate3d(1.5%, 0, 0);
  }
  100% {
    transform: scale(1.03) translate3d(-1.5%, -0.5%, 0);
  }
}

.eh-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 17, 36, 0.45) 0%,
    rgba(6, 17, 36, 0.12) 22%,
    transparent 35%,
    rgba(6, 17, 36, 0.25) 75%,
    rgba(6, 17, 36, 0.5) 100%
  ),
  radial-gradient(circle at 25% 45%, rgba(6, 17, 36, 0.4) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.eh-screensaver-controls {
  position: absolute;
  bottom: 4.5rem;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(6, 17, 36, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  padding: 0.5rem 1.15rem 0.5rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.eh-screensaver-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.eh-ss-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.eh-screensaver-indicators {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.eh-ss-pill {
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.eh-ss-pill:hover {
  background: rgba(255, 255, 255, 0.8);
}

.eh-ss-pill.active {
  width: 34px;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

@media (max-width: 768px) {
  .eh-screensaver-controls {
    bottom: 2rem;
    right: 1.25rem;
    padding: 0.4rem 0.85rem;
    gap: 0.65rem;
  }
  .eh-screensaver-badge {
    display: none;
  }
}

.eh-hero-container {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.eh-hero-left-col {
  max-width: 820px;
  width: 100%;
}

.eh-hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.eh-tag-sparkle {
  color: #38bdf8;
  font-size: 0.85rem;
  line-height: 1;
}

.eh-hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 750;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem 0;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.55);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", system-ui, sans-serif;
}

.eh-hero-slogan {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem 0;
  max-width: 640px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.eh-hero-glass-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.eh-stat-glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 0.38rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
}

.eh-stat-glass-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.eh-hero-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.015em;
  max-width: 500px;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

/* ── OVERLAPPING IN-PAGE SEARCH CONSOLE (NEXORA SMART INPAGESEARCHBOX) ── */
.eh-search-floating-wrapper {
  max-width: 1060px;
  margin: -60px auto 2.25rem;
  position: relative;
  z-index: 40;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.eh-search-floating-box {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(9, 30, 66, 0.16);
  border: 1px solid #ebecf0;
  overflow: visible;
  position: relative;
}

/* Tabs Bar */
.eh-top-tabs-bar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebecf0;
  background: #ffffff;
  padding: 0 0.85rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.eh-top-tabs-bar::-webkit-scrollbar {
  display: none;
}

.eh-top-tab-item {
  padding: 0.9rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #42526e;
  cursor: pointer;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.eh-top-tab-item:hover {
  color: #0078db;
}

.eh-top-tab-item.active {
  color: #0078db;
  font-weight: 750;
  border-bottom: 3px solid #0078db;
}

.eh-red-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  margin-left: 2px;
}

.eh-free-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Main Input Row */
.eh-floating-input-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.eh-dropdown-trigger {
  padding: 0.65rem 1rem;
  background: #f4f5f7;
  border: 1px solid #dfe1e6;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 650;
  color: #091e42;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: background 0.15s;
}

.eh-dropdown-trigger:hover {
  background: #ebecf0;
}

.eh-search-input-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: #f4f5f7;
  border: 1px solid #dfe1e6;
  border-radius: 8px;
  cursor: pointer;
}

.eh-search-input-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.92rem;
  color: #091e42;
  font-weight: 500;
  cursor: pointer;
}

.eh-search-input-field input::placeholder {
  color: #7a869a;
}

.eh-tool-btn {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0078db;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.eh-tool-btn:hover {
  background: #dbeafe;
}

.eh-btn-search-blue {
  background: #0078db;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 120, 219, 0.35);
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.eh-btn-search-blue:hover {
  background: #0066cc;
  transform: translateY(-1px);
}

/* ── IN-PAGE EXPANDABLE FILTER DRAWER (SCREENSHOT 3) ── */
.eh-inpage-filter-drawer {
  background: #ffffff;
  border-top: 1px solid #ebecf0;
  padding: 1.25rem 1.5rem;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  animation: ehSlideDown 0.2s ease-out;
}

@keyframes ehSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eh-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.eh-drawer-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: #091e42;
}

.eh-drawer-clear-btn {
  background: none;
  border: none;
  color: #0078db;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.eh-drawer-clear-btn:hover {
  text-decoration: underline;
}

.eh-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.eh-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #172b4d;
  cursor: pointer;
  user-select: none;
}

.eh-checkbox-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #0078db;
  cursor: pointer;
}

.eh-commercial-hint {
  font-size: 0.82rem;
  color: #6b778c;
  margin-bottom: 1rem;
}

.eh-commercial-hint a {
  color: #0078db;
  font-weight: 700;
  text-decoration: none;
}

.eh-commercial-hint a:hover {
  text-decoration: underline;
}

.eh-filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f4f5f7;
}

.eh-filter-pill-select {
  padding: 0.45rem 0.95rem;
  background: #ffffff;
  border: 1px solid #dfe1e6;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #42526e;
  cursor: pointer;
  outline: none;
  transition: all 0.15s;
}

.eh-filter-pill-select:hover,
.eh-filter-pill-select:focus {
  border-color: #0078db;
  color: #091e42;
}

/* ── "GET STARTED WITH EXPLORING REAL ESTATE OPTIONS" (HORIZONTAL STRIP) ── */
.eh-explore-options-container {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.eh-explore-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b778c;
  text-align: center;
  margin-bottom: 1.25rem;
}

.eh-explore-cards-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.15rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.eh-explore-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ebecf0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.eh-explore-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(9, 30, 66, 0.1);
  border-color: #cbd5e1;
}

.eh-explore-card-img-wrap {
  height: 105px;
  position: relative;
  overflow: hidden;
  background: #f4f5f7;
}

.eh-explore-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.eh-explore-card:hover .eh-explore-card-img-wrap img {
  transform: scale(1.06);
}

.eh-card-sub-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.eh-explore-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #091e42;
  text-align: center;
  padding: 0.8rem 0.5rem;
  line-height: 1.3;
}

/* ── "EXPLORE REAL ESTATE IN..." POPUP MODAL (SCREENSHOT 5) ── */
.eh-search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 30, 66, 0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.eh-search-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 610px;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(9, 30, 66, 0.28);
  overflow: hidden;
  color: #172b4d;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: ehModalIn 0.18s ease-out;
}

.eh-modal-top-header {
  padding: 20px 24px 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eh-modal-title {
  font-size: 1.55rem;
  font-weight: 850;
  color: #091e42;
  letter-spacing: -0.02em;
  margin: 0;
}

.eh-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #6b778c;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.eh-modal-close-btn:hover {
  color: #091e42;
}

/* Tabs: Buy | Rent / Lease | Plots/Land | PG / Co-living */
.eh-modal-tab-row {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #ebecf0;
  padding: 0 24px;
  margin-bottom: 14px;
}

.eh-modal-tab-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #42526e;
  padding: 6px 0 10px 0;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.eh-modal-tab-btn:hover {
  color: #0078db;
}

.eh-modal-tab-btn.active {
  color: #0078db;
  font-weight: 750;
  border-bottom: 3px solid #0078db;
}

/* Search Row */
.eh-modal-search-row {
  display: flex;
  gap: 8px;
  padding: 0 24px;
  margin-bottom: 12px;
}

.eh-modal-res-select {
  border: 1px solid #dfe1e6;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #172b4d;
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

.eh-modal-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe1e6;
  border-radius: 6px;
  padding: 9px 12px;
  background: #ffffff;
}

.eh-modal-input-wrap input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: #172b4d;
  font-family: inherit;
  font-weight: 500;
}

.eh-modal-input-wrap input::placeholder {
  color: #7a869a;
}

.eh-modal-explore-btn {
  background: #0078db;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.eh-modal-explore-btn:hover {
  background: #0066cc;
}

/* City Selection Dropdown List */
.eh-modal-city-box {
  padding: 0;
  border-top: 1px solid #f4f5f7;
}

.eh-modal-city-heading {
  font-size: 12px;
  font-weight: 700;
  color: #172b4d;
  padding: 10px 24px 6px 24px;
}

.eh-modal-city-list {
  max-height: 220px;
  overflow-y: auto;
}

.eh-modal-city-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 24px;
  border-bottom: 1px solid #fafbfc;
  cursor: pointer;
  transition: background 0.12s;
}

.eh-modal-city-row:hover {
  background: #f4f5f7;
}

.eh-modal-city-name {
  font-size: 14px;
  color: #172b4d;
  font-weight: 500;
}

.eh-modal-city-badge {
  font-size: 12px;
  color: #7a869a;
}

/* Property Types in modal */
.eh-modal-ptypes-section {
  padding: 12px 24px;
  border-top: 1px solid #ebecf0;
  background: #fafbfc;
}

/* Modal Footer */
.eh-modal-bottom-footer {
  background: #f4f5f7;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #42526e;
  border-top: 1px solid #ebecf0;
}

.eh-modal-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.eh-modal-footer-links a {
  color: #42526e;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.eh-modal-footer-links a:hover {
  color: #0078db;
  text-decoration: underline;
}

.eh-top-cities-link {
  color: #0078db;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.eh-top-cities-link:hover {
  text-decoration: underline;
}

/* ── CURATED SHOWCASE ROW (ONLY 1 ROW AS REQUESTED) ── */
.eh-curated-showcase-section {
  max-width: 1200px;
  margin: 1.5rem auto 4.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.eh-curated-tabs-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.eh-curated-tab-pill {
  padding: 0.55rem 1.25rem;
  background: #ffffff;
  border: 1px solid #dfe1e6;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 650;
  color: #42526e;
  cursor: pointer;
  transition: all 0.15s;
}

.eh-curated-tab-pill:hover {
  color: #0078db;
  border-color: #0078db;
}

.eh-curated-tab-pill.active {
  background: #0078db;
  color: #ffffff;
  font-weight: 750;
  border-color: #0078db;
}

/* ── LUXURY LIVING ROOM SHOWCASE WITH BESIDE TITLE (99ACRES PATTERN) ── */
.bah-showcase-section {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
}

.bah-banner-container {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.bah-square-box {
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(241, 245, 249, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.bah-square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
  transition: transform 0.4s ease;
}

.bah-square-box:hover .bah-square-img {
  transform: scale(1.02);
}

.bah-beside-col {
  padding-left: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.bah-beside-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
  font-size: 2.25rem;
  font-weight: 550;
  line-height: 1.22;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.bah-beside-sub {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 1.02rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* ── TOP ARTICLES ON HOME BUYING (ADJUSTED FULL-WIDTH NEWS CARD) ── */
.nx-news-section {
  max-width: 1140px;
  margin: -40px auto 4.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
}

.nx-news-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2.25rem 1.5rem;
  overflow: hidden;
  position: relative;
  transition: all 0.25s ease;
}

.nx-news-card:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
}

@media (max-width: 992px) {
  .bah-banner-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bah-square-box {
    width: 100%;
    max-width: 420px;
    height: 340px;
    margin: 0 auto;
  }

  .bah-beside-col {
    padding: 0 0.5rem;
  }

  .bah-beside-title {
    font-size: 2rem;
  }

  .nx-news-section {
    margin-top: 1.5rem;
  }

  .nx-news-grid {
    grid-template-columns: 1fr;
  }
}

.nx-news-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.nx-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: nxPulse 1.8s infinite;
}

@keyframes nxPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.nx-news-heading {
  font-size: 1.85rem;
  font-weight: 850;
  line-height: 1.25;
  color: #091e42;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.nx-news-subheading {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  font-weight: 450;
}

.nx-news-stats-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b778c;
  font-weight: 600;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ebecf0;
}

.nx-news-right-col {
  padding: 1.75rem 2rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.nx-news-tabs-bar {
  display: flex;
  gap: 1.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
}

.nx-news-tab {
  background: none;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  padding: 0 0 0.75rem 0;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.nx-news-tab:hover {
  color: #0078db;
}

.nx-news-tab.active {
  color: #0078db;
  font-weight: 600;
  border-bottom: 2px solid #0078db;
}

.nx-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 2.5rem;
  flex: 1;
}

.nx-article-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nx-article-card:hover {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.nx-article-card:hover .nx-article-title {
  color: #0078db;
}

.nx-article-thumb-wrap {
  width: 96px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ebecf0;
}

.nx-article-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nx-article-card:hover .nx-article-thumb-wrap img {
  transform: scale(1.04);
}

.nx-article-meta {
  flex: 1;
  min-width: 0;
}

.nx-article-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.4;
  margin: 0 0 0.35rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.nx-article-subinfo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 400;
}

.nx-news-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f4f5f7;
}

.nx-news-read-more-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0078db;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.15s;
}

.nx-news-read-more-link:hover {
  text-decoration: underline;
  transform: translateX(2px);
}

.nx-news-nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dfe1e6;
  background: #ffffff;
  color: #42526e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(9, 30, 66, 0.08);
}

.nx-news-nav-arrow:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .nx-news-card {
    grid-template-columns: 1fr;
  }

  .nx-news-left-col {
    border-right: none;
    border-bottom: 1px solid #ebecf0;
  }

  .nx-news-grid {
    grid-template-columns: 1fr;
  }
}

/* ── NEWLY LAUNCHED PROJECTS (CRM SYNCED) ── */
.nl-showcase-section {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.nl-outer-box {
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  position: relative;
}

.nl-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.nl-sync-badge-pill {
  font-size: 0.74rem;
  font-weight: 750;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.22rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nl-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nl-icon-badge {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 120, 219, 0.08);
}

.nl-heading {
  font-size: 1.45rem;
  font-weight: 850;
  color: #091e42;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.nl-subheading {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.nl-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.nl-cards-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.35rem 0.25rem 0.75rem 0.25rem;
  width: 100%;
}

.nl-cards-track::-webkit-scrollbar {
  display: none;
}

.nl-project-card {
  flex: 0 0 375px;
  background: transparent;
  position: relative;
  border-radius: 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.nl-project-card:hover {
  transform: translateY(-5px);
}

.nl-image-wrap {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 20px rgba(9, 30, 66, 0.08);
  background: #e2e8f0;
}

.nl-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nl-project-card:hover .nl-image-wrap img {
  transform: scale(1.06);
}

.nl-badge-arrival {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #f59e0b;
  color: #000000;
  font-size: 0.68rem;
  font-weight: 850;
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.nl-badge-launch {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #a21caf;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 850;
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.nl-content-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.65rem 1.35rem 1.15rem;
  margin: -60px 14px 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 10px 28px rgba(9, 30, 66, 0.12);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.nl-project-card:hover .nl-content-box {
  box-shadow: 0 16px 36px rgba(9, 30, 66, 0.16);
  border-color: #e2e8f0;
}

.nl-developer-badge {
  position: absolute;
  top: -28px;
  left: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(9, 30, 66, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 2px;
  box-sizing: border-box;
  z-index: 4;
}

.nl-developer-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nl-details-col {
  flex: 1;
  min-width: 0;
}

.nl-project-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #091e42;
  margin: 0 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}

.nl-location-text {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nl-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.nl-price-text {
  font-size: 0.95rem;
  font-weight: 850;
  color: #091e42;
}

.nl-unit-text {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.nl-highlight-row {
  font-size: 0.76rem;
  margin-top: 0.2rem;
  line-height: 1.35;
}

.nl-completion-text {
  color: #475569;
  font-weight: 600;
}

.nl-growth-text {
  color: #10b981;
  font-weight: 700;
}

.nl-dashed-divider {
  border: none;
  border-top: 1px dashed #e2e8f0;
  margin: 0.85rem 0 0.75rem;
  width: 100%;
}

.nl-card-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nl-preferred-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: #475569;
  line-height: 1.25;
}

.nl-preferred-tag b {
  color: #091e42;
}

.nl-btn-view-number {
  background: #0078db;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 0.5rem 1.15rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 120, 219, 0.25);
}

.nl-btn-view-number:hover {
  background: #0066cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 120, 219, 0.35);
}

.nl-carousel-nav-btn {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #bfdbfe;
  background: #ffffff;
  color: #0078db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(9, 30, 66, 0.14);
  transition: all 0.15s ease;
  z-index: 10;
}

.nl-carousel-nav-btn:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  transform: translateY(-50%) scale(1.08);
}

.nl-carousel-nav-btn.prev {
  left: -14px;
  right: auto;
}

.nl-carousel-nav-btn.next {
  right: -14px;
  left: auto;
}

@media (max-width: 640px) {
  .nl-project-card {
    flex: 0 0 290px;
  }

  .nl-outer-box {
    padding: 1.25rem 1rem;
  }
}

/* ── HANDPICKED RESIDENTIAL PROJECTS (FEATURED ACROSS INDIA - ARCHITECTURAL OVERLAPPING CARD DESIGN) ── */
.hrp-section {
  max-width: 1200px;
  margin: 0 auto 4.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.hrp-header {
  margin-bottom: 1.75rem;
}

.hrp-title {
  font-size: 1.85rem;
  font-weight: 850;
  color: #091e42;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.hrp-subheading {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.hrp-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.hrp-cards-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
  width: 100%;
}

.hrp-cards-track::-webkit-scrollbar {
  display: none;
}

.hrp-card {
  flex: 0 0 375px;
  background: transparent;
  position: relative;
  border-radius: 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
}

.hrp-card:hover {
  transform: translateY(-5px);
}

.hrp-image-wrap {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 20px rgba(9, 30, 66, 0.08);
  background: #e2e8f0;
}

.hrp-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hrp-card:hover .hrp-image-wrap img {
  transform: scale(1.06);
}

.hrp-badge-featured {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #a21caf;
  /* Purple matching screenshot */
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.hrp-btn-favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.hrp-btn-favorite:hover,
.hrp-btn-favorite.active {
  background: #ffffff;
  color: #f59e0b;
  transform: scale(1.1);
}

/* Overlapping White Content Box */
.hrp-content-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.4rem 1.25rem;
  margin: -65px 16px 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 10px 28px rgba(9, 30, 66, 0.12);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.hrp-card:hover .hrp-content-box {
  box-shadow: 0 16px 36px rgba(9, 30, 66, 0.16);
  border-color: #e2e8f0;
}

/* Circular Developer Badge */
.hrp-developer-badge {
  position: absolute;
  top: -30px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(9, 30, 66, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 2px;
  box-sizing: border-box;
  z-index: 4;
}

.hrp-developer-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hrp-developer-badge svg {
  width: 100%;
  height: 100%;
}

.hrp-project-name {
  font-size: 1.18rem;
  font-weight: 850;
  color: #091e42;
  margin: 0 0 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}

.hrp-location-row {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  font-weight: 500;
}

.hrp-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.hrp-price-val {
  font-size: 1.08rem;
  font-weight: 850;
  color: #091e42;
  letter-spacing: -0.01em;
}

.hrp-carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #bfdbfe;
  background: #ffffff;
  color: #0078db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(9, 30, 66, 0.16);
  transition: all 0.2s ease;
  z-index: 10;
}

.hrp-carousel-btn:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  transform: translateY(-50%) scale(1.08);
}

.hrp-carousel-btn.prev {
  left: -14px;
}

.hrp-carousel-btn.next {
  right: -14px;
}

@media (max-width: 640px) {
  .hrp-card {
    flex: 0 0 300px;
  }

  .hrp-content-box {
    margin: -50px 10px 0;
    padding: 1.5rem 1rem 1rem;
  }
}

/* ── UPCOMING PROJECTS SECTION (BILLBOARD SHOWCASE) ── */
.up-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.up-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.up-heading {
  font-size: 1.75rem;
  font-weight: 850;
  color: #091e42;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.up-subheading {
  font-size: 0.98rem;
  color: #5e6c84;
  margin: 0;
  font-weight: 450;
}

.up-carousel-wrapper {
  position: relative;
  width: 100%;
}

.up-billboard-track {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  gap: 1.5rem;
  border-radius: 16px;
}

.up-billboard-track::-webkit-scrollbar {
  display: none;
}

.up-billboard-card {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  background: #091426;
  border: 1px solid #1e293b;
  box-shadow: 0 10px 30px rgba(9, 30, 66, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.up-hero-media-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  background-color: #0b1526;
  overflow: hidden;
}

.up-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.up-billboard-card:hover .up-hero-img {
  transform: scale(1.025);
}

.up-hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
      rgba(9, 20, 38, 0.78) 0%,
      rgba(9, 20, 38, 0.3) 30%,
      rgba(9, 20, 38, 0.05) 60%,
      rgba(9, 20, 38, 0.85) 100%);
  pointer-events: none;
}

.up-hero-text-overlay {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 2;
  text-align: left;
}

.up-project-title {
  font-size: 1.9rem;
  font-weight: 850;
  color: #ffffff;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.up-project-location {
  font-size: 1.05rem;
  font-weight: 500;
  color: #f1f5f9;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.up-benefit-pill {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  z-index: 2;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  padding: 0.4rem 1.05rem;
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.up-benefit-pill .icon {
  color: #38bdf8;
  font-size: 0.95rem;
}

.up-admin-sync-tag {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 2;
  background: rgba(2, 132, 199, 0.9);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.up-bottom-bar {
  background: #091426;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.up-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.up-interest-label {
  font-size: 0.84rem;
  color: #94a3b8;
  font-weight: 450;
  margin: 0;
}

.up-developer-link {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.up-developer-link:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.up-developer-link .arrow {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.up-developer-link:hover .arrow {
  transform: translateX(4px);
}

.up-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.up-btn-view-number {
  background: #0078db;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 120, 219, 0.35);
}

.up-btn-view-number:hover {
  background: #0066cc;
  box-shadow: 0 6px 18px rgba(0, 120, 219, 0.5);
  transform: translateY(-1px);
}

.up-btn-view-number:active {
  transform: translateY(0);
}

/* Floating Navigation Buttons on Left & Right Edges */
.up-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #091e42;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(9, 30, 66, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.up-nav-btn:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 120, 219, 0.35);
}

.up-nav-btn.prev {
  left: -20px;
}

.up-nav-btn.next {
  right: -20px;
}

/* Dots pagination */
.up-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.up-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.up-dot.active {
  width: 28px;
  border-radius: 9999px;
  background: #0078db;
}

@media (max-width: 768px) {
  .up-hero-media-wrap {
    height: 320px;
  }

  .up-hero-text-overlay {
    top: 1.25rem;
    left: 1.25rem;
  }

  .up-project-title {
    font-size: 1.45rem;
  }

  .up-project-location {
    font-size: 0.9rem;
  }

  .up-bottom-bar {
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .up-bottom-right {
    width: 100%;
  }

  .up-btn-view-number {
    width: 100%;
    justify-content: center;
  }

  .up-nav-btn.prev {
    left: 4px;
  }

  .up-nav-btn.next {
    right: 4px;
  }

  .up-benefit-pill {
    left: 1.25rem;
    bottom: 1rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }
}

/* ── CUSTOMER PROJECT DETAIL PAGE (NEXORA LUXURY GLASSMORPHISM & SMOOTH SCROLL) ── */
.cpd-page {
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  background: 
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.035) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(99, 102, 241, 0.03) 0%, transparent 40%),
    #F8FAFC;
  color: #0F172A;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  letter-spacing: -0.015em;
}

.cpd-top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 0.85rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.cpd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(241, 245, 249, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0F172A;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 9999px;
  padding: 0.5rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpd-back-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: translateX(-2px);
}

.cpd-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem 6rem;
  box-sizing: border-box;
}

.cpd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748B;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.cpd-breadcrumb a {
  color: #64748B;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.cpd-breadcrumb a:hover {
  color: #0284C7;
}

.cpd-breadcrumb .sep {
  color: #CBD5E1;
}

.cpd-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.cpd-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cpd-subtitle {
  font-size: 0.95rem;
  color: #475569;
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cpd-badges-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cpd-rera-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 9999px;
  padding: 0.28rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cpd-rating-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #B45309;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 9999px;
  padding: 0.28rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cpd-status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0284C7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 9999px;
  padding: 0.28rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cpd-brokerage-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 9999px;
  padding: 0.28rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cpd-price-box {
  text-align: right;
}

.cpd-price-val {
  font-size: 2.15rem;
  font-weight: 850;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.03em;
}

.cpd-price-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748B;
  margin: 0.25rem 0 0;
}

/* Luxury 5-Photo Architectural Gallery */
.cpd-gallery-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.65rem;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.cpd-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #0F172A;
}

.cpd-gallery-item.main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.cpd-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpd-gallery-item:hover .cpd-gallery-img {
  transform: scale(1.04);
}

.cpd-gallery-label {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cpd-view-all-photos-btn {
  position: absolute;
  bottom: 1.15rem;
  right: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.cpd-view-all-photos-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: translateY(-2px);
}

/* Floating Glass Sticky Navigation Tabs */
.cpd-sticky-tabs {
  position: sticky;
  top: 66px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  padding: 0.35rem 0.5rem;
  margin-bottom: 2.25rem;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  box-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.cpd-sticky-tabs::-webkit-scrollbar {
  display: none;
}

.cpd-tab-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748B;
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpd-tab-btn:hover {
  color: #0F172A;
  background: rgba(241, 245, 249, 0.8);
}

.cpd-tab-btn.active {
  color: #FFFFFF !important;
  background: #0F172A !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* Two-column layout */
.cpd-main-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.25rem;
  align-items: start;
}

.cpd-left-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.cpd-section-card {
  scroll-margin-top: 140px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.cpd-section-card:hover {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.cpd-card-title {
  font-size: 1.35rem;
  font-weight: 750;
  color: #0F172A;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.02em;
}

/* Snapshot KPI Grid */
.cpd-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.cpd-snapshot-item {
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  transition: all 0.25s ease;
}

.cpd-snapshot-item:hover {
  background: #FFFFFF;
  border-color: rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
}

.cpd-snapshot-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cpd-snapshot-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin-top: 0.4rem;
}

/* Floor Plans Component */
.cpd-floorplan-tab-nav {
  display: flex;
  gap: 0.65rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding-bottom: 0.85rem;
  margin-bottom: 1.5rem;
}

.cpd-fp-tab-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748B;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cpd-fp-tab-btn:hover {
  background: rgba(241, 245, 249, 0.8);
  color: #0F172A;
}

.cpd-fp-tab-btn.active {
  background: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.cpd-floorplan-details-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 2rem;
}

/* Amenities Grid */
.cpd-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}

.cpd-amenity-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.25rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpd-amenity-card:hover {
  background: #FFFFFF;
  border-color: #0284C7;
  color: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.12);
}

.cpd-amenity-icon {
  font-size: 1.35rem;
}

/* Location Table */
.cpd-location-table {
  width: 100%;
  border-collapse: collapse;
}

.cpd-location-table tr {
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
}

.cpd-location-table td {
  padding: 1rem 0.75rem;
  font-size: 0.9rem;
}

.cpd-location-table td:first-child {
  font-weight: 650;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cpd-location-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: #0284C7;
}

/* Right Sticky Sidebar Concierge */
.cpd-right-col {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cpd-sticky-action-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.cpd-btn-brochure-main {
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 1.35rem;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 1.25rem;
}

.cpd-btn-brochure-main:hover {
  background: #0284C7;
  border-color: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.4);
}

.cpd-call-desk-box {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.cpd-lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cpd-lead-form input,
.cpd-lead-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 12px;
  font-size: 0.86rem;
  font-family: inherit;
  color: #0F172A;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.cpd-lead-form input:focus,
.cpd-lead-form select:focus {
  outline: none;
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  background: #FFFFFF;
}

.cpd-lead-form button {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 0.95rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.35rem;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
}

.cpd-lead-form button:hover {
  background: linear-gradient(135deg, #0369A1, #075985);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

/* Reviews List */
.cpd-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cpd-review-item {
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}

.cpd-review-item:hover {
  background: #FFFFFF;
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.05);
}

/* Digital Brochure Modal Viewer */
.cpd-brochure-viewer-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cpd-brochure-modal-content {
  background: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}

.cpd-brochure-modal-header {
  background: #0F172A;
  color: #FFFFFF;
  padding: 1.35rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

@media (max-width: 960px) {
  .cpd-main-layout {
    grid-template-columns: 1fr;
  }
  .cpd-right-col {
    position: static;
  }
  .cpd-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 150px;
  }
  .cpd-gallery-item.main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .cpd-floorplan-details-box {
    grid-template-columns: 1fr;
  }
  .cpd-top-nav {
    padding: 0.75rem 1.25rem;
  }
  .cpd-container {
    padding: 1.25rem 1.25rem 5rem;
  }
}

/* ── CUSTOMER ALL PROJECTS DIRECTORY PAGE ── */
.cap-page {
  background: #f8fafc;
  min-height: 100vh;
  color: #091e42;
  font-family: inherit;
}

.cap-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 5rem;
  box-sizing: border-box;
}

.cap-hero-header {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #091426, #003366);
  border-radius: 16px;
  padding: 2.5rem 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(9, 30, 66, 0.15);
}

.cap-hero-title {
  font-size: 2.2rem;
  font-weight: 850;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.cap-hero-sub {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.cap-filter-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(9, 30, 66, 0.04);
}

.cap-search-input-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.cap-search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.cap-search-input:focus {
  border-color: #0078db;
}

.cap-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
}

.cap-pill-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
}

.cap-pill-btn {
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cap-pill-btn.active,
.cap-pill-btn:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
}

.cap-dropdowns-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.cap-select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #091e42;
  font-weight: 600;
  background: #ffffff;
  box-sizing: border-box;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.cap-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(9, 30, 66, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
}

.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(9, 30, 66, 0.12);
  border-color: #bfdbfe;
}

.cap-card-img-wrap {
  position: relative;
  height: 220px;
  background: #091e42;
  overflow: hidden;
}

.cap-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cap-card:hover .cap-card-img {
  transform: scale(1.04);
}

.cap-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(9, 20, 38, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.cap-card-badge.upcoming {
  background: #0284c7;
}

.cap-card-badge.new-launch {
  background: #16a34a;
}

.cap-card-badge.luxury {
  background: #7e22ce;
}

.cap-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cap-card-dev-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.cap-card-title {
  font-size: 1.25rem;
  font-weight: 850;
  color: #091e42;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.cap-card-location {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.85rem;
}

.cap-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #e2e8f0;
}

.cap-card-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0078db;
}

.cap-card-rate {
  font-size: 0.78rem;
  color: #64748b;
}

.cap-card-benefit {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 1rem;
}

.cap-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.cap-btn-details {
  flex: 1.2;
  background: #0078db;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.cap-btn-details:hover {
  background: #0066cc;
}

.cap-btn-brochure {
  background: #f1f5f9;
  color: #091e42;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.cap-btn-brochure:hover {
  background: #e2e8f0;
  color: #0078db;
}

@media (max-width: 1024px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .cap-hero-header {
    padding: 1.75rem 1.25rem;
  }

  .cap-hero-title {
    font-size: 1.65rem;
  }
}

/* ── BEST RENTING ADVICE & LIVE RENTAL NEWS CARD (NEXORA EDITORS & DAILY INTELLIGENCE) ── */
.rna-section {
  max-width: 1140px;
  margin: -40px auto 4.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
}

.rna-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1.75rem 2.25rem 1.5rem;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.rna-card:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.rna-main-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
  font-size: 1.6rem;
  font-weight: 550;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.rna-main-sub {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

.rna-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(240, 253, 244, 0.8);
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-top: 1.25rem;
  width: fit-content;
}

.rna-pulse-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  animation: rnaPulse 2s infinite;
}

@keyframes rnaPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.rna-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-width: 0;
}

.rna-tabs-row {
  display: flex;
  gap: 1.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.rna-tab-btn {
  background: none;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  padding: 0.5rem 0 0.75rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}

.rna-tab-btn:hover {
  color: #0078db;
}

.rna-tab-btn.active {
  color: #0078db;
  font-weight: 600;
  border-bottom-color: #0078db;
}

.rna-grid-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.rna-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem 2rem;
  flex: 1;
  min-height: 155px;
}

.rna-article-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}

.rna-article-item:hover {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}

.rna-article-thumb {
  width: 78px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #091e42;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.rna-article-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.rna-article-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.38;
  margin: 0 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.rna-article-item:hover .rna-article-title {
  color: #0078db;
}

.rna-article-meta {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.rna-article-badge-today {
  color: #16a34a;
  background: #dcfce7;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
}

.rna-arrow-btn {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #091e42;
  transition: all 0.2s;
  z-index: 5;
}

.rna-arrow-btn:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  transform: translateY(-50%) scale(1.05);
}

.rna-arrow-btn.prev {
  left: -20px;
  right: auto;
}

.rna-footer-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px dashed #e2e8f0;
}

.rna-footer-link {
  color: #091e42;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.rna-footer-link:hover {
  color: #0078db;
  gap: 0.65rem;
}

/* Modal for full article reading */
.rna-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 38, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.rna-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.rna-modal-header {
  padding: 1.5rem 1.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #e2e8f0;
}

.rna-modal-body {
  padding: 1.75rem;
}

.rna-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.rna-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.rna-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 0.85rem;
}

.rna-modal-summary {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.rna-modal-section-title {
  font-size: 0.98rem;
  font-weight: 750;
  color: #0f172a;
  margin: 1.25rem 0 0.5rem;
}

.rna-modal-list {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}

.rna-modal-list li {
  margin-bottom: 0.4rem;
}

@media (max-width: 960px) {
  .rna-card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
  }

  .rna-articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rna-arrow-btn {
    display: none;
  }
}

/* ── BEST ARTICLES ON PLOTS / LAND (SAME DIMENSIONS & OVERLAPPING AS SALE & RENT) ── */
.pna-section {
  max-width: 1140px;
  margin: -40px auto 4.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
}

.pna-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1.75rem 2.25rem 1.5rem;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.pna-card:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.pna-tabs-row {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.pna-tab-btn {
  background: none;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  padding: 0 0 0.75rem 0;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.pna-tab-btn:hover {
  color: #0078db;
}

.pna-tab-btn.active {
  color: #0078db;
  font-weight: 600;
  border-bottom: 2px solid #0078db;
}

.pna-grid-wrapper {
  position: relative;
  width: 100%;
}

.pna-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 2.5rem;
  flex: 1;
}

.pna-article-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.pna-article-item:hover {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.pna-article-item:hover .pna-article-title {
  color: #0078db;
}

.pna-article-thumb {
  width: 104px;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ebecf0;
}

.pna-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pna-article-item:hover .pna-article-thumb img {
  transform: scale(1.04);
}

.pna-article-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.4;
  margin: 0 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.pna-article-meta {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pna-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #091e42;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.pna-arrow-btn:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  transform: translateY(-50%) scale(1.05);
}

.pna-arrow-btn.prev {
  left: -20px;
}

.pna-arrow-btn.next {
  right: -20px;
}

.pna-footer-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.pna-footer-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0078db;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pna-footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .pna-articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pna-arrow-btn {
    display: none;
  }
}

/* ── PROPERTY OWNERS ARTICLES & GUIDES (MATCHING DIMENSIONS & GLASSMORPHISM) ── */
.ona-section {
  max-width: 1140px;
  margin: 3rem auto 4.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
}

.ona-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1.75rem 2.25rem 1.5rem;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.ona-card:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.ona-tabs-row {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.ona-tab-btn {
  background: none;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  padding: 0 0 0.75rem 0;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.ona-tab-btn:hover {
  color: #0078db;
}

.ona-tab-btn.active {
  color: #0078db;
  font-weight: 600;
  border-bottom: 2px solid #0078db;
}

.ona-split-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.ona-left-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ona-inner-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
  font-size: 1.45rem;
  font-weight: 550;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.ona-inner-sub {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

.ona-grid-wrapper {
  position: relative;
  width: 100%;
}

.ona-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  flex: 1;
}

.ona-article-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.ona-article-item:hover {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.ona-article-item:hover .ona-article-title {
  color: #0078db;
}

.ona-article-thumb {
  width: 96px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ebecf0;
}

.ona-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ona-article-item:hover .ona-article-thumb img {
  transform: scale(1.04);
}

.ona-article-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.38;
  margin: 0 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.ona-article-meta {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ona-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #091e42;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.ona-arrow-btn:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  transform: translateY(-50%) scale(1.05);
}

.ona-arrow-btn.prev {
  left: -20px;
}

.ona-arrow-btn.next {
  right: -20px;
}

.ona-footer-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ona-footer-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0078db;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ona-footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .ona-split-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ona-articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ona-arrow-btn {
    display: none;
  }
}

/* ── DEDICATED POST PROPERTY FREE PAGE (99ACRES PATTERN FOR SAAS) ── */
.ppf-page-wrap {
  width: 100vw;
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", -apple-system, sans-serif;
  overflow-y: auto;
}

.ppf-top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 0.85rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.ppf-body-container {
  max-width: 1180px;
  width: 100%;
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.ppf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.ppf-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.ppf-pill-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ppf-pill-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ppf-pill-btn:hover {
  border-color: #0078db;
  color: #0078db;
}

.ppf-pill-btn.active {
  background: #0078db;
  border-color: #0078db;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 120, 219, 0.25);
}

.ppf-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ppf-input:focus {
  border-color: #0078db;
  box-shadow: 0 0 0 3px rgba(0, 120, 219, 0.15);
}

.ppf-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #0078db, #0052cc);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.95rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 120, 219, 0.35);
  transition: all 0.2s ease;
}

.ppf-submit-btn:hover {
  background: linear-gradient(135deg, #0052cc, #0747a6);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .ppf-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── 99ACRES STYLE APARTMENTS, VILLAS AND MORE CAROUSEL ── */
.avm-section {
  max-width: 1200px;
  margin: 3.5rem auto 2.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.avm-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.avm-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #091e42;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.02em;
}

.avm-subtitle {
  font-size: 0.95rem;
  color: #626f86;
  margin: 0;
  font-weight: 500;
}

.avm-track-wrapper {
  position: relative;
  width: 100%;
}

.avm-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.avm-track::-webkit-scrollbar {
  display: none;
}

.avm-card {
  flex: 0 0 270px;
  width: 270px;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.avm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(9, 30, 66, 0.12);
}

.avm-card-top {
  padding: 24px 22px 10px;
  z-index: 2;
  position: relative;
}

.avm-card-title {
  font-size: 1.25rem;
  font-weight: 750;
  color: #091e42;
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.avm-card-count {
  font-size: 0.88rem;
  font-weight: 500;
  color: #626f86;
  margin: 0;
}

.avm-card-img-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

.avm-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  transition: transform 0.35s ease;
}

.avm-card:hover .avm-card-img {
  transform: scale(1.05);
}

.avm-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(9, 30, 66, 0.12);
  box-shadow: 0 4px 14px rgba(9, 30, 66, 0.14);
  color: #091e42;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  user-select: none;
}

.avm-nav-arrow:hover {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  box-shadow: 0 6px 18px rgba(0, 120, 219, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.avm-nav-arrow.prev {
  left: -20px;
}

.avm-nav-arrow.next {
  right: -20px;
}

/* ── CONTINUE BROWSING... SECTION ── */
.cb-section {
  max-width: 1200px;
  margin: 3.5rem auto 4.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cb-main-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #091e42;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

.cb-tabs-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.cb-tabs-row::-webkit-scrollbar {
  display: none;
}

.cb-tab-pill {
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #dcdfe4;
  background: #ffffff;
  color: #44546f;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cb-tab-pill:hover {
  border-color: #0078db;
  color: #0078db;
  background: #f0f7ff;
}

.cb-tab-pill.active {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
  box-shadow: 0 4px 14px rgba(0, 120, 219, 0.3);
}

.cb-block {
  margin-bottom: 3.25rem;
}

.cb-block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}

.cb-block-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #091e42;
  margin: 0 0 0.2rem 0;
}

.cb-block-sub {
  font-size: 0.92rem;
  color: #626f86;
  margin: 0;
}

.cb-prop-track-wrapper {
  position: relative;
  width: 100%;
}

.cb-prop-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cb-prop-track::-webkit-scrollbar {
  display: none;
}

.cb-prop-card {
  flex: 0 0 285px;
  width: 285px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(9, 30, 66, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.cb-prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(9, 30, 66, 0.12);
  border-color: #cbd5e1;
}

.cb-prop-img-box {
  position: relative;
  width: 100%;
  height: 165px;
  background: #f1f5f9;
  overflow: hidden;
}

.cb-prop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cb-prop-card:hover .cb-prop-img {
  transform: scale(1.05);
}

.cb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  z-index: 2;
}

.cb-badge.owner {
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
}

.cb-badge.dealer {
  background: rgba(37, 99, 235, 0.95);
  color: #ffffff;
}

.cb-prop-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  color: #64748b;
  transition: all 0.2s ease;
  z-index: 2;
}

.cb-prop-heart:hover {
  color: #ef4444;
  transform: scale(1.1);
  background: #ffffff;
}

.cb-prop-info {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cb-prop-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #091e42;
  margin: 0 0 0.3rem 0;
}

.cb-prop-title {
  font-size: 0.92rem;
  font-weight: 650;
  color: #1e293b;
  line-height: 1.35;
  margin: 0 0 0.35rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
}

.cb-prop-loc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0 0 0.85rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cb-prop-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cb-prop-time {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
}

.cb-prop-actions {
  display: flex;
  gap: 0.45rem;
}

.cb-prop-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

.cb-prop-btn.primary {
  background: #0078db;
  color: #fff;
}

.cb-prop-btn.primary:hover {
  background: #0052cc;
}

.cb-prop-btn.outline {
  border-color: #cbd5e1;
  color: #334155;
  background: #f8fafc;
}

.cb-prop-btn.outline:hover {
  border-color: #059669;
  color: #059669;
  background: #f0fdf4;
}

/* ── RECOMMENDED PROJECTS (GRID CARDS) ── */
.cb-proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.cb-proj-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(9, 30, 66, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cb-proj-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(9, 30, 66, 0.12);
  border-color: #cbd5e1;
}

.cb-proj-banner {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.cb-proj-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cb-proj-card:hover .cb-proj-banner img {
  transform: scale(1.05);
}

.cb-proj-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.cb-proj-badge-rera {
  background: #059669;
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.cb-proj-badge-status {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.cb-proj-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cb-proj-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.cb-proj-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #091e42;
  margin: 0;
}

.cb-proj-price {
  font-size: 1.25rem;
  font-weight: 850;
  color: #0078db;
}

.cb-proj-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.4;
  margin: 0 0 1.25rem 0;
}

.cb-proj-footer {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.cb-proj-link-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1rem;
  background: #0078db;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 120, 219, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.cb-proj-link-btn:hover {
  background: #0052cc;
  box-shadow: 0 6px 16px rgba(0, 120, 219, 0.35);
  transform: translateY(-1px);
}

.cb-proj-inquire-btn {
  padding: 0.65rem 1.15rem;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 650;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cb-proj-inquire-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

@media (max-width: 768px) {
  .avm-nav-arrow {
    display: none;
  }
  .cb-proj-grid {
    grid-template-columns: 1fr;
  }
}

/* ── APARTMENT & PROPERTY LISTINGS SEARCH PAGE (99ACRES STYLE) ── */
.alp-page-wrapper {
  background: #f8fafc;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}

.alp-top-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(9, 30, 66, 0.04);
}

.alp-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.alp-nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.15s ease;
}

.alp-back-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.alp-brand-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.alp-logo-pill {
  background: linear-gradient(135deg, #0078db, #0052cc);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.alp-brand-title {
  font-size: 1.3rem;
  font-weight: 850;
  color: #091e42;
  letter-spacing: -0.02em;
}

.alp-search-box {
  flex: 1;
  max-width: 650px;
  position: relative;
  display: flex;
  align-items: center;
}

.alp-search-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  color: #94a3b8;
  pointer-events: none;
}

.alp-search-input {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 2.5rem;
  font-size: 0.92rem;
  border-radius: 24px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.alp-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #0078db;
  box-shadow: 0 0 0 3px rgba(0, 120, 219, 0.15);
}

.alp-search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
}

.alp-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alp-city-selector {
  font-size: 0.88rem;
  font-weight: 650;
  color: #334155;
  background: #f1f5f9;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
}

.alp-post-btn {
  background: #0078db;
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.alp-post-btn:hover {
  background: #0052cc;
}

.alp-quick-pills-row {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 0.75rem;
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.alp-quick-pills-row::-webkit-scrollbar {
  display: none;
}

.alp-pill-btn {
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.alp-pill-btn:hover {
  border-color: #0078db;
  color: #0078db;
  background: #f0f7ff;
}

.alp-pill-btn.active {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
}

.alp-main-container {
  max-width: 1400px;
  margin: 1.5rem auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1.75rem;
  box-sizing: border-box;
}

.alp-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 2px 10px rgba(9, 30, 66, 0.04);
  align-self: start;
  position: sticky;
  top: 130px;
}

.alp-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.alp-sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #091e42;
}

.alp-reset-link {
  background: none;
  border: none;
  color: #0078db;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}

.alp-filter-section {
  margin-bottom: 1.35rem;
}

.alp-filter-heading {
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #334155;
  margin: 0 0 0.65rem 0;
}

.alp-bhk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.alp-bhk-btn {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.15s ease;
}

.alp-bhk-btn.active {
  background: #0078db;
  color: #ffffff;
  border-color: #0078db;
}

.alp-budget-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alp-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
  cursor: pointer;
}

.alp-trust-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1.5rem;
  text-align: center;
}

.alp-results-pane {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.alp-results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.alp-results-title {
  font-size: 1.5rem;
  font-weight: 850;
  color: #091e42;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.02em;
}

.alp-results-sub {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.alp-sort-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alp-sort-select {
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.alp-cards-stream {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.alp-prop-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(9, 30, 66, 0.05);
  display: grid;
  grid-template-columns: 310px 1fr;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.alp-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(9, 30, 66, 0.1);
  border-color: #cbd5e1;
}

.alp-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  cursor: pointer;
  overflow: hidden;
  background: #f1f5f9;
}

.alp-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.alp-prop-card:hover .alp-card-thumb {
  transform: scale(1.05);
}

.alp-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.alp-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.alp-badge.owner {
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
}

.alp-badge.builder {
  background: rgba(0, 120, 219, 0.95);
  color: #ffffff;
}

.alp-badge.dealer {
  background: rgba(99, 102, 241, 0.95);
  color: #ffffff;
}

.alp-badge.rera {
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  backdrop-filter: blur(4px);
}

.alp-card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: none;
  font-size: 1rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.15s ease;
}

.alp-card-fav:hover {
  transform: scale(1.1);
  color: #ef4444;
}

.alp-card-media-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
}

.alp-card-content {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.alp-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.alp-card-price {
  font-size: 1.45rem;
  font-weight: 850;
  color: #091e42;
}

.alp-card-sqft {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

.alp-card-emi {
  font-size: 0.82rem;
  color: #0078db;
  font-weight: 650;
  background: #f0f7ff;
  padding: 2px 7px;
  border-radius: 4px;
}

.alp-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #091e42;
  margin: 0 0 0.35rem 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.alp-card-title:hover {
  color: #0078db;
}

.alp-card-loc {
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.alp-highlights-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.85rem;
}

.alp-hl-box {
  display: flex;
  flex-direction: column;
}

.alp-hl-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.alp-hl-val {
  font-size: 0.85rem;
  font-weight: 750;
  color: #1e293b;
}

.alp-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.alp-amenities-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.alp-am-tag {
  font-size: 0.75rem;
  background: #f1f5f9;
  color: #334155;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.alp-am-tag.more {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.alp-card-actions {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alp-card-posted {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
}

.alp-card-btn-group {
  display: flex;
  gap: 0.5rem;
}

.alp-action-btn {
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.alp-action-btn.outline {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.alp-action-btn.outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.alp-action-btn.whatsapp {
  background: #25D366;
  color: #ffffff;
}

.alp-action-btn.whatsapp:hover {
  background: #1eb754;
}

.alp-action-btn.primary {
  background: #0078db;
  color: #ffffff;
}

.alp-action-btn.primary:hover {
  background: #0052cc;
}

/* ── PROPERTY DETAILS MODAL ── */
.alp-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.alp-modal-card {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  box-sizing: border-box;
}

.alp-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-right: 2.5rem;
}

.alp-modal-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
}

.alp-modal-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.alp-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alp-modal-body-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.alp-spec-table {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alp-spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

.alp-spec-lbl {
  color: #64748b;
}

.alp-spec-val {
  font-weight: 700;
  color: #1e293b;
}

.alp-modal-amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.alp-modal-am-item {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.alp-modal-inquiry-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  align-self: start;
}

@media (max-width: 992px) {
  .alp-main-container {
    grid-template-columns: 1fr;
  }
  .alp-sidebar {
    display: none;
  }
  .alp-prop-card {
    grid-template-columns: 1fr;
  }
  .alp-modal-body-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEXORA B2B SAAS AUTHENTICATION SUITE (CLEAN, SPACIOUS, WEBSITE-MATCHED)
   ========================================================================== */

.nx-auth-page {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #091e42;
  overflow-x: hidden;
}

/* Left Showcase Banner */
.nx-auth-showcase {
  flex: 1.1;
  background: linear-gradient(135deg, rgba(9, 24, 52, 0.90) 0%, rgba(0, 82, 204, 0.75) 50%, rgba(9, 20, 38, 0.95) 100%),
              url('/assets/hero_slide_1_villa.jpg') center/cover no-repeat;
  padding: 3.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
}

.nx-auth-showcase-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nx-auth-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 1.25rem;
}

.nx-auth-showcase-title {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 1rem 0;
  color: #ffffff;
}

.nx-auth-showcase-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 480px;
  margin: 0 0 2rem 0;
}

.nx-auth-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
}

.nx-auth-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #f1f5f9;
}

.nx-auth-feature-item span.icon {
  font-size: 1.15rem;
}

.nx-auth-showcase-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.nx-auth-showcase-footer .status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.35rem;
}

/* Right Form Area */
.nx-auth-form-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem;
  overflow-y: auto;
  background: #f8fafc;
}

.nx-auth-card {
  width: 100%;
  max-width: 490px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 20px 45px -12px rgba(9, 30, 66, 0.08), 0 1px 3px rgba(9, 30, 66, 0.04);
  padding: 2.25rem 2.25rem 1.85rem;
  box-sizing: border-box;
}

.nx-auth-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.nx-auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nx-auth-back-btn:hover {
  background: #e2e8f0;
  color: #091e42;
}

.nx-auth-card-header {
  margin-bottom: 1.25rem;
}

.nx-auth-card-title {
  font-size: 1.5rem;
  font-weight: 850;
  color: #091e42;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem 0;
}

.nx-auth-card-sub {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}

/* Role Selector Pills */
.nx-auth-roles-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nx-auth-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.nx-auth-role-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.nx-auth-role-pill:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.nx-auth-role-pill.active {
  border-color: #0078db;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(0, 120, 219, 0.12);
}

.nx-auth-role-pill .role-icon {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.nx-auth-role-pill .role-name {
  font-size: 0.76rem;
  font-weight: 750;
  color: #091e42;
  line-height: 1.2;
}

.nx-auth-role-pill .role-sub {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 0.1rem;
}

/* Quick One-Click Action Banner */
.nx-auth-quick-banner {
  background: linear-gradient(135deg, rgba(0, 120, 219, 0.06), rgba(0, 82, 204, 0.03));
  border: 1px solid rgba(0, 120, 219, 0.18);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nx-auth-quick-banner-text {
  font-size: 0.82rem;
  color: #0052cc;
  font-weight: 600;
}

.nx-auth-quick-btn {
  background: linear-gradient(135deg, #0078db, #0052cc);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 120, 219, 0.3);
  transition: all 0.15s ease;
}

.nx-auth-quick-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 120, 219, 0.4);
}

/* Form Controls */
.nx-auth-form-group {
  margin-bottom: 1rem;
}

.nx-auth-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 750;
  color: #334155;
  margin-bottom: 0.35rem;
}

.nx-auth-input {
  width: 100%;
  height: 44px;
  padding: 0 0.9rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #091e42;
  background: #ffffff;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.nx-auth-input:focus {
  outline: none;
  border-color: #0078db;
  box-shadow: 0 0 0 3px rgba(0, 120, 219, 0.14);
}

.nx-auth-btn-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #0078db, #0052cc);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 120, 219, 0.35);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.nx-auth-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 120, 219, 0.45);
}

.nx-auth-footer-link {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.nx-auth-footer-link a {
  color: #0078db;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.nx-auth-footer-link a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .nx-auth-showcase {
    display: none;
  }
  .nx-auth-form-wrap {
    padding: 2rem 1rem;
  }
}

/* ==========================================================================
   CRM on phones & small tablets: the sidebar becomes a slide-out menu
   (menu button + scrim are injected by public/js/platform.js)
   ========================================================================== */
.nx-menu-btn, .nx-nav-scrim { display: none; }
@media (max-width: 900px) {
  #app:has(.sidebar) { width: 100%; }
  #app .sidebar {
    position: fixed; top: 0; bottom: 0; left: 0;
    width: min(84vw, 300px) !important; height: 100% !important; height: 100dvh !important;
    transform: translateX(-102%); transition: transform 0.22s ease; z-index: 1100;
  }
  body.nx-nav-open #app .sidebar { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, 0.25); }
  .nx-nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 1090;
    background: rgba(8, 18, 34, 0.4); opacity: 0; pointer-events: none; transition: opacity 0.2s;
  }
  body.nx-nav-open .nx-nav-scrim { opacity: 1; pointer-events: auto; }
  .nx-menu-btn {
    display: inline-grid; place-items: center; flex: none;
    width: 40px; height: 40px; margin-right: 10px; padding: 0;
    border: 1px solid var(--border-color); border-radius: 10px;
    background: var(--bg-card); color: var(--text-main); cursor: pointer;
  }
  .nx-menu-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
  .main-wrapper { width: 100%; min-width: 0; }
  .top-bar { height: auto; min-height: 58px; padding: 8px 12px; gap: 8px; flex-wrap: wrap; }
  .top-bar > div:first-of-type { display: flex; align-items: center; min-width: 0; flex: 1; }
  .top-bar .breadcrumb { display: none; }
  .top-bar .page-title { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .top-bar .header-actions { flex-wrap: wrap; }
  /* Wide tables scroll inside their card instead of being cut off; filters wrap */
  .table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .leads-filter-row { flex-wrap: wrap; padding: 0.6rem 0.75rem; }
  .leads-filter-row > * { min-width: 0 !important; flex: 1 1 140px !important; }
}
@media (prefers-reduced-motion: reduce) { #app .sidebar { transition: none; } }
