@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Blue Palette Only */
  --blue-950: #0A1628;
  --blue-900: #0D2951;
  --blue-800: #1565C0;
  --blue-700: #1976D2;
  --blue-600: #1E88E5;
  --blue-500: #2196F3;
  --blue-400: #42A5F5;
  --blue-300: #64B5F6;
  --blue-200: #90CAF9;
  --blue-100: #BBDEFB;
  --blue-50:  #E3F2FD;
  --blue-25:  #F0F8FF;

  --primary:      var(--blue-600);
  --primary-dark: var(--blue-800);
  --primary-deep: var(--blue-900);
  --accent:       var(--blue-400);
  --primary-light: var(--blue-50);

  --white: #FFFFFF;
  --off-white: #F8FBFF;
                       
  /* Rangi: Blue shades 9 (kutoka #0A1628 hadi #F0F8FF) na White tu         
  - Navbar: Nyeupe, glassmorphism effect, shadow inaonekana unaposcroll    
  - Hero: Gradient ya kina */
  /* --hero-bg-1: #0D2951;
  --hero-bg-2: #1565C0;
  --hero-bg-3: #1E88E5;
  --hero-bg-4: #42A5F5; */

  /* Grays (kept for text readability) */
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  --success: #10B981;
  --warning: #F59E0B;
  --danger:  #EF4444;

  --shadow-sm: 0 1px 3px rgba(21,101,192,0.08);
  --shadow:    0 4px 16px rgba(21,101,192,0.12);
  --shadow-md: 0 8px 30px rgba(21,101,192,0.18);
  --shadow-lg: 0 20px 60px rgba(21,101,192,0.22);
  --shadow-xl: 0 32px 80px rgba(21,101,192,0.28);

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, select, textarea { font-family: inherit; outline: none; }

/* ─── UTILITY ───────────────────────────────── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 90px 0; }
.section-sm  { padding: 50px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--gray-500); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }  .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-none   { display: none !important; }
.d-flex   { display: flex; }
.align-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--gray-600); }

.section-title    { margin-bottom: 14px; color: var(--blue-900); }
.section-subtitle { font-size: 1.05rem; color: var(--gray-500); margin-bottom: 52px; }

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  transition: var(--transition); white-space: nowrap;
  position: relative; overflow: hidden; letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(25,118,210,0.35);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(25,118,210,0.45);
}
.btn-secondary {
  background: transparent; color: var(--blue-700);
  border: 2px solid var(--blue-700);
}
.btn-secondary:hover {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(25,118,210,0.3);
}
.btn-white {
  background: var(--white); color: var(--blue-700);
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(255,255,255,0.3);
}
.btn-outline-white {
  background: rgba(255,255,255,0.12); color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}
.btn-danger  { background: linear-gradient(135deg, var(--danger), #DC2626); color: var(--white); }
.btn-danger:hover  { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(239,68,68,0.3); }
.btn-success { background: linear-gradient(135deg, var(--success), #059669); color: var(--white); }
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16,185,129,0.3); }
.btn-sm  { padding: 10px 20px; font-size: 13px; font-weight: 600; }
.btn-lg  { padding: 18px 48px; font-size: 17px; font-weight: 700; letter-spacing: 0.4px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(25,118,210,0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(21,101,192,0.14);
  border-bottom-color: rgba(25,118,210,0.12);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 900;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.5px;
}
.navbar-brand .logo-wrap {
  width: 42px; height: 42px; flex-shrink: 0;
  background: white;
  border-radius: 12px;
  border: 2px solid rgba(25,118,210,0.12);
  box-shadow: 0 4px 14px rgba(25,118,210,0.18), 0 1px 3px rgba(25,118,210,0.1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: var(--transition);
}
.navbar-brand .logo-img {
  width: 30px; height: 30px; object-fit: contain;
  transition: var(--transition);
}
.navbar-brand:hover .logo-wrap {
  box-shadow: 0 8px 24px rgba(25,118,210,0.28);
  transform: scale(1.06);
  border-color: rgba(25,118,210,0.2);
}
.navbar-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 16px; border-radius: var(--radius-sm);
  color: var(--gray-600); font-weight: 600; font-size: 14px;
  transition: var(--transition); position: relative;
}
.nav-link:hover  { color: var(--primary); background: var(--blue-50); }
.nav-link.active {
  color: var(--blue-700);
  background: linear-gradient(135deg, rgba(25,118,210,0.1), rgba(66,165,245,0.08));
  font-weight: 700;
}
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 8px; border-radius: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--blue-700); border-radius: 2px; transition: var(--transition); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 8px;
  padding: 16px 24px; background: white;
  border-bottom: 1px solid var(--blue-50);
  box-shadow: 0 8px 24px rgba(21,101,192,0.1);
}
.mobile-menu.open { display: flex; }

/* ─── HERO ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 30%, var(--blue-600) 65%, var(--blue-400) 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 72px;
}

/* Animated background circles */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
}

