/* ==========================================================================
   WebGTR — MLM Plan Builder Landing Page Stylesheet
   Integrates seamlessly with core WebGTR design system (style.css).
   Supports both Night (default) and Day (light) themes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero & Interactive Builder Container
   -------------------------------------------------------------------------- */
.pb-hero-section {
  position: relative;
  padding: 64px 0 64px;
  overflow: hidden;
}

.pb-hero-header {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.pb-hero-header h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  margin-bottom: 0;
}

/* Main Builder Stage Box (Matches Prototype Big Rectangle) */
.pb-builder-stage {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 36px;
}

.pb-builder-screenshot-wrap,
.pb-builder-shortcode-wrap {
  padding: 20px;
  background: var(--feature-box-bg);
}

.pb-builder-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Subheadline + Long CTA */
.pb-hero-follow {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.pb-hero-follow .sub {
  margin: 0 auto 28px;
  max-width: 62ch;
}

.pb-cta-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pb-cta-long {
  text-align: center;
  line-height: 1.35;
}

/* 3 Credential Blocks in Numbers */
.pb-credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.pb-cred-card {
  padding: 32px 26px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pb-cred-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  background: var(--webgtr-linear);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pb-cred-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-coral);
}

.pb-cred-desc {
  font-size: 14.5px;
  color: var(--text-second);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   2. Why? + Two-Column USP Lists (1–5 & 6–10)
   -------------------------------------------------------------------------- */
.pb-why-section {
  padding: 88px 0;
  background: var(--plans-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pb-why-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.pb-why-heading h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}

.pb-usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.pb-usp-card {
  padding: 34px 30px;
  border-radius: 20px;
}

.pb-usp-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-magenta);
  margin-bottom: 18px;
  display: block;
}

.pb-usp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pb-usp-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: var(--text-second);
  line-height: 1.55;
}

.pb-usp-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--feature-box-bg);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* About Company in 3 Lines */
.pb-about-box {
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 32px 36px;
  border-radius: 20px;
  text-align: center;
}

.pb-about-box p {
  color: var(--text-second);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. Client Success Stories (2-Line Intro + 2 Cards)
   -------------------------------------------------------------------------- */
.pb-stories-section {
  padding: 88px 0;
}

.pb-stories-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.pb-stories-header p {
  color: var(--text-second);
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0 auto;
}

.pb-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.pb-story-card {
  padding: 34px 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.pb-story-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-second);
}

.pb-story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pb-story-metric {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-coral);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. FAQs Section
   -------------------------------------------------------------------------- */
.pb-faq-section {
  padding: 88px 0 96px;
  background: var(--plans-bg);
  border-top: 1px solid var(--line);
}

.pb-faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.pb-faq-header {
  text-align: center;
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints (Laptop, Tablet, Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pb-preview-steps,
  .pb-credentials-grid {
    grid-template-columns: 1fr;
  }

  .pb-usp-grid,
  .pb-stories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pb-hero-section {
    padding: 44px 0 48px;
  }

  .pb-why-section,
  .pb-stories-section,
  .pb-faq-section {
    padding: 64px 0;
  }

  .pb-builder-inner {
    padding: 24px 18px;
  }

  .pb-usp-card,
  .pb-story-card,
  .pb-about-box {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .pb-story-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
