/* =========================================================
  WEBDOCS PAID AI ASSISTANT ACTIVATION
  File: /product-ai/css/paid-activate.css
  Prefix: pa
  Version: plan-aware-v2-wide
========================================================= */

:root {
  --pa-dark: #2a0146;
  --pa-deep: #4f0fb8;
  --pa-purple: #6f1fe5;
  --pa-purple-soft: #7b23ec;
  --pa-pink: #ff0d96;
  --pa-blue: #2563eb;
  --pa-cyan: #00c0f3;
  --pa-emerald: #139b62;
  --pa-gold: #f4c76b;
  --pa-amber: #c7831d;

  --pa-text: #160038;
  --pa-muted: #667187;
  --pa-muted-2: #7a8498;
  --pa-line: rgba(111, 31, 229, 0.14);
  --pa-line-strong: rgba(111, 31, 229, 0.22);
  --pa-white: #ffffff;
  --pa-bg: #fbf9ff;

  --pa-success: #167344;
  --pa-error: #b42318;
  --pa-warning: #a15c00;

  --pa-shadow: 0 26px 70px rgba(42, 1, 70, 0.11);
  --pa-shadow-soft: 0 18px 46px rgba(42, 1, 70, 0.08);
  --pa-radius-lg: 36px;
  --pa-radius-md: 26px;
  --pa-radius-sm: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fbf9ff;
  color: var(--pa-text);
}

/* =========================================================
   GLOBAL SHELL / BUTTONS
========================================================= */

.pa-shell {
  position: relative;
  z-index: 1;
  width: min(1560px, calc(100% - 44px));
  margin: 0 auto;
}

.pa-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 14px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pa-btn {
  appearance: none;
  border: 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.pa-btn:hover,
.pa-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.pa-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.pa-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pa-purple) 0%, var(--pa-deep) 100%);
  box-shadow: 0 16px 32px rgba(90, 19, 199, 0.24);
}

.pa-btn-soft {
  color: var(--pa-deep);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(111, 31, 229, 0.13);
}

.pa-hero-actions,
.pa-inline-actions,
.pa-actions,
.pa-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   HERO
========================================================= */

.pa-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 12% 12%, rgba(123, 35, 236, 0.14), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(255, 13, 150, 0.11), transparent 26%),
    linear-gradient(180deg, #fbf9ff 0%, #f4f0fb 100%);
}

.pa-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pa-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(84px);
}

.pa-glow-one {
  width: 420px;
  height: 420px;
  top: 60px;
  right: 10%;
  background: rgba(123, 35, 236, 0.18);
}

.pa-glow-two {
  width: 360px;
  height: 360px;
  bottom: -80px;
  left: 8%;
  background: rgba(255, 13, 150, 0.13);
}

.pa-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.40;
  background-size: 44px 44px;
  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);
}

.pa-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.pa-hero-copy {
  padding: 44px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.11), transparent 22%),
    linear-gradient(135deg, #2a0146 0%, #160038 58%, #4f0fb8 100%);
  color: #ffffff;
  box-shadow: var(--pa-shadow);
  overflow: hidden;
}

.pa-hero-copy h1 {
  margin: 0;
  max-width: 880px;
  color: #ffffff;
  font-size: clamp(2.65rem, 5.5vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.pa-hero-copy p:not(.pa-kicker) {
  max-width: 78ch;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
  line-height: 1.75;
}

.pa-hero-actions {
  margin-top: 28px;
}

.pa-hero-card {
  padding: 28px;
  border-radius: 36px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 199, 107, 0.18), transparent 32%),
    linear-gradient(160deg, #240035 0%, #12001f 48%, #070812 100%);
  border: 1px solid rgba(244, 199, 107, 0.22);
  box-shadow: var(--pa-shadow);
}

.pa-mini-badge {
  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;
}

.pa-mini-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--pa-gold);
  box-shadow: 0 0 0 6px rgba(244, 199, 107, 0.16);
}

.pa-flow-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.pa-flow-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.pa-flow-list strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(135deg, #f4c76b, #ff0d96);
  color: #140021;
  font-weight: 950;
}

.pa-flow-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

/* =========================================================
   MAIN SECTION
========================================================= */

