/* =========================================================
  BUSINESS AI ASSISTANT PUBLIC GENERATOR
  Prefix: baig = Business AI Generator
========================================================= */

.baig-section {
  --baig-dark: #2a0146;
  --baig-deep: #4f0fb8;
  --baig-purple: #6f1fe5;
  --baig-purple-soft: #7b23ec;
  --baig-pink: #ff0d96;
  --baig-hot-pink: #ff19a8;
  --baig-text: #160038;
  --baig-muted: #6e7890;
  --baig-line: rgba(111, 31, 229, 0.13);
  --baig-shadow: 0 26px 70px rgba(42, 1, 70, 0.10);

  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 92px 0 76px;
  background:
    radial-gradient(circle at 12% 12%, rgba(123, 35, 236, 0.10), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(255, 13, 150, 0.10), transparent 24%),
    linear-gradient(180deg, #fbf9ff 0%, #f4f0fb 48%, #ffffff 100%);
  color: var(--baig-text);
}

.baig-section *,
.baig-section *::before,
.baig-section *::after {
  box-sizing: border-box;
}

.baig-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.baig-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
}

.baig-glow-one {
  width: 420px;
  height: 420px;
  top: 70px;
  right: 8%;
  background: rgba(123, 35, 236, 0.18);
}

.baig-glow-two {
  width: 340px;
  height: 340px;
  bottom: 10px;
  left: 10%;
  background: rgba(255, 13, 150, 0.12);
}

.baig-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 31, 229, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 31, 229, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.42;
}

.baig-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
}

.baig-head {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.baig-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 14px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--baig-line);
  color: var(--baig-deep);
  box-shadow: 0 10px 26px rgba(90, 19, 199, 0.05);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baig-head h1 {
  margin: 0;
  color: var(--baig-text);
  font-size: clamp(2.25rem, 4.6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.baig-head p:not(.baig-kicker) {
  margin: 18px auto 0;
  max-width: 74ch;
  color: var(--baig-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.baig-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.baig-preview,
.baig-card {
  border: 1px solid var(--baig-line);
  box-shadow: var(--baig-shadow);
}

.baig-preview {
  position: sticky;
  top: 100px;
  align-self: start;
  min-height: 620px;
  padding: 26px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.10), transparent 22%),
    linear-gradient(180deg, #2a0146 0%, #22003b 100%);
  color: #ffffff;
  overflow: hidden;
}

.baig-preview::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -70px;
  border-radius: 999px;
  background: rgba(255, 13, 150, 0.24);
  filter: blur(12px);
}

.baig-preview-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.baig-preview-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--baig-hot-pink);
  box-shadow: 0 0 0 6px rgba(255, 25, 168, 0.16);
}

.baig-preview-assistant {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.baig-preview-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(135deg, #4f0fb8 0%, #ff0d96 100%);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(255, 13, 150, 0.22);
}

.baig-preview-assistant strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.baig-preview-assistant p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.baig-preview-chat {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.baig-chat-bubble {
  max-width: 92%;
  padding: 15px 16px;
  border-radius: 19px;
  font-size: 0.95rem;
  line-height: 1.62;
}

.baig-chat-user {
  margin-left: auto;
  color: #ffffff;
  background: linear-gradient(135deg, #6f1fe5 0%, #7b23ec 100%);
  border-bottom-right-radius: 7px;
}

.baig-chat-ai {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-left-radius: 7px;
}

.baig-preview-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.baig-preview-cards div,
.baig-preview-note {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.07);
}

.baig-preview-cards div {
  padding: 14px 12px;
  border-radius: 18px;
}

.baig-preview-cards strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.1;
}

.baig-preview-cards span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.35;
}

.baig-preview-note {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 25, 168, 0.16), rgba(255, 255, 255, 0.06));
}

.baig-preview-note strong {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
}

.baig-preview-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  font-size: 0.92rem;
}

.baig-card {
  min-width: 0;
  padding: 20px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.baig-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.baig-step {
  appearance: none;
  border: 1px solid rgba(111, 31, 229, 0.12);
  min-height: 50px;
  padding: 0 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #6e7890;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.baig-step span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 999px;
  background: rgba(111, 31, 229, 0.08);
  color: #4f0fb8;
  font-size: 0.72rem;
}

.baig-step.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #6f1fe5 0%, #5a13c7 100%);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(90, 19, 199, 0.18);
}

.baig-step.is-active span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.baig-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.baig-slider {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  border: 1px solid rgba(111, 31, 229, 0.10);
}

.baig-panel {
  position: absolute;
  inset: 0;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  overflow-y: auto;
}

