/* ===== Homepage (public landing page) ===== */

.landing-page { background: var(--paper); }
.landing-page main { display: block; }

.lp-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Header ----- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}
.lp-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin-right: auto;
}
.lp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lp-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 14px;
}
.lp-nav a:hover { color: var(--ink); }
.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}
.lp-burger span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 760px) {
  .lp-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .2s ease;
  }
  .lp-nav.is-open { max-height: 260px; }
  .lp-nav a { width: 100%; padding: 12px 20px; border-top: 1px solid var(--line); }
  .lp-burger { display: flex; }
}

/* ----- Hero ----- */
.lp-hero {
  padding: 56px 0 40px;
  text-align: center;
}
.lp-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  margin: 8px 0 16px;
  color: var(--ink);
}
.lp-hero-subtext {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-size: 17px;
}
.lp-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }

.lp-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 800px;
  margin: 0 auto;
}
.lp-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent-strong);
}
.lp-stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ----- Generic section shell ----- */
.lp-section { padding: 56px 0; }
.lp-section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-section-head { text-align: center; max-width: 560px; margin: 0 auto 36px; }
.lp-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 30px);
  margin: 0 0 8px;
  color: var(--ink);
}
.lp-section-head p { color: var(--ink-soft); margin: 0; }

/* ----- How it works ----- */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .lp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lp-steps { grid-template-columns: 1fr; } }

.lp-step {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  position: relative;
}
.lp-step-number {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-lighter);
}
.lp-step-icon { font-size: 32px; margin-bottom: 12px; }
.lp-step h3 { margin: 0 0 6px; font-size: 16px; }
.lp-step p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }

/* ----- Carousels (payment proof / offer types) ----- */
.lp-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  flex: 1;
  scrollbar-width: thin;
}
.lp-carousel-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: none;
}
@media (min-width: 640px) { .lp-carousel-btn { display: block; } }

.lp-proof-card, .lp-offer-type-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.lp-proof-card img, .lp-offer-type-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
}
.lp-proof-amount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--credit);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.lp-proof-caption {
  margin: 0;
  padding: 10px 12px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.lp-offer-type-card { text-align: center; padding-bottom: 14px; }
.lp-offer-type-card h3 { margin: 12px 12px 4px; font-size: 15px; }
.lp-offer-type-range { font-size: 12.5px; color: var(--accent-strong); font-weight: 600; }

/* ----- Earn section tabs ----- */
.lp-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.lp-tab-btn {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.lp-tab-btn.is-active { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }

.lp-tab-panel { display: none; }
.lp-tab-panel.is-active { display: block; }

.lp-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.lp-offer-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lp-offer-card img { width: 100%; height: 130px; object-fit: cover; background: var(--bg-soft); }
.lp-offer-card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lp-offer-card-body h3 { margin: 0; font-size: 15px; }
.lp-offer-card-body p { margin: 0; font-size: 13px; color: var(--ink-soft); flex: 1; }
.lp-offer-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.lp-offer-points { font-size: 13px; font-weight: 700; color: var(--accent-strong); }

.lp-wall-teaser {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.lp-wall-teaser-icon { font-size: 40px; margin-bottom: 10px; }
.lp-wall-teaser h3 { margin: 0 0 8px; font-size: 18px; }
.lp-wall-teaser p { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }

/* ----- Final CTA ----- */
.lp-final-cta {
  padding: 56px 0;
  text-align: center;
  background: var(--accent-strong);
}
.lp-final-cta h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(20px, 3.5vw, 28px);
  margin: 0 0 20px;
}
.lp-final-cta .btn { background: #fff; color: var(--accent-strong); }
.lp-final-cta .btn:hover { background: var(--paper); }

/* ----- Footer ----- */
.lp-footer { background: var(--ink); color: #C8D2CC; padding: 40px 0 20px; }
.lp-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lp-footer .lp-logo { color: #fff; }
.lp-footer-brand p { margin: 8px 0 12px; font-size: 13.5px; max-width: 320px; }
.lp-social-links { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-social-link { color: #C8D2CC; font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.2); }
.lp-social-link:hover { color: #fff; }
.lp-footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-content: flex-start; }
.lp-footer-links a { color: #C8D2CC; font-size: 13.5px; }
.lp-footer-links a:hover { color: #fff; }
.lp-footer-copy { font-size: 12.5px; color: #8FA097; margin: 18px 0 0; }

@media (max-width: 520px) {
  .lp-hero { padding: 40px 0 28px; }
  .lp-section { padding: 40px 0; }
  .lp-stats { gap: 24px; }
}


/* ----- More ways to boost earnings ----- */
.lp-boost-section { background: var(--paper-raised); }
.lp-boost-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }
.lp-boost-card { padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--paper); box-shadow:var(--shadow); }
.lp-boost-icon { font-size:26px; margin-bottom:10px; }
.lp-boost-card h3 { margin:0 0 7px; font-size:17px; }
.lp-boost-card p { margin:0 0 15px; color:var(--ink-soft); font-size:13.5px; line-height:1.5; min-height:62px; }
@media (max-width: 900px) { .lp-boost-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .lp-boost-grid { grid-template-columns:1fr; } .lp-boost-card p { min-height:0; } }
