/* ============================================
   RentRunner — Proptech Editorial Theme
   Fonts: Fraunces (display) + DM Sans (body)
   Palette: Deep navy + warm amber + cream
   ============================================ */

:root {
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --navy-light: #334155;
  --amber: #f59e0b;
  --amber-light: #fcd34d;
  --cream: #faf7f2;
  --cream-dark: #f0ebe3;
  --text-dark: #0f172a;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --white: #ffffff;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ---- HERO ---- */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--amber-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
}

/* Property card */
.prop-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(15, 23, 42, 0.12), 0 1px 4px rgba(15, 23, 42, 0.08);
  position: relative;
}
.prop-card-img {
  height: 200px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}
.prop-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,23,42,0.6) 100%);
}
.prop-img-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}
.shape-1 { width: 120px; height: 120px; background: var(--amber); top: 20px; left: 20px; }
.shape-2 { width: 80px; height: 80px; background: var(--amber-light); top: 60px; left: 100px; }
.shape-3 { width: 60px; height: 60px; background: var(--white); bottom: 30px; right: 30px; opacity: 0.1; }
.prop-card-body { padding: 1.5rem; }
.prop-price { font-family: 'Fraunces', serif; font-size: 1.75rem; font-weight: 600; color: var(--navy); }
.prop-price span { font-size: 1rem; font-weight: 400; color: var(--text-mid); font-family: 'DM Sans', sans-serif; }
.prop-address { font-size: 0.9rem; color: var(--text-mid); margin-top: 0.25rem; }
.prop-meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-light); }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); }
.prop-status { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.8rem; color: var(--amber); font-weight: 500; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.prop-progress { margin-top: 0.75rem; }
.progress-bar { height: 4px; background: var(--cream-dark); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; width: 68%; background: linear-gradient(90deg, var(--amber) 0%, var(--amber-light) 100%); border-radius: 2px; }
.progress-label { font-size: 0.75rem; color: var(--text-light); margin-top: 0.375rem; }

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat { background: var(--white); border-radius: 12px; padding: 1rem; text-align: center; box-shadow: 0 2px 12px rgba(15,23,42,0.06); }
.stat-num { font-family: 'Fraunces', serif; font-size: 1.75rem; font-weight: 600; color: var(--navy); }
.stat-label { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }

/* ---- HOW IT WORKS ---- */
.how {
  background: var(--navy);
  padding: 6rem 2rem;
}
.how-header { max-width: 1200px; margin: 0 auto 4rem; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); font-weight: 500; margin-bottom: 1rem; }
.how-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.02em;
}
.steps {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.step {
  flex: 1;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  position: relative;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--amber);
  opacity: 0.4;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.step p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.step-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, transparent 100%);
  flex-shrink: 0;
}

/* ---- FEATURES ---- */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}
.feature-card--wide { grid-column: span 2; }
.feature-icon { margin-bottom: 1.25rem; }
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.feature-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ---- MANIFESTO ---- */
.manifesto {
  background: var(--cream-dark);
  padding: 6rem 2rem;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.manifesto-aside { display: flex; flex-direction: column; gap: 2rem; }
.manifesto-stat { border-left: 3px solid var(--amber); padding-left: 1.5rem; }
.manifesto-num { font-family: 'Fraunces', serif; font-size: 2.5rem; font-weight: 600; color: var(--navy); }
.manifesto-desc { font-size: 0.875rem; color: var(--text-mid); margin-top: 0.25rem; }

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background: var(--navy);
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); font-weight: 500; margin-bottom: 1.5rem; }
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.closing-body { font-size: 1.125rem; color: var(--text-light); line-height: 1.7; max-width: 480px; margin: 0 auto; }
.closing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}
.cv-circle {
  border-radius: 50%;
  border: 2px solid var(--amber);
  opacity: 0.4;
}
.cv-circle--1 { width: 16px; height: 16px; }
.cv-circle--2 { width: 24px; height: 24px; border-color: var(--amber-light); }
.cv-circle--3 { width: 32px; height: 32px; background: var(--amber); opacity: 0.6; }
.cv-line { width: 60px; height: 2px; background: linear-gradient(90deg, var(--amber), var(--amber-light)); opacity: 0.5; }

/* ---- FOOTER ---- */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.footer-tagline { font-size: 0.8125rem; color: var(--text-light); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--wide { grid-column: span 2; }
  .steps { flex-direction: column; gap: 1rem; }
  .step-connector { width: 2px; height: 32px; background: linear-gradient(180deg, var(--amber), transparent); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .how { padding: 4rem 1.25rem; }
  .features { padding: 4rem 1.25rem; }
  .manifesto { padding: 4rem 1.25rem; }
  .closing { padding: 5rem 1.25rem; }
}