/* ============================================
   PRODUCT LANDING PAGE
   Shown at root URL (/) for unauthenticated visitors
   with no listing slug in the path.
   ============================================ */

.landing-view {
  background: #fff;
  color: var(--charcoal);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  position: relative;
}

/* ===== HERO ===== */
.landing-hero {
  background: linear-gradient(135deg, var(--alpine-blue) 0%, var(--pine) 50%, var(--charcoal) 100%);
  color: #fff;
  padding: 1.75rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}

.landing-top-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.landing-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.landing-brand-bold { font-weight: 700; }
.landing-brand-light { font-weight: 400; opacity: 0.85; margin-left: 0.25rem; }

.landing-top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-signin-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: background 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.landing-signin-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.landing-lang-pill {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}

.landing-lang-pill:hover {
  background: rgba(255,255,255,0.2);
}

.landing-hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.landing-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.landing-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.landing-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}

.landing-btn-primary {
  background: #fff;
  color: var(--charcoal);
}

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

.landing-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

.landing-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== SOCIAL PROOF BAR ===== */
.landing-stats {
  background: var(--ice);
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  text-align: center;
}

.landing-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--alpine-blue);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.landing-stat-label {
  font-size: 0.82rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== SECTION COMMON ===== */
.landing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.landing-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  color: var(--charcoal);
  margin: 0 0 2.5rem;
}

/* ===== FEATURES GRID ===== */
.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.landing-feature {
  background: #fff;
  border: 1px solid var(--ice);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border-color: var(--alpine-blue-light);
}

.landing-feature-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.landing-feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.4rem;
}

.landing-feature-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
}

/* ===== HOW IT WORKS ===== */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.landing-step {
  text-align: center;
  padding: 0 0.5rem;
}

.landing-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--alpine-blue) 0%, var(--pine) 100%);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}

.landing-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.4rem;
}

.landing-step-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
}

/* ===== EXISTING LISTINGS ===== */
.landing-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.landing-listing-card {
  background: #fff;
  border: 1px solid var(--ice);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.landing-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.landing-listing-photo {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--alpine-blue-light) 0%, var(--pine-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
}

.landing-listing-body {
  padding: 1rem 1.25rem;
}

.landing-listing-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.2rem;
}

.landing-listing-location {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
}

/* ===== BOTTOM CTA ===== */
.landing-bottom-cta {
  background: linear-gradient(135deg, var(--alpine-blue) 0%, var(--pine) 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.landing-bottom-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.landing-bottom-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.75rem;
}

/* ===== FOOTER ===== */
.landing-footer {
  background: #fff;
  border-top: 1px solid var(--ice);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.landing-footer a {
  color: var(--slate);
  text-decoration: none;
}

.landing-footer a:hover {
  color: var(--alpine-blue);
}

.landing-footer-sep {
  color: var(--ice);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .landing-hero { padding: 1.25rem 1rem 3rem; }
  .landing-top-bar { margin-bottom: 2.5rem; }
  .landing-section { padding: 3rem 1.25rem; }
  .landing-stats { gap: 2rem; padding: 1.75rem 1rem; }
  .landing-stat-value { font-size: 1.6rem; }
}
