@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #0c1424;
  --panel: rgba(255, 255, 255, 0.04);
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8f1ff;
  --muted: #b8c6df;
  --blue-900: #0b1f3a;
  --blue-700: #12325a;
  --blue-400: #55c0ff;
  --red-600: #e63946;
  --red-500: #ff5c70;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Cairo', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(230, 57, 70, 0.08), transparent 28%), radial-gradient(circle at 80% 0%, rgba(17, 112, 202, 0.12), transparent 35%), radial-gradient(circle at 25% 80%, rgba(17, 112, 202, 0.08), transparent 30%), linear-gradient(135deg, #081020, #0f2138 45%, #0a1629);
  color: var(--text);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', 'Cairo', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.2px;
}

p {
  margin: 0;
}

main {
  margin-top: 8px;
}

::selection {
  background: rgba(230, 57, 70, 0.35);
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  padding: 90px 0;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  background: rgba(10, 17, 34, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar.solid {
  background: rgba(8, 14, 28, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--red-600), #d62234);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-text strong {
  display: block;
}

.brand-text small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 600;
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--red-500);
  background: rgba(230, 57, 70, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.nav-toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  z-index: 0;
}

.hero::before {
  width: 380px;
  height: 380px;
  background: rgba(17, 112, 202, 0.35);
  inset: -120px auto auto -120px;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: rgba(230, 57, 70, 0.3);
  inset: auto -100px -80px auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
}

.hero .lead {
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 600px;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 112, 202, 0.12);
  color: var(--blue-400);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--red-600), #c71d2a);
  color: #fff;
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn.ghost:hover {
  border-color: rgba(230, 57, 70, 0.4);
  color: var(--red-500);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.stat {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.stat span {
  display: block;
  color: var(--muted);
}

.stat strong {
  font-size: 24px;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: start;
}

.glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.highlight-card {
  padding: 24px;
  width: min(440px, 95vw);
}

.highlight-card h3 {
  margin: 12px 0 8px;
}

.location {
  color: var(--muted);
  margin: 0 0 8px;
}

.price {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}

.chip-blue {
  background: rgba(17, 112, 202, 0.15);
  color: #8ad3ff;
  border-color: rgba(17, 112, 202, 0.35);
}

.chip-red {
  background: rgba(230, 57, 70, 0.18);
  color: #ff9ba6;
  border-color: rgba(230, 57, 70, 0.4);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.label {
  color: var(--muted);
  font-size: 13px;
}

.floating-note {
  position: absolute;
  left: -26px;
  bottom: -18px;
  background: linear-gradient(135deg, var(--blue-700), #0f2649);
  border: 1px solid rgba(17, 112, 202, 0.35);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 90%;
}

.floating-note span {
  display: block;
  color: var(--muted);
}

.floating-note strong {
  font-size: 16px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 30px);
}

.muted {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card h3 {
  margin: 10px 0;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red-600), #c71d2a);
  display: grid;
  place-items: center;
}

.icon-circle.alt {
  background: linear-gradient(145deg, var(--blue-700), #0f2649);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.8;
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border);
  color: var(--muted);
  margin-top: 8px;
}

.listings {
  position: relative;
}

.filters {
  display: inline-flex;
  gap: 8px;
  justify-content: flex-end;
}

.filters .chip {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
}

.filters .chip.active {
  background: rgba(17, 112, 202, 0.15);
  border-color: rgba(17, 112, 202, 0.35);
  color: #8ad3ff;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.listing-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 190px auto;
}

.listing-media {
  background-size: cover;
  background-position: center;
  position: relative;
}

.listing-body {
  padding: 16px 16px 18px;
  display: grid;
  gap: 8px;
}

.meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.link-btn {
  border: none;
  background: rgba(17, 112, 202, 0.12);
  color: #8ad3ff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: start;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.info {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
}

.contact-form {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(17, 112, 202, 0.5);
  border-color: rgba(17, 112, 202, 0.4);
}

.tiny {
  font-size: 13px;
}

.footer {
  padding: 26px 0 36px;
  border-top: 1px solid var(--border);
  background: rgba(8, 14, 28, 0.95);
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    width: 100%;
  }

  .floating-note {
    position: relative;
    left: 0;
    bottom: 0;
    width: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .filters {
    justify-content: flex-start;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 760px) {
  .navbar {
    padding: 12px 5vw;
  }

  .nav-links {
    position: absolute;
    top: 62px;
    right: 5vw;
    flex-direction: column;
    background: rgba(10, 17, 34, 0.96);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    min-width: 200px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    max-height: 260px;
    opacity: 1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section {
    padding: 70px 0;
  }
}
