/* ==========================================
   LandVest — Custom Landing Page Styles
   Forest green + warm sand + amber gold
   ========================================== */

:root {
  --bg: #f5f0e8;
  --bg-alt: #ede7d9;
  --bg-dark: #0f1f15;
  --fg: #1a2e1a;
  --fg-muted: #4a6650;
  --fg-light: #7a9a80;
  --accent: #d4a843;
  --accent-dark: #b8912e;
  --green: #1a3a2a;
  --green-mid: #2d5a3d;
  --green-light: #3d7a52;
  --white: #ffffff;
  --border: rgba(26, 58, 42, 0.12);
  --shadow: rgba(26, 58, 42, 0.08);
}

/* ---- 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(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

/* ---- Navbar ---- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ---- Section Shared ---- */
.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 12px;
}

.section-eyebrow.light {
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--green);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.section-title.light { color: var(--white); }

/* ---- HERO ---- */
.hero {
  padding: 72px 48px 80px;
  background: var(--bg);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

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

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--green);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.gold-text { color: var(--accent-dark); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 28px;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fg-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 28px;
}

/* ---- Hero Illustration (CSS-generated land scene) ---- */
.land-scene {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--green);
  box-shadow: 0 24px 64px rgba(26, 58, 42, 0.3);
}

.sky-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a3a2a 0%, #2d5a3d 40%, #3d7a52 60%, #c9913a 85%, #d4a843 100%);
}

.mountain-back {
  position: absolute;
  bottom: 38%;
  left: -5%;
  right: -5%;
  height: 35%;
  background: #2d5a3d;
  clip-path: polygon(0% 100%, 15% 40%, 30% 65%, 45% 30%, 60% 55%, 75% 20%, 90% 50%, 100% 100%);
  opacity: 0.7;
}

.mountain-mid {
  position: absolute;
  bottom: 32%;
  left: -5%;
  right: -5%;
  height: 28%;
  background: #3d7a52;
  clip-path: polygon(0% 100%, 10% 60%, 25% 30%, 40% 55%, 55% 25%, 70% 45%, 85% 35%, 100% 70%, 100% 100%);
  opacity: 0.85;
}

.terrain-base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(180deg, #4a8c5c 0%, #3d7a52 40%, #2d5a3d 100%);
}

/* Grid overlay */
.land-grid {
  position: absolute;
  inset: 0;
}

.grid-line {
  position: absolute;
  background: rgba(212, 168, 67, 0.15);
}

.gl-1 {
  top: 20%; left: 5%; width: 55%; height: 1px;
  transform: rotate(-8deg);
  transform-origin: left center;
}

.gl-2 {
  top: 35%; left: 10%; width: 45%; height: 1px;
  transform: rotate(-6deg);
  transform-origin: left center;
}

.gl-3 {
  top: 50%; left: 3%; width: 60%; height: 1px;
  transform: rotate(-10deg);
  transform-origin: left center;
}

.gl-4 {
  top: 65%; left: 8%; width: 50%; height: 1px;
  transform: rotate(-7deg);
  transform-origin: left center;
}

.gl-5 {
  top: 80%; left: 0%; width: 65%; height: 1px;
  transform: rotate(-9deg);
  transform-origin: left center;
}

/* Property markers */
.property-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pm-1 { top: 42%; left: 22%; }
.pm-2 { top: 30%; left: 55%; }
.pm-3 { top: 58%; left: 40%; }

.marker-pin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
}

.marker-pin::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: var(--accent);
}

.marker-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(26, 58, 42, 0.8);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Flow arrow */
.flow-arrow {
  position: absolute;
  top: 48%;
  right: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.arrow-line {
  width: 2px;
  height: 40px;
  background: var(--accent);
  position: relative;
}

.arrow-line::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--accent);
}

.arrow-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

/* Builder badge */
.builder-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 58, 42, 0.9);
  border: 1px solid var(--accent);
  padding: 8px 14px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.builder-badge span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- PROOF ---- */
.proof-section {
  padding: 28px 48px;
  background: var(--green);
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 32px;
  flex: 1;
}

.proof-item:first-child { padding-left: 0; }

.proof-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.proof-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.proof-text strong {
  color: var(--white);
  font-weight: 600;
}

.proof-sep {
  width: 1px;
  height: 40px;
  background: rgba(212, 168, 67, 0.25);
  flex-shrink: 0;
}

/* ---- HOW IT WORKS ---- */
.howitworks {
  padding: 96px 48px;
  background: var(--bg);
}

.howitworks-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

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

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.step-icon-wrap {
  margin-bottom: 16px;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.si-search {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}

.si-contract {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green) 100%);
}

.si-connect {
  background: linear-gradient(135deg, var(--green) 0%, #4a8c5c 100%);
}

.si-cash {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-tool {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(212, 168, 67, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---- MECHANICS ---- */
.mechanics-section {
  padding: 96px 48px;
  background: var(--bg-alt);
}

.mechanics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mech-title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: var(--green);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.mech-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.mech-terms {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.term-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--fg);
  font-weight: 500;
}

.term-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Contract Diagram */
.contract-diagram {
  background: var(--green);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
}

.cd-header {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  text-align: center;
}

.cd-nodes {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}

.cd-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.cn-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cn-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.cn-price {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
}

.cd-arrows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.cd-arrows::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
  width: 1px;
  height: 28px;
  background: rgba(212, 168, 67, 0.3);
}

.cd-arrow {
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}

.cd-arrow span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- NUMBERS ---- */
.numbers-section {
  padding: 96px 48px;
  background: var(--green);
}

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

.numbers-header {
  margin-bottom: 48px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.num-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.num-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.6;
}

.nc-big {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.nc-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ---- CLOSING ---- */
.closing-section {
  padding: 96px 48px 80px;
  background: var(--bg);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(212, 168, 67, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.closing-vision {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.closing-vision p {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--fg-light);
  font-style: italic;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  padding: 32px 48px;
  background: var(--green);
  border-top: 1px solid rgba(212, 168, 67, 0.15);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex: 1;
}

.footer-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mechanics-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-illustration {
    order: -1;
  }
  .land-scene {
    height: 280px;
  }
  .proof-inner {
    flex-direction: column;
    gap: 20px;
  }
  .proof-item {
    padding: 0;
  }
  .proof-sep {
    width: 40px;
    height: 1px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar {
    padding: 16px 24px;
  }
  .hero {
    padding: 48px 24px 56px;
  }
  .howitworks {
    padding: 64px 24px;
  }
  .mechanics-section {
    padding: 64px 24px;
  }
  .numbers-section {
    padding: 64px 24px;
  }
  .closing-section {
    padding: 64px 24px;
  }
  .footer {
    padding: 24px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-tagline, .footer-meta {
    font-size: 0.7rem;
  }
}