/* ============================================================
   CSG Landing Public — Public landing page styles
   Prefix: .csg-lp-
   Design: #520F7D purple, #8CD2D9 teal, Poppins
   ============================================================ */

/* ----------------------------------------
   RESET & BASE
   ---------------------------------------- */

.csg-lp-wrap {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: #1f2937 !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 8px 16px 48px !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.csg-lp-wrap *,
.csg-lp-wrap *::before,
.csg-lp-wrap *::after {
  box-sizing: border-box !important;
}

.csg-lp-wrap img {
  max-width: 100% !important;
  height: auto;
}

.csg-lp-section {
  margin-bottom: 48px !important;
}

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */

.csg-lp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  padding: 14px 32px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s !important;
  text-decoration: none !important;
}

.csg-lp-btn:active {
  transform: scale(0.98) !important;
}

.csg-lp-btn--primary {
  background: #520F7D !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(82, 15, 125, 0.3) !important;
}

.csg-lp-btn--primary:hover {
  background: #3d0b5e !important;
}

.csg-lp-btn--secondary {
  background: #fff !important;
  color: #520F7D !important;
  border: 1px solid #e5e7eb !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.csg-lp-btn--secondary:hover {
  border-color: #520F7D !important;
  background: #faf5ff !important;
}

/* ----------------------------------------
   BADGE
   ---------------------------------------- */

.csg-lp-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f5f0fa !important;
  color: #520F7D !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.csg-lp-badge__dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #520F7D !important;
  flex-shrink: 0 !important;
}

/* ============================================================
   SECTION 1: INTRO
   ============================================================ */

.csg-lp-intro__card {
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #e5e7eb !important;
  padding: 32px !important;
  padding-top: 40px !important;
  text-align: center !important;
}

.csg-lp-intro__inner {
  max-width: 768px !important;
  margin: 0 auto !important;
}

.csg-lp-intro__badge-wrap {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 24px !important;
}

.csg-lp-intro__title {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  line-height: 1.2 !important;
  margin: 0 0 16px !important;
}

.csg-lp-intro__desc {
  font-size: 16px !important;
  color: #4b5563 !important;
  margin: 0 auto 32px !important;
  max-width: 640px !important;
  line-height: 1.7 !important;
}

.csg-lp-intro__buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
}

@media (min-width: 640px) {
  .csg-lp-intro__title {
    font-size: 36px !important;
  }

  .csg-lp-intro__buttons {
    flex-direction: row !important;
    justify-content: center !important;
  }

  .csg-lp-intro__buttons .csg-lp-btn {
    width: auto !important;
  }
}

.csg-lp-intro__buttons .csg-lp-btn {
  width: 100% !important;
}

@media (min-width: 640px) {
  .csg-lp-intro__buttons .csg-lp-btn {
    width: auto !important;
  }
}

/* ============================================================
   SECTION 2: QUALIFICATION
   ============================================================ */

.csg-lp-qualification__grid {
  display: grid !important;
  gap: 24px !important;
  max-width: 896px !important;
  margin: 0 auto !important;
}

@media (min-width: 768px) {
  .csg-lp-qualification__grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

.csg-lp-qual-card {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  position: relative !important;
  overflow: hidden !important;
}

.csg-lp-qual-card--yes {
  border: 1px solid #d1fae5 !important;
}

.csg-lp-qual-card--no {
  border: 1px solid #fee2e2 !important;
}

.csg-lp-qual-card__corner {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 96px !important;
  height: 96px !important;
  border-bottom-left-radius: 100% !important;
  z-index: 0 !important;
}

.csg-lp-qual-card--yes .csg-lp-qual-card__corner {
  background: #ecfdf5 !important;
}

.csg-lp-qual-card--no .csg-lp-qual-card__corner {
  background: #fef2f2 !important;
}

.csg-lp-qual-card__header {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
  position: relative !important;
  z-index: 1 !important;
}

.csg-lp-qual-card__icon {
  padding: 8px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.csg-lp-qual-card__icon--yes {
  background: #d1fae5 !important;
  color: #16a34a !important;
}

.csg-lp-qual-card__icon--no {
  background: #fee2e2 !important;
  color: #ef4444 !important;
}

.csg-lp-qual-card__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  hyphens: auto !important;
  min-width: 0 !important;
}

.csg-lp-qual-card__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  position: relative !important;
  z-index: 1 !important;
}

.csg-lp-qual-card__item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-size: 14px !important;
  color: #374151 !important;
  line-height: 1.6 !important;
}

