:root {
  --bg: #030507;
  --bg-2: #071019;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-2: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a7b2c3;
  --primary: #35e7ff;
  --primary-2: #7c5cff;
  --accent: #26f5a7;
  --warning: #ffb86b;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 98px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Manrope", "Inter", Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 650;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(53, 231, 255, 0.06), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(124, 92, 255, 0.08), transparent 26%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(53, 231, 255, 0.09), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* NAVBAR */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: 0.35s ease;
}

.site-header.scrolled {
  background: rgba(3, 5, 7, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  z-index: 102;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #031015;
  box-shadow: 0 0 28px rgba(53,231,255,0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  transition: 0.25s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--text); }

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 102;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: 0.25s ease;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #02070a;
  box-shadow: 0 18px 46px rgba(53, 231, 255, 0.22);
}

.btn-primary:hover { box-shadow: 0 20px 60px rgba(53, 231, 255, 0.33); }

.btn-outline,
.btn-ghost {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.055);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: rgba(53,231,255,0.45);
  background: rgba(53,231,255,0.08);
}

.btn-large {
  min-height: 54px;
  padding: 0 28px;
}

.full-width { width: 100%; }

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 136px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(900px) rotateX(58deg) translateY(180px) scale(1.3);
  transform-origin: bottom;
  mask-image: linear-gradient(to bottom, transparent, black 40%, transparent);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.48;
  animation: drift 10s ease-in-out infinite alternate;
}

.orb-one {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 100px;
  background: rgba(53,231,255,0.25);
}

.orb-two {
  width: 460px;
  height: 460px;
  right: -160px;
  top: 130px;
  background: rgba(124,92,255,0.25);
  animation-delay: -3s;
}

.orb-three {
  width: 280px;
  height: 280px;
  left: 42%;
  bottom: 60px;
  background: rgba(38,245,167,0.14);
  animation-delay: -6s;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(38,245,167,0.7);
  animation: pulse 1.8s infinite;
}

.hero h1 {
  max-width: 630px;
  font-size: clamp(2.25rem, 4.2vw, 4.2rem);
  font-weight: 650;
  background: linear-gradient(180deg, #ffffff 0%, #e7edf8 52%, #8da3bb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  max-width: 650px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
  max-width: 620px;
}

.hero-stats div {
  padding: 17px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  perspective: 1600px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 28px rgba(53,231,255,0.28));
}

.brand-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-showcase {
  position: relative;
  width: min(100%, 560px);
  min-height: 560px;
  margin-left: auto;
}

.hero-back-card {
  position: absolute;
  inset: 78px 48px 38px 48px;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  box-shadow: 0 26px 80px rgba(0,0,0,0.26);
}

.back-card-one {
  transform: rotate(-8deg) translateZ(-20px);
  opacity: 0.48;
  animation: heroBackFloatA 8s ease-in-out infinite;
}

.back-card-two {
  transform: rotate(6deg) translateZ(-10px);
  opacity: 0.35;
  animation: heroBackFloatB 9s ease-in-out infinite;
}

.hero-main-card {
  position: absolute;
  inset: 24px 18px 18px 18px;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 36px 110px rgba(0,0,0,0.46), 0 0 56px rgba(53,231,255,0.09);
  transform: rotateX(6deg) rotateY(-8deg) rotateZ(1deg);
  animation: heroMainFloat 7s ease-in-out infinite;
  z-index: 3;
}

.hero-main-card img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
}

.hero-main-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(53,231,255,0.18), transparent 26%),
    linear-gradient(180deg, rgba(3,5,7,0.06) 12%, rgba(3,5,7,0.22) 46%, rgba(3,5,7,0.92) 100%);
}

.hero-main-content,
.hero-price-tag {
  position: absolute;
  z-index: 9;
}

.hero-main-content {
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.hero-listing-chip {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(53,231,255,0.16);
  border: 1px solid rgba(53,231,255,0.24);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.hero-main-content h3 {
  font-size: 1.34rem;
  margin-bottom: 4px;
}

.hero-main-content p {
  color: rgba(255,255,255,0.76);
  font-size: 0.9rem;
}

.hero-price-tag {
  right: 22px;
  top: 22px;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(3,8,13,0.82);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

/* GENERAL SECTIONS */

.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.content-block h2,
.cta-card h2 {
  font-size: clamp(1.65rem, 2.75vw, 2.65rem);
  font-weight: 650;
  color: var(--text);
}

.section-heading p,
.content-block p,
.cta-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
}

/* PROPERTY CARDS */

.marketplace {
  background: linear-gradient(180deg, transparent, rgba(7,16,24,0.5), transparent);
}

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

.property-card {
  min-height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035));
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(53,231,255,0.32);
  box-shadow: 0 32px 90px rgba(0,0,0,0.34), 0 0 42px rgba(53,231,255,0.08);
}