.pa-section {
  position: relative;
  padding: 88px 0 82px;
  background:
    radial-gradient(circle at 20% 0%, rgba(111, 31, 229, 0.07), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
}

.pa-plan-activation {
  padding-top: 96px;
  background:
    radial-gradient(circle at 8% 6%, rgba(111, 31, 229, 0.10), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(255, 13, 150, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8f4ff 100%);
}

.pa-section-head {
  max-width: 980px;
  margin: 0 auto 38px;
  text-align: center;
}

.pa-section-head .pa-kicker {
  color: var(--pa-deep);
  background: rgba(111, 31, 229, 0.08);
  border-color: rgba(111, 31, 229, 0.10);
}

.pa-section-head h2 {
  margin: 0;
  color: var(--pa-text);
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.pa-section-head p:not(.pa-kicker) {
  max-width: 82ch;
  margin: 18px auto 0;
  color: var(--pa-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

/* =========================================================
   PLAN-AWARE WIDE LAYOUT
========================================================= */

.pa-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.54fr) minmax(0, 1.46fr);
  gap: 24px;
  align-items: start;
}

.pa-plan-layout {
  grid-template-columns: minmax(330px, 390px) minmax(0, 1fr);
  gap: 26px;
}

.pa-side {
  position: sticky;
  top: 96px;
}

.pa-side-card,
.pa-card {
  border: 1px solid var(--pa-line);
  box-shadow: var(--pa-shadow);
}

.pa-card {
  min-width: 0;
  padding: 22px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pa-plan-card {
  padding: 24px;
}

/* =========================================================
   SIDE PREVIEW / PLAN CAPS
========================================================= */

.pa-side-card {
  min-height: 640px;
  padding: 26px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.10), transparent 22%),
    radial-gradient(circle at 80% 4%, rgba(244, 199, 107, 0.16), transparent 28%),
    linear-gradient(180deg, #2a0146 0%, #22003b 100%);
  overflow: hidden;
}

.pa-sticky-card {
  position: sticky;
  top: 96px;
}

.pa-side-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pa-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-bottom: 22px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.pa-plan-pill span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--pa-gold);
  box-shadow: 0 0 0 7px rgba(244, 199, 107, 0.14);
}

.pa-plan-pill strong {
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pa-plan-pill[data-plan="regular"] span {
  background: #60a5fa;
  box-shadow: 0 0 0 7px rgba(96, 165, 250, 0.16);
}

.pa-plan-pill[data-plan="pro"] span {
  background: #a78bfa;
  box-shadow: 0 0 0 7px rgba(167, 139, 250, 0.16);
}

.pa-plan-pill[data-plan="premium"] span {
  background: var(--pa-gold);
  box-shadow: 0 0 0 7px rgba(244, 199, 107, 0.18);
}

.pa-plan-pill[data-plan="elite"] span {
  background: #34d399;
  box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.16);
}

.pa-assistant-preview {
  display: flex;
  gap: 14px;
  align-items: center;
}

.pa-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pa-purple), var(--pa-pink));
  color: #ffffff;
  font-weight: 950;
}

.pa-assistant-preview strong {
  display: block;
  color: #ffffff;
  font-size: 1.16rem;
}

.pa-assistant-preview span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
}

.pa-preview-bubble {
  max-width: 94%;
  margin-top: 22px;
  padding: 15px 16px;
  border-radius: 19px;
  font-size: 0.94rem;
  line-height: 1.62;
}

.pa-preview-user {
  margin-left: auto;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pa-purple), var(--pa-purple-soft));
  border-bottom-right-radius: 7px;
}

.pa-preview-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;
}

.pa-plan-capabilities {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.pa-capability {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.pa-capability span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 750;
}

.pa-capability strong {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pa-capability.is-active strong,
.pa-capability.is-unlocked strong {
  color: #fff;
}

.pa-capability.is-unlocked {
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.16), rgba(255, 255, 255, 0.06));
  border-color: rgba(244, 199, 107, 0.25);
}

.pa-side-note {
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 25, 168, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.pa-side-note-soft {
  background: rgba(255, 255, 255, 0.055);
}

.pa-side-note strong {
  color: #ffffff;
}

.pa-side-note p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.pa-side-note code {
  color: #ffffff;
}

/* =========================================================
   VALIDATION STRIP
========================================================= */

.pa-validation-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 31, 229, 0.08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%);
  border: 1px solid rgba(111, 31, 229, 0.13);
}

.pa-strip-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--pa-deep);
  background: rgba(111, 31, 229, 0.08);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pa-validation-strip strong {
  display: block;
  color: var(--pa-text);
  font-size: 1.12rem;
  line-height: 1.3;
}

.pa-validation-strip p {
  margin: 6px 0 0;
  color: var(--pa-muted);
  line-height: 1.55;
}