.csg-lp-qual-card__check {
  color: #8CD2D9 !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

.csg-lp-qual-card__x {
  color: #f87171 !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

/* ============================================================
   SECTION 3: PROBLEM
   ============================================================ */

.csg-lp-problem {
  background: #0f172a !important;
  border-radius: 16px !important;
  padding: 40px 32px !important;
  color: #fff !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #1e293b !important;
}

@media (min-width: 768px) {
  .csg-lp-problem {
    padding: 56px 48px !important;
  }
}

@media (min-width: 1024px) {
  .csg-lp-problem {
    padding: 64px !important;
  }
}

.csg-lp-problem__bg-orb {
  position: absolute !important;
  width: 256px !important;
  height: 256px !important;
  border-radius: 50% !important;
  filter: blur(48px) !important;
  pointer-events: none !important;
}

.csg-lp-problem__bg-orb--purple {
  top: 0 !important;
  right: 0 !important;
  background: rgba(82, 15, 125, 0.3) !important;
}

.csg-lp-problem__bg-orb--teal {
  bottom: 0 !important;
  left: 0 !important;
  background: rgba(140, 210, 217, 0.1) !important;
}

.csg-lp-problem__inner {
  position: relative !important;
  z-index: 1 !important;
  padding: 16px 0 !important;
}

.csg-lp-problem__header {
  text-align: center !important;
  margin-bottom: 40px !important;
}

.csg-lp-problem__title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 16px !important;
}

@media (min-width: 768px) {
  .csg-lp-problem__title {
    font-size: 30px !important;
  }
}

.csg-lp-problem__desc {
  color: #94a3b8 !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  font-size: 15px !important;
}

.csg-lp-problem__grid {
  display: grid !important;
  gap: 24px !important;
}

@media (min-width: 640px) {
  .csg-lp-problem__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .csg-lp-problem__grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.csg-lp-problem__card {
  background: rgba(30, 41, 59, 0.8) !important;
  border: 1px solid #334155 !important;
  border-radius: 12px !important;
  padding: 24px !important;
}

.csg-lp-problem__card-icon {
  color: #8CD2D9 !important;
  margin-bottom: 16px !important;
}

.csg-lp-problem__card-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 8px !important;
}

.csg-lp-problem__card-desc {
  color: #94a3b8 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ============================================================
   SECTION 4: BENEFITS
   ============================================================ */

.csg-lp-benefits__header {
  text-align: center !important;
  margin-bottom: 40px !important;
}

.csg-lp-benefits__title {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 0 0 16px !important;
}

.csg-lp-benefits__desc {
  color: #4b5563 !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  font-size: 15px !important;
}

.csg-lp-benefits__grid {
  display: grid !important;
  gap: 24px !important;
}

@media (min-width: 768px) {
  .csg-lp-benefits__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.csg-lp-benefit-card {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #e5e7eb !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  cursor: pointer !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.csg-lp-benefit-card:hover {
  border-color: #c084fc !important;
  box-shadow: 0 4px 12px rgba(82, 15, 125, 0.1) !important;
}

@media (min-width: 640px) {
  .csg-lp-benefit-card {
    flex-direction: row !important;
  }
}

.csg-lp-benefit-card__media {
  position: relative !important;
  background: #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Mobile: column layout — image has fixed height */
.csg-lp-benefit-card__img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Desktop: row layout — image fills container height via absolute */
@media (min-width: 640px) {
  .csg-lp-benefit-card__media {
    width: 40% !important;
    flex-shrink: 0 !important;
    min-height: 180px !important;
  }

  .csg-lp-benefit-card__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
}

.csg-lp-benefit-card__media--document {
  background: #faf5ff !important;
  border-right: 1px solid #f3f4f6 !important;
}

.csg-lp-benefit-card__placeholder {
  color: #cbd5e1 !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.csg-lp-benefit-card__video-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1 !important;
  color: #fff !important;
  transition: background 0.2s !important;
}

.csg-lp-benefit-card:hover .csg-lp-benefit-card__video-overlay {
  background: rgba(82, 15, 125, 0.4) !important;
}

.csg-lp-benefit-card__video-overlay svg {
  opacity: 0.8 !important;
  transition: transform 0.2s, opacity 0.2s !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

.csg-lp-benefit-card:hover .csg-lp-benefit-card__video-overlay svg {
  transform: scale(1.1) !important;
  opacity: 1 !important;
}

.csg-lp-benefit-card__type-badge {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(4px) !important;
  color: #fff !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  z-index: 2 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.csg-lp-benefit-card__type-badge--image {
  background: rgba(0, 0, 0, 0.5) !important;
}

.csg-lp-benefit-card__doc-icon {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 16px !important;
  color: #520F7D !important;
}

.csg-lp-benefit-card__doc-icon svg {
  opacity: 0.7 !important;
}

.csg-lp-benefit-card__doc-badge {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #520F7D !important;
  background: #fff !important;
  padding: 4px 8px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.csg-lp-benefit-card__body {
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

@media (min-width: 640px) {
  .csg-lp-benefit-card__body {
    width: 60% !important;
  }
}

.csg-lp-benefit-card__title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 8px !important;
}

.csg-lp-benefit-card__desc {
  font-size: 14px !important;
  color: #4b5563 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ============================================================
   SECTION 5: PREVIEW
   ============================================================ */

.csg-lp-preview {
  background: #faf5ff !important;
  border-radius: 24px !important;
  padding: 40px 32px !important;
  border: 1px solid #f3e8ff !important;
}

@media (min-width: 768px) {
  .csg-lp-preview {
    padding: 56px 48px !important;
  }
}

@media (min-width: 1024px) {
  .csg-lp-preview {
    padding: 64px !important;
  }
}

.csg-lp-preview__header {
  text-align: center !important;
  margin-bottom: 40px !important;
}

.csg-lp-preview__title {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 0 !important;
}

.csg-lp-preview__grid {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 24px !important;
}

/* 3-column preview grid */
.csg-lp-preview__grid3 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 20px !important;
  margin-bottom: 24px !important;
}

@media (min-width: 768px) {
  .csg-lp-preview__grid3 {
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: stretch !important;
  }
}

.csg-lp-preview__col {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #e5e7eb !important;
  padding: 20px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.csg-lp-preview__col--video {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.csg-lp-preview__col--video .csg-lp-preview__video-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 16px !important;
  max-width: none !important;
}

.csg-lp-preview__col-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
}

.csg-lp-preview__filter-group {
  margin-bottom: 16px !important;
}

.csg-lp-preview__filter-label {
  display: block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #8CD2D9 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 8px !important;
}

.csg-lp-preview__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.csg-lp-preview__chip {
  font-size: 12px !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
  color: #374151 !important;
  font-weight: 500 !important;
  font-family: inherit !important;
}

.csg-lp-preview__chip--active {
  background: #0f172a !important;
  color: #fff !important;
  border-color: #0f172a !important;
}

.csg-lp-preview__chip--tag {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

.csg-lp-preview__card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.csg-lp-preview__card-id {
  font-size: 11px !important;
  font-family: monospace !important;
  background: #f3f4f6 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  color: #6b7280 !important;
}

.csg-lp-preview__card-author {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
  font-size: 13px !important;
  color: #374151 !important;
}

.csg-lp-preview__card-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #e5e7eb !important;
  flex-shrink: 0 !important;
}

.csg-lp-preview__card-quote {
  font-size: 13px !important;
  color: #4b5563 !important;
  font-style: italic !important;
  border-left: 3px solid #e5e7eb !important;
  padding-left: 12px !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.csg-lp-preview__video-card {
  background: #520F7D !important;
  border-radius: 16px !important;
  padding: 32px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 10px 25px rgba(82, 15, 125, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  max-width: 480px !important;
  width: 100% !important;
}

.csg-lp-preview__video-card::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: var(--avatar-bg, transparent) center / cover !important;
  opacity: 0.15 !important;
  mix-blend-mode: screen !important;
}

.csg-lp-preview__video-icon {
  color: #8CD2D9 !important;
  margin-bottom: 16px !important;
  position: relative !important;
  z-index: 1 !important;
}

.csg-lp-preview__video-title {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  position: relative !important;
  z-index: 1 !important;
}

.csg-lp-preview__video-btn {
  background: #fff !important;
  color: #520F7D !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 14px !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: background 0.2s !important;
}

.csg-lp-preview__video-btn:hover {
  background: #f5f0fa !important;
}

.csg-lp-preview__footer {
  text-align: center !important;
  margin-top: 24px !important;
}

.csg-lp-preview__disclaimer {
  font-size: 12px !important;
  color: #6b7280 !important;
  margin: 0 0 8px !important;
}

.csg-lp-preview__link {
  color: #520F7D !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* ============================================================
   SECTION 6: USE CASES
   ============================================================ */

.csg-lp-usecases__header {
  text-align: center !important;
  margin-bottom: 40px !important;
}

.csg-lp-usecases__title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 16px !important;
}

@media (min-width: 768px) {
  .csg-lp-usecases__title {
    font-size: 30px !important;
  }
}

.csg-lp-usecases__desc {
  color: #4b5563 !important;
  margin: 0 !important;
  font-size: 15px !important;
}

.csg-lp-usecases__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  max-width: 896px !important;
  margin: 0 auto !important;
}

.csg-lp-usecase-card {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #e5e7eb !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

@media (min-width: 768px) {
  .csg-lp-usecase-card {
    flex-direction: row !important;
    padding: 32px !important;
  }
}

.csg-lp-usecase-card__left {
  padding-bottom: 16px !important;
  border-bottom: 1px solid #f3f4f6 !important;
}

@media (min-width: 768px) {
  .csg-lp-usecase-card__left {
    width: 33.333% !important;
    flex-shrink: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    border-right: 1px solid #f3f4f6 !important;
    padding-right: 24px !important;
  }
}

.csg-lp-usecase-card__phase {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #8CD2D9 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 8px !important;
}

.csg-lp-usecase-card__title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 8px !important;
}

.csg-lp-usecase-card__target {
  font-size: 14px !important;
  color: #6b7280 !important;
  margin: 0 !important;
}

.csg-lp-usecase-card__right {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 !important;
  min-width: 0 !important;
}

@media (min-width: 768px) {
  .csg-lp-usecase-card__right {
    padding-left: 8px !important;
  }
}

.csg-lp-usecase-card__step {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid #f3f4f6 !important;
}

.csg-lp-usecase-card__step:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.csg-lp-usecase-card__step strong {
  display: block !important;
  color: #111827 !important;
  font-size: 14px !important;
  margin-bottom: 4px !important;
}

.csg-lp-usecase-card__step span {
  color: #4b5563 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.csg-lp-usecase-card__step-num {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-top: 2px !important;
}

.csg-lp-usecase-card__step-num--purple {
  background: #f5f0fa !important;
  color: #520F7D !important;
}

.csg-lp-usecase-card__step-num--green {
  background: #d1fae5 !important;
  color: #15803d !important;
}

/* ============================================================
   SECTION 7: PRICING
   ============================================================ */

.csg-lp-pricing__header {
  text-align: center !important;
  margin-bottom: 40px !important;
}

.csg-lp-pricing__title {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 0 0 16px !important;
}

.csg-lp-pricing__desc {
  color: #4b5563 !important;
  max-width: 640px !important;
  margin: 0 auto 20px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.csg-lp-pricing__info-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #eff6ff !important;
  color: #1e40af !important;
  font-size: 12px !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  border: 1px solid #bfdbfe !important;
  font-weight: 500 !important;
}

.csg-lp-pricing__grid {
  display: grid !important;
  gap: 24px !important;
  max-width: 1024px !important;
  margin: 0 auto !important;
}

@media (min-width: 768px) {
  .csg-lp-pricing__grid {
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: end !important;
  }
}

.csg-lp-plan-card {
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  position: relative !important;
}

.csg-lp-plan-card--highlight {
  background: #0f172a !important;
  border: 2px solid #520F7D !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
  margin-top: 16px !important;
}

@media (min-width: 768px) {
  .csg-lp-plan-card--highlight {
    transform: translateY(-16px) !important;
    margin-top: 0 !important;
  }
}

.csg-lp-plan-card__badge {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: #520F7D !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(82, 15, 125, 0.3) !important;
}

.csg-lp-plan-card__header {
  margin-bottom: 24px !important;
  padding-top: 8px !important;
}

.csg-lp-plan-card__name {
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin: 0 0 8px !important;
  color: #4b5563 !important;
}

.csg-lp-plan-card--highlight .csg-lp-plan-card__name {
  color: #8CD2D9 !important;
}

.csg-lp-plan-card__price {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  color: #111827 !important;
}

.csg-lp-plan-card--highlight .csg-lp-plan-card__price {
  color: #fff !important;
}

.csg-lp-plan-card__amount {
  font-size: 36px !important;
  font-weight: 900 !important;
}

.csg-lp-plan-card__period {
  font-weight: 500 !important;
  color: #6b7280 !important;
}

.csg-lp-plan-card--highlight .csg-lp-plan-card__period {
  color: #94a3b8 !important;
}

.csg-lp-plan-card__desc {
  font-size: 14px !important;
  margin: 12px 0 0 !important;
  color: #6b7280 !important;
}

.csg-lp-plan-card--highlight .csg-lp-plan-card__desc {
  color: #94a3b8 !important;
}

.csg-lp-plan-card__features {
  list-style: none !important;
  margin: 0 0 32px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  flex: 1 !important;
}

.csg-lp-plan-card__features li {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: #374151 !important;
}

.csg-lp-plan-card--highlight .csg-lp-plan-card__features li {
  color: #cbd5e1 !important;
}

.csg-lp-plan-card__features li svg {
  color: #8CD2D9 !important;
  flex-shrink: 0 !important;
}

.csg-lp-plan-card__btn {
  width: 100% !important;
  font-weight: 700 !important;
  padding: 14px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-family: inherit !important;
  transition: background-color 0.2s !important;
  background: #f5f0fa !important;
  color: #520F7D !important;
}

.csg-lp-plan-card__btn:hover {
  background: #e9d5ff !important;
}

.csg-lp-plan-card__btn--highlight {
  background: #520F7D !important;
  color: #fff !important;
}

.csg-lp-plan-card__btn--highlight:hover {
  background: #3d0b5e !important;
}

.csg-lp-plan-card__btn--dark {
  background: #1e293b !important;
  color: #fff !important;
}

.csg-lp-plan-card__btn--dark:hover {
  background: #0f172a !important;
}

/* ============================================================
   SECTION 8: LEAD MAGNET
   ============================================================ */

.csg-lp-leadmagnet__card {
  background: #fff !important;
  border: 2px dashed #f3e8ff !important;
  border-radius: 16px !important;
  padding: 40px 32px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 32px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  max-width: 896px !important;
  margin: 0 auto !important;
}

@media (min-width: 768px) {
  .csg-lp-leadmagnet__card {
    flex-direction: row !important;
    padding: 48px 40px !important;
  }
}

.csg-lp-leadmagnet__visual {
  display: flex !important;
  justify-content: center !important;
}

@media (min-width: 768px) {
  .csg-lp-leadmagnet__visual {
    width: 33.333% !important;
    flex-shrink: 0 !important;
  }
}

.csg-lp-leadmagnet__envelope {
  width: 128px !important;
  height: 160px !important;
  background: linear-gradient(to bottom right, #faf5ff, #fff) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  transform: rotate(-3deg) !important;
  color: #520F7D !important;
}

.csg-lp-leadmagnet__envelope svg {
  opacity: 0.7 !important;
}

.csg-lp-leadmagnet__badge-tag {
  position: absolute !important;
  bottom: -12px !important;
  right: -12px !important;
  background: #8CD2D9 !important;
  color: #1e293b !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  border-radius: 9999px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

.csg-lp-leadmagnet__content {
  text-align: center !important;
}

@media (min-width: 768px) {
  .csg-lp-leadmagnet__content {
    width: 66.666% !important;
    text-align: left !important;
  }
}

.csg-lp-leadmagnet__title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 8px !important;
}

.csg-lp-leadmagnet__desc {
  color: #4b5563 !important;
  margin: 0 0 28px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.csg-lp-leadmagnet__form-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

@media (min-width: 640px) {
  .csg-lp-leadmagnet__form-row {
    flex-direction: row !important;
  }
}

.csg-lp-leadmagnet__input {
  flex: 1 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  background: #fff !important;
  color: #111827 !important;
}

.csg-lp-leadmagnet__input:focus {
  border-color: #520F7D !important;
  box-shadow: 0 0 0 3px rgba(82, 15, 125, 0.1) !important;
}

.csg-lp-leadmagnet__submit {
  padding: 12px 24px !important;
  white-space: nowrap !important;
}

.csg-lp-leadmagnet__msg {
  font-size: 13px !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  margin-bottom: 8px !important;
}

.csg-lp-leadmagnet__msg--success {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
}

.csg-lp-leadmagnet__msg--error {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}

.csg-lp-leadmagnet__secondary {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  border-bottom: 1px dashed #d1d5db !important;
  padding-bottom: 2px !important;
  display: inline-block !important;
  margin: 0 !important;
}

@media (min-width: 768px) {
  .csg-lp-leadmagnet__secondary {
    text-align: left !important;
  }
}

/* ============================================================
   SECTION 9 & 10: FAQ + CROSS LINKS
   ============================================================ */

.csg-lp-faq-section {
  border-top: 1px solid #e5e7eb !important;
  padding-top: 48px !important;
}

.csg-lp-faq-section__grid {
  display: grid !important;
  gap: 40px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

@media (min-width: 768px) {
  .csg-lp-faq-section__grid {
    grid-template-columns: 2fr 1fr !important;
  }
}

.csg-lp-faq-section__title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 24px !important;
}

.csg-lp-faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.csg-lp-faq-item {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.2s !important;
}

.csg-lp-faq-item:hover {
  border-color: #c084fc !important;
}

.csg-lp-faq-item__question {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 20px !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  text-align: left !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

.csg-lp-faq-item__chevron {
  flex-shrink: 0 !important;
  transition: transform 0.25s !important;
  color: #9ca3af !important;
}

.csg-lp-faq-item--open .csg-lp-faq-item__chevron {
  transform: rotate(180deg) !important;
}

.csg-lp-faq-item__answer {
  display: none;
  padding: 0 20px 20px !important;
}

.csg-lp-faq-item--open .csg-lp-faq-item__answer {
  display: block !important;
}

.csg-lp-faq-item__answer p {
  color: #4b5563 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* Cross Links sidebar */

.csg-lp-crosslinks {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  position: sticky !important;
  top: 96px !important;
}

.csg-lp-crosslinks__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.csg-lp-crosslinks__title svg {
  color: #8CD2D9 !important;
}

.csg-lp-crosslinks__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.csg-lp-crosslinks__list a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: #520F7D !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.csg-lp-crosslinks__list a:hover {
  text-decoration: underline !important;
  color: #3d0b5e !important;
}

.csg-lp-crosslinks__list a svg {
  opacity: 0.5 !important;
  flex-shrink: 0 !important;
}

/* ============================================================
   SECTION 11: FINAL CTA
   ============================================================ */

.csg-lp-final-cta__card {
  background: linear-gradient(to bottom right, #520F7D, #0f172a) !important;
  border-radius: 24px !important;
  padding: 40px !important;
  text-align: center !important;
  color: #fff !important;
  box-shadow: 0 20px 40px rgba(82, 15, 125, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (min-width: 768px) {
  .csg-lp-final-cta__card {
    padding: 64px !important;
  }
}

.csg-lp-final-cta__card::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: var(--avatar-bg) center / cover !important;
  opacity: 0.1 !important;
  mix-blend-mode: overlay !important;
}

.csg-lp-final-cta__inner {
  position: relative !important;
  z-index: 1 !important;
  max-width: 640px !important;
  margin: 0 auto !important;
}

.csg-lp-final-cta__title {
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  margin: 0 0 24px !important;
  color: #fff !important;
}

@media (min-width: 768px) {
  .csg-lp-final-cta__title {
    font-size: 48px !important;
  }
}

.csg-lp-final-cta__desc {
  font-size: 18px !important;
  color: #c4b5fd !important;
  margin: 0 0 40px !important;
}

.csg-lp-final-cta__btn {
  background: #8CD2D9 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  padding: 16px 48px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(140, 210, 217, 0.3) !important;
  transition: background-color 0.2s !important;
  font-family: inherit !important;
  margin-bottom: 24px !important;
}

.csg-lp-final-cta__btn:hover {
  background: #a5dee5 !important;
}

.csg-lp-final-cta__disclaimer {
  font-size: 12px !important;
  color: #a78bfa !important;
  opacity: 0.8 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* ============================================================
   MEDIA MODAL
   ============================================================ */

.csg-lp-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

.csg-lp-modal.csg-lp-modal--open {
  display: flex !important;
}

.csg-lp-modal__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(4px) !important;
}

.csg-lp-modal__dialog {
  position: relative !important;
  background: #fff !important;
  border-radius: 12px !important;
  width: 100% !important;
  max-width: 640px !important;
  max-height: 90vh !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
  display: flex !important;
  flex-direction: column !important;
}

.csg-lp-modal__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 24px !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.csg-lp-modal__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 !important;
}

.csg-lp-modal__close {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #9ca3af !important;
  padding: 4px !important;
  display: flex !important;
  transition: color 0.2s !important;
}

.csg-lp-modal__close:hover {
  color: #374151 !important;
}

.csg-lp-modal__body {
  padding: 24px !important;
  overflow: hidden !important;
  flex: 1 !important;
  min-height: 0 !important;
}

body.csg-lp-modal-open {
  overflow: hidden !important;
}

/* Media modal content */

.csg-lp-media-modal__video-placeholder,
.csg-lp-media-modal__doc-placeholder {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 48px 24px !important;
  color: #9ca3af !important;
}

.csg-lp-media-modal__video-placeholder svg,
.csg-lp-media-modal__doc-placeholder svg {
  margin-bottom: 16px !important;
  opacity: 0.5 !important;
}

.csg-lp-media-modal__video-placeholder p,
.csg-lp-media-modal__doc-placeholder p {
  font-size: 14px !important;
  margin: 0 !important;
}

.csg-lp-media-modal__video-wrap {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 56.25% !important; /* 16:9 */
  height: 0 !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #000 !important;
}

.csg-lp-media-modal__video-wrap iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 8px !important;
}

.csg-lp-media-modal__image {
  width: 100% !important;
  height: auto !important;
  max-height: 70vh !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  display: block !important;
}

/* Larger dialog for media modal (video/image/doc) */
.csg-lp-media-modal .csg-lp-modal__dialog {
  max-width: 1100px !important;
}

/* ============================================================
   BUDDYBOSS OVERRIDES — AGGRESSIVE
   ============================================================ */

/* Hide default group body content when landing is shown */
body.csg-landing-active #buddypress .group-status-type,
body.csg-landing-active #buddypress .bp-group-home,
body.csg-landing-active #buddypress #group-front-page,
body.csg-landing-active #buddypress .group-request-membership,
body.csg-landing-active #item-body > .item-list-tabs,
body.csg-landing-active #buddypress .group-status-message,
body.csg-landing-active .bb-groups .activity-list,
body.csg-landing-active #buddypress .bp-feedback {
  display: none !important;
}

/* Hide native "Request Membership" / "Poproś o dostęp" for paid groups */
body.csg-paid-group #buddypress .group-request-membership,
body.csg-paid-group #buddypress .generic-button .group-button.request-membership,
body.csg-paid-group #buddypress #item-buttons .group-button.request-membership,
body.csg-paid-group .bp-group-request-membership,
body.csg-paid-group #buddypress .group-button[data-bp-btn-action="request_membership"],
body.csg-paid-group .buddypress-wrap .group-button.request-membership {
  display: none !important;
}

/* Ensure landing wrap takes full width in BuddyBoss layout */
body.buddyboss-theme .csg-lp-wrap,
body.buddyboss-theme #buddypress .csg-lp-wrap {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 8px 16px 48px !important;
  width: 100% !important;
}

/* Override BuddyBoss typography within landing */
body.buddyboss-theme .csg-lp-wrap h1,
body.buddyboss-theme .csg-lp-wrap h2,
body.buddyboss-theme .csg-lp-wrap h3,
body.buddyboss-theme .csg-lp-wrap h4,
body.buddyboss-theme .csg-lp-wrap p,
body.buddyboss-theme .csg-lp-wrap span,
body.buddyboss-theme .csg-lp-wrap li,
body.buddyboss-theme .csg-lp-wrap a,
body.buddyboss-theme .csg-lp-wrap button,
body.buddyboss-theme .csg-lp-wrap input {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body.buddyboss-theme .csg-lp-wrap ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.buddyboss-theme .csg-lp-wrap a {
  text-decoration: none !important;
}

body.buddyboss-theme .csg-lp-wrap button {
  outline: none !important;
}

/* Reset BuddyBoss input styles */
body.buddyboss-theme .csg-lp-wrap input[type="email"] {
  background: #fff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  height: auto !important;
  box-shadow: none !important;
}

body.buddyboss-theme .csg-lp-wrap input[type="email"]:focus {
  border-color: #520F7D !important;
  box-shadow: 0 0 0 3px rgba(82, 15, 125, 0.1) !important;
}

/* Override BuddyBoss button styles within pricing cards */
body.buddyboss-theme .csg-lp-plan-card__btn,
body.buddyboss-theme .csg-lp-final-cta__btn,
body.buddyboss-theme .csg-lp-btn,
body.buddyboss-theme .csg-lp-preview__video-btn {
  line-height: 1.25 !important;
  height: auto !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Ensure group header stays visible */
body.csg-landing-active #item-header-content,
body.csg-landing-active #item-header {
  display: block !important;
}

/* Override BuddyBoss section spacing */
body.buddyboss-theme #buddypress .csg-lp-section {
  margin-bottom: 48px !important;
  padding: 0 !important;
}

/* Fix z-index for modals */
body.buddyboss-theme .csg-lp-modal {
  z-index: 100000 !important;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes csg-lp-fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.csg-lp-section {
  animation: csg-lp-fadeIn 0.4s ease-out !important;
}

/* Stagger sections */
.csg-lp-section:nth-child(2) { animation-delay: 0.05s !important; }
.csg-lp-section:nth-child(3) { animation-delay: 0.1s !important; }
.csg-lp-section:nth-child(4) { animation-delay: 0.15s !important; }
.csg-lp-section:nth-child(5) { animation-delay: 0.2s !important; }
.csg-lp-section:nth-child(6) { animation-delay: 0.25s !important; }
.csg-lp-section:nth-child(7) { animation-delay: 0.3s !important; }
.csg-lp-section:nth-child(8) { animation-delay: 0.35s !important; }
.csg-lp-section:nth-child(9) { animation-delay: 0.4s !important; }
.csg-lp-section:nth-child(10) { animation-delay: 0.45s !important; }
.csg-lp-section:nth-child(11) { animation-delay: 0.5s !important; }

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 639px) {
  .csg-lp-wrap {
    padding: 4px 12px 32px !important;
  }

  .csg-lp-intro__card {
    padding: 24px 16px !important;
  }

  .csg-lp-intro__title {
    font-size: 24px !important;
  }

  .csg-lp-problem {
    padding: 24px !important;
  }

  .csg-lp-problem__title {
    font-size: 22px !important;
  }

  .csg-lp-benefits__title,
  .csg-lp-pricing__title {
    font-size: 24px !important;
  }

  .csg-lp-final-cta__card {
    padding: 32px 20px !important;
  }

  .csg-lp-final-cta__title {
    font-size: 26px !important;
  }

  .csg-lp-final-cta__btn {
    font-size: 16px !important;
    padding: 14px 32px !important;
  }

  .csg-lp-plan-card {
    padding: 24px !important;
  }

  .csg-lp-usecase-card {
    padding: 20px !important;
  }

  .csg-lp-preview {
    padding: 24px !important;
  }

  .csg-lp-leadmagnet__card {
    padding: 24px 16px !important;
  }
}

/* ============================================================
   LANDING PAGE HEADER (standalone /landing/{slug}/)
   Prefix: .csg-lph-
   Design: instrukcje/18.03/ — pixel-perfect
   ============================================================ */

.csg-lph-wrap {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #e5e7eb;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-bottom: 0;
}

/* Cover */
.csg-lph-cover {
  height: 300px;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
}

.csg-lph-cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content container */
.csg-lph-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 8px;
  position: relative;
}

/* Main flex row */
.csg-lph-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .csg-lph-main {
    flex-direction: row;
  }
}

/* Avatar */
.csg-lph-avatar-wrap {
  position: relative;
  z-index: 10;
  margin-top: -100px;
}

@media (min-width: 768px) {
  .csg-lph-avatar-wrap {
    margin-top: -110px;
  }
}

.csg-lph-avatar {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 8px solid #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.csg-lph-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.csg-lph-avatar__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f3f4f6;
}

/* Info block */
.csg-lph-info {
  flex: 1;
  margin-top: 16px;
  min-width: 0;
}

@media (min-width: 768px) {
  .csg-lph-info {
    margin-top: 0;
    margin-left: 32px;
    padding-top: 16px;
  }
}

/* Row 1: Name + Badge */
.csg-lph-info__row1 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.csg-lph-info__name {
  font-size: 28px;
  font-weight: 700;
  color: #212529;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.2;
}

.csg-lph-info__type-badge {
  background: #F3EBF9;
  color: #520F7D;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(82, 15, 125, 0.1);
  white-space: nowrap;
}

/* Row 2: CyberID + Privacy */
.csg-lph-info__row2 {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
  gap: 12px;
}

.csg-lph-info__cyberid {
  font-weight: 500;
}

.csg-lph-info__separator {
  color: #d1d5db;
}

.csg-lph-info__privacy {
  display: flex;
  align-items: center;
}

/* Row 3: Social links */
.csg-lph-info__socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.csg-lph-info__social-link {
  color: #9ca3af;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.csg-lph-info__social-link:hover {
  color: var(--hover-color, #520F7D);
}

.csg-lph-info__social-link svg {
  display: block;
}

/* Row 4: Description */
.csg-lph-info__desc {
  margin-top: 16px;
  max-width: 672px;
}

.csg-lph-info__desc-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.625;
  margin: 0;
  white-space: pre-line;
}

.csg-lph-info__show-more {
  color: #520F7D;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-size: 14px;
  font-family: inherit;
  margin-left: 4px;
}

.csg-lph-info__show-more:hover {
  text-decoration: underline;
}

/* Row 5: Organizers */
.csg-lph-info__organizers {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.csg-lph-info__org-label {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.csg-lph-info__org-avatars {
  display: flex;
  margin-left: -4px;
}

.csg-lph-info__org-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-left: -8px;
  object-fit: cover;
}

.csg-lph-info__org-avatar:first-child {
  margin-left: 0;
}

/* Right column: CTA + QR */
.csg-lph-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .csg-lph-actions {
    margin-top: 16px;
  }
}

.csg-lph-actions__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #520F7D;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid #520F7D;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
  flex: 1;
}

.csg-lph-actions__cta:hover {
  background: #3d0b5e;
  color: #fff;
  text-decoration: none;
}

.csg-lph-actions__qr {
  width: 110px;
  height: 110px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
}

.csg-lph-actions__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.2s;
}

.csg-lph-actions__qr:hover img {
  filter: grayscale(0);
}

/* Description Modal */
.csg-lph-desc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.csg-lph-desc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 37, 41, 0.6);
  backdrop-filter: blur(4px);
}

.csg-lph-desc-modal__box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 512px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.csg-lph-desc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #f3f4f6;
}