.card-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.property-card:hover .card-image img {
  transform: scale(1.08);
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(53,231,255,0.22), transparent 25%),
    linear-gradient(180deg, transparent 32%, rgba(3,5,7,0.78));
}

.card-image button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.24);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.card-image > span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(0,0,0,0.36);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.card-body { padding: 22px; }

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.property-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 650;
}

.property-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.property-specs span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.78rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-footer strong {
  color: var(--text);
  font-size: 1.02rem;
}

.card-footer a {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.86rem;
}

/* SPLIT SECTIONS */

.split-layout,
.chat-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.split-layout.reverse {
  grid-template-columns: 1fr 1fr;
}

.content-block { max-width: 580px; }

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

/* BUYER SEARCH PANEL */

.search-panel,
.broker-dashboard,
.chat-device {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.13);
  background: linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  padding: 26px;
}

.panel-header,
.broker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.panel-header h3,
.broker-top h3 {
  font-size: 1.14rem;
  font-weight: 650;
}

.panel-header span,
.broker-top > span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(38,245,167,0.11);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: var(--muted);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.filter-chips button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  color: var(--text);
  cursor: pointer;
}

.search-result-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  margin-top: 12px;
}

.result-thumb {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=250&q=80") center/cover;
}

.result-thumb.second {
  background: url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=250&q=80") center/cover;
}

.search-result-row strong { display: block; }
.search-result-row small { color: var(--muted); }

/* BROKER DASHBOARD */

.broker-top small {
  color: var(--primary);
  font-weight: 800;
}

.broker-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.broker-metrics div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
}

.broker-metrics strong {
  display: block;
  font-size: 1.35rem;
}

.broker-metrics small { color: var(--muted); }

.lead-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(53,231,255,0.08);
  border: 1px solid rgba(53,231,255,0.14);
}

.lead-card > span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(38,245,167,0.8);
}

.lead-card small {
  display: block;
  color: var(--muted);
}

.broker-progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.broker-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.broker-status {
  color: var(--muted);
  margin-top: 14px;
}

/* AI CHAT */

.ai-chat {
  background: linear-gradient(180deg, transparent, rgba(7,16,24,0.55), transparent);
}

.ai-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ai-points span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  color: var(--muted);
  font-size: 0.86rem;
}

.chat-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.chat-topbar small {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
}

.chat-messages {
  display: grid;
  gap: 14px;
  padding: 26px 0;
}

.message {
  max-width: 82%;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.93rem;
}

.buyer-msg {
  margin-left: auto;
  background: rgba(255,255,255,0.08);
}

.ai-msg {
  background: rgba(53,231,255,0.08);
  border: 1px solid rgba(53,231,255,0.16);
  color: #dffcff;
}

.typing-message {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.typing-message span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: typing 1.1s infinite;
}

.typing-message span:nth-child(2) { animation-delay: 0.16s; }
.typing-message span:nth-child(3) { animation-delay: 0.32s; }

.chat-input {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 18px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.2);
}

/* DETAIL PROPERTY PAGE */

.detail-showcase {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

.detail-gallery-panel,
.detail-info-panel {
  min-height: 680px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 90px rgba(0,0,0,0.28);
  padding: 18px;
}

.detail-gallery-panel {
  display: flex;
  flex-direction: column;
}

.detail-main-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  flex: 1;
  min-height: 530px;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
  display: block;
}

.detail-image-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.detail-price-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(4,8,12,0.74);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
}

.detail-price-box strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.detail-price-box span {
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
}

.detail-thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.thumb-btn {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: transparent;
  cursor: pointer;
  height: 84px;
  transition: 0.25s ease;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-btn:hover,
.thumb-btn.active {
  border-color: rgba(53,231,255,0.42);
  box-shadow: 0 0 0 2px rgba(53,231,255,0.10);
}

.detail-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-panel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.detail-panel-top h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  font-weight: 650;
}

.detail-subtext {
  color: var(--muted);
  font-size: 0.9rem;
}

.save-action {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.detail-actions button {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.detail-actions button:hover {
  border-color: rgba(53,231,255,0.4);
  background: rgba(53,231,255,0.08);
}

.detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-bottom: 16px;
}

.detail-feature-grid div {
  padding: 15px;
  border-radius: 17px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.detail-feature-grid strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.detail-feature-grid span {
  color: var(--muted);
  font-size: 0.84rem;
}

.detail-info-cards {
  display: grid;
  gap: 11px;
  margin-bottom: 16px;
}

.detail-info-card {
  padding: 15px 17px;
  border-radius: 17px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

.detail-info-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.94rem;
}

.detail-info-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.broker-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 18px;
  background: rgba(53,231,255,0.08);
  border: 1px solid rgba(53,231,255,0.12);
}

.broker-mini-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #02070a;
  font-weight: 800;
}