/* Grid pattern */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 2; color: white; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 24px; border-radius: 50px; font-size: 13px; font-weight: 600;
  margin-bottom: 32px; color: white;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.2);
  letter-spacing: 0.3px;
}

.hero-title {
  margin-bottom: 24px;
  font-weight: 900; line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0,0,0,0.2);
  letter-spacing: -1px;
}
.hero-title span {
  background: linear-gradient(135deg, #FFFFFF, var(--blue-100));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative;
}
.hero-title span::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.15rem; opacity: 0.92;
  margin-bottom: 48px; max-width: 580px;
  color: white; font-weight: 400;
  line-height: 1.7;
}

/* Hero Search */
.hero-search {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 10px; box-shadow: 0 30px 90px rgba(0,0,0,0.25);
  display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 52px;
  border: 1px solid rgba(255,255,255,0.4);
  overflow: hidden;
}
.hero-search .search-field {
  flex: 1; min-width: 160px; display: flex; align-items: center;
  gap: 12px; padding: 16px 20px; border-radius: 0;
  transition: var(--transition); background: transparent;
  border-right: 1px solid rgba(25,118,210,0.08);
}
.hero-search .search-field:last-of-type { border-right: none; }
.hero-search .search-field:hover { background: var(--blue-25); }
.hero-search .search-field svg { color: var(--blue-600); flex-shrink: 0; }
.hero-search .search-field select,
.hero-search .search-field input {
  border: none; background: transparent; font-size: 14px;
  color: var(--gray-700); width: 100%; font-family: inherit; font-weight: 500;
}
.hero-search .search-field select { cursor: pointer; }
.search-btn {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: white;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px;
  transition: var(--transition); white-space: nowrap; margin: 4px;
  box-shadow: 0 4px 16px rgba(25,118,210,0.35);
  letter-spacing: 0.3px;
}
.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(25,118,210,0.5);
}

.hero-stats { display: flex; gap: 48px; }
.hero-stat .num   { font-size: 2.2rem; font-weight: 900; line-height: 1; color: white; }
.hero-stat .label { font-size: 12px; opacity: 0.75; margin-top: 5px; color: white; letter-spacing: 0.3px; }

/* Hero cards (floating) */
.hero-image { position: relative; z-index: 1; }
.hero-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 440px;
}
.hero-card {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius); padding: 24px; color: white;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.15);
}
.hero-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.32);
}
.hero-card-icon   { font-size: 2.2rem; margin-bottom: 12px; }
.hero-card-price  { font-size: 1.3rem; font-weight: 800; }
.hero-card-loc    { font-size: 12px; opacity: 0.85; margin-top: 6px; font-weight: 500; }

/* ─── STATS BAR ──────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600), var(--blue-400));
  padding: 36px 0;
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
}
.stats-bar .stats-inner {
  position: relative; z-index: 1;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px;
}
.stat-item { text-align: center; color: white; }
.stat-item .stat-num   {
  font-size: 2.8rem; font-weight: 900; line-height: 1;
  text-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.stat-item .stat-label { font-size: 13px; opacity: 0.8; margin-top: 8px; letter-spacing: 0.3px; }

/* Divider between stats */
.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.15);
  padding-right: 40px;
}

/* ─── SECTION HEADERS ─────────────────────────── */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 44px;
}
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-50), rgba(25,118,210,0.06));
  color: var(--blue-700);
  padding: 8px 22px; border-radius: 50px; font-size: 13px; font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(25,118,210,0.12);
  box-shadow: 0 2px 10px rgba(25,118,210,0.08);
  letter-spacing: 0.3px;
}