.csg-lph-desc-modal__header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #212529;
  margin: 0;
}

.csg-lph-desc-modal__close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  display: flex;
  transition: color 0.2s;
}

.csg-lph-desc-modal__close:hover {
  color: #374151;
}

.csg-lph-desc-modal__body {
  padding: 24px;
}

.csg-lph-desc-modal__body p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  margin: 0;
  white-space: pre-line;
}

.csg-lph-desc-modal__footer {
  padding: 12px 24px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: flex-end;
}

.csg-lph-desc-modal__close-btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.csg-lph-desc-modal__close-btn:hover {
  background: #e5e7eb;
}

/* Responsive: mobile */
@media (max-width: 767px) {
  .csg-lph-cover {
    height: 200px;
  }

  .csg-lph-content {
    padding: 0 16px;
  }

  .csg-lph-avatar-wrap {
    margin-top: -60px;
  }

  .csg-lph-avatar {
    width: 100px;
    height: 100px;
    border-width: 5px;
    border-radius: 12px;
  }

  .csg-lph-info__name {
    font-size: 22px;
  }

  .csg-lph-actions {
    width: 100%;
  }

  .csg-lph-actions__row {
    width: 100%;
  }

  .csg-lph-actions__cta {
    flex: 1;
    justify-content: center;
    margin-bottom: 0;
  }

  .csg-lph-actions__qr {
    width: 64px;
    height: 64px;
  }
}

