/* Landing pages 2-10 (templates/whitelabel/landing/N.tpl, classes/class.LandingPage.php), on top of main.css's
   landing styles (body.of-landing-page). Each design is scoped to its body class: body.lp-N. */

/*=============================================
=            SHARED: JOIN FORM, STEPS, MODAL   =
=============================================*/

.lp:not(.lp-1) .of-landing-bg { display: none; }
.lp .ui-autocomplete { z-index: 3000; }

/* The site's intro and FAQ under every design (components/seo_content.tpl) */
.lp-seo { position: relative; z-index: 10; background: rgba(0, 0, 0, 0.35); padding: 3.5rem 2rem; color: rgba(255, 255, 255, 0.85); }
.lp-seo-inner { max-width: 760px; margin: 0 auto; }
.lp-seo h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 1.25rem; }
.lp-seo h2 + p, .lp-seo p { line-height: 1.7; margin: 0 0 1rem; }
.lp-seo p + h2 { margin-top: 2.5rem; }
.lp-seo-faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 1rem 0; }
.lp-seo-faq summary { font-weight: 700; color: #fff; cursor: pointer; }
.lp-seo-faq details p { color: rgba(255, 255, 255, 0.75); margin: 0.75rem 0 0; }

.lp-join-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

/* Step by step: one .lp-step at a time. */
.lp-join-steps .lp-step { display: none; }
.lp-join-steps .lp-step.active { display: block; animation: lp-fade-in 0.25s ease; }
@keyframes lp-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lp-progress {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.lp-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--theme-gradient);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.lp-step-q {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.3;
}
.lp-step-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: -0.5rem 0 1rem;
}

