/* landing.css — REX teal design system. */

:root {
  --teal-deep:   #005C5C;
  --teal-primary: #008080;
  --teal-light:   #00A3A3;
  --teal-pale:    #E0F7F7;
  --dark:         #0A1A1A;
  --white:        #FFFFFF;
  --gray-100:     #F5FAFA;
  --gray-200:     #EBF4F4;
  --gray-600:     #4A6B6B;
  --accent:       #00D4A8;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.12);
  --radius:       8px;
}

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

body {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,128,128,.08);
}
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--teal-deep); letter-spacing: -.5px; }
.logo span { color: var(--teal-light); }
.nav-location { font-size: .85rem; color: var(--gray-600); }
.nav-cta {
  background: var(--teal-primary); color: var(--white);
  padding: .5rem 1.25rem; border-radius: 6px;
  font-weight: 600; font-size: .875rem; transition: background .2s;
}
.nav-cta:hover { background: var(--teal-deep); color: var(--white); }

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(155deg, var(--white) 0%, var(--teal-pale) 50%, var(--white) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,163,163,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { max-width: 680px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--teal-pale); color: var(--teal-primary);
  border: 1.5px solid rgba(0,128,128,.2);
  padding: .35rem .85rem; border-radius: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .3px;
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--teal-primary);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; color: var(--teal-deep); line-height: 1.1; letter-spacing: -1.5px; }
h1 .accent { color: var(--teal-light); }
.hero-sub {
  font-size: 1.1rem; color: var(--gray-600); line-height: 1.6;
  margin: 1.25rem 0 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--teal-primary); color: var(--white);
  padding: .85rem 2rem; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; transition: all .2s;
  box-shadow: 0 4px 14px rgba(0,128,128,.3);
}
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,128,128,.4); }
.btn-secondary {
  background: var(--white); color: var(--teal-deep);
  padding: .85rem 2rem; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700;
  border: 2px solid var(--teal-primary);
  transition: all .2s;
}
.btn-secondary:hover { background: var(--teal-pale); }

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid rgba(0,128,128,.15);
}
.stat-item {}
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 800; color: var(--teal-deep); }
.stat-label { font-size: .78rem; color: var(--gray-600); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

/* ── HOW IT WORKS ────────────────────────── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--gray-100); }
.section-center { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-center h2 { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 800; color: var(--teal-deep); letter-spacing: -1px; }
.section-center p { color: var(--gray-600); margin-top: .75rem; font-size: 1rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 960px; margin: 0 auto; }
.step { background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); text-align: left; }
.step-icon {
  width: 48px; height: 48px; background: var(--teal-pale);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif; font-size: .7rem; font-weight: 800;
  color: var(--teal-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--teal-deep); margin-bottom: .5rem; }
.step p { font-size: .85rem; color: var(--gray-600); line-height: 1.5; }

/* ── PROPERTIES PREVIEW ─────────────────── */
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.prop-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all .2s; cursor: pointer;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prop-card-img { width: 100%; height: 180px; object-fit: cover; background: var(--gray-200); }
.prop-card-body { padding: 1rem; }
.prop-card-price { font-size: 1.1rem; font-weight: 800; color: var(--teal-deep); }
.prop-card-address { font-size: .8rem; color: var(--gray-600); margin-top: .2rem; }
.prop-card-meta { display: flex; gap: .4rem; margin-top: .6rem; }
.prop-card-meta span { font-size: .72rem; background: var(--gray-100); color: var(--gray-600); padding: .15rem .5rem; border-radius: 4px; font-weight: 600; }

/* ── CTA ─────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-primary) 100%);
  color: var(--white); text-align: center; padding: 5rem 2rem;
}
.cta-section h2 { font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn-white {
  background: var(--white); color: var(--teal-deep);
  padding: .85rem 2.5rem; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; display: inline-block;
  transition: all .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 2.5rem 2rem; text-align: center;
  font-size: .82rem;
}
footer a { color: var(--teal-light); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .steps, .props-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  nav { padding: 1rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  h1 { font-size: 2.2rem; }
  .section { padding: 3rem 1.5rem; }
}