/* Actions row: CTA + Bell */
.csg-lph-actions__row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
}

/* Bell button */
.csg-lph-actions__bell {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.csg-lph-actions__bell svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.csg-lph-actions__bell:hover {
  color: #520F7D;
  border-color: #e9d5ff;
  background: #faf5ff;
}

.csg-lph-actions__bell-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  padding: 8px 12px;
  background: #1B2136;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 30;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.csg-lph-actions__bell-tooltip small {
  color: #9ca3af;
  font-size: 10px;
  margin-top: 2px;
  font-weight: 400;
}

.csg-lph-actions__bell-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 15px;
  border: 5px solid transparent;
  border-top-color: #1B2136;
}

.csg-lph-actions__bell:hover .csg-lph-actions__bell-tooltip {
  opacity: 1;
}

/* QR clickable */
.csg-lph-actions__qr[role="button"] {
  cursor: pointer;
  transition: all 0.2s;
}

.csg-lph-actions__qr[role="button"]:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-color: #d1d5db;
}

/* ================================================================
 * QR Modal
 * ================================================================ */
.csg-lph-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.csg-lph-qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.csg-lph-qr-modal__box {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: csg-qr-fadein 0.2s ease;
}

@keyframes csg-qr-fadein {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Tabs header */
.csg-lph-qr-modal__tabs {
  display: flex;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.csg-lph-qr-modal__tab {
  flex: 1;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s;
  font-family: inherit;
  text-align: center;
}

.csg-lph-qr-modal__tab:hover {
  color: #374151;
}

.csg-lph-qr-modal__tab--active {
  color: #54157E;
  border-bottom-color: #54157E;
}

.csg-lph-qr-modal__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  display: flex;
  transition: color 0.2s;
}

.csg-lph-qr-modal__close:hover {
  color: #374151;
}

/* Panels */
.csg-lph-qr-modal__panel {
  display: none;
  overflow-y: auto;
}

.csg-lph-qr-modal__panel--active {
  display: block;
}

.csg-lph-qr-modal__panel-inner {
  padding: 24px 28px 32px;
}

.csg-lph-qr-modal__panel-inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Kod Grupy tab */
.csg-lph-qr-modal__cyberid-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

.csg-lph-qr-modal__cyberid-value {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-top: 6px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.csg-lph-qr-modal__qr-box {
  width: 220px;
  height: 220px;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 2px 15px -3px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.csg-lph-qr-modal__qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Buttons */
.csg-lph-qr-modal__buttons {
  display: flex;
  gap: 16px;
  width: 100%;
}

.csg-lph-qr-modal__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.csg-lph-qr-modal__btn--outline {
  background: #fff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.csg-lph-qr-modal__btn--outline:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.csg-lph-qr-modal__btn--primary {
  background: #54157E;
  color: #fff;
  box-shadow: 0 4px 14px rgba(84,21,126,0.3);
}

.csg-lph-qr-modal__btn--primary:hover {
  background: #431065;
}

.csg-lph-qr-modal__btn--dark {
  flex: 1;
  background: #232532;
  color: #fff;
  font-size: 13px;
  padding: 10px 12px;
}

.csg-lph-qr-modal__btn--dark:hover {
  background: #1a1c26;
}

.csg-lph-qr-modal__btn--green {
  background: #10B981;
  color: #fff;
  width: 100%;
  box-shadow: 0 4px 14px rgba(16,185,129,0.2);
}

.csg-lph-qr-modal__btn--green:hover {
  background: #059669;
  color: #fff;
  text-decoration: none;
}

/* Kod Polecający tab */
.csg-lph-qr-modal__ref-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px;
}

.csg-lph-qr-modal__ref-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 24px;
}

.csg-lph-qr-modal__ref-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .csg-lph-qr-modal__ref-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.csg-lph-qr-modal__ref-qr {
  width: 140px;
  height: 140px;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .csg-lph-qr-modal__ref-qr {
    margin: 0;
  }
}

.csg-lph-qr-modal__ref-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.csg-lph-qr-modal__ref-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  width: 100%;
}