/* ─── CARDS (Property) ────────────────────────── */
.property-card {
  background: white; border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(21,101,192,0.07); overflow: hidden;
  transition: var(--transition); position: relative;
  border: 1px solid rgba(25,118,210,0.06);
}
.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 70px rgba(21,101,192,0.16);
  border-color: rgba(25,118,210,0.16);
}
.card-image {
  position: relative; height: 240px; overflow: hidden;
  background: var(--blue-50);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.property-card:hover .card-image img { transform: scale(1.07); }
.card-badge {
  position: absolute; top: 16px; left: 16px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: white; padding: 6px 16px; border-radius: 50px;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(25,118,210,0.35);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.card-badge.featured { background: linear-gradient(135deg, #F59E0B, #FCD34D); color: #7C2D12; }
.card-badge.rent { background: linear-gradient(135deg, var(--blue-700), var(--blue-400)); }
.card-badge.sale { background: linear-gradient(135deg, var(--blue-800), var(--blue-600)); }
.card-lock {
  position: absolute; top: 16px; right: 16px;
  background: rgba(13,41,81,0.85); backdrop-filter: blur(10px);
  color: white; padding: 8px 12px; border-radius: 10px;
  font-size: 12px; display: flex; align-items: center; gap: 6px; font-weight: 600;
}
.card-body { padding: 24px; }
.card-price {
  font-size: 1.5rem; font-weight: 900; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.card-price span {
  font-size: 13px; font-weight: 400;
  -webkit-text-fill-color: var(--gray-400); color: var(--gray-400);
}
.card-title {
  font-size: 16px; font-weight: 700; color: var(--gray-800);
  margin-bottom: 10px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.4;
}
.card-location {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--gray-500); margin-bottom: 16px; font-weight: 500;
}
.card-features  { display: flex; gap: 20px; margin-bottom: 20px; }
.card-feature   { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-600); font-weight: 500; }
.card-footer    { border-top: 1px solid var(--blue-50); padding-top: 16px; display: flex; gap: 10px; }
.card-blurred   { filter: blur(4px); user-select: none; pointer-events: none; }

/* ─── CATEGORIES ──────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.category-card {
  background: white; border-radius: var(--radius);
  border: 2px solid rgba(25,118,210,0.08);
  padding: 32px 16px; text-align: center;
  transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.category-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-400));
  opacity: 0; transition: var(--transition);
}
.category-card:hover, .category-card.active {
  border-color: var(--blue-500);
  transform: translateY(-10px);
  box-shadow: 0 16px 50px rgba(25,118,210,0.2);
}
.category-card:hover::before, .category-card.active::before { opacity: 1; }

.category-icon {
  width: 68px; height: 68px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--blue-50), rgba(25,118,210,0.1));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; transition: var(--transition);
  position: relative; z-index: 1;
  box-shadow: 0 4px 12px rgba(25,118,210,0.1);
}
.category-card:hover .category-icon {
  background: rgba(255,255,255,0.2);
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.category-name {
  font-size: 14px; font-weight: 700; color: var(--gray-700);
  position: relative; z-index: 1; transition: var(--transition);
}
.category-card:hover .category-name { color: white; }
.category-count {
  font-size: 12px; color: var(--gray-400); margin-top: 6px;
  position: relative; z-index: 1; transition: var(--transition);
}
.category-card:hover .category-count { color: rgba(255,255,255,0.8); }

/* ─── CITIES ──────────────────────────────────── */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.city-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; height: 240px; cursor: pointer;
  transition: var(--transition); box-shadow: var(--shadow);
}
.city-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 70px rgba(21,101,192,0.3);
}
.city-card-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
}
.city-card-bg::before {
  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.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.city-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,41,81,0.9) 0%, rgba(13,41,81,0.4) 50%, transparent 100%);
}
.city-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px; color: white; z-index: 2;
}
.city-name  { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px; }
.city-count { font-size: 13px; opacity: 0.85; font-weight: 500; }

/* Accent line on city card hover */
.city-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  opacity: 0; transition: var(--transition);
}
.city-card:hover::after { opacity: 1; }

/* ─── HOW IT WORKS ────────────────────────────── */
.how-it-works {
  background: linear-gradient(180deg, var(--blue-25) 0%, white 100%);
  position: relative;
}
.how-it-works::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400), var(--blue-700));
}
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute;
  top: 70px; left: calc(16.67% + 56px); right: calc(16.67% + 56px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue-400), var(--blue-200));
  z-index: 0;
}
.step-card {
  background: white; border-radius: var(--radius-lg);
  padding: 40px 28px; text-align: center;
  box-shadow: var(--shadow); transition: var(--transition);
  position: relative; z-index: 1;
  border: 2px solid transparent;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(25,118,210,0.15);
}
.step-number {
  width: 60px; height: 60px; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-400));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 900; color: white;
  box-shadow: 0 8px 24px rgba(25,118,210,0.35);
  position: relative;
}
.step-number::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(25,118,210,0.2);
}
.step-icon  { font-size: 2.8rem; margin-bottom: 20px; }
.step-title { margin-bottom: 14px; color: var(--blue-900); }
.step-card p { font-size: 14px; line-height: 1.7; color: var(--gray-500); }

