/* ═══════════════════════════════════════════════════════════════
   JACOB & HILLS - Dubai Real Estate Analytics Platform
   Dark Professional Theme inspired by DXBinteract
   ═══════════════════════════════════════════════════════════════ */

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

/* ── CSS Variables ── */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2235;
  --bg-card-hover: #1f2a40;
  --bg-input: #151d2e;
  --border: #1e2d44;
  --border-light: #2a3a54;

  --text-primary: #e8ecf4;
  --text-secondary: #8899b4;
  --text-muted: #5a6b85;
  --text-white: #ffffff;

  --accent: #00d4aa;
  --accent-hover: #00f0c0;
  --accent-dim: rgba(0,212,170,0.12);
  --blue: #3b82f6;
  --blue-dim: rgba(59,130,246,0.12);
  --gold: #f59e0b;
  --gold-dim: rgba(245,158,11,0.12);
  --red: #ef4444;
  --red-dim: rgba(239,68,68,0.12);
  --purple: #8b5cf6;
  --purple-dim: rgba(139,92,246,0.12);

  --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #111827 50%, #0d1525 100%);
  --gradient-card: linear-gradient(145deg, #1a2235 0%, #151d2e 100%);
  --gradient-accent: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(0,212,170,0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-height: 64px;
  --sidebar-width: 260px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(10,14,23,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--text-white); letter-spacing: -0.5px;
}
.nav-brand span { color: var(--accent); }
.nav-brand img { height: 32px; }

.nav-links {
  display: flex; align-items: center; gap: 4px; margin-left: 40px;
}
.nav-links a, .nav-dropdown > a {
  color: var(--text-secondary); font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active, .nav-dropdown:hover > a {
  color: var(--text-white); background: var(--accent-dim);
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 8px; min-width: 220px;
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 8px 14px; color: var(--text-secondary);
  font-size: 13px; border-radius: var(--radius-sm);
}
.nav-dropdown-menu a:hover { background: var(--accent-dim); color: var(--text-white); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav-search {
  position: relative; width: 240px;
}
.nav-search input {
  width: 100%; padding: 8px 14px 8px 36px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-lg); color: var(--text-primary);
  font-size: 13px; outline: none; transition: border-color 0.2s;
}
.nav-search input:focus { border-color: var(--accent); }
.nav-search .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 14px;
}

.btn-login, .btn-register {
  padding: 8px 18px; font-size: 13px; font-weight: 600;
  border-radius: var(--radius-lg); cursor: pointer; border: none; transition: all 0.2s;
}
.btn-login { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-login:hover { border-color: var(--accent); color: var(--accent); }
.btn-register { background: var(--gradient-accent); color: #000; }
.btn-register:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }

.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-size: 14px; cursor: pointer;
}

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 22px; cursor: pointer; padding: 8px; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--nav-height); left: 0; right: 0; background: var(--bg-secondary);
    border-bottom: 1px solid var(--border); padding: 16px;
  }
  .nav-toggle { display: block; }
  .nav-search { width: 180px; }
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.main-content {
  padding-top: var(--nav-height); min-height: 100vh;
}
.container { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.page-header {
  padding: 32px 0 24px; border-bottom: 1px solid var(--border); margin-bottom: 28px;
}
.page-header h1 {
  font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-white), var(--text-secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-header p { color: var(--text-secondary); font-size: 15px; margin-top: 6px; }
.section { padding: 28px 0; }
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════════
   GRID SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   STAT CARDS
   ═══════════════════════════════════════════════════════════════ */
.stat-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.stat-card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent); opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.stat-icon.green { background: var(--accent-dim); color: var(--accent); }
.stat-icon.blue { background: var(--blue-dim); color: var(--blue); }
.stat-icon.gold { background: var(--gold-dim); color: var(--gold); }
.stat-icon.red { background: var(--red-dim); color: var(--red); }
.stat-icon.purple { background: var(--purple-dim); color: var(--purple); }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.stat-value { font-size: 26px; font-weight: 800; margin: 4px 0; letter-spacing: -0.5px; }
.stat-change { font-size: 12px; font-weight: 600; }
.stat-change.up { color: var(--accent); }
.stat-change.down { color: var(--red); }

/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
.card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s;
}
.card:hover { border-color: var(--border-light); box-shadow: var(--shadow-md); }
.card-header {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3 { font-size: 16px; font-weight: 700; }
.card-body { padding: 22px; }
.card-footer { padding: 14px 22px; border-top: 1px solid var(--border); }

/* ═══════════════════════════════════════════════════════════════
   TRANSACTION CARD
   ═══════════════════════════════════════════════════════════════ */
.tx-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px; transition: all 0.2s;
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
}
.tx-card:hover { border-color: var(--accent); background: var(--bg-card-hover); }
.tx-area { font-weight: 700; font-size: 14px; }
.tx-project { font-size: 12px; color: var(--text-secondary); }
.tx-meta { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.tx-meta span {
  font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px;
}
.tx-meta span strong { color: var(--text-primary); font-weight: 600; }
.tx-price { text-align: right; }
.tx-price .amount { font-size: 18px; font-weight: 800; color: var(--accent); }
.tx-price .psf { font-size: 11px; color: var(--text-muted); }

.tx-badge {
  display: inline-block; padding: 3px 8px; border-radius: 20px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.tx-badge.sale { background: var(--accent-dim); color: var(--accent); }
.tx-badge.mortgage { background: var(--blue-dim); color: var(--blue); }
.tx-badge.rental { background: var(--purple-dim); color: var(--purple); }
.tx-badge.resale { background: var(--gold-dim); color: var(--gold); }
.tx-badge.offplan { background: var(--gold-dim); color: var(--gold); }
.tx-badge.cash { background: var(--accent-dim); color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════════ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--bg-input); }
th {
  padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
td {
  padding: 12px 16px; font-size: 13px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
tr:hover td { background: var(--bg-card-hover); }
td strong { color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════════════
   FORMS & FILTERS
   ═══════════════════════════════════════════════════════════════ */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap; padding: 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 24px; align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 160px; }
.filter-group label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

select, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], textarea {
  padding: 10px 14px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary); font-size: 13px;
  outline: none; transition: border-color 0.2s; width: 100%;
}
select:focus, input:focus, textarea:focus { border-color: var(--accent); }
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238899b4'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; font-size: 13px; font-weight: 600;
  border-radius: var(--radius-sm); cursor: pointer; border: none;
  transition: all 0.2s; white-space: nowrap;
}
.btn-primary { background: var(--gradient-accent); color: #000; }
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION (Homepage)
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--gradient-hero); padding: 60px 0 40px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(0,212,170,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(59,130,246,0.04) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  font-size: 42px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px;
}
.hero h1 .highlight { color: var(--accent); }
.hero p { font-size: 17px; color: var(--text-secondary); max-width: 600px; margin: 0 auto 30px; }

