/* Signed-out landing page only — scoped under .landing-page so the shared
   public pages (signup / login / apply) keep their existing styling.
   Language of maxfusion.ai product pages: light cream + dark ink only,
   Inter with the bold-mix headlines, white cards, dark bands. No gradient —
   that is reserved for the main site's homepage. */

.public-main.landing-page {
  max-width: none;
  padding: 0;
  background: #f9f8f6;
  font-family: "Inter", sans-serif;
}
.landing-page .public-body {
  max-width: none;
  margin: 0;
  padding: 0;
}
.landing-page .public-topbar {
  max-width: 1204px; /* 1140 content + 2x32 gutters (border-box) */
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
.landing-page .public-topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page summary,
.landing-page .btn-dark,
.landing-page .btn-light,
.landing-page .btn-ghost {
  font-family: "Inter", sans-serif;
}

.landing-page .tag-pill {
  display: inline-block;
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #16171d;
  box-shadow: 0 1px 2px rgba(22, 23, 29, 0.06);
}
.landing-page .tag-pill.dark {
  background: rgba(255, 255, 255, 0.08);
  color: #f9f8f6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.landing-page h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #16171d;
  margin: 16px 0 36px;
}
.landing-page h2 b {
  font-weight: 800;
}

/* --- buttons --- */
.landing-page .btn-dark,
.landing-page .btn-light,
.landing-page .btn-ghost {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  padding: 0.85rem 1.9rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.landing-page .btn-dark:hover,
.landing-page .btn-light:hover,
.landing-page .btn-ghost:hover,
.landing-page .public-topbar .btn.secondary:hover {
  transform: translateY(-2px);
}
.landing-page .btn-dark:hover { box-shadow: 0 16px 32px rgba(22, 23, 29, 0.26); }
.landing-page .btn-light:hover { box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32); }
.landing-page .btn-ghost:hover { box-shadow: 0 12px 26px rgba(22, 23, 29, 0.14); }
.landing-page .public-topbar .btn.secondary { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.landing-page .btn-dark {
  background: #16171d;
  color: #f9f8f6;
  box-shadow: 0 10px 24px rgba(22, 23, 29, 0.18);
}
.landing-page .btn-light {
  background: #fff;
  color: #16171d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.landing-page .btn-ghost {
  background: #fff;
  color: #16171d;
  box-shadow: 0 6px 18px rgba(22, 23, 29, 0.08);
}

/* --- hero --- */
.landing-hero {
  max-width: 1204px; /* 1140 content + gutters, border-box */
  margin: 0 auto;
  padding: 40px 32px 90px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #16171d;
  box-shadow: 0 1px 2px rgba(22, 23, 29, 0.06);
}
.hero-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fa463;
}
.landing-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #16171d;
  margin: 22px 0 0;
}
.landing-hero h1 b {
  font-weight: 800;
}
.landing-hero .lead {
  color: #4a4b50;
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 480px;
  margin: 18px 0 0;
}
.landing-hero .cta {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

/* --- hero visual: near-real post cards + payout chip --- */
.hero-visual {
  position: relative;
  min-height: 430px;
}
.post-card {
  position: absolute;
  width: 250px;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(22, 23, 29, 0.12);
}
.card-li {
  left: 0;
  top: 44px;
  transform: rotate(-5deg);
  animation: float-a 6s ease-in-out infinite alternate;
}
.card-x {
  right: 0;
  top: 150px;
  transform: rotate(4deg);
  animation: float-b 7s ease-in-out infinite alternate;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.skel {
  display: block;
  background: #e7e4dd;
  border-radius: 99px;
}
.skel-name {
  width: 90px;
  height: 9px;
  background: #d8d5cc;
}
.skel-line {
  height: 8px;
  margin-top: 8px;
}
.skel-line.w100 { width: 100%; }
.skel-line.w80 { width: 80%; }
.skel-line.w70 { width: 70%; }
.post-media {
  margin-top: 14px;
  height: 190px;
  border-radius: 12px;
  background: #f1eee8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.post-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.mf-tile {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #16171d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
}
.mf-tile i {
  font-style: italic;
}
.payout-chip {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 0;
  transform: translateX(-50%) rotate(-2deg);
  background: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 18px 44px rgba(22, 23, 29, 0.16);
  animation: float-c 5s ease-in-out infinite alternate;
}
.payout-chip .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1fa463;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payout-chip .label {
  font-size: 0.85rem;
  color: #4a4b50;
}
.payout-chip .amount {
  font-size: 0.95rem;
  font-weight: 800;
  color: #16171d;
}
@keyframes float-a {
  from { translate: 0 0; }
  to { translate: 0 -10px; }
}
@keyframes float-b {
  from { translate: 0 -8px; }
  to { translate: 0 4px; }
}
@keyframes float-c {
  from { translate: 0 0; }
  to { translate: 0 -7px; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card, .payout-chip { animation: none; }
}

/* --- dark bands --- */
.landing-dark {
  background: #16171d;
  padding: 84px 32px;
}
.dark-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
.dark-inner.center { text-align: center; }
.landing-dark h2 {
  color: #f9f8f6;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}
.dark-card {
  background: #1d1e24;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 26px;
}
.dark-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: #f9f8f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.dark-card h3 {
  color: #f9f8f6;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.dark-card p {
  color: #9a9ba2;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* --- features --- */
.landing-features {
  max-width: 1204px; /* 1140 content + gutters, border-box */
  margin: 0 auto;
  padding: 84px 32px;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}
.feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(22, 23, 29, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(22, 23, 29, 0.1);
}
.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #16171d;
  margin: 0 0 8px;
}
.feature-card p {
  color: #4a4b50;
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}

/* --- FAQ --- */
.landing-faq {
  max-width: 824px; /* 760 content + gutters, border-box */
  margin: 0 auto;
  padding: 10px 32px 90px;
  text-align: center;
}
.faq-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 6px 20px rgba(22, 23, 29, 0.05);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: #16171d;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  color: #8a8b90;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  color: #4a4b50;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 12px 0 0;
}

/* --- closing CTA --- */
.landing-cta .cta-sub {
  color: #9a9ba2;
  margin: -18px 0 28px;
  font-size: 1rem;
}

/* --- footer --- */
.landing-footer {
  background: #16171d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 32px 30px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-wordmark {
  width: 128px;
  display: block;
}
.footer-links {
  display: flex;
  gap: 26px;
}
.footer-links a {
  color: #9a9ba2;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #f9f8f6;
}
.footer-line {
  max-width: 1140px;
  margin: 26px auto 0;
  color: #5c5d63;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .landing-hero { padding-bottom: 70px; }
  .hero-visual {
    min-height: 400px;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
  .steps-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero .cta {
    flex-wrap: wrap;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