/* ─── LISTINGS GRID ───────────────────────────── */
.listings-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px;
}

/* ─── CTA SECTION ─────────────────────────────── */
section[style*="background:var(--primary)"] {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-500) 100%) !important;
  position: relative; overflow: hidden;
}
section[style*="background:var(--primary)"]::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.06) 0%, transparent 45%);
}
section[style*="background:var(--primary)"] > * { position: relative; z-index: 1; }

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--blue-950) 0%, var(--blue-900) 100%);
  color: white; padding: 70px 0 0;
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400), var(--blue-300), var(--blue-400), var(--blue-700));
}
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand {
  margin-bottom: 18px; font-size: 22px; font-weight: 900;
  color: white; display: flex; align-items: center; gap: 12px;
  letter-spacing: -0.5px;
}
.footer-logo-img {
  width: 36px; height: 36px; object-fit: contain;
  filter: brightness(0) invert(1); transition: var(--transition);
}
.footer-brand:hover .footer-logo-img { transform: scale(1.1) rotate(-5deg); }
.footer-desc { color: var(--blue-200); font-size: 14px; line-height: 1.8; margin-bottom: 28px; opacity: 0.8; }
.footer-socials { display: flex; gap: 12px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-200); transition: var(--transition); font-size: 15px; font-weight: 700;
}
.social-btn:hover {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: white; border-color: transparent;
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(25,118,210,0.4);
}
.footer-title  { font-weight: 700; margin-bottom: 22px; font-size: 14px; color: white; letter-spacing: 0.3px; text-transform: uppercase; }
.footer-links  { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: var(--blue-200); font-size: 14px;
  transition: var(--transition); opacity: 0.75;
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: '›'; color: var(--blue-400); font-size: 16px;
  transition: var(--transition); transform: translateX(0);
}
.footer-links a:hover {
  color: white; opacity: 1; padding-left: 4px;
}
.footer-links a:hover::before { transform: translateX(2px); color: var(--blue-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--blue-300); font-size: 13px; opacity: 0.7; }

/* ─── FORMS ───────────────────────────────────── */
.form-group   { margin-bottom: 20px; }
.form-label   { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-size: 14px; color: var(--gray-800);
  transition: var(--transition); background: white;
}
.form-control:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(25,118,210,0.1);
}
.form-control::placeholder { color: var(--gray-400); }
.form-error { font-size: 12px; color: var(--danger); margin-top: 6px; }
.form-hint  { font-size: 12px; color: var(--gray-400); margin-top: 6px; }

/* ─── AUTH PAGES ──────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-500) 100%);
  padding: 80px 20px 40px;
}
.auth-card {
  background: white; border-radius: var(--radius-xl);
  padding: 52px; width: 100%; max-width: 480px;
  box-shadow: var(--shadow-xl);
}
.auth-logo         { text-align: center; margin-bottom: 32px; }
.auth-logo .logo-text { font-size: 2rem; font-weight: 900; color: var(--blue-700); }
.auth-title        { font-size: 1.7rem; font-weight: 800; text-align: center; margin-bottom: 8px; color: var(--blue-900); }
.auth-subtitle     { text-align: center; color: var(--gray-500); margin-bottom: 32px; font-size: 14px; }
.auth-divider      { text-align: center; position: relative; margin: 24px 0; color: var(--gray-400); font-size: 13px; }
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 20px); height: 1px; background: var(--gray-200);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.auth-footer   { text-align: center; margin-top: 24px; font-size: 14px; color: var(--gray-600); }
.auth-footer a { color: var(--blue-600); font-weight: 700; }

/* ─── ALERTS ──────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14px; margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info    { background: var(--blue-50); color: var(--blue-800); border: 1px solid var(--blue-100); }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }

/* ─── BADGE ───────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-primary { background: var(--blue-50); color: var(--blue-700); }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger  { background: #FEE2E2; color: #991B1B; }
.badge-gray    { background: var(--gray-100); color: var(--gray-600); }

/* ─── LOADING ─────────────────────────────────── */
.spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--blue-100);
  border-top-color: var(--blue-600);
  border-radius: 50%; animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
}

