/* ==========================================================================
   lp.css — the long-form landing page (/platform)
   ========================================================================== */

/* NOTE on centred paragraphs throughout this file:
   base.css caps every <p> at 65ch. Inside a centred section that caps the BOX, not the
   text — the text centres inside a 65ch box that is still pinned left, so the line lands
   subtly off-centre. Every centred <p> below therefore uses `auto` side margins rather
   than the `0` that a margin shorthand would otherwise set. */

/* ---- Hero ---------------------------------------------------------------- */
.lp-hero {
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 6rem) 0;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(91, 52, 240, 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg-alt) 100%);
  overflow: hidden;
}
.lp-hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  line-height: 1.1;
  margin-top: var(--space-3);
}
.lp-hero .lead { margin-top: var(--space-4); }

.lp-cta-row {
  display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap;
  margin-top: var(--space-6);
}
.btn--lg { padding: 0.95rem 2rem; font-size: 1.02rem; }
.lp-cta-note {
  margin: var(--space-3) auto 0;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* The hero screenshot bleeds off the bottom of the section — it reads as the product
   sitting underneath the promise, rather than a picture stuck below some text. */
.lp-hero-shot {
  margin: var(--space-8) auto 0;
  max-width: 1080px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-bottom: 0;
  box-shadow: 0 -8px 60px rgba(26, 43, 91, 0.18);
  background: var(--color-surface);
}
.lp-hero-shot img {
  display: block; width: 100%; height: auto;
  max-height: 520px; object-fit: cover; object-position: top;
}

/* ---- Shared narrow column ------------------------------------------------- */
.lp-narrow { max-width: 68ch; margin-inline: auto; text-align: center; }
.lp-narrow p { margin-inline: auto; margin-top: var(--space-4); }

/* ---- Stack vs Govarova ---------------------------------------------------- */
.lp-contrast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.lp-contrast__col {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.lp-contrast__col--good {
  border-color: transparent;
  background: linear-gradient(160deg, var(--color-primary), var(--color-accent));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.lp-contrast__title {
  font-size: 0.72rem; font-weight: var(--fw-bold); letter-spacing: 0.09em;
  text-transform: uppercase; margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
}
.lp-contrast__col--good .lp-contrast__title { color: rgba(255, 255, 255, 0.75); }
.lp-contrast__col ul { list-style: none; margin: 0; padding: 0; }
.lp-contrast__col li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: var(--fw-medium);
}
.lp-contrast__col--good li {
  border-bottom-color: rgba(255, 255, 255, 0.22);
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
}
.lp-contrast__col li:last-child { border-bottom: 0; }
.lp-contrast__foot {
  margin: var(--space-4) 0 0;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.lp-contrast__col--good .lp-contrast__foot { color: rgba(255, 255, 255, 0.85); }
.lp-contrast__arrow { font-size: 1.6rem; color: var(--color-text-muted); }

@media (max-width: 820px) {
  .lp-contrast { grid-template-columns: 1fr; }
  .lp-contrast__arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---- The five steps -------------------------------------------------------- */
.lp-step {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--color-border);
}
.lp-step:first-of-type { border-top: 0; }
/* Alternate which side the screenshot lands on, so five steps do not read as a list. */
.lp-step--flip .lp-step__text { order: 2; }

.lp-step__n {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: var(--fw-bold); letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--color-accent);
  margin: 0 0 var(--space-3);
}
.lp-step__n span {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0;
}
.lp-step__text h3 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.25; }
.lp-step__text > p { margin-top: var(--space-4); }

.lp-check { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.lp-check li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
  color: var(--color-text-muted);
}
.lp-check li::before {
  content: "";
  position: absolute; left: 0; top: 0.35em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}

.lp-step__link {
  display: inline-block;
  margin-top: var(--space-5);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
}
.lp-step__link:hover { color: var(--color-primary); }

.lp-step__shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
}
.lp-step__shot img {
  display: block; width: 100%; height: auto;
  max-height: 460px; object-fit: cover; object-position: top;
}

@media (max-width: 860px) {
  .lp-step { grid-template-columns: 1fr; }
  .lp-step--flip .lp-step__text { order: 0; }   /* screenshot always under the copy on mobile */
}

/* ---- The one number -------------------------------------------------------- */
.lp-proof {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.lp-proof__kicker {
  font-size: 0.72rem; font-weight: var(--fw-bold); letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--color-accent); margin: 0 auto;
}
.lp-proof__stat {
  font-size: clamp(3.2rem, 9vw, 5rem);
  font-weight: var(--fw-bold);
  line-height: 1;
  margin: var(--space-4) auto 0;
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-proof__label {
  margin: var(--space-2) auto var(--space-6);
  font-weight: var(--fw-semibold);
}
.lp-proof__body { margin-inline: auto; color: var(--color-text-muted); }
.lp-proof__body + .lp-proof__body { margin-top: var(--space-4); }

/* ---- Product grid ---------------------------------------------------------- */
.lp-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.lp-product {
  display: block;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.lp-product:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lp-product strong { display: block; color: var(--color-text); }
.lp-product span {
  display: block; margin-top: 6px;
  font-size: var(--fs-small); line-height: 1.6;
  color: var(--color-text-muted);
}

/* ---- Plans ----------------------------------------------------------------- */
.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
  align-items: start;
}
@media (max-width: 860px) { .lp-plans { grid-template-columns: 1fr; } }

.lp-plan {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.lp-plan--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.lp-plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem; font-weight: var(--fw-bold);
  letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.lp-plan__name {
  margin: 0; font-weight: var(--fw-bold);
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.lp-plan__price {
  margin: var(--space-3) 0 0;
  font-size: 2.4rem; font-weight: var(--fw-bold);
  color: var(--color-primary);
}
.lp-plan__users { margin: 4px 0 0; font-weight: var(--fw-semibold); }
.lp-plan__note {
  margin: var(--space-2) 0 var(--space-5);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.lp-plans__foot {
  margin: var(--space-6) auto 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

/* ---- FAQ + honesty note ------------------------------------------------------ */
.lp-faq { max-width: 800px; margin-inline: auto; margin-top: var(--space-7); }

.lp-honest {
  max-width: 70ch;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
  background: var(--color-bg-alt);
}
.lp-honest h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.lp-honest p { margin-top: var(--space-4); color: var(--color-text-muted); }

/* ---- Close ------------------------------------------------------------------- */
.lp-close {
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: linear-gradient(160deg, var(--color-primary), var(--color-accent));
  color: #fff;
}
.lp-close h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.lp-close .lead { color: rgba(255, 255, 255, 0.88); margin-top: var(--space-4); }
.lp-close .lp-cta-note { color: rgba(255, 255, 255, 0.72); }
.lp-close .btn--primary { background: #fff; color: var(--color-primary); border-color: #fff; }
.lp-close .btn--primary:hover { background: rgba(255, 255, 255, 0.9); }
.lp-close .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.lp-close .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
