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

:root {
  --bg-white: #FFFFFF;
  --bg-sand: #F7F6F2;
  --bg-sand-dark: #EFECE6;
  --text-navy: #0A2540;
  --text-slate: #425466;
  --text-muted: #697386;
  --cobalt: #0052FF;
  --cobalt-hover: #003ECF;
  --cobalt-light: #EBF1FF;
  --coral: #FF5A36;
  --coral-light: #FFF0ED;
  --emerald: #00875A;
  --emerald-light: #E3FCEF;
  --border-light: #E6E8EB;
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px -5px rgba(10, 37, 64, 0.06), 0 4px 12px -2px rgba(10, 37, 64, 0.04);
  --shadow-search: 0 20px 50px -10px rgba(10, 37, 64, 0.12), 0 6px 20px -4px rgba(10, 37, 64, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Floating Pill Navbar */
.nav-wrapper {
  position: sticky;
  top: 20px;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}

.floating-nav {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 960px;
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-navy);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-pin {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--cobalt);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-slate);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--cobalt);
}

.btn-primary {
  background: var(--cobalt);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

/* Centered Search Hero */
.hero-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 56px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-sand);
  border: 1px solid var(--bg-sand-dark);
  color: var(--text-navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-navy);
  max-width: 850px;
  margin: 0 auto 20px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-slate);
  max-width: 720px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.6;
}

/* Giant Airbnb-Style Search Bar */
.airbnb-search-bar {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 12px 12px 12px 28px;
  max-width: 980px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-search);
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.9fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.search-field {
  padding-right: 16px;
  border-right: 1px solid var(--border-light);
}

.search-field:nth-child(3) {
  border-right: none;
}

.search-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-navy);
  margin-bottom: 4px;
}

.search-select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-slate);
  outline: none;
  cursor: pointer;
}

.search-cta-btn {
  background: var(--cobalt);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 18px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}

.search-cta-btn:hover {
  background: var(--cobalt-hover);
}

/* Quick City Map Pills */
.city-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.city-pill {
  background: var(--bg-sand);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-slate);
  cursor: pointer;
  transition: all 0.15s;
}

.city-pill:hover,
.city-pill.active {
  background: var(--cobalt-light);
  color: var(--cobalt);
  border-color: rgba(0, 82, 255, 0.25);
}

/* Directory Section */
.directory-section {
  background: var(--bg-sand);
  padding: 56px 24px 72px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.directory-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.directory-count {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-navy);
  letter-spacing: -0.02em;
}

.directory-count span {
  color: var(--cobalt);
}

.keyword-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  min-width: 300px;
}

.keyword-search-box input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  width: 100%;
  color: var(--text-navy);
}

/* 3-Per-Row Clean Project Card Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-search);
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.city-badge {
  background: var(--cobalt-light);
  color: var(--cobalt);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.fresh-badge {
  background: var(--coral-light);
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.card-valuation {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-navy);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.card-address {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 10px;
}

.card-summary {
  font-size: 0.9rem;
  color: var(--text-slate);
  margin-bottom: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-gc-box {
  background: var(--bg-sand);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.card-gc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.card-gc-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-navy);
}

.card-trades {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.trade-chip {
  font-size: 0.75rem;
  font-weight: 600;
  background: #F1F5F9;
  color: var(--text-slate);
  padding: 4px 10px;
  border-radius: 8px;
}

.card-btn {
  width: 100%;
  background: var(--bg-white);
  color: var(--cobalt);
  border: 1.5px solid var(--cobalt);
  border-radius: 12px;
  padding: 11px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.card-btn:hover {
  background: var(--cobalt);
  color: #fff;
}

/* How It Works Section */
.steps-section {
  padding: 72px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-slate);
  font-size: 1.08rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--bg-sand);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cobalt);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-slate);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
  background: var(--bg-sand);
  padding: 72px 24px;
  border-top: 1px solid var(--border-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border: 2px solid var(--cobalt);
  position: relative;
}

.popular-pill {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--cobalt);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.price-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-navy);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.price-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
}

.price-features li {
  font-size: 0.92rem;
  color: var(--text-slate);
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

/* Slide-over Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  display: flex;
}

.drawer-panel {
  background: var(--bg-white);
  width: 100%;
  max-width: 540px;
  height: 100%;
  padding: 36px 32px;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(10, 37, 64, 0.15);
}

.drawer-close {
  background: var(--bg-sand);
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Subtle Corner Domain Preview Switcher */
.floating-domain-pill {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.floating-domain-pill select {
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  color: var(--text-navy);
  font-size: 0.78rem;
  cursor: pointer;
  outline: none;
}

@media (max-width: 920px) {
  .airbnb-search-bar {
    grid-template-columns: 1fr;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
  }
  .project-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
