/* GuestLens landing page - reuses :root theme tokens from style.css.
   All classes are scoped with the `lp-` prefix so they never clash with the
   event/search app styles. */

.lp {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.lp *,
.lp *::before,
.lp *::after { box-sizing: border-box; }

.lp img { max-width: 100%; display: block; }

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

/* The app's style.css turns <main> into a 340px + 1fr two-column grid for the
   search UI. Reset it here so landing sections stack full-width. */
.lp main {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.lp-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.lp-accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------- */
/* Buttons                                                                     */
/* --------------------------------------------------------------------------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background-position 0.4s, background 0.15s;
  white-space: nowrap;
}
.lp-btn-primary {
  color: #fff;
  font-weight: 800;
  /* Deeper gradient (no light cyan) so white label stays high-contrast. */
  background: linear-gradient(135deg, #5b74f0 0%, #7c3aed 100%);
  background-size: 160% 160%;
  text-shadow: 0 1px 2px rgba(23, 26, 61, 0.4);
  box-shadow: 0 8px 22px rgba(109, 139, 255, 0.35);
}
.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  background-position: 100% 0;
}
.lp-btn-ghost {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-strong);
}
.lp-btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.07);
}
.lp-btn-sm { padding: 9px 16px; font-size: 13px; }
.lp-btn-lg { padding: 15px 30px; font-size: 16px; }
.lp-btn:active { transform: translateY(0); }

/* --------------------------------------------------------------------------- */
/* Navbar                                                                      */
/* --------------------------------------------------------------------------- */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.lp-nav-logo { height: 54px; width: auto; }
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 600;
}
.lp-nav-links a { color: var(--muted); transition: color 0.15s; }
.lp-nav-links a:hover { color: var(--text); }
.lp-nav-actions { display: flex; align-items: center; gap: 12px; }

.lp-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.lp-nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* --------------------------------------------------------------------------- */
/* Hero                                                                        */
/* --------------------------------------------------------------------------- */

