/* ============================================
   APEX REAL ESTATE — DESIGN SYSTEM
   Premium Luxury Real Estate | Novi Sad
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary */
  --gold: #D4AF37;
  --gold-light: #E8D48B;
  --gold-dark: #B8941F;
  --champagne: #F7E7CE;

  /* Neutrals */
  --black: #0A0A0A;
  --charcoal: #1A1A1A;
  --charcoal-light: #2A2A2A;
  --slate: #4A4A4A;
  --slate-light: #6B6B6B;
  --silver: #9A9A9A;
  --white: #F5F5F5;
  --pure-white: #FFFFFF;

  /* Glassmorphism */
  --glass-bg: rgba(26, 26, 26, 0.65);
  --glass-border: rgba(212, 175, 55, 0.15);
  --glass-blur: blur(20px);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 24px rgba(212,175,55,0.15);

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1400px;

  /* Transitions */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.3s;
  --duration-med: 0.6s;
  --duration-slow: 1s;
}

/* ---------- Reset & Foundations ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

ul {
  list-style: none;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  transition: opacity 0.8s var(--ease-premium), visibility 0.8s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 160px;
  height: auto;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--charcoal-light);
  border-radius: 1px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--duration-med) var(--ease-premium);
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1001;
}

.nav-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-fast) var(--ease-premium);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 10px 24px !important;
  transition: all var(--duration-fast) ease !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: all var(--duration-fast) ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Golden light sweep across hero */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(212,175,55,0.03) 30%,
    rgba(212,175,55,0.08) 50%,
    rgba(212,175,55,0.03) 70%,
    transparent 100%
  );
  z-index: 1;
  animation: lightSweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lightSweep {
  0% { left: -100%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 180%; opacity: 0; }
}

/* Ambient golden glow pulse */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  z-index: 1;
  animation: glowPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.3); opacity: 0.8; }
  100% { transform: scale(0.9); opacity: 0.3; }
}

/* Floating particles canvas */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.5) 0%,
    rgba(10,10,10,0.25) 40%,
    rgba(10,10,10,0.55) 70%,
    rgba(10,10,10,0.95) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  background: rgba(212,175,55,0.05);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: var(--pure-white);
}

.hero h1 span {
  color: var(--gold);
  display: block;
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--silver);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

/* AI Search Bar */
.ai-search {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.ai-search-wrapper {
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 60px;
  padding: 6px 6px 6px 28px;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.ai-search-wrapper:focus-within {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-gold);
}

.search-icon {
  color: var(--gold);
  margin-right: 14px;
  flex-shrink: 0;
}

.ai-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.ai-search input::placeholder {
  color: var(--slate-light);
}

.ai-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 60px;
  transition: all var(--duration-fast) ease;
  flex-shrink: 0;
}

.ai-search-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}

.ai-search-suggestions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.ai-search-suggestions span {
  font-size: 0.72rem;
  color: var(--slate-light);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.ai-search-suggestions span:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.05);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--slate-light);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ---------- Section Shared ---------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--pure-white);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1rem;
  color: var(--silver);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto 0;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--charcoal);
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(212,175,55,0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 2px;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 8px;
  font-weight: 400;
}

/* ---------- Featured Listings ---------- */
.listings-section {
  background: var(--black);
}

.listings-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500;
  transition: all var(--duration-fast) ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}

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

/* Property Card */
.property-card {
  background: var(--charcoal);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--duration-med) var(--ease-premium);
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.2);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(212,175,55,0.05);
}

.property-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-premium);
}

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

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--black);
}

.property-badge.exclusive {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: var(--gold);
  border: 1px solid var(--gold);
}

.property-favorite {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  transition: all var(--duration-fast) ease;
  cursor: pointer;
}

.property-favorite:hover {
  background: var(--gold);
  color: var(--black);
}

.property-info {
  padding: 24px;
}

.property-location {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}

.property-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--pure-white);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.property-features {
  display: flex;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 18px;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--silver);
}

.property-feature svg {
  width: 16px;
  height: 16px;
  color: var(--gold-dark);
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 400;
}

.property-link {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--duration-fast) ease;
}

.property-link:hover {
  color: var(--gold);
}

.property-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) ease;
}

.property-link:hover svg {
  transform: translateX(4px);
}

