/* =============================================
   Landing Page Styles
   ============================================= */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f2744 0%, #1a3c5e 50%, #1e4976 100%);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-image: url('https://images.unsplash.com/photo-1580746738099-1f5ae64ae913?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}
@keyframes float {
  0%,100% { transform: translateY(0) translateX(0); opacity:0; }
  50% { opacity:1; }
  100% { transform: translateY(-80px) translateX(40px); opacity:0; }
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 0.8rem; font-weight: 600;
  padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1rem;
}
.hero-tag .dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; color: #fff; line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title .highlight {
  color: #e8a020;
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute; bottom: 4px; left: 0; right: 0;
  height: 4px; background: #e8a020; opacity: 0.4;
  border-radius: 2px;
}
.hero-subtitle { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-item .number {
  font-size: 2rem; font-weight: 800; color: #fff; line-height: 1;
}
.hero-stat-item .label { color: rgba(255,255,255,0.65); font-size: 0.82rem; }
.hero-image-wrap { position: relative; z-index: 2; }
.hero-image-wrap img {
  width: 100%; max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-floating-card {
  position: absolute;
  background: #fff; border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  animation: float-card 3s ease-in-out infinite;
}
@keyframes float-card { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-floating-card.card-1 { top: 15%; right: -20px; min-width: 190px; }
.hero-floating-card.card-2 { bottom: 20%; left: -20px; min-width: 175px; }

/* Search Section */
.search-section { margin-top: -60px; position: relative; z-index: 10; }
.search-tabs .nav-link {
  color: #64748b; font-weight: 600; font-size: 0.9rem;
  padding: 0.6rem 1.25rem; border-radius: 8px 8px 0 0;
  border: none; background: rgba(255,255,255,0.6);
}
.search-tabs .nav-link.active {
  color: #1a3c5e; background: #fff;
  border-bottom: 3px solid #1a3c5e;
}

/* Hero enhancements */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(26,60,94,0.7) 60%, rgba(20,50,80,0.5) 100%);
}
.zr-brand-pill {
  display: inline-flex; align-items: center;
  background: rgba(232,160,32,0.18); border: 1px solid rgba(232,160,32,0.45);
  color: #e8a020; font-size: 0.82rem; font-weight: 700;
  padding: 0.45rem 1.1rem; border-radius: 50px;
  letter-spacing: 0.03em;
}
.btn-zr-gold {
  background: linear-gradient(135deg, #e8a020, #d4891a) !important;
  border-color: #e8a020 !important; color: #fff !important;
  box-shadow: 0 4px 20px rgba(232,160,32,0.35);
}
.btn-zr-gold:hover { background: linear-gradient(135deg, #d4891a, #bf7a15) !important; color: #fff !important; transform: translateY(-1px); }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 4;
}
.hero-scroll-hint a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); color: #fff;
  font-size: 1.1rem; animation: bounce-down 2s infinite;
  text-decoration: none;
}
@keyframes bounce-down {
  0%,100% { transform: translateY(0); opacity:0.7; }
  50% { transform: translateY(6px); opacity:1; }
}

/* Counter icons */
.counter-icon { font-size: 1.8rem; color: rgba(255,255,255,0.6); }

/* How It Works */
.hiw-card {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 16px; padding: 2.5rem 2rem;
  position: relative; transition: all 0.3s ease;
}
.hiw-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,60,94,0.12); border-color: #1a3c5e; }
.hiw-step {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; background: linear-gradient(135deg,#1a3c5e,#2563eb);
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; box-shadow: 0 4px 12px rgba(26,60,94,0.3);
}
.hiw-icon {
  font-size: 2.2rem; color: #1a3c5e; margin-bottom: 1rem;
  background: linear-gradient(135deg,rgba(26,60,94,0.08),rgba(37,99,235,0.08));
  width: 68px; height: 68px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin: 0.5rem auto 1.25rem;
}

/* Final CTA Section */
.zr-cta-section {
  position: relative; padding: 6rem 0;
  background: linear-gradient(135deg, #0f2744 0%, #1a3c5e 50%, #0f2744 100%);
  overflow: hidden;
}
.zr-cta-overlay {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1920&q=40') center/cover no-repeat;
  opacity: 0.07;
}
.zr-cta-icon {
  width: 80px; height: 80px; margin: 0 auto;
  background: rgba(232,160,32,0.2); border: 2px solid rgba(232,160,32,0.4);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #e8a020;
}

/* Featured Properties */
.featured-section { padding: 5rem 0; background: #f8fafc; }
.property-type-filter .btn {
  border-radius: 50px; font-size: 0.85rem;
  padding: 0.45rem 1.25rem;
  transition: all 0.3s ease;
}
.property-type-filter .btn.active,
.property-type-filter .btn:hover {
  background: #1a3c5e !important;
  color: #fff !important;
  border-color: #1a3c5e !important;
}

/* Stats Counter Section */
.counters-section {
  background: linear-gradient(135deg, #1a3c5e 0%, #0f2744 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.counters-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1920&q=40') center/cover;
  opacity: 0.06;
}
.counter-item { text-align: center; position: relative; z-index: 1; }
.counter-item .counter-num {
  font-size: 3.5rem; font-weight: 800; color: #fff;
  line-height: 1;
}
.counter-item .counter-num span { color: #e8a020; }
.counter-item p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem; }

/* Why Choose Us */
.why-us-section { padding: 5rem 0; }
.why-card {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 16px; padding: 2rem; text-align: center;
  transition: all 0.3s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(26,60,94,0.12); border-color: #1a3c5e; }
.why-card .icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(26,60,94,0.1), rgba(37,99,235,0.1));
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #1a3c5e; margin: 0 auto 1.25rem;
}

/* Testimonials Slider */
.testimonials-section { background: #f8fafc; padding: 5rem 0; }
.testimonial-card {
  background: #fff; border-radius: 16px;
  padding: 2rem; border: 1px solid #e2e8f0;
  height: 100%;
}
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 3px solid #e2e8f0;
}

/* Popular Locations */
.locations-section { padding: 5rem 0; }
.location-card {
  border-radius: 16px; overflow: hidden;
  position: relative; cursor: pointer;
  height: 200px;
}
.location-card img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.location-card:hover img { transform: scale(1.08); }
.location-card .location-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.location-card .location-name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.location-card .location-count { color: rgba(255,255,255,0.8); font-size: 0.82rem; }

/* Mobile App Section */
.app-section {
  background: linear-gradient(135deg, #1a3c5e 0%, #0f2744 100%);
  padding: 5rem 0;
}
.app-mockup {
  max-width: 280px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}
.app-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 0.75rem 1.25rem;
  color: #fff; text-decoration: none; transition: all 0.3s ease;
}
.app-badge:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* FAQ Section */
.faq-section { padding: 5rem 0; background: #f8fafc; }
.accordion-item { border: 1px solid #e2e8f0; border-radius: 12px !important; margin-bottom: 0.75rem; overflow: hidden; }
.accordion-button { font-weight: 600; font-size: 0.95rem; background: #fff; color: #1e293b; border-radius: 12px !important; }
.accordion-button:not(.collapsed) { background: #f0f6ff; color: #1a3c5e; box-shadow: none; }
.accordion-button::after { filter: none; }

/* Partners */
.partners-section { padding: 3rem 0; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.partner-logo { opacity: 0.5; transition: all 0.3s ease; filter: grayscale(100%); }
.partner-logo:hover { opacity: 1; filter: grayscale(0); }

/* Contact Section */
.contact-section { padding: 5rem 0; }
.contact-info-card {
  background: linear-gradient(135deg, #1a3c5e, #0f2744);
  border-radius: 16px; padding: 2.5rem; color: #fff;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item .icon { 
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.15); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* News Section */
.news-section { padding: 5rem 0; }
.news-card { border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; }
.news-card .news-img { height: 200px; object-fit: cover; width: 100%; }
.news-category { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