.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 90%;
  z-index: -1;
  background:
    radial-gradient(38% 55% at 20% 20%, rgba(109, 139, 255, 0.20), transparent 60%),
    radial-gradient(36% 50% at 82% 12%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(40% 55% at 70% 80%, rgba(34, 211, 238, 0.16), transparent 60%);
  filter: blur(10px);
}
.lp-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(109, 139, 255, 0.12);
  border: 1px solid rgba(109, 139, 255, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.lp-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 18px;
}
.lp-hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 30px;
}
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.lp-hero-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero visual: a product-window mockup of the gallery + selfie search. */
.lp-hero-visual {
  position: relative;
  animation: lpFloat 7s ease-in-out infinite;
}
.lp-mock {
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(233, 237, 247, 0.8), rgba(233, 237, 247, 0.5));
  border-bottom: 1px solid var(--border);
}
.lp-mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.lp-mock-dot:nth-child(1) { background: #f9a8b4; }
.lp-mock-dot:nth-child(2) { background: #fcd485; }
.lp-mock-dot:nth-child(3) { background: #8ee2b0; }
.lp-mock-url {
  margin-left: 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-mock-body { padding: 18px; }
.lp-mock-search {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.lp-mock-search-ic {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-grad);
}
.lp-mock-search-go {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--accent-grad);
  padding: 6px 12px;
  border-radius: 999px;
}
.lp-mock-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.lp-shot {
  flex: 0 0 calc((100% - 20px) / 3);
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.lp-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-mock-selfie {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(30, 41, 59, 0.2);
}
.lp-hero-badge {
  position: absolute;
  right: -14px;
  bottom: -16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  animation: lpFloat2 5s ease-in-out infinite;
}
.lp-hero-badge img { height: 34px; width: auto; }
@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes lpFloat2 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------- */
/* Generic section scaffolding                                                 */
/* --------------------------------------------------------------------------- */

.lp-section { padding: 80px 0; }
.lp-section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(233, 237, 247, 0.6));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lp-section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.lp-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lp-section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
}
.lp-section-head p {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------- */
/* Features                                                                    */
/* --------------------------------------------------------------------------- */

.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-feature {
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.lp-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(109, 139, 255, 0.4);
}
.lp-feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 24px;
  margin-bottom: 16px;
  background: rgba(109, 139, 255, 0.12);
}
.lp-feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.lp-feature p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------- */
/* How it works                                                                */
/* --------------------------------------------------------------------------- */

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.lp-step {
  position: relative;
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px 26px;
}
.lp-step-num {
  position: absolute;
  top: -18px;
  left: 26px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--accent-grad);
  box-shadow: 0 8px 18px rgba(109, 139, 255, 0.4);
}
.lp-step h3 { font-size: 19px; font-weight: 700; margin: 10px 0 8px; }
.lp-step p { font-size: 15px; color: var(--muted); margin: 0; }

.lp-link-callout {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(109, 139, 255, 0.1), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(109, 139, 255, 0.25);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.lp-link-callout .lp-link-pill {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
}
.lp-link-callout p { margin: 0; font-size: 15px; color: var(--text); }

/* --------------------------------------------------------------------------- */
/* Audiences                                                                   */
/* --------------------------------------------------------------------------- */

.lp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-audience {
  border-radius: var(--radius);
  padding: 28px 26px;
  color: #fff;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.lp-audience h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; line-height: 1.25; }
.lp-audience p { font-size: 14.5px; margin: 0; opacity: 0.95; }
.lp-audience-icon {
  font-size: 26px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 18px;
}
.lp-audience-1 { background: linear-gradient(150deg, #6d8bff, #8b5cf6); }
.lp-audience-2 { background: linear-gradient(150deg, #8b5cf6, #22d3ee); }
.lp-audience-3 { background: linear-gradient(150deg, #22d3ee, #6d8bff); }

/* --------------------------------------------------------------------------- */
/* FAQ                                                                         */
/* --------------------------------------------------------------------------- */

.lp-faq { max-width: 780px; margin: 0 auto; }
.lp-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel-solid);
  margin-bottom: 12px;
  overflow: hidden;
}
.lp-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-faq-q .lp-faq-icon {
  flex: none;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(109, 139, 255, 0.14);
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.2s;
}
.lp-faq-item.open .lp-faq-icon { transform: rotate(45deg); }
.lp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.lp-faq-a p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------- */
/* Demo band                                                                   */
/* --------------------------------------------------------------------------- */

.lp-demo-band {
  text-align: center;
  border-radius: var(--radius);
  padding: 52px 28px;
  background: linear-gradient(135deg, rgba(109, 139, 255, 0.14), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(109, 139, 255, 0.28);
}
.lp-demo-band h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}
.lp-demo-band p { font-size: 17px; color: var(--muted); margin: 0 0 24px; }

/* --------------------------------------------------------------------------- */
/* Contact form                                                                */
/* --------------------------------------------------------------------------- */

.lp-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.lp-contact-info h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}
.lp-contact-info p { font-size: 16px; color: var(--muted); margin: 0 0 20px; }
.lp-contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.lp-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 12px;
}
.lp-contact-list .lp-check {
  flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--match);
  font-weight: 800;
}
.lp-contact-email {
  font-weight: 700;
  color: var(--accent);
}

.lp-form {
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.lp-field { margin-bottom: 16px; }
.lp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lp-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.lp-field label .lp-req { color: var(--danger); }
.lp-field input,
.lp-field select,
.lp-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lp-field textarea { resize: vertical; min-height: 96px; }
.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 139, 255, 0.18);
}
.lp-form .lp-btn { width: 100%; }
.lp-form-status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.lp-form-status.ok {
  color: #065f46;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.lp-form-status.err {
  color: #9f1239;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.4);
}

/* --------------------------------------------------------------------------- */
/* Footer                                                                      */
/* --------------------------------------------------------------------------- */

.lp-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: linear-gradient(180deg, rgba(233, 237, 247, 0.4), rgba(233, 237, 247, 0.7));
}
.lp-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.lp-footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.lp-footer-brand p { font-size: 14px; color: var(--muted); max-width: 300px; margin: 0; }
.lp-footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}
.lp-footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.lp-footer-col a:hover { color: var(--accent); }
.lp-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------- */
/* Reveal on scroll                                                            */
/* --------------------------------------------------------------------------- */

.lp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* --------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { max-width: 420px; margin: 0 auto; }
  .lp-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .lp-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .lp-nav-links { display: none; }
  .lp-nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .lp-nav-links.open a { padding: 8px 0; }
  .lp-nav-toggle { display: flex; }
  .lp-nav .lp-nav-cta-desktop { display: none; }
  .lp-nav-links.open .lp-nav-cta-mobile {
    display: inline-flex;
    margin-top: 8px;
  }

  .lp-section { padding: 60px 0; }
  .lp-steps { grid-template-columns: 1fr; gap: 30px; }
  .lp-audience-grid { grid-template-columns: 1fr; }
  .lp-field-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .lp-container { padding: 0 16px; }
  .lp-hero { padding: 56px 0 48px; }
  .lp-feature-grid { grid-template-columns: 1fr; }
  .lp-footer-top { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  .lp-hero-visual,
  .lp-hero-badge,
  .lp-reveal { animation: none !important; transition: none !important; }
  .lp-reveal { opacity: 1; transform: none; }
}

.lp-nav-cta-mobile { display: none; }