/* ─── MODAL ───────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(13,41,81,0.6);
  backdrop-filter: blur(6px); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: white; border-radius: var(--radius-lg);
  width: 100%; max-width: 500px;
  box-shadow: var(--shadow-xl); overflow: hidden;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(-12px); } to { opacity: 1; transform: none; } }
.modal-header  { padding: 24px 28px; border-bottom: 1px solid var(--blue-50); display: flex; align-items: center; justify-content: space-between; }
.modal-title   { font-size: 1.1rem; font-weight: 700; color: var(--blue-900); }
.modal-close   {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
  color: var(--blue-600); transition: var(--transition); font-size: 18px;
}
.modal-close:hover { background: var(--blue-100); }
.modal-body    { padding: 28px; }
.modal-footer  { padding: 20px 28px; border-top: 1px solid var(--blue-50); display: flex; gap: 12px; justify-content: flex-end; }

/* ─── TABLE ───────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--blue-100); }
table  { width: 100%; border-collapse: collapse; }
thead  { background: var(--blue-25); }
th     { padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 700; color: var(--blue-700); white-space: nowrap; }
td     { padding: 14px 16px; font-size: 14px; color: var(--gray-700); border-top: 1px solid var(--blue-50); }
tr:hover td { background: var(--blue-25); }

/* ─── DASHBOARD ───────────────────────────────── */
.dashboard-layout { display: flex; min-height: 100vh; padding-top: 72px; }
.sidebar {
  width: 260px; flex-shrink: 0; background: white;
  border-right: 1px solid var(--blue-50);
  padding: 24px 0; position: sticky; top: 72px;
  height: calc(100vh - 72px); overflow-y: auto;
}
.sidebar-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px; color: var(--gray-600);
  font-size: 14px; font-weight: 500; transition: var(--transition);
  cursor: pointer; border-left: 3px solid transparent;
}
.sidebar-item:hover { background: var(--blue-25); color: var(--blue-600); }
.sidebar-item.active {
  background: linear-gradient(90deg, rgba(25,118,210,0.08), transparent);
  color: var(--blue-700); border-left-color: var(--blue-600); font-weight: 700;
}
.sidebar-item svg    { flex-shrink: 0; }
.sidebar-section     { padding: 20px 24px 8px; font-size: 11px; font-weight: 700; color: var(--blue-300); text-transform: uppercase; letter-spacing: 1.2px; }
.main-content        { flex: 1; padding: 32px; overflow-y: auto; background: var(--blue-25); }

/* ─── STAT CARDS ──────────────────────────────── */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card  {
  background: white; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid rgba(25,118,210,0.06);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.stat-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.stat-card-icon.blue   { background: var(--blue-50); }
.stat-card-icon.green  { background: rgba(16,185,129,0.1); }
.stat-card-icon.yellow { background: rgba(245,158,11,0.1); }
.stat-card-icon.red    { background: rgba(239,68,68,0.1); }
.stat-card-value { font-size: 2rem; font-weight: 900; color: var(--blue-900); }
.stat-card-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ─── LOCK OVERLAY ────────────────────────────── */
.lock-section { position: relative; border-radius: var(--radius); overflow: hidden; }
.lock-section .lock-content { filter: blur(6px); user-select: none; pointer-events: none; }
.lock-overlay {
  position: absolute; inset: 0;
  background: rgba(240,248,255,0.88); backdrop-filter: blur(2px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 24px;
}
.lock-icon  { font-size: 3rem; }
.lock-title { font-size: 1.1rem; font-weight: 700; color: var(--blue-900); }
.lock-desc  { font-size: 13px; color: var(--gray-500); }

/* ─── PAGINATION ──────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 44px; }
.page-btn {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; transition: var(--transition);
  border: 2px solid var(--blue-100); color: var(--gray-600); background: white;
}
.page-btn:hover  { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-25); }
.page-btn.active { background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: white; border-color: transparent; box-shadow: 0 4px 14px rgba(25,118,210,0.35); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── TOAST ───────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: white; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; min-width: 300px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--blue-500);
}
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast-icon    { font-size: 20px; }
.toast-msg     { font-size: 14px; font-weight: 500; flex: 1; }
.toast-close   { color: var(--gray-400); font-size: 18px; cursor: pointer; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ─── SCROLL ANIMATIONS ───────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up {
  animation: fadeInUp 0.6s ease both;
}
.animate-up:nth-child(2) { animation-delay: 0.1s; }
.animate-up:nth-child(3) { animation-delay: 0.2s; }
.animate-up:nth-child(4) { animation-delay: 0.3s; }
.animate-up:nth-child(5) { animation-delay: 0.4s; }
.animate-up:nth-child(6) { animation-delay: 0.5s; }