.broker-mini-card strong {
  display: block;
  font-size: 0.94rem;
}

.broker-mini-card small { color: var(--muted); }

/* PRICING */

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

.pricing-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035));
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
  backdrop-filter: blur(18px);
  transition: 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(53,231,255,0.32);
}

.pricing-card.featured {
  transform: translateY(-20px);
  border-color: rgba(53,231,255,0.38);
  box-shadow: 0 30px 100px rgba(53,231,255,0.12);
}

.plan-label {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.82rem;
}

.popular-badge {
  position: absolute;
  right: 22px;
  top: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(38,245,167,0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.pricing-card h3 {
  margin: 20px 0 8px;
  font-size: 2.45rem;
  font-weight: 650;
}

.pricing-card p { color: var(--muted); }

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  list-style: none;
}

.pricing-card li {
  color: var(--muted);
  padding-left: 24px;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

/* FINAL CTA */

.final-cta {
  padding-bottom: 80px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.13);
  min-height: 430px;
  padding: 0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  background: #06111b;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,5,7,0.20), rgba(3,5,7,0.88)),
    radial-gradient(circle at 50% 0%, rgba(53,231,255,0.24), transparent 42%),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85") center/cover;
  transform: scale(1.04);
}

.cta-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, transparent, black, transparent);
}

.cta-glass-content {
  position: relative;
  z-index: 2;
  padding: 88px 34px;
}

.cta-card p {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 30px;
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 34px 0;
  background: rgba(3,5,7,0.7);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-content p { color: var(--muted); }

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -25px, 0) scale(1.08); }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(38,245,167,0); }
  100% { box-shadow: 0 0 0 0 rgba(38,245,167,0); }
}

@keyframes heroMainFloat {
  0%, 100% { transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg) translateY(0); }
  50% { transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg) translateY(-12px); }
}

@keyframes ringRotate {
  from { transform: rotateX(75deg) rotateZ(0deg); }
  to { transform: rotateX(75deg) rotateZ(360deg); }
}

@keyframes ringRotateReverse {
  from { transform: rotateX(75deg) rotateZ(360deg); }
  to { transform: rotateX(75deg) rotateZ(0deg); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.42; transform: rotateX(75deg) scale(0.96); }
  50% { opacity: 0.85; transform: rotateX(75deg) scale(1.04); }
}

@keyframes heroBackFloatA {
  0%, 100% { transform: rotate(-9deg) translateY(0); }
  50% { transform: rotate(-9deg) translateY(-10px); }
}

@keyframes heroBackFloatB {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(7deg) translateY(-12px); }
}

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

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

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

@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-5px); opacity: 1; }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .nav-actions { display: none; }

  .hero-layout,
  .split-layout,
  .split-layout.reverse,
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  }

  .hero-property-scene {
    width: min(100%, 580px);
    margin-inline: auto;
  }

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

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

  .detail-showcase {
    grid-template-columns: 1fr;
  }

  .detail-gallery-panel,
  .detail-info-panel {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .section { padding: 78px 0; }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .navbar { height: 74px; }

  .mobile-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    inset: 0;
    padding: 110px 24px 30px;
    background: rgba(3,5,7,0.94);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    transform: translateX(100%);
    transition: 0.3s ease;
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-menu a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-layout { gap: 32px; }

  .hero-stats { grid-template-columns: 1fr; }

  .hero-visual {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 560px;
    width: 100%;
  }

  .hero-back-card {
    display: none;
  }

  .hero-main-card {
    inset: 18px 8px 106px 8px;
    transform: none;
  }

  .hero-main-card img {
    min-height: 340px;
  }

  @media (max-width: 520px) {
  .hero h1 { font-size: 2rem; }

  .hero-copy p { font-size: 0.95rem; }

  .btn-large,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-showcase {
    min-height: 500px;
  }

  .hero-main-card {
    inset: 12px 0 116px 0;
  }

  .hero-main-card img {
    min-height: 280px;
  }

  @media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}


/* AUTH PAGES - Broker Login / Signup / Forgot Password */

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(53,231,255,0.14), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(124,92,255,0.16), transparent 32%),
    linear-gradient(180deg, #030507 0%, #071019 100%);
}

.auth-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.auth-header {
  position: relative;
  z-index: 10;
  padding: 22px 0;
}

.auth-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.auth-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: center;
  padding: 54px 0 86px;
}

.auth-card {
  width: 100%;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.13);
  background: linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035));
  box-shadow: 0 34px 110px rgba(0,0,0,0.42);
  backdrop-filter: blur(22px);
  padding: 34px;
}

.auth-card h1 {
  font-size: clamp(2rem, 3vw, 2.85rem);
  margin-bottom: 12px;
  font-weight: 650;
}