.pa-strip-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.pa-strip-meta span {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: #2a2142;
  background: rgba(111, 31, 229, 0.055);
  border: 1px solid rgba(111, 31, 229, 0.10);
  font-size: 0.86rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pa-validation-strip.is-valid {
  border-color: rgba(22, 115, 68, 0.25);
  background:
    radial-gradient(circle at 0% 0%, rgba(22, 115, 68, 0.08), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7fff9 100%);
}

.pa-validation-strip.is-valid .pa-strip-label {
  color: var(--pa-success);
  background: rgba(22, 115, 68, 0.09);
}

/* =========================================================
   STEPS / SLIDER
========================================================= */

.pa-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.pa-step {
  appearance: none;
  border: 1px solid rgba(111, 31, 229, 0.12);
  min-height: 52px;
  padding: 0 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #6e7890;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.pa-step:hover {
  transform: translateY(-1px);
  border-color: rgba(111, 31, 229, 0.22);
}

.pa-step span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  border-radius: 999px;
  background: rgba(111, 31, 229, 0.08);
  color: var(--pa-deep);
  font-size: 0.72rem;
}

.pa-step.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pa-purple), var(--pa-deep));
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(90, 19, 199, 0.18);
}

.pa-step.is-active span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.pa-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  border: 1px solid rgba(111, 31, 229, 0.10);
}

.pa-panel {
  position: absolute;
  inset: 0;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(111, 31, 229, 0.28) transparent;
}

.pa-panel::-webkit-scrollbar {
  width: 9px;
}

.pa-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(111, 31, 229, 0.24);
}

.pa-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.pa-panel-head {
  margin-bottom: 22px;
}

.pa-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: var(--pa-deep);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pa-panel-head h3 {
  margin: 0;
  color: var(--pa-text);
  font-size: clamp(1.72rem, 2.5vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.pa-panel-head span {
  display: block;
  margin-top: 10px;
  color: var(--pa-muted);
  line-height: 1.65;
}

/* =========================================================
   FIELDS
========================================================= */

.pa-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pa-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.pa-field-full {
  grid-column: 1 / -1;
}

.pa-field span {
  color: var(--pa-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.pa-field small {
  color: #7a8498;
  line-height: 1.5;
}

.pa-field input,
.pa-field select,
.pa-field textarea {
  width: 100%;
  border: 1px solid rgba(111, 31, 229, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--pa-text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.pa-field input,
.pa-field select {
  min-height: 52px;
  padding: 0 15px;
}

.pa-field textarea {
  resize: vertical;
  min-height: 124px;
  padding: 14px 15px;
  line-height: 1.55;
}

.pa-field input:focus,
.pa-field select:focus,
.pa-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);
}

.pa-inline-actions {
  margin-top: 4px;
}

/* =========================================================
   PLAN GUIDE / PLAN UNLOCK AREAS
========================================================= */

.pa-plan-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 18px;
}

.pa-plan-guide-card {
  position: relative;
  min-height: 136px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
  border: 1px solid rgba(111, 31, 229, 0.12);
  box-shadow: 0 12px 28px rgba(42, 1, 70, 0.055);
  overflow: hidden;
}

.pa-plan-guide-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pa-blue), var(--pa-purple));
}

.pa-plan-guide-card[data-plan-card="premium"]::before {
  background: linear-gradient(90deg, var(--pa-purple), var(--pa-gold));
}

.pa-plan-guide-card[data-plan-card="elite"]::before {
  background: linear-gradient(90deg, #070812, var(--pa-emerald), var(--pa-gold));
}

.pa-plan-guide-card strong {
  display: block;
  color: var(--pa-text);
  font-size: 1.05rem;
  font-weight: 950;
}

.pa-plan-guide-card p {
  margin: 8px 0 0;
  color: var(--pa-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.pa-plan-guide-card.is-active {
  border-color: rgba(111, 31, 229, 0.30);
  box-shadow: 0 18px 38px rgba(111, 31, 229, 0.13);
}

.pa-plan-unlock,
.pa-plan-locked-note {
  margin: 18px 0;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(111, 31, 229, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 31, 229, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 255, 0.96) 100%);
}

.pa-plan-unlock {
  position: relative;
  overflow: hidden;
}

.pa-plan-unlock::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pa-purple), var(--pa-pink), var(--pa-gold));
}

.pa-plan-unlock.is-locked {
  opacity: 0.62;
  filter: grayscale(0.18);
}

.pa-plan-unlock.is-locked textarea,
.pa-plan-unlock.is-locked input,
.pa-plan-unlock.is-locked select {
  pointer-events: none;
  background: rgba(244, 242, 249, 0.68);
}

