/* Premium public business profile — /influnet/:slug (business) */

.bpp-page {
  position: fixed;
  inset: 0;
  z-index: 100000;
  overflow: auto;
  background: #f3f4f8;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.bpp-page *,
.bpp-page *::before,
.bpp-page *::after {
  box-sizing: border-box;
}

/* Hero — corporate trust aesthetic */
.bpp-hero {
  position: relative;
  min-height: 340px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
}

.bpp-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.bpp-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(15, 23, 42, 0.65) 50%,
    rgba(15, 23, 42, 0.95) 100%
  );
}

.bpp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px 32px;
}

.bpp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.bpp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bpp-preview-note {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(253, 224, 71, 0.35);
}

.bpp-identity {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.bpp-logo {
  width: 108px;
  height: 108px;
  border-radius: 20px;
  background: #fff;
  color: #1e3a5f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 32px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  flex-shrink: 0;
}

.bpp-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bpp-identity-text {
  flex: 1;
  min-width: 240px;
}

.bpp-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.bpp-name {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.bpp-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  padding: 5px 11px;
  border-radius: 999px;
}

.bpp-industry {
  margin: 0 0 6px;
  color: #bfdbfe;
  font-size: 16px;
  font-weight: 600;
}

.bpp-location {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.bpp-website {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #93c5fd;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
}

.bpp-website:hover {
  color: #fff;
}

.bpp-rating-hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.bpp-stars {
  color: #fbbf24;
  font-size: 18px;
  letter-spacing: 1px;
}

.bpp-rating-num {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bpp-review-count {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.bpp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Trust bar */
.bpp-trust-bar {
  max-width: 1120px;
  margin: -18px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.bpp-trust-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px 18px;
}

.bpp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.bpp-trust-item--on {
  color: #047857;
}

.bpp-trust-item--off {
  color: #94a3b8;
}

.bpp-trust-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.bpp-trust-check--on {
  background: #d1fae5;
  color: #047857;
}

.bpp-trust-check--off {
  background: #f1f5f9;
  color: #94a3b8;
}

/* Buttons */
.bpp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.12s, box-shadow 0.12s;
}

.bpp-btn:hover {
  transform: translateY(-1px);
}

.bpp-btn--gold {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.bpp-btn--navy {
  background: #1e3a5f;
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.35);
}

.bpp-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.bpp-btn--ghost {
  background: #fff;
  color: #1e3a5f;
  border: 1px solid #e2e8f0;
}

.bpp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Main */
.bpp-main {
  max-width: 1120px;
  margin: 24px auto 0;
  padding: 0 24px 80px;
}

.bpp-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: start;
}

.bpp-col-primary,
.bpp-col-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bpp-col-side {
  position: sticky;
  top: 20px;
}

.bpp-section {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.bpp-section--highlight {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 80px);
}

.bpp-section-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e3a5f;
}

.bpp-section-subtitle {
  margin: -10px 0 16px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.bpp-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.bpp-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.bpp-block {
  margin-bottom: 18px;
}

.bpp-block:last-child {
  margin-bottom: 0;
}

.bpp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bpp-detail strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-top: 4px;
}

.bpp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bpp-tag {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
}

.bpp-tag--muted {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}

/* Stats */
.bpp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bpp-stat {
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e8eaef;
  text-align: center;
}

.bpp-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1.1;
}

.bpp-stat-label {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

/* Reviews */
.bpp-rating-summary {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  align-items: center;
}

.bpp-rating-big {
  text-align: center;
  min-width: 100px;
}

.bpp-rating-big-num {
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.bpp-rating-big-stars {
  color: #fbbf24;
  font-size: 20px;
  margin: 6px 0;
}

.bpp-rating-bars {
  flex: 1;
  min-width: 200px;
}

.bpp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #64748b;
}

.bpp-rating-bar {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.bpp-rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 999px;
}

.bpp-review-card {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #e8eaef;
  background: #fafbfc;
  margin-bottom: 12px;
}

.bpp-review-card:last-child {
  margin-bottom: 0;
}

.bpp-review-stars {
  color: #fbbf24;
  font-size: 14px;
  margin-bottom: 8px;
}

.bpp-review-quote {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
  font-style: italic;
}

.bpp-review-author {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.bpp-review-meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

/* Collaborations */
.bpp-collab-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e8eaef;
  background: #fafbfc;
  margin-bottom: 10px;
}

.bpp-collab-item:last-child {
  margin-bottom: 0;
}

.bpp-collab-main {
  flex: 1;
  min-width: 0;
}

.bpp-collab-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.bpp-collab-campaign {
  margin: 2px 0 0;
  font-size: 13px;
  color: #64748b;
}

.bpp-collab-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #047857;
  background: #d1fae5;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Portfolio */
.bpp-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bpp-portfolio-item {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e8eaef;
}

.bpp-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bpp-portfolio-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #1e3a5f;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  text-align: center;
}

/* Opportunities */
.bpp-opp-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #eff6ff, #fff);
  margin-bottom: 12px;
}

.bpp-opp-card:last-child {
  margin-bottom: 0;
}

.bpp-opp-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.bpp-opp-meta {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* Verification */
.bpp-verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bpp-verify-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.bpp-verify-badge--on {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.bpp-verify-badge--off {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

/* Activity */
.bpp-activity-list {
  display: flex;
  flex-direction: column;
}

.bpp-activity-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.bpp-activity-item:last-child {
  border-bottom: none;
}

.bpp-activity-label {
  color: #64748b;
}

.bpp-activity-value {
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}

/* Social */
.bpp-social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.bpp-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #e8eaef;
  text-decoration: none;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
}

.bpp-social-link:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

/* Footer */
.bpp-footer-cta {
  max-width: 1120px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.bpp-footer-card {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.bpp-footer-card h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
}

.bpp-footer-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.bpp-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.bpp-share {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  margin-top: 20px;
}

.bpp-empty {
  text-align: center;
  padding: 28px 16px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
}

.bpp-msg {
  margin-top: 12px;
  font-size: 13px;
  border-radius: 10px;
  padding: 10px 13px;
}

.bpp-msg--ok {
  background: #ecfdf5;
  color: #047857;
}

.bpp-msg--err {
  background: #fef2f2;
  color: #b91c1c;
}

.bpp-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100001;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e8eaef;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.bpp-sticky-cta .bpp-btn {
  width: 100%;
}

@media (max-width: 900px) {
  .bpp-grid {
    grid-template-columns: 1fr;
  }
  .bpp-col-side {
    position: static;
  }
  .bpp-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bpp-details-grid,
  .bpp-verify-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bpp-hero-inner,
  .bpp-trust-bar,
  .bpp-main,
  .bpp-footer-cta {
    padding-left: 16px;
    padding-right: 16px;
  }
  .bpp-trust-card {
    grid-template-columns: 1fr 1fr;
  }
  .bpp-sticky-cta {
    display: block;
  }
  .bpp-main {
    padding-bottom: 100px;
  }
}