.auth-card > p {
  color: var(--muted);
  margin-bottom: 28px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  outline: none;
  padding: 0 16px;
  font: inherit;
  transition: 0.25s ease;
}

.form-control:focus {
  border-color: rgba(53,231,255,0.45);
  box-shadow: 0 0 0 4px rgba(53,231,255,0.08);
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.055);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s ease;
}

.password-toggle:hover {
  color: var(--text);
  border-color: rgba(53,231,255,0.35);
  background: rgba(53,231,255,0.08);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.check-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-label input {
  accent-color: var(--primary);
}

.auth-link {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 4px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.10);
}

.auth-switch {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.09);
  color: var(--muted);
  text-align: center;
}

.auth-visual {
  position: relative;
  min-height: 620px;
}

.auth-visual-card {
  position: absolute;
  inset: 50px 0 60px 36px;
  border-radius: 38px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 34px 110px rgba(0,0,0,0.46), 0 0 56px rgba(53,231,255,0.09);
  transform: rotateX(6deg) rotateY(-8deg) rotateZ(1deg);
  animation: heroMainFloat 7s ease-in-out infinite;
}

.auth-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(53,231,255,0.20), transparent 28%),
    linear-gradient(180deg, rgba(3,5,7,0.06), rgba(3,5,7,0.86));
}

.auth-visual-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.auth-visual-content span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(53,231,255,0.16);
  border: 1px solid rgba(53,231,255,0.24);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.auth-visual-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  max-width: 520px;
  margin-bottom: 10px;
}

.auth-visual-content p {
  color: rgba(255,255,255,0.76);
  max-width: 520px;
}

.auth-mini-panel {
  position: absolute;
  right: 0;
  top: 104px;
  z-index: 3;
  width: 220px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(7,16,24,0.80);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.34);
  animation: floatCardB 8s ease-in-out infinite;
}

.auth-mini-panel small {
  display: block;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.72rem;
  margin-bottom: 5px;
}

.auth-mini-panel strong {
  display: block;
}

.auth-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.form-message {
  display: none;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(38,245,167,0.10);
  color: var(--accent);
  border: 1px solid rgba(38,245,167,0.16);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-message.show {
  display: block;
}

@media (max-width: 980px) {
  .auth-layout {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .auth-visual {
    display: none;
  }
}

@media (max-width: 560px) {
  .auth-card {
    padding: 24px 18px;
    border-radius: 26px;
  }

  .auth-nav {
    align-items: flex-start;
  }

  .auth-nav-actions {
    flex-direction: column;
    align-items: flex-end;
  }

  .auth-row {
    align-items: flex-start;
    flex-direction: column;
  }
}



/* =========================================================
   LANDING PAGE SIZE REFINEMENTS V13
   Same smaller heading/text feel as login/signup pages
========================================================= */

.hero h1 {
  font-size: clamp(1.55rem, 2.25vw, 2.15rem) !important;
  line-height: 1.16;
  font-weight: 700;
  max-width: 520px;
}

.section-heading h2,
.content-block h2,
.cta-card h2 {
  font-size: clamp(1.55rem, 2.25vw, 2.15rem) !important;
  line-height: 1.16;
  font-weight: 700;
}

.hero-copy p,
.section-heading p,
.content-block p,
.cta-card p,
.property-card p,
.feature-list li,
.ai-points span,
.search-result-row small,
.broker-status,
.chat-input,
.message,
.detail-subtext,
.detail-feature-grid span,
.detail-info-card p,
.broker-mini-card small,
.pricing-card p,
.pricing-card li,
.footer-content p,
.footer-links {
  font-size: 0.875rem !important;
}

.eyebrow,
.card-meta,
.property-specs span,
.card-footer a,
.plan-label,
.popular-badge {
  font-size: 0.78rem !important;
}

.property-card h3,
.panel-header h3,
.broker-top h3,
.detail-panel-top h3 {
  font-size: 1rem !important;
  line-height: 1.25;
}

.hero-main-content h3 {
  font-size: 1rem !important;
}

.hero-property-info h3 {
  font-size: 1rem !important;
}

.hero-main-content p,
.hero-property-info p,
.hero-listing-chip {
  font-size: 0.78rem !important;
}

.hero-stats strong {
  font-size: 1.25rem !important;
}

.hero-stats span {
  font-size: 0.78rem !important;
}

.pricing-card h3 {
  font-size: 2rem !important;
}

.btn {
  font-size: 0.875rem;
}

@media (max-width: 680px) {
  .hero h1,
  .section-heading h2,
  .content-block h2,
  .cta-card h2 {
    font-size: 1.45rem !important;
  }

  .hero-copy p,
  .section-heading p,
  .content-block p,
  .cta-card p,
  .property-card p,
  .feature-list li {
    font-size: 0.82rem !important;
  }
}