.pa-unlock-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.pa-unlock-head span {
  display: inline-grid;
  place-items: center;
  min-width: 72px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pa-purple), var(--pa-deep));
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pa-unlock-head strong {
  color: var(--pa-text);
  font-size: 1.05rem;
}

.pa-plan-locked-note {
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 199, 107, 0.12), transparent 32%),
    linear-gradient(180deg, #fffdfa 0%, #fbf9ff 100%);
  border-color: rgba(244, 199, 107, 0.24);
}

.pa-plan-locked-note strong {
  display: block;
  color: var(--pa-dark);
  margin-bottom: 8px;
}

.pa-plan-locked-note p {
  margin: 0;
  color: var(--pa-muted);
  line-height: 1.65;
}

/* By default JS may add .is-hidden; CSS also supports hidden attr */
.pa-plan-unlock[hidden],
.pa-plan-locked-note[hidden],
.is-hidden {
  display: none !important;
}

/* =========================================================
   REVIEW / CHECKLIST
========================================================= */

.pa-review {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pa-review div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(111, 31, 229, 0.06);
  border: 1px solid rgba(111, 31, 229, 0.10);
}

.pa-review span {
  display: block;
  color: #7a8498;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pa-review strong {
  display: block;
  margin-top: 8px;
  color: var(--pa-dark);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.pa-create-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pa-create-checklist div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px;
  border-radius: 18px;
  background: rgba(22, 115, 68, 0.055);
  border: 1px solid rgba(22, 115, 68, 0.12);
}

.pa-create-checklist span {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--pa-success);
  box-shadow: 0 0 0 6px rgba(22, 115, 68, 0.09);
}

.pa-create-checklist p {
  margin: 0;
  color: var(--pa-muted);
  line-height: 1.55;
}

.pa-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;
}

/* =========================================================
   ACTIONS / STATUS
========================================================= */

.pa-actions {
  justify-content: space-between;
  margin-top: 16px;
}

.pa-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--pa-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pa-status.is-error {
  color: var(--pa-error);
}

.pa-status.is-success {
  color: var(--pa-success);
}

.pa-status.is-warning {
  color: var(--pa-warning);
}

/* =========================================================
   RESULT
========================================================= */

.pa-result {
  margin-top: 18px;
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 199, 107, 0.14), transparent 32%),
    linear-gradient(180deg, #2a0146 0%, #22003b 100%);
  color: #ffffff;
  box-shadow: 0 24px 54px rgba(42, 1, 70, 0.18);
}

.pa-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;
}

.pa-result-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  letter-spacing: -0.035em;
}

.pa-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);
}

.pa-result-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pa-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.pa-result .pa-field span {
  color: rgba(255, 255, 255, 0.86);
}

#paGeneratedSnippet,
#paGeneratedJson {
  background: rgba(255, 255, 255, 0.96);
  color: var(--pa-text);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 0.82rem;
}

.pa-result-actions {
  margin-top: 16px;
}

/* =========================================================
   INFO / PROCESS / DISCLAIMER CARDS
========================================================= */

.pa-info-section,
.pa-note-section,
.pa-disclaimer-section,
.pa-faq-note-section {
  position: relative;
  padding: clamp(58px, 7vw, 96px) 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 31, 229, 0.08), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(0, 192, 243, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%);
}

.pa-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.pa-info-card {
  position: relative;
  min-height: 245px;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 255, 0.96) 100%);
  border: 1px solid rgba(111, 31, 229, 0.12);
  box-shadow: 0 18px 46px rgba(42, 1, 70, 0.08);
  overflow: hidden;
}

.pa-info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #6f1fe5 0%, #00c0f3 55%, #ff0d96 100%);
}

.pa-info-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111, 31, 229, 0.10), transparent 68%);
  pointer-events: none;
}

.pa-info-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a0146 0%, #6f1fe5 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(111, 31, 229, 0.18);
}

.pa-info-card h3 {
  margin: 0 0 10px;
  color: #160038;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.pa-info-card p {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.68;
}

.pa-closing-note,
.pa-disclaimer-card,
.pa-faq-note {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 31, 229, 0.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  border: 1px solid rgba(111, 31, 229, 0.12);
  box-shadow: 0 24px 60px rgba(42, 1, 70, 0.10);
}

.pa-closing-note h2,
.pa-disclaimer-card h2,
.pa-faq-note h2 {
  margin: 0 0 14px;
  color: #160038;
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 760;
  text-wrap: balance;
}