.csg-lph-qr-modal__ref-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #6b7280;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  outline: none;
  text-overflow: ellipsis;
  font-family: inherit;
}

.csg-lph-qr-modal__ref-btns {
  display: flex;
  gap: 8px;
}

.csg-lph-qr-modal__ref-code-box {
  background: #F4F9FF;
  border: 1px solid #E1EFFF;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.csg-lph-qr-modal__ref-code-label {
  font-size: 10px;
  font-weight: 700;
  color: #3B82F6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.csg-lph-qr-modal__ref-code-value {
  font-size: 20px;
  font-weight: 700;
  color: #2563EB;
  line-height: 1;
}

.csg-lph-qr-modal__ref-code-copy {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #E1EFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3B82F6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background 0.2s;
}

.csg-lph-qr-modal__ref-code-copy:hover {
  background: #eff6ff;
}

/* Affiliate box */
.csg-lph-qr-modal__aff-box {
  background: #F8F9FA;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.csg-lph-qr-modal__aff-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.csg-lph-qr-modal__aff-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 12px;
}

.csg-lph-qr-modal__aff-desc strong {
  color: #520F7D;
}

.csg-lph-qr-modal__aff-link {
  font-size: 13px;
  font-weight: 700;
  color: #520F7D;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: color 0.2s;
}