.baig-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.baig-panel-head {
  margin-bottom: 22px;
}

.baig-panel-head p {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 10px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(111, 31, 229, 0.08);
  color: #5a13c7;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baig-panel-head h2 {
  margin: 0;
  color: #160038;
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.baig-panel-head span {
  display: block;
  margin-top: 10px;
  color: #6e7890;
  line-height: 1.65;
}

.baig-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.baig-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.baig-field-full {
  grid-column: 1 / -1;
}

.baig-field span {
  color: #2a0146;
  font-size: 0.82rem;
  font-weight: 850;
}

.baig-field small {
  color: #7a8498;
  line-height: 1.5;
}

.baig-field input,
.baig-field select,
.baig-field textarea {
  width: 100%;
  border: 1px solid rgba(111, 31, 229, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #160038;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.baig-field input,
.baig-field select {
  min-height: 52px;
  padding: 0 15px;
}

.baig-field textarea {
  resize: vertical;
  min-height: 128px;
  padding: 14px 15px;
  line-height: 1.55;
}

.baig-field input:focus,
.baig-field select:focus,
.baig-field textarea:focus {
  border-color: rgba(111, 31, 229, 0.46);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(111, 31, 229, 0.10);
}

.baig-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.baig-review div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(111, 31, 229, 0.06);
  border: 1px solid rgba(111, 31, 229, 0.10);
}

.baig-review span {
  display: block;
  color: #7a8498;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.baig-review strong {
  display: block;
  margin-top: 8px;
  color: #2a0146;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.baig-safe-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 13, 150, 0.08), rgba(111, 31, 229, 0.07));
  color: #667187;
  line-height: 1.65;
}

.baig-actions,
.baig-result-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.baig-actions {
  justify-content: space-between;
}

.baig-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.baig-btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.baig-btn:hover,
.baig-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.baig-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.baig-btn-main {
  color: #ffffff;
  background: linear-gradient(135deg, #6f1fe5 0%, #5a13c7 100%);
  box-shadow: 0 16px 32px rgba(90, 19, 199, 0.22);
}

.baig-btn-soft {
  color: #4f0fb8;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(111, 31, 229, 0.14);
}

.baig-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #6e7890;
  font-size: 0.9rem;
  line-height: 1.5;
}

.baig-status.is-error {
  color: #b42318;
}

.baig-status.is-success {
  color: #167344;
}

.baig-result {
  margin-top: 18px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #2a0146 0%, #22003b 100%);
  color: #ffffff;
  box-shadow: 0 24px 54px rgba(42, 1, 70, 0.18);
}

.baig-result-head p {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 10px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baig-result-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  letter-spacing: -0.035em;
}

.baig-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.baig-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.80);
  overflow-wrap: anywhere;
}

.baig-result .baig-field span {
  color: rgba(255, 255, 255, 0.86);
}

#baigGeneratedSnippet {
  background: rgba(255, 255, 255, 0.96);
  color: #160038;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
}

@media (max-width: 1060px) {
  .baig-layout {
    grid-template-columns: 1fr;
  }

  .baig-preview {
    position: relative;
    top: auto;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .baig-section {
    padding: 70px 0 52px;
  }

  .baig-shell {
    width: calc(100% - 20px);
  }

  .baig-head {
    text-align: left;
  }

  .baig-card,
  .baig-preview {
    padding: 16px;
    border-radius: 24px;
  }

  .baig-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .baig-slider {
    min-height: 640px;
  }

  .baig-panel {
    padding: 20px;
  }

  .baig-field-grid,
  .baig-review,
  .baig-preview-cards {
    grid-template-columns: 1fr;
  }

  .baig-actions,
  .baig-result-actions {
    flex-direction: column;
  }

  .baig-btn {
    width: 100%;
  }
}

/* =========================================================
  PAID ADVANCED BUSINESS AI PROFILE GENERATOR
  Complete premium CSS — base + dark/gold theme
========================================================= */

#paid-profile-generator.baipg-section {
  --baipg-dark: #080913;
  --baipg-deep: #140021;
  --baipg-purple: #6f1fe5;
  --baipg-purple-2: #4f0fb8;
  --baipg-pink: #ff0d96;
  --baipg-gold: #f4c76b;
  --baipg-gold-soft: #ffe3a3;
  --baipg-text: #160038;
  --baipg-muted: #6e7890;
  --baipg-line: rgba(244, 199, 107, 0.20);
  --baipg-shadow: 0 34px 90px rgba(6, 8, 19, 0.28);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 13, 150, 0.18), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(244, 199, 107, 0.14), transparent 24%),
    radial-gradient(circle at 55% 90%, rgba(111, 31, 229, 0.16), transparent 28%),
    linear-gradient(180deg, #080913 0%, #140021 56%, #fbf9ff 100%);
  color: var(--baipg-text);
}