.pa-closing-note p,
.pa-disclaimer-card p,
.pa-faq-note p {
  max-width: 1040px;
  margin: 0;
  color: #667085;
  font-size: 0.98rem;
  line-height: 1.72;
}

.pa-closing-note p + p,
.pa-disclaimer-card p + p,
.pa-faq-note p + p {
  margin-top: 12px;
}

.pa-closing-note .pa-hero-actions {
  margin-top: 22px;
}

/* FAQ LINKS */

.pa-info-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pa-info-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(111, 31, 229, 0.14);
  color: #5a13c7;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 720;
  box-shadow: 0 10px 24px rgba(42, 1, 70, 0.06);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.pa-info-links a:hover,
.pa-info-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(111, 31, 229, 0.28);
  background: #f7f1ff;
  color: #2a0146;
  outline: none;
}

/* DARK VARIANT SUPPORT */

.pa-info-section.is-dark,
.pa-note-section.is-dark,
.pa-disclaimer-section.is-dark,
.pa-faq-note-section.is-dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(111, 31, 229, 0.24), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(0, 192, 243, 0.16), transparent 28%),
    linear-gradient(180deg, #130821 0%, #0b0712 100%);
}

.pa-info-section.is-dark .pa-section-head h2,
.pa-info-section.is-dark .pa-section-head p {
  color: #ffffff;
}

.pa-info-section.is-dark .pa-info-card,
.pa-note-section.is-dark .pa-closing-note,
.pa-disclaimer-section.is-dark .pa-disclaimer-card,
.pa-faq-note-section.is-dark .pa-faq-note {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.045) 100%);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.pa-info-section.is-dark .pa-info-card h3,
.pa-note-section.is-dark .pa-closing-note h2,
.pa-disclaimer-section.is-dark .pa-disclaimer-card h2,
.pa-faq-note-section.is-dark .pa-faq-note h2 {
  color: #ffffff;
}

.pa-info-section.is-dark .pa-info-card p,
.pa-note-section.is-dark .pa-closing-note p,
.pa-disclaimer-section.is-dark .pa-disclaimer-card p,
.pa-faq-note-section.is-dark .pa-faq-note p {
  color: rgba(248, 244, 255, 0.72);
}

.pa-info-section.is-dark .pa-info-links a,
.pa-faq-note-section.is-dark .pa-info-links a {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1320px) {
  .pa-shell {
    width: min(1240px, calc(100% - 34px));
  }

  .pa-plan-layout {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .pa-plan-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pa-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pa-slider {
    min-height: 720px;
  }
}

@media (max-width: 1160px) {
  .pa-layout,
  .pa-plan-layout,
  .pa-hero-grid {
    grid-template-columns: 1fr;
  }

  .pa-side,
  .pa-sticky-card {
    position: relative;
    top: auto;
  }

  .pa-side-card {
    min-height: auto;
  }

  .pa-plan-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pa-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pa-review {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pa-validation-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .pa-shell {
    width: calc(100% - 22px);
  }

  .pa-hero {
    padding: 54px 0 46px;
  }

  .pa-hero-copy,
  .pa-hero-card,
  .pa-card,
  .pa-side-card {
    padding: 18px;
    border-radius: 24px;
  }

  .pa-hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.65rem);
  }

  .pa-section {
    padding: 62px 0;
  }

  .pa-section-head {
    text-align: left;
  }

  .pa-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pa-slider {
    min-height: 850px;
  }

  .pa-panel {
    padding: 20px;
  }

  .pa-field-grid,
  .pa-review,
  .pa-create-checklist,
  .pa-result-meta,
  .pa-plan-capabilities,
  .pa-plan-guide-grid {
    grid-template-columns: 1fr;
  }

  .pa-actions,
  .pa-result-actions,
  .pa-hero-actions,
  .pa-inline-actions {
    flex-direction: column;
  }

  .pa-btn {
    width: 100%;
  }

  .pa-info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pa-info-card {
    min-height: auto;
    padding: 20px;
    border-radius: 20px;
  }

  .pa-closing-note,
  .pa-disclaimer-card,
  .pa-faq-note {
    padding: 22px;
    border-radius: 22px;
  }

  .pa-info-links {
    flex-direction: column;
    align-items: stretch;
  }

  .pa-info-links a {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .pa-steps {
    grid-template-columns: 1fr;
  }

  .pa-step {
    justify-content: flex-start;
    padding: 0 14px;
  }

  .pa-slider {
    min-height: 980px;
  }

  .pa-validation-strip {
    padding: 16px;
  }
}