@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

* { box-sizing: border-box; }

body {
  background: #f0f4f8;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ─── HERO ─────────────────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #020617 0%, #0c1a35 35%, #1a3a6e 65%, #0f172a 100%);
  padding: 55px 0 110px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-orb-1 {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.20) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero-orb-3 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.06) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(99,179,255,0.30);
  color: #93c5fd;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, #60a5fa, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.75;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
}

/* Search box */
.search-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.40), 0 0 0 1px rgba(255,255,255,0.10);
  margin-top: 2.5rem;
}
.search-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.search-card .form-select,
.search-card .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.9rem;
  color: #1e293b;
  background: #f8fafc;
  font-family: inherit;
  transition: all 0.2s;
  height: auto;
}
.search-card .form-select:focus,
.search-card .form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
  background: #fff;
  outline: none;
}
.btn-search {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  border-radius: 12px;
  color: #fff;
  padding: 13px 0;
  font-weight: 700;
  font-size: 0.95rem;
  width: 100%;
  font-family: inherit;
  box-shadow: 0 6px 18px rgba(37,99,235,0.45);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-search:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.55);
}

/* Stats */
.stats-row { margin-top: 2.8rem; }
.stat-item { text-align: center; padding: 0 20px; }
.stat-number {
  font-size: 1.45rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.5px;
}
.stat-label { color: #64748b; font-size: 0.78rem; margin-top: 3px; font-weight: 500; letter-spacing: 0.3px; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.08); }

/* ─── SECTION TITLES ────────────────────────────────────────────────────── */
.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}
.section-subtitle { color: #64748b; font-size: 0.95rem; margin-top: 6px; }

/* ─── FEATURED PROPERTY CARDS ───────────────────────────────────────────── */
.prop-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s, border-color 0.3s;
  height: 100%;
}
.prop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37,99,235,0.14), 0 4px 12px rgba(0,0,0,0.08);
  border-color: #bfdbfe;
}
.prop-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.prop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.prop-card:hover .prop-img { transform: scale(1.07); }
.prop-img-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
}
/* Image dark gradient overlay */
.prop-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.prop-rent-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15,23,42,0.85);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 2;
}
.prop-verified-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(22,163,74,0.4);
}
.prop-body { padding: 20px 22px 22px; }
.prop-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prop-location { color: #64748b; font-size: 0.82rem; margin-bottom: 14px; display: flex; align-items: center; gap: 4px; }
.prop-meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1.5px solid #f1f5f9;
  padding-top: 14px;
  margin-top: 4px;
  margin-bottom: 14px;
}
.prop-meta-item { display: flex; align-items: center; gap: 5px; color: #475569; font-size: 11.5px; font-weight: 500; }
.prop-meta-item i { color: #2563eb; font-size: 0.72rem; }
.prop-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.prop-view-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.45);
}

/* ─── HOW IT WORKS ──────────────────────────────────────────────────────── */
.step-card {
  text-align: center;
  padding: 30px 20px 26px;
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #f1f5f9;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  height: 100%;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(37,99,235,0.10);
  border-color: #bfdbfe;
}
.step-circle {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 20px rgba(37,99,235,0.38);
  transition: transform 0.2s;
}
.step-card:hover .step-circle { transform: scale(1.08) rotate(-3deg); }
.step-title { font-weight: 700; color: #0f172a; font-size: 1rem; margin-bottom: 9px; }
.step-desc { color: #64748b; font-size: 0.875rem; line-height: 1.7; }

/* ─── BENEFIT CARDS ─────────────────────────────────────────────────────── */
.benefit-card {
  background: #fff;
  border-radius: 20px;
  padding: 34px 24px;
  border: 1.5px solid #f1f5f9;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  text-align: center;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 42px rgba(37,99,235,0.12);
  border-color: #bfdbfe;
}
.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  transition: transform 0.25s;
  box-shadow: 0 4px 14px rgba(37,99,235,0.15);
}
.benefit-card:hover .benefit-icon { transform: scale(1.1) rotate(-4deg); }
.benefit-icon i { color: #2563eb; font-size: 1.7rem; }
.benefit-title { font-size: 0.95rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.benefit-desc { color: #64748b; font-size: 0.875rem; line-height: 1.75; }

/* ─── CTA BANNER ────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0c1a35 0%, #1e3a8a 40%, #2563eb 75%, #1d4ed8 100%);
  border-radius: 24px;
  padding: 75px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-orb-1 {
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  border-radius: 50%; z-index: 0; pointer-events: none;
}
.cta-orb-2 {
  position: absolute;
  bottom: -80px; left: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  border-radius: 50%; z-index: 0; pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }

/* ─── PLACEHOLDER COLORS ────────────────────────────────────────────────── */
.bg-flat     { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.bg-house    { background: linear-gradient(135deg, #065f46, #10b981); }
.bg-room     { background: linear-gradient(135deg, #7c2d12, #f97316); }
.bg-pg       { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.bg-villa    { background: linear-gradient(135deg, #7f1d1d, #ef4444); }
.bg-default  { background: linear-gradient(135deg, #0f172a, #334155); }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 992px) { .hero-section { padding: 70px 0 90px; } }
@media (max-width: 768px) {
  .hero-section { padding: 55px 0 70px; }
  .hero-title { letter-spacing: -1px; }
  .search-card { padding: 18px; border-radius: 16px; }
  .cta-banner { padding: 48px 24px; border-radius: 16px; }
  .section-title { font-size: 1.5rem; }
}