.csg-lph-qr-modal__aff-link:hover {
  color: #38116b;
  text-decoration: underline;
}

/* Share icons */
.csg-lph-qr-modal__share {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.csg-lph-qr-modal__share-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  display: block;
  margin-bottom: 12px;
}

.csg-lph-qr-modal__share-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.csg-lph-qr-modal__share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.csg-lph-qr-modal__share-btn:hover {
  opacity: 0.85;
}

.csg-lph-qr-modal__ref-open {
  width: 100%;
}

/* ================================================================
 * Public Feed — landing page post list (read-only)
 * ================================================================ */

.csg-lpf {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e5e7eb;
}

.csg-lpf__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.csg-lpf__header-icon {
  width: 48px;
  height: 48px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.csg-lpf__title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px;
}

.csg-lpf__subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

.csg-lpf__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Post card */
.csg-lpf-post {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.csg-lpf-post:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.csg-lpf-post--fadein {
  animation: csg-lpf-fadein 0.3s ease;
}

@keyframes csg-lpf-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.csg-lpf-post__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.csg-lpf-post__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.csg-lpf-post__avatar--placeholder {
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.csg-lpf-post__meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.csg-lpf-post__author {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.csg-lpf-post__date {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

.csg-lpf-post__public-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #ecfdf5;
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.csg-lpf-post__content {
  font-size: 14px;
  color: #374151;
  line-height: 1.65;
  word-break: break-word;
}

.csg-lpf-post__content p {
  margin: 0 0 8px;
}

.csg-lpf-post__content p:last-child {
  margin-bottom: 0;
}

.csg-lpf-post__media {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

.csg-lpf-post__title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.csg-lpf-post__media-img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  display: block;
  background: #f9fafb;
}

.csg-lpf-post__video {
  position: relative;
  cursor: pointer;
}

.csg-lpf-post__video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.2s;
}

.csg-lpf-post__video:hover .csg-lpf-post__video-play {
  background: rgba(0,0,0,0.5);
}

/* Pagination */
.csg-lpf__pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.csg-lpf__load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: #520F7D;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.csg-lpf__load-more:hover {
  background: #faf5ff;
  border-color: #d8b4fe;
}

.csg-lpf__load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.csg-lpf__page-info {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* =====================================================================
   POST: AUTHOR BADGE
   ===================================================================== */

.csg-lpf-post__author-badge {
  display: inline-block;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 700;
  background: #520F7D;
  color: #fff;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* =====================================================================
   POST: ACTION BAR (likes, comments, share)
   ===================================================================== */

.csg-lpf-post__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.csg-lpf-post__actions-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.csg-lpf-post__action-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
  cursor: default;
}

.csg-lpf-post__actions-right {
  display: flex;
  align-items: center;
}

/* =====================================================================
   POST: SHARE DROPDOWN
   ===================================================================== */

.csg-lpf-post__share-wrap {
  position: relative;
}

.csg-lpf-post__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.csg-lpf-post__share-btn:hover {
  background: #f5f3ff;
  color: #520F7D;
}

.csg-lpf-post__share-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 6px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 100;
  padding: 6px 0;
  animation: csg-lpf-menu-in 0.15s ease;
}

.csg-lpf-post__share-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  color: #374151;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.1s;
  text-align: left;
}

.csg-lpf-post__share-item:hover {
  background: #f9fafb;
}

.csg-lpf-post__share-social {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-top: 1px solid #f3f4f6;
}

.csg-lpf-post__share-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.csg-lpf-post__share-social-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: scale(1.08);
}