#paid-profile-generator *,
#paid-profile-generator *::before,
#paid-profile-generator *::after {
  box-sizing: border-box;
}

.baipg-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.baipg-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(82px);
}

.baipg-glow-one {
  width: 440px;
  height: 440px;
  top: 50px;
  right: 8%;
  background: rgba(123, 35, 236, 0.18);
}

.baipg-glow-two {
  width: 360px;
  height: 360px;
  bottom: -50px;
  left: 8%;
  background: rgba(255, 13, 150, 0.13);
}

.baipg-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-size: 46px 46px;
  background-image:
    linear-gradient(rgba(244, 199, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 199, 107, 0.055) 1px, transparent 1px);
}

.baipg-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.baipg-head {
  max-width: 980px;
  margin: 0 auto 36px;
  text-align: center;
}

.baipg-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 14px;
  padding: 0 16px;
  border-radius: 999px;
  color: #140021;
  background: linear-gradient(135deg, #f4c76b 0%, #ffe3a3 100%);
  border: 1px solid rgba(244, 199, 107, 0.30);
  box-shadow: 0 14px 34px rgba(244, 199, 107, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baipg-head h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.baipg-head p:not(.baipg-kicker) {
  margin: 18px auto 0;
  max-width: 78ch;
  color: rgba(248, 244, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.74;
}

.baipg-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

/* LEFT SUMMARY */

.baipg-summary {
  position: sticky;
  top: 100px;
  min-height: 620px;
  padding: 26px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.10), transparent 18%),
    radial-gradient(circle at 100% 0%, rgba(244, 199, 107, 0.20), transparent 28%),
    linear-gradient(160deg, #240035 0%, #12001f 48%, #070812 100%);
  border: 1px solid rgba(244, 199, 107, 0.22);
  box-shadow:
    0 34px 90px rgba(6, 8, 19, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.baipg-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(244, 199, 107, 0.75), rgba(255, 13, 150, 0.35), rgba(111, 31, 229, 0.20));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.baipg-summary::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 250px;
  height: 250px;
  border-radius: 999px;
  background: rgba(244, 199, 107, 0.20);
  filter: blur(16px);
}

.baipg-summary-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ffe3a3;
  background: rgba(244, 199, 107, 0.10);
  border: 1px solid rgba(244, 199, 107, 0.22);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.baipg-summary-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #f4c76b;
  box-shadow: 0 0 0 6px rgba(244, 199, 107, 0.16);
}

.baipg-summary-card,
.baipg-summary-stack div,
.baipg-summary-note {
  position: relative;
  z-index: 1;
}

.baipg-summary-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
  border: 1px solid rgba(244, 199, 107, 0.16);
}

.baipg-summary-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.baipg-summary-card p {
  margin: 8px 0 0;
  color: rgba(248, 244, 255, 0.68);
}

.baipg-summary-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.baipg-summary-stack div {
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(244, 199, 107, 0.14);
}

.baipg-summary-stack strong {
  display: block;
  color: #ffe3a3;
}

.baipg-summary-stack span {
  display: block;
  margin-top: 5px;
  color: rgba(248, 244, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.35;
}

.baipg-summary-note {
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(244, 199, 107, 0.14), rgba(255, 13, 150, 0.08));
  border: 1px solid rgba(244, 199, 107, 0.18);
}

.baipg-summary-note strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.baipg-summary-note p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  font-size: 0.92rem;
}

/* RIGHT CARD */

