/* ==========================================================================
   BoostaMe — landing page
   Loads tokens + components only. No Bootstrap, no app.css.

   That is deliberate: the previous landing page loaded app.css alongside its
   own styles, and the two set colour and background on overlapping selectors.
   The result was the washed-out sage on Services and the near-invisible FAQ
   heading. Isolating the page removes that whole class of failure rather than
   patching individual selectors.
   ========================================================================== */

.bm-lp { background: var(--surface-base); color: var(--text-primary); overflow-x: hidden; }
.bm-lp a { text-decoration: none; }
.bm-lp img { max-width: 100%; display: block; }

.bm-lp__wrap { width: min(var(--container-max), 100% - 2.5rem); margin-inline: auto; }
.bm-lp__section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }

/* ---------------------------------------------------------------- nav */

.bm-lp__nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-normal) var(--ease-out),
              background var(--dur-normal) var(--ease-out);
}
.bm-lp__nav.is-stuck {
  border-bottom-color: var(--border-subtle);
  background: rgba(10, 11, 16, 0.94);
}
.bm-lp__nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.bm-lp__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-bold);
  font-size: 1.1rem;
  letter-spacing: var(--tracking-snug);
  color: var(--text-primary);
}
.bm-lp__brand-mark {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  background: var(--color-action);
  color: var(--color-action-text);
  display: grid; place-items: center;
  font-weight: var(--weight-bold); font-size: 0.9rem;
}
.bm-lp__links { display: none; gap: var(--space-6); margin-inline-start: auto; font-size: var(--fs-base); }
.bm-lp__links a { color: var(--text-secondary); transition: color var(--dur-fast) var(--ease-out); }
.bm-lp__links a:hover { color: var(--text-primary); }
.bm-lp__nav-cta { display: flex; gap: var(--space-2); margin-inline-start: auto; align-items: center; }
@media (min-width: 900px) {
  .bm-lp__links { display: flex; }
  .bm-lp__nav-cta { margin-inline-start: 0; }
}

/* ---------------------------------------------------------------- hero */

.bm-lp__hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 6rem); position: relative; }

.bm-lp__hero-grid { display: grid; gap: var(--space-10); align-items: start; }
@media (min-width: 1000px) {
  .bm-lp__hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-14); align-items: center; }
}

/* Signup card first on mobile. On a phone the marketing copy is scroll-past
   noise -- the form is the page. */
.bm-lp__hero-copy { order: 2; }
.bm-lp__hero-form { order: 1; }
@media (min-width: 1000px) {
  .bm-lp__hero-copy { order: 1; }
  .bm-lp__hero-form { order: 2; }
}

.bm-lp__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-xs); font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--color-action);
  background: var(--color-action-subtle);
  border: 1px solid var(--color-action-border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.bm-lp__eyebrow-dot {
  width: 6px; height: 6px; border-radius: var(--radius-full);
  background: var(--color-delivered);
  animation: bm-lp-pulse 2.4s var(--ease-inout) infinite;
}
@keyframes bm-lp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.bm-lp__h1 {
  font-size: clamp(2.1rem, 5.2vw, var(--fs-display));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-4);
}
.bm-lp__h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--raw-indigo-400), var(--raw-indigo-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bm-lp__lede {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 34rem;
  margin: 0 0 var(--space-8);
}

/* Trust chips. Specific and countable -- "3,000+ services" reads as true in a
   way that "thousands of services" does not. */
.bm-lp__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.bm-lp__chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.bm-lp__chip svg { width: 15px; height: 15px; color: var(--color-action); flex-shrink: 0; }
.bm-lp__chip strong { color: var(--text-primary); font-weight: var(--weight-semi); }

/* ---------------------------------------------------------------- platforms */

/* Real platform marks, each with its own brand glow. You understand what the
   product does in under a second, without reading. */
.bm-lp__platforms {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  align-items: center; margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}
.bm-lp__platform {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: transform var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              color var(--dur-normal) var(--ease-out);
  animation: bm-lp-float 6s var(--ease-inout) infinite;
}
.bm-lp__platform svg { width: 20px; height: 20px; }
.bm-lp__platform:nth-child(1) { animation-delay: 0s; }
.bm-lp__platform:nth-child(2) { animation-delay: 0.8s; }
.bm-lp__platform:nth-child(3) { animation-delay: 1.6s; }
.bm-lp__platform:nth-child(4) { animation-delay: 2.4s; }
.bm-lp__platform:nth-child(5) { animation-delay: 3.2s; }

.bm-lp__platform:hover { transform: translateY(-4px) scale(1.04); }
.bm-lp__platform[data-brand='instagram']:hover { color: #E1306C; border-color: #E1306C; box-shadow: 0 0 20px -4px #E1306C; }
.bm-lp__platform[data-brand='tiktok']:hover    { color: #25F4EE; border-color: #25F4EE; box-shadow: 0 0 20px -4px #25F4EE; }
.bm-lp__platform[data-brand='youtube']:hover   { color: #FF0000; border-color: #FF0000; box-shadow: 0 0 20px -4px #FF0000; }
.bm-lp__platform[data-brand='facebook']:hover  { color: #1877F2; border-color: #1877F2; box-shadow: 0 0 20px -4px #1877F2; }
.bm-lp__platform[data-brand='telegram']:hover  { color: #26A5E4; border-color: #26A5E4; box-shadow: 0 0 20px -4px #26A5E4; }

/* Transform only -- runs on the compositor, never triggers layout. */
@keyframes bm-lp-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------------------------------------------------------------- signup card */

.bm-lp__card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  position: relative;
}
@media (min-width: 600px) { .bm-lp__card { padding: var(--space-8); } }

.bm-lp__card::before {
  content: '';
  position: absolute;
  inset-block-start: -1px; inset-inline: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-action), transparent);
}

.bm-lp__card-title {
  font-size: var(--fs-h3);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-snug);
  margin: 0 0 var(--space-1);
}
.bm-lp__card-sub {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0 0 var(--space-6);
}
.bm-lp__card-sub a { color: var(--color-action); font-weight: var(--weight-medium); }
.bm-lp__card-fields { display: flex; flex-direction: column; gap: var(--space-4); }
.bm-lp__card-row { display: grid; gap: var(--space-4); }
@media (min-width: 480px) { .bm-lp__card-row { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- stats */

.bm-lp__stats {
  border-block: 1px solid var(--border-subtle);
  background: var(--surface-sunken);
  padding-block: var(--space-8);
}
.bm-lp__stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-4); text-align: center;
}
@media (min-width: 760px) { .bm-lp__stats-grid { grid-template-columns: repeat(4, 1fr); } }
.bm-lp__stat-value {
  font-family: var(--font-num); font-variant-numeric: tabular-nums;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  font-weight: var(--weight-semi); line-height: var(--leading-tight);
}
.bm-lp__stat-label {
  font-size: var(--fs-xs); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--text-muted); margin-top: var(--space-1);
}

/* ---------------------------------------------------------------- sections */

.bm-lp__head { max-width: 40rem; margin-bottom: var(--space-10); }
.bm-lp__h2 {
  font-size: clamp(1.6rem, 3.8vw, var(--fs-h2));
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-snug);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-3);
}
.bm-lp__sub { color: var(--text-secondary); font-size: var(--fs-lg); margin: 0; }