/* =====================================================================
   POST: THREE-DOT MORE MENU (DSA)
   ===================================================================== */

.csg-lpf-post__more {
  position: relative;
  flex-shrink: 0;
}

.csg-lpf-post__more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.15s;
}

.csg-lpf-post__more-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.csg-lpf-post__more-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 100;
  padding: 6px 0;
  animation: csg-lpf-menu-in 0.15s ease;
}

.csg-lpf-post__more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  color: #374151;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.1s;
  text-align: left;
}

.csg-lpf-post__more-item:hover {
  background: #f9fafb;
}

.csg-lpf-post__more-item--report {
  color: #dc2626;
}

.csg-lpf-post__more-item--report:hover {
  background: #fef2f2;
}

@keyframes csg-lpf-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   POST: CTA BAR
   ===================================================================== */

.csg-lpf-post__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  margin-top: 16px;
  background: linear-gradient(135deg, #520F7D 0%, #7c3aed 100%);
  border-radius: 12px;
  flex-wrap: wrap;
}

.csg-lpf-post__cta-text {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.csg-lpf-post__cta-text strong {
  color: #fff;
  font-weight: 700;
}

.csg-lpf-post__cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.csg-lpf-post__cta-login {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.csg-lpf-post__cta-login:hover {
  color: #fff;
  text-decoration: underline;
}

.csg-lpf-post__cta-unlock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #520F7D;
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.csg-lpf-post__cta-unlock:hover {
  background: #f5f3ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 640px) {
  .csg-lpf-post__cta {
    flex-direction: column;
    text-align: center;
  }
  .csg-lpf-post__cta-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Standalone landing wrapper override */
.csg-landing-standalone {
  padding-top: 0 !important;
}

.csg-landing-standalone .csg-lp-wrap {
  padding-top: 32px !important;
}

/* =====================================================================
   BuddyBoss SVG fill overrides — protect inline fills in feed buttons
   ===================================================================== */

.csg-lpf-post__share-social-btn[data-action="share-facebook"] svg {
  fill: #1877F2 !important;
}

.csg-lpf-post__share-social-btn[data-action="share-whatsapp"] svg {
  fill: #25D366 !important;
}

.csg-lpf-post__share-social-btn[data-action="share-x"] svg {
  fill: #000 !important;
}

.csg-lpf-post__share-social-btn[data-action="share-linkedin"] svg {
  fill: #0A66C2 !important;
}

.csg-lpf-post__more-btn svg {
  fill: currentColor !important;
}

.csg-lpf-post__more-btn {
  color: #9ca3af !important;
}

.csg-lpf-post__more-btn:hover {
  color: #374151 !important;
}

/* =====================================================================
   REPORT MODAL
   ===================================================================== */

.csg-lpf-report-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.csg-lpf-report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.csg-lpf-report-modal__box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: csg-lpf-menu-in 0.2s ease;
  text-align: center;
}

.csg-lpf-report-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.csg-lpf-report-modal__close:hover {
  color: #374151;
}

.csg-lpf-report-modal__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.csg-lpf-report-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
}

.csg-lpf-report-modal__desc {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.5;
}

.csg-lpf-report-modal__textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.csg-lpf-report-modal__textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.csg-lpf-report-modal__counter {
  text-align: right;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 4px;
}

.csg-lpf-report-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.csg-lpf-report-modal__cancel {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.csg-lpf-report-modal__cancel:hover {
  background: #e2e8f0;
}

.csg-lpf-report-modal__submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #dc2626;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.csg-lpf-report-modal__submit:hover {
  background: #b91c1c;
}

.csg-lpf-report-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.csg-lpf-report-modal__msg {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.csg-lpf-report-modal__msg--success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.csg-lpf-report-modal__msg--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
