/* ── StayHQ Landing Page — clean rebuild ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.lp {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────────────────────────────────────── */
.lp-nav {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8e0ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.lp-nav-logo { color: #5b3fcf; font-size: 1.1rem; font-weight: 800; }
.lp-nav-btn {
  background: #fff;
  border: 2px solid #5b3fcf;
  color: #5b3fcf;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}
.lp-nav-btn:hover { background: #5b3fcf; color: #fff; }
.lp-nav-login { color: #5b3fcf; font-size: .88rem; font-weight: 700; text-decoration: none; }
.lp-nav-login:hover { text-decoration: underline; }
.lp-cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.lp-cta-ghost { display: inline-block; border: 2px solid #5b3fcf; color: #5b3fcf; border-radius: 10px; padding: 13px 24px; font-size: .95rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.lp-cta-ghost:hover { background: #f0eaff; }
.lp-card-link { display: inline-block; margin-top: 12px; color: #5b3fcf; font-size: .84rem; font-weight: 700; text-decoration: none; }
.lp-card-link:hover { text-decoration: underline; }
.nav-install-btn {
  background: #5b3fcf; color: #fff; border: none;
  border-radius: 8px; padding: 8px 16px;
  font-size: .82rem; font-weight: 700; cursor: pointer;
  white-space: nowrap;
}
.nav-install-btn:hover { background: #4a30b0; }
.ios-install-tooltip {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #1a1a2e; color: #fff; font-size: .8rem;
  border-radius: 8px; padding: 10px 14px; white-space: nowrap;
  z-index: 999; box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.lp-hero-bg {
  background: linear-gradient(150deg, #ddd5f5 0%, #ece6ff 40%, #f7f3ff 80%, #fff 100%);
  width: 100%;
  overflow: hidden;
}
.lp-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.lp-hero-text {
  flex: 1 1 0;
  min-width: 0;
  padding-bottom: 48px;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.9);
  border: 1.5px solid #cfc5ff;
  color: #5b3fcf;
  font-size: .78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.lp-headline {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.12;
  color: #111;
  margin-bottom: 18px;
}
.lp-headline em { font-style: normal; color: #5b3fcf; }
.lp-desc {
  font-size: .95rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 400px;
}
.lp-cta {
  display: inline-block;
  background: #5b3fcf;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px 32px;
  font-size: .98rem;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 14px;
}
.lp-cta:hover { background: #4a30b0; }
.lp-free {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: #666;
}
.lp-phone-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
}
.lp-phone-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
}
.lp-phone-img {
  width: 260px;
  max-width: 42vw;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(60,20,180,.2));
}
.lp-phone-mobile { display: none; }

/* ── Right column (phone only) ──────────────────────────────────────────────── */
.lp-right-col {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: transparent;
}

/* ── AUTH MODAL ─────────────────────────────────────────────────────────────── */
.lp-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.lp-modal {
  background: #fff; border-radius: 16px; padding: 32px 24px 24px;
  width: 100%; max-width: 360px;
  box-shadow: 0 12px 48px rgba(0,0,0,.2);
  position: relative;
}
.lp-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; font-size: 1.1rem;
  color: #888; cursor: pointer; line-height: 1;
}
.lp-modal-close:hover { color: #111; }

/* ── STRIP ─────────────────────────────────────────────────────────────────── */
.lp-strip-wrap {
  background: #fff;
  padding: 0 24px 16px;
}
.lp-strip {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #e8e0ff;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transform: translateY(-20px);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.lp-strip h2 { font-size: 1.05rem; font-weight: 800; color: #111; margin-bottom: 28px; }
.lp-strip-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
.lp-strip-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #e8e0ff;
  padding: 0 8px;
}
.lp-strip-item:last-child { border-right: none; }
.lp-strip-item svg {
  width: 26px; height: 26px;
  stroke: #5b3fcf; fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp-strip-item span { font-size: .73rem; font-weight: 600; color: #444; }

/* ── HOW IT WORKS ───────────────────────────────────────────────────────────── */
.lp-how {
  background: #f9f7ff;
  padding: 72px 24px;
  text-align: center;
}
.lp-how h2 { font-size: 1.35rem; font-weight: 900; color: #111; margin-bottom: 48px; }
.lp-how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.lp-how-step {
  flex: 1;
  padding: 0 28px;
  text-align: center;
}
.lp-how-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.lp-how-step h3 { font-size: 1rem; font-weight: 800; color: #111; margin-bottom: 8px; }
.lp-how-step p { font-size: .88rem; color: #6b7280; line-height: 1.6; }
.lp-how-divider {
  width: 1px;
  height: 44px;
  background: #ddd6fe;
  margin-top: 0;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 22px;
}

/* ── FEATURES ──────────────────────────────────────────────────────────────── */
.lp-features {
  background: #fff;
  padding: 72px 24px 80px;
  text-align: center;
}
.lp-features h2 { font-size: 1.3rem; font-weight: 900; color: #111; margin-bottom: 32px; }
.lp-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}
.lp-card {
  flex: 1;
  background: #fafafa;
  border: 1px solid #ede6ff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  min-width: 0;
}
.lp-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.lp-card-icon svg { width: 30px; height: 30px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-card h3 { font-size: .9rem; font-weight: 800; color: #111; margin-bottom: 8px; }
.lp-card p { font-size: .82rem; color: #666; line-height: 1.6; }

/* ── AUTH ──────────────────────────────────────────────────────────────────── */
.lp-auth {
  background: #eee8ff;
  padding: 56px 24px;
}
.lp-auth-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
.lp-auth-left { flex: 1; min-width: 0; }
.lp-auth-left h2 { font-size: 1.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 12px; }
.lp-auth-left p { font-size: .86rem; color: #555; line-height: 1.65; margin-bottom: 20px; }
.lp-auth-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lp-auth-bullets li { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; }
.lp-auth-bullets li svg {
  width: 18px; height: 18px; flex-shrink: 0;
  background: #5b3fcf; border-radius: 50%;
  color: #fff; padding: 3px;
}

.lp-qr-img {
  flex-shrink: 0;
  height: 260px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.15));
}

.lp-auth-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.lp-auth-card-title { font-size: .98rem; font-weight: 800; color: #111; margin-bottom: 3px; }
.lp-auth-card-sub { font-size: .78rem; color: #888; margin-bottom: 16px; }
.lp-tabs { display: flex; border: 1.5px solid #ddd5ff; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.lp-tab { flex: 1; padding: 9px; font-size: .86rem; font-weight: 700; border: none; background: #fff; color: #888; cursor: pointer; }
.lp-tab.active { background: #5b3fcf; color: #fff; }
.lp-auth-error { font-size: .8rem; color: #d32f2f; min-height: 16px; margin-bottom: 4px; }
.lp-field { margin-bottom: 10px; }
.lp-field label { display: block; font-size: .75rem; font-weight: 600; color: #555; margin-bottom: 4px; }
.lp-field input {
  width: 100%; border: 1.5px solid #ddd5ff; border-radius: 8px;
  padding: 9px 11px; font-size: .86rem; color: #111; outline: none;
}
.lp-field input:focus { border-color: #5b3fcf; }
.lp-field input::placeholder { color: #bbb; }
.lp-submit {
  width: 100%; background: #5b3fcf; color: #fff; border: none;
  border-radius: 8px; padding: 12px; font-size: .92rem; font-weight: 800;
  cursor: pointer; margin-top: 4px; margin-bottom: 8px;
}
.lp-submit:hover { background: #4a30b0; }
.lp-auth-note { text-align: center; font-size: .73rem; color: #aaa; }

/* ── Bottom section ────────────────────────────────────────────────────────── */
.lp-bottom {
  background: #eee8ff;
  padding: 56px 32px;
}
.lp-bottom-heading {
  font-size: 2rem;
  font-weight: 900;
  color: #111;
  text-align: center;
  margin-bottom: 40px;
}
.lp-bottom-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.lp-bottom-left {
  flex: 1;
}
.lp-bottom-left p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}
.lp-bottom-left .lp-auth-bullets li {
  font-size: .95rem;
  gap: 10px;
}
.lp-bottom-left .lp-auth-bullets li svg {
  width: 22px;
  height: 22px;
}
.lp-qr-img-lg {
  flex-shrink: 0;
  height: 360px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.15));
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.lp-footer {
  background: #fff;
  border-top: 1px solid #ede6ff;
  text-align: center;
  padding: 36px 24px;
}
.lp-footer-title { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.lp-stars { font-size: 1.2rem; color: #f5a623; letter-spacing: 3px; margin-bottom: 4px; }
.lp-footer-sub { font-size: .78rem; color: #999; margin-bottom: 14px; }
.lp-footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; font-size: .73rem; color: #bbb; }
.lp-footer-links a { color: #bbb; text-decoration: none; }

/* ── Hero steps ────────────────────────────────────────────────────────────── */
.lp-free-note {
  font-size: .84rem;
  color: #555;
  white-space: nowrap;
  margin-bottom: 22px;
  font-weight: 500;
}
.lp-steps {
  border-top: 1px solid #d8ceff;
  padding-top: 16px;
}
.lp-steps-title {
  font-size: .88rem;
  font-weight: 800;
  color: #5b3fcf;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 10px;
}
.lp-steps-list {
  list-style: disc;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lp-steps-list li { font-size: .83rem; color: #444; line-height: 1.5; }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Hero */
  .lp-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 20px 0;
    gap: 0;
  }
  .lp-hero-text {
    padding-bottom: 24px;
    text-align: center;
  }
  .lp-desc { margin: 0 auto 28px; }
  .lp-free { justify-content: center; }
  .lp-steps { text-align: left; }
  .lp-cta-row { flex-direction: column; align-items: stretch; }
  .lp-cta, .lp-cta-ghost { display: block; width: 100%; text-align: center; }

  /* Hide right col on mobile — phone shows inline after CTAs */
  .lp-right-col { display: none; }

  /* Mobile phone image — after CTA row */
  .lp-phone-mobile {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 20px auto 0;
    filter: drop-shadow(0 12px 32px rgba(60,20,180,.2));
  }

  /* Icon strip — 3x2 grid */
  .lp-strip-row { flex-wrap: wrap; gap: 12px 0; }
  .lp-strip-item {
    flex: 0 0 33.33%;
    border-right: none;
    padding: 0 4px;
  }
  .lp-strip-item span { font-size: .68rem; }

  /* Feature cards — full width single column */
  .lp-cards { flex-direction: column; align-items: stretch; }
  .lp-card { width: 100%; max-width: none; }

  .lp-free-note { font-size: .72rem; }

  /* How It Works — stack vertically on mobile */
  .lp-how { padding: 52px 24px; }
  .lp-how-steps { flex-direction: column; align-items: center; gap: 32px; }
  .lp-how-divider { display: none; }
  .lp-how-step { padding: 0 8px; max-width: 320px; }

  /* Bottom section — stack vertically */
  .lp-bottom { padding: 40px 20px; }
  .lp-bottom-heading { font-size: 1.5rem; margin-bottom: 24px; }
  .lp-bottom-inner {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .lp-qr-img-lg {
    height: 220px;
    align-self: center;
  }
  .lp-bottom-left .lp-cta { width: 100%; text-align: center; }
}