.lp-choices { display: grid; gap: 0.6rem; }
.lp-choice { display: block; margin: 0; cursor: pointer; }
.lp-choice input { position: absolute; opacity: 0; pointer-events: none; }
.lp-choice span {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  transition: all 0.2s ease;
}
.lp-choice:hover span { border-color: var(--theme-primary-light); }
.lp-choice input:checked + span { background: var(--theme-gradient); border-color: transparent; color: #fff; }
.lp-choice input:focus-visible + span { outline: 2px solid var(--theme-primary-light); outline-offset: 2px; }
.lp-choices.error { outline: 1px solid #ef5350; outline-offset: 4px; border-radius: 12px; }

.lp-step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}
.lp-back, .lp-next {
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
}
.lp-back { background: transparent; color: inherit; opacity: 0.75; padding-left: 0; }
.lp-next { background: var(--color-warning); color: #000; min-width: 130px; }
.lp-next:hover { background: #ff8555; }

/* The join form in a popup (swipe cards). */
.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lp-modal.active { display: flex; }
.lp-modal .of-signup-card { position: relative; max-height: calc(100vh - 2rem); overflow-y: auto; }
.lp-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.lp-photo-note { font-size: 0.75rem; opacity: 0.55; margin: 0 0 0.5rem; }

.lp-cta {
  display: inline-block;
  background: var(--color-warning);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lp-cta:hover { background: #ff8555; color: #fff; transform: translateY(-2px); }

/* A light join card (white background). */
.lp-light .of-form-control,
body.of-landing-page .lp-light .of-form-control {
  background: #f6f7f9;
  border: 1px solid #dfe3e8;
  color: #1a1a2e;
}
body.of-landing-page .lp-light .of-form-control::placeholder { color: #8a93a0; }
body.of-landing-page .lp-light select.of-form-control option { background: #fff; color: #1a1a2e; }
.lp-light .of-form-label { color: #4a5160 !important; }
.lp-light .of-terms-text { color: #6b7280; }
.lp-light .of-checkbox-row label { color: #374151; }
.lp-light .lp-choice span { border-color: #dfe3e8; background: #f6f7f9; color: #1a1a2e; }
.lp-light .lp-progress { background: #e5e7eb; }

/*=============================================
=            1. CLASSIC                        =
=============================================*/

/* Soft glows over main.css's dark gradient background. */
.lp-1 .of-landing-bg { background: radial-gradient(60% 50% at 18% 30%, rgba(var(--bs-primary-rgb, 30, 136, 229), 0.28), transparent 70%),
                                    radial-gradient(45% 45% at 85% 80%, rgba(255, 193, 7, 0.12), transparent 70%), #0d0d1a; }
.lp-1 .lp1-hero { padding: 2.5rem 2rem 3rem; }
.lp-1 .lp1-hero .of-landing-container { align-items: flex-start; gap: 3.5rem; }
.lp-1 .lp1-copy { max-width: 640px; padding-top: 1.5rem; }
.lp-1 .lp1-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.4rem; padding: 0.45rem 1rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.3;
  color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px; text-shadow: none;
}
.lp-1 .lp1-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2); flex: none; }
.lp-1 .lp1-headline { font-size: 4.4rem; font-weight: 800; line-height: 1.02; letter-spacing: -1.5px; margin: 0 0 1.4rem; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }
.lp-1 .lp1-headline span { background: var(--theme-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lp-1 .lp1-sub { font-size: 1.25rem; line-height: 1.65; color: rgba(255, 255, 255, 0.82); margin: 0 0 1.75rem; max-width: 560px; }
.lp-1 .lp1-chips { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(2, max-content); gap: 0.75rem 1.5rem; }
.lp-1 .lp1-chips li { display: flex; align-items: center; gap: 0.6rem; font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, 0.92); }
.lp-1 .lp1-chips i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; background: var(--theme-gradient); flex: none; }

/* Three photo cards, fanned, with a sample chat on the front one. */
.lp-1 .lp1-stack { position: relative; height: 360px; max-width: 520px; }
.lp-1 .lp1-card { position: absolute; top: 0; width: 210px; height: 300px; border-radius: 18px; overflow: hidden;
                  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); border: 3px solid rgba(255, 255, 255, 0.9); background: #222; }
.lp-1 .lp1-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-1 .lp1-card-left { left: 0; transform: rotate(-9deg) translateY(30px); opacity: 0.85; }
.lp-1 .lp1-card-right { left: 300px; transform: rotate(8deg) translateY(30px); opacity: 0.85; }
.lp-1 .lp1-card-center { left: 140px; width: 240px; height: 340px; z-index: 2; overflow: visible; }
.lp-1 .lp1-card-center img { border-radius: 15px; }
.lp-1 .lp1-bubble { position: absolute; max-width: 230px; padding: 0.6rem 0.9rem; border-radius: 16px; font-size: 0.88rem; font-weight: 500;
                    line-height: 1.35; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35); animation: lp1-pop 0.5s ease both; }
.lp-1 .lp1-bubble-in { left: -70px; bottom: 92px; background: #fff; color: #1a1a2e; border-bottom-left-radius: 4px; animation-delay: 0.4s; }
.lp-1 .lp1-bubble-out { right: -80px; bottom: 34px; background: var(--theme-gradient); color: #fff; border-bottom-right-radius: 4px; animation-delay: 1.1s; }
@keyframes lp1-pop { from { opacity: 0; transform: translateY(10px) scale(0.95); } to { opacity: 1; transform: none; } }

.lp-1 .lp1-card-form { max-width: 440px; margin-top: 0.5rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.lp-1 .lp1-card-form h2 { margin-bottom: 0.35rem; font-size: 1.8rem; }
.lp-1 .lp1-form-note { margin: 0 0 1.4rem; color: rgba(255, 255, 255, 0.7); }

/* How it works */
.lp-1 .lp1-steps { position: relative; z-index: 10; padding: 3.5rem 2rem 4rem; background: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.lp-1 .lp1-steps-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.lp-1 .lp1-steps h2 { font-size: 2rem; font-weight: 800; margin: 0 0 2.25rem; }
.lp-1 .lp1-steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: lp1; }
.lp-1 .lp1-steps li { counter-increment: lp1; position: relative; padding: 2rem 1.5rem 1.75rem; border-radius: 18px; background: rgba(255, 255, 255, 0.05);
                      border: 1px solid rgba(255, 255, 255, 0.09); }
.lp-1 .lp1-steps li::before { content: counter(lp1); position: absolute; top: 1rem; right: 1.25rem; font-size: 2.2rem; font-weight: 800; color: rgba(255, 255, 255, 0.08); }
.lp-1 .lp1-step-icon { width: 54px; height: 54px; margin: 0 auto 1rem; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: var(--theme-gradient); }
.lp-1 .lp1-steps h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.5rem; }
.lp-1 .lp1-steps p { margin: 0; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }

/* Wide screens: the photos beside the text, so the whole pitch sits above the fold. */
@media (min-width: 1300px) {
  .lp-1 .lp1-copy { max-width: none; flex: 1; display: grid; grid-template-columns: minmax(0, 560px) 1fr; column-gap: 1rem; align-items: start; }
  .lp-1 .lp1-copy > :not(.lp1-stack) { grid-column: 1; }
  .lp-1 .lp1-kicker { justify-self: start; }
  .lp-1 .lp1-stack { grid-column: 2; grid-row: 1 / span 4; align-self: center; height: 400px; width: 360px; margin: 0 auto; transform: scale(0.82); transform-origin: center; }
  .lp-1 .lp1-card-left { left: -40px; }
  .lp-1 .lp1-card-right { left: 200px; }
  .lp-1 .lp1-card-center { left: 60px; }
  .lp-1 .lp1-chips { grid-template-columns: 1fr 1fr; margin-bottom: 0; }
}
@media (max-width: 1200px) {
  .lp-1 .lp1-headline { font-size: 3.6rem; }
  .lp-1 .lp1-chips { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
  .lp-1 .lp1-hero .of-landing-container { align-items: center; gap: 2rem; }
  .lp-1 .lp1-copy { padding-top: 0; }
  .lp-1 .lp1-chips { grid-template-columns: repeat(2, max-content); justify-content: center; margin-bottom: 0; }
  .lp-1 .lp1-sub { margin-left: auto; margin-right: auto; }
  .lp-1 .lp1-stack { display: none; }
  .lp-1 .lp1-card-form { text-align: left; }
  .lp-1 .lp1-steps ol { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 576px) {
  .lp-1 .lp1-hero { padding: 1rem 1rem 2rem; }
  .lp-1 .lp1-kicker { font-size: 0.72rem; letter-spacing: 1px; }
  .lp-1 .lp1-headline { font-size: 2.7rem; letter-spacing: -0.5px; }
  .lp-1 .lp1-sub { font-size: 1.05rem; }
  .lp-1 .lp1-chips { grid-template-columns: 1fr; justify-content: start; text-align: left; max-width: 300px; margin: 0 auto; }
  .lp-1 .lp1-steps { padding: 2.5rem 1rem 3rem; }
  .lp-1 .lp1-steps h2 { font-size: 1.6rem; }
}

/*=============================================
=            2. QUIZ                           =
=============================================*/

body.lp-2 { background: #0f0f1a url('../images/landing/quiz.jpg') center right / cover no-repeat fixed; }
.lp-2::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 20, 0.92) 0%, rgba(10, 10, 20, 0.7) 45%, rgba(10, 10, 20, 0.1) 100%);
}
.lp-2 .lp-quiz-wrap { position: relative; z-index: 10; width: 100%; max-width: 1200px; margin: 0 auto; }
.lp-2 .lp-quiz-card { max-width: 480px; }
.lp-2 .lp-kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700; color: var(--theme-primary-light); }
.lp-2 h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin: 0.5rem 0 1.5rem; }
.lp-quiz-progress { height: 6px; background: rgba(255, 255, 255, 0.15); border-radius: 3px; margin-bottom: 1.5rem; overflow: hidden; }
.lp-quiz-progress span { display: block; height: 100%; width: 0; background: var(--theme-gradient); transition: width 0.3s; }
.lp-quiz-q { display: none; }
.lp-quiz-q.active { display: block; animation: lp-fade-in 0.25s ease; }
.lp-quiz.done { display: none; }
.lp-quiz-q h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 1rem; }
.lp-quiz-answer {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-quiz-answer:hover { background: var(--theme-gradient); border-color: transparent; transform: translateX(4px); }
.lp-quiz-form { display: none; }
.lp-quiz-form.active { display: block; animation: lp-fade-in 0.3s ease; }
.lp-quiz-form .lp-ready { font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); margin: 0 0 1.25rem; }

/*=============================================
=            3. SPLIT SCREEN (light)           =
=============================================*/

body.lp-3 { background: #ffffff; color: #1a1a2e; }
.lp-3 .of-landing-header { position: absolute; top: 0; left: 0; right: 0; }
.lp-3 .of-btn-login { background: var(--theme-primary); color: #fff; }
.lp-3 .lp-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.lp-3 .lp-split-photo { background: url('../images/landing/split.jpg') center 20% / cover no-repeat; position: relative; }
.lp-3 .lp-split-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%); }
.lp-3 .lp-split-main { display: flex; align-items: center; justify-content: center; padding: 6rem 3rem 3rem; }
.lp-3 .lp-split-inner { width: 100%; max-width: 440px; }
.lp-3 h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.15; margin: 0 0 0.75rem; color: #111827; }
.lp-3 h1 span { color: var(--theme-primary); }
.lp-3 .lp-sub { color: #4b5563; font-size: 1.05rem; margin: 0 0 1.75rem; }
.lp-3 .lp-join-title { font-size: 1.15rem; color: #111827; }
.lp-3 .of-btn-signup { background: var(--theme-gradient); color: #fff; }
.lp-3 .lp-trust { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; color: #6b7280; font-size: 0.85rem; }
.lp-3 .lp-trust i { color: var(--theme-primary); }
.lp-3 .of-landing-footer { background: #f3f4f6; color: #4b5563; }
.lp-3 .of-landing-footer .of-footer-links a { color: var(--theme-primary-dark); }

/*=============================================
=            4. MEMBER MOSAIC                  =
=============================================*/

.lp-4 .lp-mosaic {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: calc(100vh / 4);
  gap: 3px;
  z-index: 0;
  background: #0f0f1a url('../images/landing/mosaicbg.jpg') center / cover;
}
.lp-4 .lp-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; animation: lp-fade-in 0.8s ease both; }
.lp-4 .lp-mosaic::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10, 10, 20, 0.8) 0%, rgba(10, 10, 20, 0.55) 70%); }
.lp-4 .lp-mosaic-center { position: relative; z-index: 10; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-4 h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; margin: 0 0 0.5rem; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
.lp-4 h1 span { background: var(--theme-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-4 .lp-sub { font-size: 1.15rem; color: rgba(255, 255, 255, 0.85); margin: 0 0 1.75rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.lp-4 .of-signup-card { text-align: left; max-width: 440px; }

/*=============================================
=            5. CHAT PREVIEW                   =
=============================================*/

body.lp-5 { background: radial-gradient(circle at 20% 30%, var(--theme-shadow-color) 0%, transparent 45%), radial-gradient(circle at 85% 80%, var(--theme-shadow-color) 0%, transparent 40%), #0f0f1a; }
.lp-5 .lp-chat-side { flex: 1; display: flex; flex-direction: column; align-items: center; }
.lp-5 h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.15; margin: 0 0 1.5rem; text-align: center; }
.lp-5 h1 span { background: var(--theme-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-phone {
  width: 320px;
  border-radius: 40px;
  background: #fff;
  border: 10px solid #1f1f2e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: #1a1a2e;
  transform: rotate(-3deg);
}
.lp-phone-top { display: flex; align-items: center; gap: 0.6rem; padding: 1rem; background: var(--theme-gradient); color: #fff; }
.lp-phone-top img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.8); }
.lp-phone-top small { display: block; opacity: 0.85; font-size: 0.75rem; }
.lp-phone-top small::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 5px; }
.lp-phone-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.55rem; min-height: 330px; background: #f5f6fa; }
.lp-bubble { max-width: 80%; padding: 0.6rem 0.85rem; border-radius: 18px; font-size: 0.9rem; line-height: 1.35; opacity: 0; animation: lp-fade-in 0.4s ease forwards; }
.lp-bubble.her { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.lp-bubble.you { background: var(--theme-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.lp-bubble:nth-child(1) { animation-delay: 0.4s; }
.lp-bubble:nth-child(2) { animation-delay: 1.4s; }
.lp-bubble:nth-child(3) { animation-delay: 2.4s; }
.lp-bubble:nth-child(4) { animation-delay: 3.4s; }
.lp-typing { align-self: flex-start; background: #fff; border-radius: 18px; padding: 0.7rem 0.9rem; display: flex; gap: 4px; opacity: 0; animation: lp-fade-in 0.4s ease 4.4s forwards; }
.lp-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; animation: lp-dot 1.2s infinite; }
.lp-typing i:nth-child(2) { animation-delay: 0.2s; }
.lp-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes lp-dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.lp-phone-input { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid #e5e7eb; }
.lp-phone-input span { flex: 1; background: #f3f4f6; border-radius: 20px; padding: 0.5rem 0.9rem; color: #9ca3af; font-size: 0.85rem; }
.lp-phone-input b { width: 36px; height: 36px; border-radius: 50%; background: var(--theme-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.lp-5 .lp-sample { font-size: 0.8rem; opacity: 0.6; margin-top: 1.25rem; }

/*=============================================
=            6. LONG PAGE                      =
=============================================*/

.lp-6 .lp-hero { position: relative; z-index: 10; min-height: 88vh; display: flex; align-items: center; background: url('../images/landing/story.jpg') 80% center / cover no-repeat; }
.lp-6 .lp-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 20, 0.9) 0%, rgba(10, 10, 20, 0.6) 45%, rgba(10, 10, 20, 0) 75%); }
.lp-6 .of-landing-header { position: absolute; top: 0; left: 0; right: 0; }
.lp-6 .lp-hero .of-landing-container { position: relative; padding: 7rem 2rem 4rem; }
.lp-6 .lp-section { position: relative; z-index: 10; padding: 4.5rem 2rem; }
.lp-6 .lp-section-inner { max-width: 1100px; margin: 0 auto; }
.lp-6 .lp-section h2 { font-size: 2.1rem; font-weight: 800; text-align: center; margin: 0 0 2.5rem; }
.lp-6 .lp-join-row { display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center; }
.lp-6 .lp-join-row h2 { text-align: left; }
.lp-6 .lp-steps { display: grid; gap: 1.25rem; }
.lp-6 .lp-steps > div { display: flex; gap: 1.25rem; align-items: flex-start; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 1.5rem; }
.lp-6 .lp-steps b { flex: none; display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: var(--theme-gradient); align-items: center; justify-content: center; font-size: 1.4rem; }
.lp-6 .lp-steps h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.4rem; }
.lp-6 .lp-steps p { color: rgba(255, 255, 255, 0.7); margin: 0; }
.lp-6 .lp-alt { background: #14142a; }
.lp-6 .lp-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lp-6 .lp-feature img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.lp-6 .lp-feature h2 { text-align: left; margin-bottom: 1.25rem; }
.lp-6 .lp-feature ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.lp-6 .lp-feature li { padding: 0.55rem 0; color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.lp-6 .lp-feature li i { color: var(--theme-primary-light); margin-right: 0.6rem; }
.lp-6 .lp-faq { max-width: 760px; margin: 0 auto; }
.lp-6 .lp-faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 1.1rem 0; }
.lp-6 .lp-faq summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.lp-6 .lp-faq p { color: rgba(255, 255, 255, 0.75); margin: 0.75rem 0 0; }
.lp-6 .lp-band { text-align: center; background: var(--theme-gradient); }
.lp-6 .lp-band h2 { margin-bottom: 1.5rem; }

/*=============================================
=            7. SWIPE CARDS                    =
=============================================*/

body.lp-7 { background: linear-gradient(160deg, #1a1030 0%, #0f0f1a 60%); }
.lp-7 .lp-cards-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; }
.lp-7 h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin: 0 0 0.5rem; }
.lp-7 h1 span { background: var(--theme-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-7 .lp-sub { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; margin: 0 0 1.75rem; }
.lp-cards { position: relative; width: 340px; height: 470px; }
.lp-card { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); transition: transform 0.45s ease, opacity 0.45s ease; background: #222; }
.lp-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-card:nth-last-child(2) { transform: scale(0.96) translateY(10px); }
.lp-card:nth-last-child(3) { transform: scale(0.92) translateY(20px); }
.lp-card:nth-last-child(n+4) { transform: scale(0.88) translateY(30px); opacity: 0; }
.lp-card.gone { pointer-events: none; opacity: 0; }
.lp-card.liked { transform: translateX(140%) rotate(20deg) !important; }
.lp-card.passed { transform: translateX(-140%) rotate(-20deg) !important; }
.lp-card-actions { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.5rem; }
.lp-card-actions button { width: 64px; height: 64px; border-radius: 50%; border: none; font-size: 1.6rem; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); transition: transform 0.2s; }
.lp-card-actions button:hover { transform: scale(1.1); }
.lp-card-actions .pass { background: #fff; color: #ef4444; }
.lp-card-actions .like { background: var(--theme-gradient); color: #fff; }
.lp-7 .lp-cards-side { max-width: 460px; }
.lp-7 .lp-cards-side .lp-cta { margin-top: 0.5rem; }
.lp-7 .lp-points { list-style: none; padding: 0; margin: 1.5rem 0; }
.lp-7 .lp-points li { padding: 0.45rem 0; color: rgba(255, 255, 255, 0.85); }
.lp-7 .lp-points i { color: var(--theme-primary-light); margin-right: 0.5rem; }

/*=============================================
=            8. STEP BY STEP                   =
=============================================*/

body.lp-8 { background: #0f0f1a url('../images/landing/wizard.jpg') 70% center / cover no-repeat fixed; }
.lp-8::before { content: ''; position: fixed; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 20, 0.9) 0%, rgba(10, 10, 20, 0.6) 45%, rgba(10, 10, 20, 0.05) 100%); }
.lp-8 .lp-wizard { position: relative; z-index: 10; width: 100%; max-width: 1200px; margin: 0 auto; }
.lp-8 .lp-wizard-card { max-width: 460px; background: rgba(20, 20, 36, 0.82); backdrop-filter: blur(14px); border-radius: 22px; padding: 2rem; border: 1px solid rgba(255, 255, 255, 0.1); }
.lp-8 h1 { font-size: 2.2rem; font-weight: 800; margin: 0 0 0.35rem; }
.lp-8 .lp-sub { color: rgba(255, 255, 255, 0.75); margin: 0 0 1.5rem; }

/*=============================================
=            9. ELEGANT (black and gold)       =
=============================================*/

body.lp-9 { background: #0b0b0d; --lp-gold: #c9a96e; --lp-gold-light: #e6cf9f; }
.lp-9 .of-brand span { background: linear-gradient(135deg, #c9a96e, #e6cf9f); -webkit-background-clip: text; background-clip: text; }
.lp-9 .of-btn-login { background: transparent; color: var(--lp-gold-light); border: 1px solid var(--lp-gold); }
.lp-9 .of-btn-login:hover { background: var(--lp-gold); color: #0b0b0d; box-shadow: none; }
.lp-9 .lp-portrait { flex: 1; display: flex; justify-content: center; align-self: flex-start; position: sticky; top: 110px; padding-top: 14px; }
.lp-9 .lp-portrait-frame { position: relative; width: 100%; max-width: 420px; }
.lp-9 .lp-portrait-frame::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--lp-gold); }
.lp-9 .lp-portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; filter: saturate(0.9); }
.lp-9 .lp-elegant-main { flex: 1; max-width: 460px; }
.lp-9 .lp-kicker { color: var(--lp-gold); text-transform: uppercase; letter-spacing: 4px; font-size: 0.75rem; }
.lp-9 h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 3rem; line-height: 1.15; margin: 0.75rem 0 1rem; }
.lp-9 h1 em { color: var(--lp-gold-light); }
.lp-9 .lp-sub { color: rgba(255, 255, 255, 0.65); margin: 0 0 2rem; line-height: 1.7; }
.lp-9 .of-signup-card { background: #141416; border: 1px solid rgba(201, 169, 110, 0.35); border-radius: 4px; max-width: none; }
.lp-9 .of-form-control { border-radius: 2px !important; border-color: rgba(201, 169, 110, 0.3) !important; }
.lp-9 .of-btn-signup { background: linear-gradient(135deg, #b8955a, #e6cf9f); color: #0b0b0d; border-radius: 2px; letter-spacing: 3px; }
.lp-9 .of-btn-signup:hover { box-shadow: 0 6px 20px rgba(201, 169, 110, 0.35); }
.lp-9 .of-checkbox-row input[type="checkbox"] { accent-color: var(--lp-gold); }
.lp-9 .of-terms-text a, .lp-9 .of-checkbox-row label a, .lp-9 .of-landing-footer .of-footer-links a { color: var(--lp-gold-light); }
.lp-9 .of-landing-footer { background: #000; }

/*=============================================
=            10. LOCAL SINGLES                 =
=============================================*/

body.lp-10 { background: #0f0f1a url('../images/landing/local.jpg') 75% center / cover no-repeat fixed; }
.lp-10::before { content: ''; position: fixed; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 20, 0.92) 0%, rgba(10, 10, 20, 0.65) 50%, rgba(10, 10, 20, 0.1) 100%); }
.lp-10 .lp-local { position: relative; z-index: 10; width: 100%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 520px); }
.lp-10 .lp-pin { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 30px; padding: 0.35rem 0.9rem; font-size: 0.9rem; font-weight: 600; }
.lp-10 .lp-pin i { color: var(--theme-primary-light); }
.lp-10 h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; margin: 1rem 0 0.75rem; }
.lp-10 h1 span { background: var(--theme-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-10 .lp-sub { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); margin: 0 0 1.75rem; }
.lp-10 .of-signup-card { max-width: none; background: rgba(255, 255, 255, 0.97); color: #1a1a2e; }
.lp-10 .lp-join-title { color: #111827; font-size: 1.25rem; }
.lp-10 .of-btn-signup { background: var(--theme-gradient); color: #fff; }

/*=============================================
=            PHONES AND TABLETS                =
=============================================*/

@media (max-width: 992px) {
  .lp-3 .lp-split { grid-template-columns: 1fr; }
  .lp-3 .lp-split-photo { min-height: 46vh; }
  .lp-3 .lp-split-main { padding: 2rem 1.25rem; }
  .lp-4 .lp-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: calc(100vh / 5); }
  .lp-5 .lp-phone { transform: none; width: 290px; }
  .lp-6 .lp-join-row, .lp-6 .lp-feature { grid-template-columns: 1fr; }
  .lp-6 .lp-join-row .of-signup-card { margin: 0 auto; }
  .lp-6 .lp-hero { min-height: 0; background-position: 85% center; }
  .lp-6 .lp-hero::before { background: linear-gradient(180deg, rgba(10, 10, 20, 0.55) 0%, rgba(10, 10, 20, 0.8) 100%); }
  .lp-7 .lp-cards-side { text-align: center; }
  .lp-9 .lp-portrait { position: static; align-self: center; }
  .lp-9 .lp-portrait-frame { max-width: 320px; }
  /* The photo shows at the top, fading into the dark behind the form. */
  body.lp-2, body.lp-8, body.lp-10 { background-attachment: scroll; background-size: auto 62vh; background-position: 72% top; }
  body.lp-10 { background-position: 78% top; }
  .lp-2::before, .lp-8::before, .lp-10::before { position: absolute; background: linear-gradient(180deg, rgba(10, 10, 20, 0.05) 0%, rgba(10, 10, 20, 0.35) 30vh, #0f0f1a 60vh, #0f0f1a 100%); }
  body.lp-2 .of-landing-content, body.lp-8 .of-landing-content, body.lp-10 .of-landing-content { padding-top: 34vh; }
}

@media (max-width: 768px) {
  .lp-2 h1, .lp-5 h1, .lp-7 h1, .lp-3 h1 { font-size: 2rem; }
  .lp-4 h1, .lp-9 h1, .lp-10 h1 { font-size: 2.2rem; }
  .lp-4 .lp-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc(100vh / 6); }
  .lp-6 .lp-hero .of-landing-container { padding: 6rem 1rem 2.5rem; }
  .lp-6 .lp-section { padding: 3rem 1rem; }
  .lp-6 .lp-section h2 { font-size: 1.7rem; }
  .lp-cards { width: 290px; height: 400px; }
  .lp-8 .lp-wizard-card { padding: 1.5rem; }
  .lp .of-landing-content { padding: 1.25rem 1rem; }
  .lp .of-signup-card { padding: 1.5rem; }
}