/* Coming Soon Placeholder */
.coming-soon-img {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 50%, var(--charcoal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  color: var(--slate-light);
  position: relative;
  overflow: hidden;
}

.coming-soon-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.03), transparent);
  animation: comingSoonShimmer 3s ease-in-out infinite;
}

@keyframes comingSoonShimmer {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.coming-soon-placeholder svg {
  opacity: 0.3;
  color: var(--gold-dark);
}

.coming-soon-placeholder span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  opacity: 0.6;
}

.coming-soon-text {
  color: var(--slate-light) !important;
  font-style: italic;
  font-size: 0.85rem !important;
}

.coming-soon-price {
  font-size: 1rem !important;
  color: var(--slate-light) !important;
  font-family: var(--font-body) !important;
  font-weight: 400;
  letter-spacing: 1px;
}

/* View All Button */
.view-all-wrap {
  text-align: center;
  margin-top: 60px;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 16px 40px;
  border-radius: 0;
  background: transparent;
  transition: all var(--duration-fast) ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black);
}

/* ---------- About / Apex Section ---------- */
.about-section {
  background: var(--charcoal);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(10,10,10,0.9), transparent);
}

.about-image-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.about-image-stat strong {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 400;
}

.about-image-stat span {
  font-size: 0.85rem;
  color: var(--silver);
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 40px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pillar {
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all var(--duration-fast) ease;
}

.pillar:hover {
  border-color: rgba(212,175,55,0.2);
  background: rgba(212,175,55,0.03);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 14px;
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--pure-white);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.pillar p {
  font-size: 0.82rem;
  color: var(--slate-light);
  line-height: 1.7;
}

/* ---------- AI Recommendation Section ---------- */
.ai-section {
  background: var(--black);
  position: relative;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.ai-demo-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--charcoal);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.ai-demo-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.ai-chat-header h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pure-white);
}

.ai-chat-header span {
  font-size: 0.72rem;
  color: var(--slate-light);
}

.ai-conversation {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-msg {
  max-width: 85%;
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.ai-msg.user {
  align-self: flex-end;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--white);
}

.ai-msg.bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--silver);
}

.ai-msg.bot .highlight {
  color: var(--gold);
  font-weight: 500;
}

.ai-typing {
  display: flex;
  gap: 4px;
  padding: 12px 20px;
  align-self: flex-start;
}

.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: typingDots 1.4s ease-in-out infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDots {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* ---------- Blog Section ---------- */
.blog-section {
  background: var(--charcoal);
}

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

.blog-card {
  background: var(--black);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--duration-med) var(--ease-premium);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.15);
}

.blog-img {
  height: 220px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-premium);
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

.blog-content {
  padding: 28px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.blog-category {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--slate-light);
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--pure-white);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-link {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.blog-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) ease;
}

.blog-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Contact Section ---------- */
.contact-section {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 10px;
}

.contact-info .section-tag {
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.contact-text {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-detail p {
  font-size: 0.92rem;
  color: var(--silver);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--charcoal);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 20px;
  padding: 50px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--duration-fast) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all var(--duration-fast) ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.25);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(212,175,55,0.1);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 80px;
  width: auto;
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 3px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--slate-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  transition: all var(--duration-fast) ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pure-white);
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: 12px;
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--slate-light);
}

.footer-seo-keywords {
  font-size: 0.72rem;
  color: var(--slate);
  max-width: 500px;
  line-height: 1.6;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--duration-slow) var(--ease-premium);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all var(--duration-slow) var(--ease-premium);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all var(--duration-slow) var(--ease-premium);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: all var(--duration-slow) var(--ease-premium);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delay */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ---------- Parallax ---------- */
.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
}

.cursor-ring.hover {
  transform: scale(1.8);
  border-color: var(--gold);
  background: rgba(212,175,55,0.05);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) ease;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    letter-spacing: 3px;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image img {
    height: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .ai-search-btn span {
    display: none;
  }

  .ai-search-suggestions {
    display: none;
  }

  .listings-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .ai-demo-card {
    padding: 30px;
  }

  .contact-form-wrap {
    padding: 30px;
  }

  /* Hide custom cursor on touch */
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .property-img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.62rem;
    padding: 6px 14px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}
