/* =====================================================================
   Lead Form Builder — Upgrade to Pro page  (option-style.css)
   ===================================================================== */

/* ── Page wrapper ────────────────────────────────────────────────────── */
.lfb-pro-page {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.lfb-pro-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #3c40e7 0%, #7c3aed 100%);
  border-radius: 16px;
  padding: 48px 48px 48px 52px;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
}
.lfb-pro-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}
.lfb-pro-hero-inner {
  flex: 1;
  min-width: 0;
}
.lfb-pro-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.lfb-pro-hero-badge svg { opacity: .9; }
.lfb-pro-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 14px !important;
  letter-spacing: -.5px;
}
.lfb-pro-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 480px;
}
.lfb-pro-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.lfb-pro-hero-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.lfb-pro-hero-stars span { margin-left: 6px; }
.lfb-pro-hero-img {
  flex-shrink: 0;
  width: 300px;
}
.lfb-pro-hero-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
  display: block;
}

/* ── CTA Buttons ──────────────────────────────────────────────────────── */
.lfb-pro-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  background: #fff;
  color: #3c40e7;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.lfb-pro-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  color: #3c40e7;
  text-decoration: none;
}
.lfb-pro-cta-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  box-shadow: none;
}
.lfb-pro-cta-btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.lfb-pro-section {
  margin-bottom: 40px;
}
.lfb-pro-section--alt {
  background: #f8faff;
  border: 1px solid #e8eaff;
  border-radius: 16px;
  padding: 40px;
}
.lfb-pro-section-head {
  text-align: center;
  margin-bottom: 36px;
}
.lfb-pro-section-tag {
  display: inline-block;
  background: #f0f1ff;
  color: #3c40e7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.lfb-pro-section-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1d2327;
  margin: 0 0 10px !important;
  letter-spacing: -.3px;
}
.lfb-pro-section-head p {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}
.lfb-pro-section-cta {
  text-align: center;
  margin-top: 36px;
}
.lfb-pro-section-cta .lfb-pro-cta-btn {
  background: linear-gradient(135deg, #3c40e7, #7c3aed);
  color: #fff;
  font-size: 15px;
  padding: 14px 32px;
  box-shadow: 0 4px 18px rgba(60,64,231,.35);
}
.lfb-pro-section-cta .lfb-pro-cta-btn:hover {
  box-shadow: 0 8px 28px rgba(60,64,231,.45);
  color: #fff;
}

/* ── Features Grid ────────────────────────────────────────────────────── */
.lfb-pro-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lfb-pro-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8eaff;
  border-radius: 12px;
  padding: 20px 18px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.lfb-pro-feature-card:hover {
  border-color: #b8bbff;
  box-shadow: 0 6px 24px rgba(60,64,231,.1);
  transform: translateY(-2px);
}
.lfb-pro-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3c40e7, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lfb-pro-feature-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1d2327;
  margin: 0 0 5px !important;
  line-height: 1.3;
}
.lfb-pro-feature-body p {
  font-size: 12.5px;
  color: #6b7280;
  margin: 0;
  line-height: 1.55;
}

/* ── About Cards ──────────────────────────────────────────────────────── */
.lfb-pro-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lfb-pro-about-card {
  background: #fff;
  border: 1px solid #e8eaff;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lfb-pro-about-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f1ff, #e4e6ff);
  color: #3c40e7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lfb-pro-about-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1d2327;
  margin: 0 !important;
}
.lfb-pro-about-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.lfb-pro-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3c40e7;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap .15s;
  margin-top: 4px;
}
.lfb-pro-link-btn:hover {
  gap: 10px;
  color: #3c40e7;
  text-decoration: none;
}

/* ── Themes Grid ──────────────────────────────────────────────────────── */
.lfb-pro-themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lfb-pro-theme-card {
  background: #fff;
  border: 1px solid #e8eaff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.lfb-pro-theme-card:hover {
  box-shadow: 0 8px 28px rgba(60,64,231,.12);
  transform: translateY(-3px);
}
.lfb-pro-theme-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, #3c40e7, #7c3aed);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  z-index: 1;
}
.lfb-pro-theme-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0f1ff;
}
.lfb-pro-theme-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.lfb-pro-theme-card:hover .lfb-pro-theme-img img {
  transform: scale(1.04);
}
.lfb-pro-theme-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid #f0f1ff;
}
.lfb-pro-theme-name {
  font-size: 14px;
  font-weight: 600;
  color: #1d2327;
}
.lfb-pro-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3c40e7, #7c3aed);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow .2s;
}
.lfb-pro-theme-btn:hover {
  box-shadow: 0 4px 12px rgba(60,64,231,.35);
  color: #fff;
  text-decoration: none;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lfb-pro-hero { flex-direction: column; padding: 36px 28px; }
  .lfb-pro-hero-img { width: 100%; max-width: 380px; margin: 0 auto; }
  .lfb-pro-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lfb-pro-about-grid { grid-template-columns: repeat(2, 1fr); }
  .lfb-pro-themes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lfb-pro-hero { padding: 28px 20px; }
  .lfb-pro-hero-title { font-size: 24px; }
  .lfb-pro-features-grid { grid-template-columns: 1fr; }
  .lfb-pro-about-grid { grid-template-columns: 1fr; }
  .lfb-pro-themes-grid { grid-template-columns: 1fr; }
  .lfb-pro-section--alt { padding: 24px 20px; }
  .lfb-pro-hero-actions { flex-direction: column; }
  .lfb-pro-cta-btn { justify-content: center; }
}