.hero-search {
  max-width: 580px; margin: 0 auto; position: relative;
}
.hero-search input {
  width: 100%; padding: 16px 24px 16px 50px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); color: var(--text-primary);
  font-size: 15px; outline: none; transition: all 0.3s;
}
.hero-search input:focus { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.hero-search .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.hero-search .search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); max-height: 300px; overflow-y: auto;
  box-shadow: var(--shadow-lg); display: none; z-index: 10;
}
.hero-search .search-results.active { display: block; }
.hero-search .search-results a {
  display: block; padding: 12px 20px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.hero-search .search-results a:hover { background: var(--accent-dim); color: var(--text-white); }

/* ═══════════════════════════════════════════════════════════════
   CHART CONTAINER
   ═══════════════════════════════════════════════════════════════ */
.chart-container {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px;
}
.chart-container h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.chart-container canvas { width: 100% !important; max-height: 350px; }

/* ═══════════════════════════════════════════════════════════════
   AREA CARDS
   ═══════════════════════════════════════════════════════════════ */
.area-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; transition: all 0.3s;
  cursor: pointer;
}
.area-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.area-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.area-card .area-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.area-card .area-stats span { font-size: 12px; color: var(--text-muted); }
.area-card .area-stats strong { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   PROJECT CARDS
   ═══════════════════════════════════════════════════════════════ */
.project-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s;
}
.project-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project-card .project-img {
  height: 160px; background: var(--bg-input);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 40px;
}
.project-card .project-info { padding: 16px; }
.project-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.project-card .project-dev { font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.project-card .project-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.project-card .project-meta span { font-size: 11px; color: var(--text-muted); }

/* Progress bar */
.progress-bar { height: 6px; background: var(--bg-input); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.progress-bar .fill { height: 100%; background: var(--gradient-accent); border-radius: 3px; transition: width 0.5s; }

/* ═══════════════════════════════════════════════════════════════
   AGENT CARDS
   ═══════════════════════════════════════════════════════════════ */
.agent-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; text-align: center; transition: all 0.3s;
}
.agent-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.agent-avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 24px; font-weight: 700;
}
.agent-card h4 { font-size: 15px; font-weight: 700; }
.agent-card .agent-agency { font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.agent-card .agent-stats { display: flex; justify-content: center; gap: 16px; }
.agent-card .agent-stats span { font-size: 11px; color: var(--text-muted); }
.agent-card .agent-actions { margin-top: 14px; display: flex; gap: 8px; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   MORTGAGE CALCULATOR
   ═══════════════════════════════════════════════════════════════ */
.calc-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.calc-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.calc-result {
  background: var(--accent-dim); border-radius: var(--radius-md);
  padding: 20px; text-align: center; margin-top: 20px;
}
.calc-result .monthly { font-size: 36px; font-weight: 800; color: var(--accent); }
.calc-result .label { font-size: 13px; color: var(--text-secondary); }

@media (max-width: 640px) { .calc-row { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════════════════════════ */
.map-container {
  width: 100%; height: 600px; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
}
.map-container #map { width: 100%; height: 100%; }

.map-popup { font-family: var(--font); }
.map-popup h4 { font-size: 14px; font-weight: 700; color: #111; }
.map-popup p { font-size: 12px; color: #555; margin: 4px 0; }

/* ═══════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════ */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px;
}
.pagination a, .pagination span {
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  color: var(--text-secondary); transition: all 0.2s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); color: #000; border-color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - var(--nav-height));
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.auth-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.auth-card p { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input { width: 100%; }
.form-error { background: var(--red-dim); color: var(--red); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; }
.form-success { background: var(--accent-dim); color: var(--accent); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 48px 0 28px; margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text-white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 13px; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */
.about-hero { text-align: center; padding: 60px 0; }
.about-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 16px; }
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center; padding: 60px 20px;
}
.empty-state .icon { font-size: 48px; color: var(--text-muted); margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 8px; } .gap-md { gap: 16px; } .gap-lg { gap: 24px; }
.mt-sm { margin-top: 8px; } .mt-md { margin-top: 16px; } .mt-lg { margin-top: 24px; }
.mb-sm { margin-bottom: 8px; } .mb-md { margin-bottom: 16px; } .mb-lg { margin-bottom: 24px; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-mono { font-family: var(--font-mono); }
.hidden { display: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Loading spinner */
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tabs */
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tabs a {
  padding: 12px 20px; font-size: 13px; font-weight: 600; color: var(--text-muted);
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.tabs a:hover, .tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Hero background image */
.hero {
  background-image: linear-gradient(rgba(10,10,30,0.7), rgba(10,10,30,0.85)), url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=1600&h=600&fit=crop');
  background-size: cover;
  background-position: center;
  min-height: 350px;
  display: flex;
  align-items: center;
}

/* Area cards with images */
.area-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}
.area-card.has-img {
  padding: 0;
  overflow: hidden;
}
.area-card.has-img .area-card-body {
  padding: 15px 18px 18px;
}
.area-card.has-img h4 { margin: 0 0 8px; }

/* Project cards with images */
.project-card { padding: 0; overflow: hidden; }
.project-info { padding: 15px 18px 18px; }