.baipg-card {
  min-width: 0;
  padding: 20px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(250,247,255,0.90) 100%);
  border: 1px solid rgba(244, 199, 107, 0.20);
  box-shadow:
    0 34px 90px rgba(6, 8, 19, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.baipg-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.baipg-step {
  appearance: none;
  min-height: 50px;
  border: 1px solid rgba(42, 1, 70, 0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.80);
  color: #6e7890;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.baipg-step:hover,
.baipg-step:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.baipg-step span {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-right: 5px;
  border-radius: 999px;
  background: rgba(111,31,229,0.08);
  color: #4f0fb8;
  font-size: 0.7rem;
}

.baipg-step.is-active {
  color: #140021;
  border-color: transparent;
  background: linear-gradient(135deg, #f4c76b 0%, #ffe3a3 100%);
  box-shadow: 0 16px 32px rgba(244, 199, 107, 0.26);
}

.baipg-step.is-active span {
  color: #ffffff;
  background: #2a0146;
}

/* SLIDER PANELS */

.baipg-slider {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  border: 1px solid rgba(111,31,229,0.10);
}

.baipg-panel {
  position: absolute;
  inset: 0;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  overflow-y: auto;
}

.baipg-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.baipg-panel-head {
  margin-bottom: 22px;
}

.baipg-panel-head p {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 10px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(111,31,229,0.08);
  color: #5a13c7;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baipg-panel-head h2 {
  margin: 0;
  color: #160038;
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.baipg-panel-head span {
  display: block;
  margin-top: 10px;
  color: #6e7890;
  line-height: 1.65;
}

/* FIELDS */

.baipg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.baipg-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.baipg-field-full {
  grid-column: 1 / -1;
}

.baipg-field span {
  color: #2a0146;
  font-size: 0.82rem;
  font-weight: 850;
}

.baipg-field small {
  color: #7a8498;
  line-height: 1.5;
}

.baipg-field input,
.baipg-field select,
.baipg-field textarea {
  width: 100%;
  border: 1px solid rgba(111,31,229,0.15);
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  color: #160038;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.baipg-field input,
.baipg-field select {
  min-height: 52px;
  padding: 0 15px;
}

.baipg-field textarea {
  min-height: 128px;
  padding: 14px 15px;
  resize: vertical;
  line-height: 1.55;
}

.baipg-field input:focus,
.baipg-field select:focus,
.baipg-field textarea:focus {
  border-color: rgba(111,31,229,0.46);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(111,31,229,0.10);
}

/* REVIEW */

.baipg-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.baipg-review div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(111,31,229,0.06);
  border: 1px solid rgba(111,31,229,0.10);
}

.baipg-review span {
  display: block;
  color: #7a8498;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.baipg-review strong {
  display: block;
  margin-top: 8px;
  color: #2a0146;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.baipg-safe-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  color: #667187;
  line-height: 1.65;
  background: linear-gradient(135deg, rgba(255,13,150,0.08), rgba(111,31,229,0.07));
}

/* ACTIONS */

.baipg-actions,
.baipg-output-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.baipg-actions {
  justify-content: space-between;
}

.baipg-btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.baipg-btn:hover,
.baipg-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.baipg-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.baipg-btn-main {
  color: #140021;
  background: linear-gradient(135deg, #f4c76b 0%, #ffe3a3 100%);
  box-shadow: 0 18px 38px rgba(244, 199, 107, 0.26);
}

.baipg-btn-main:hover,
.baipg-btn-main:focus-visible {
  filter: brightness(1.03);
}

.baipg-btn-soft {
  color: #4f0fb8;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(42, 1, 70, 0.12);
}

.baipg-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #6e7890;
  font-size: 0.9rem;
}

.baipg-status.is-success {
  color: #167344;
}

.baipg-status.is-error {
  color: #b42318;
}

/* =========================================================
   BAIPG OUTPUT / PREMIUM PROFILE RESULT
========================================================= */

.baipg-section .baipg-output {
  margin-top: 18px;
  padding: 28px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 199, 107, 0.18), transparent 26%),
    radial-gradient(circle at 0% 100%, rgba(255, 25, 168, 0.10), transparent 32%),
    linear-gradient(180deg, #2a0146 0%, #160026 100%);
  border: 1px solid rgba(244, 199, 107, 0.20);
  box-shadow:
    0 30px 70px rgba(6, 8, 19, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.baipg-section .baipg-output[hidden] {
  display: none !important;
}

/* OUTPUT HEAD */

.baipg-section .baipg-output-head {
  margin-bottom: 22px;
}

.baipg-section .baipg-output-head p {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ffe680;
  background: rgba(244, 199, 107, 0.13);
  border: 1px solid rgba(244, 199, 107, 0.14);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.baipg-section .baipg-output-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

/* RESULT META CARDS */

.baipg-section .baipg-output .baipg-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 22px;
}

.baipg-section .baipg-output .baipg-review > div {
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.baipg-section .baipg-output .baipg-review span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.baipg-section .baipg-output .baipg-review strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* FIELD LABELS INSIDE OUTPUT */

.baipg-section .baipg-output .baipg-field {
  margin-top: 14px;
}

.baipg-section .baipg-output .baipg-field > span,
.baipg-section .baipg-output label > span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 850;
}

/* SNIPPET + JSON TEXTAREAS */

.baipg-section .baipg-output textarea,
.baipg-section .baipg-output #baipgJsonOutput,
.baipg-section .baipg-output #baipgSnippetOutput {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(244, 199, 107, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #160038;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

.baipg-section .baipg-output #baipgSnippetOutput {
  min-height: 230px;
}

.baipg-section .baipg-output #baipgJsonOutput {
  min-height: 320px;
}

/* BUTTON ROW */

.baipg-section .baipg-output-actions,
.baipg-section .baipg-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.baipg-section .baipg-output-actions .baipg-btn,
.baipg-section .baipg-result-actions .baipg-btn {
  flex: 1 1 190px;
}

/* RESPONSIVE */

@media (max-width: 760px) {
  .baipg-section .baipg-output {
    padding: 20px;
    border-radius: 22px;
  }

  .baipg-section .baipg-output .baipg-review {
    grid-template-columns: 1fr;
  }

  .baipg-section .baipg-output-actions,
  .baipg-section .baipg-result-actions {
    flex-direction: column;
  }

  .baipg-section .baipg-output-actions .baipg-btn,
  .baipg-section .baipg-result-actions .baipg-btn {
    width: 100%;
    flex: 1 1 auto;
  }
}

/* RESPONSIVE */

@media (max-width: 1120px) {
  .baipg-layout {
    grid-template-columns: 1fr;
  }

  .baipg-summary {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .baipg-steps {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  #paid-profile-generator.baipg-section {
    padding: 70px 0 52px;
  }

  .baipg-shell {
    width: calc(100% - 20px);
  }

  .baipg-head {
    text-align: left;
  }

  .baipg-card,
  .baipg-summary {
    padding: 16px;
    border-radius: 24px;
  }

  .baipg-steps {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .baipg-slider {
    min-height: 720px;
  }

  .baipg-panel {
    padding: 20px;
  }

  .baipg-grid,
  .baipg-review,
  .baipg-summary-stack {
    grid-template-columns: 1fr;
  }

  .baipg-actions,
  .baipg-output-actions {
    flex-direction: column;
  }

  .baipg-btn {
    width: 100%;
  }
}

/* =========================================================
   WEBS DOCS ADMIN LOGIN GATE
========================================================= */

body.admin-auth-locked .wd-admin-protected {
  display: none !important;
}

body.admin-auth-unlocked .wd-admin-login {
  display: none !important;
}

.wd-admin-login {
  min-height: calc(100vh - 90px);
  min-height: calc(100svh - 90px);
  display: grid;
  place-items: center;
  padding: 42px 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 25, 168, 0.14), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(244, 199, 107, 0.16), transparent 28%),
    linear-gradient(180deg, #f8f3ff 0%, #efe6ff 100%);
}

.wd-admin-login-card {
  width: min(560px, 100%);
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 199, 107, 0.16), transparent 28%),
    linear-gradient(180deg, #2a0146 0%, #160026 100%);
  border: 1px solid rgba(244, 199, 107, 0.18);
  box-shadow:
    0 34px 90px rgba(42, 1, 70, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.wd-admin-login-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 950;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #ff19a8 0%, #7b23ec 100%);
  box-shadow: 0 18px 38px rgba(255, 25, 168, 0.22);
}

.wd-admin-login-kicker {
  width: fit-content;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffe680;
  background: rgba(244, 199, 107, 0.12);
  border: 1px solid rgba(244, 199, 107, 0.14);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wd-admin-login h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.wd-admin-login-card > p:not(.wd-admin-login-kicker):not(.wd-admin-login-status) {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.wd-admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.wd-admin-login-form label {
  display: grid;
  gap: 8px;
}

.wd-admin-login-form label span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 850;
}

.wd-admin-login-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  outline: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wd-admin-login-form input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.wd-admin-login-form input:focus {
  border-color: rgba(244, 199, 107, 0.62);
  box-shadow:
    0 0 0 4px rgba(244, 199, 107, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wd-admin-login-form button {
  min-height: 52px;
  border-radius: 999px;
  cursor: pointer;
  color: #2a0146;
  background: linear-gradient(135deg, #ffe680 0%, #f4c76b 100%);
  font-weight: 950;
  letter-spacing: -0.01em;
  box-shadow:
    0 18px 38px rgba(244, 199, 107, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.wd-admin-login-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #ffe680;
  font-size: 0.9rem;
  line-height: 1.5;
}

.wd-admin-login-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.wd-admin-login-foot span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.76rem;
  font-weight: 800;
}

@media (max-width: 640px) {
  .wd-admin-login-card {
    padding: 24px;
    border-radius: 26px;
  }

  .wd-admin-login h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}