.bm-lp__grid { display: grid; gap: var(--space-4); }
@media (min-width: 700px) { .bm-lp__grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .bm-lp__grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- price rows */

.bm-lp__price {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-normal) var(--ease-out),
              transform var(--dur-normal) var(--ease-out);
}
.bm-lp__price:hover { border-color: var(--border-default); transform: translateY(-2px); }
.bm-lp__price-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--surface-overlay);
  color: var(--text-secondary);
}
.bm-lp__price-icon svg { width: 18px; height: 18px; }
.bm-lp__price-name { font-weight: var(--weight-semi); font-size: var(--fs-base); }
.bm-lp__price-meta { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 1px; }
.bm-lp__price-value {
  margin-inline-start: auto; text-align: end; white-space: nowrap;
  font-family: var(--font-num); font-variant-numeric: tabular-nums;
  font-weight: var(--weight-semi); color: var(--color-money);
}
.bm-lp__price-unit { font-size: var(--fs-xs); color: var(--text-muted); font-family: var(--font-ui); }

/* ---------------------------------------------------------------- faq */

.bm-lp__faq { border-top: 1px solid var(--border-subtle); }
.bm-lp__faq details { border-bottom: 1px solid var(--border-subtle); }
.bm-lp__faq summary {
  padding-block: var(--space-5);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  font-weight: var(--weight-semi); font-size: var(--fs-lg);
  /* Explicit, because the old page inherited a near-invisible colour here. */
  color: var(--text-primary);
}
.bm-lp__faq summary::-webkit-details-marker { display: none; }
.bm-lp__faq summary::after {
  content: '+';
  font-family: var(--font-num); font-size: 1.3rem;
  color: var(--color-action); flex-shrink: 0;
  transition: transform var(--dur-normal) var(--ease-out);
}
.bm-lp__faq details[open] summary::after { transform: rotate(45deg); }
.bm-lp__faq-body {
  padding-bottom: var(--space-5);
  color: var(--text-secondary);
  font-size: var(--fs-base);
  max-width: 52ch;
}

/* ---------------------------------------------------------------- cta + footer */

.bm-lp__cta {
  background: linear-gradient(155deg, var(--surface-raised), var(--surface-sunken));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 6vw, 3.5rem);
  text-align: center;
}
.bm-lp__footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--space-8);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.bm-lp__footer-grid {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  justify-content: space-between; align-items: center;
}
.bm-lp__footer a { color: var(--text-secondary); }
.bm-lp__footer a:hover { color: var(--text-primary); }

@media (prefers-reduced-motion: reduce) {
  .bm-lp__platform { animation: none; }
  .bm-lp__eyebrow-dot { animation: none; }
}
