.preview-request-page {
  background: #080610;
}

.preview-request {
  --pr-bg: #080610;
  --pr-surface: rgba(19, 15, 33, 0.82);
  --pr-surface-strong: #151126;
  --pr-line: rgba(255, 255, 255, 0.12);
  --pr-line-strong: rgba(160, 123, 255, 0.38);
  --pr-text: #f7f5ff;
  --pr-muted: #b8b1ca;
  --pr-violet: #8b5cf6;
  --pr-cyan: #42d9e8;
  --pr-green: #57d9a3;
  position: relative;
  overflow: hidden;
  color: var(--pr-text);
  background:
    radial-gradient(circle at 12% 7%, rgba(124, 58, 237, 0.2), transparent 27rem),
    radial-gradient(circle at 92% 20%, rgba(34, 211, 238, 0.11), transparent 24rem),
    var(--pr-bg);
}

.pr-shell {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
}

.pr-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(130px, 17vw, 190px) clamp(72px, 10vw, 120px);
}

.pr-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  content: "";
}

.pr-orbit {
  position: absolute;
  z-index: -1;
  width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.pr-orbit::before,
.pr-orbit::after {
  position: absolute;
  border: 1px solid rgba(66, 217, 232, 0.13);
  border-radius: inherit;
  content: "";
}

.pr-orbit::before { inset: 14%; }
.pr-orbit::after { inset: 31%; }
.pr-orbit--one { inset-block-start: 6%; inset-inline-end: -120px; }
.pr-orbit--two { inset-block-end: 3%; inset-inline-start: -170px; width: 340px; }

.pr-hero__grid,
.pr-form-layout {
  display: grid;
  gap: clamp(34px, 6vw, 72px);
}

.pr-hero__copy {
  align-self: center;
}

.pr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-block-end: 18px;
  color: var(--pr-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pr-kicker::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.pr-hero h1,
.pr-form-intro h2,
.pr-section-head h2 {
  margin: 0;
  color: var(--pr-text);
  font-family: var(--brand-font-heading-ar, "IBM Plex Sans Arabic"), sans-serif;
  letter-spacing: -0.045em;
}

.pr-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 10vw, 6.4rem);
  line-height: 0.98;
}

.pr-hero__lead {
  max-width: 62ch;
  margin: 26px 0 0;
  color: #e5e0f2;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.9;
}

.pr-hero__scope,
.pr-form-intro > p,
.pr-section-head > p {
  max-width: 64ch;
  margin: 14px 0 0;
  color: var(--pr-muted);
  line-height: 1.9;
}

.pr-hero__actions,
.pr-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 30px;
}

.pr-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pr-button:hover { transform: translateY(-2px); }
.pr-button--primary {
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6 56%, #2579bd);
  box-shadow: 0 14px 34px rgba(109, 40, 217, 0.24);
}

.pr-button--quiet {
  color: var(--pr-text);
  border-color: var(--pr-line);
  background: rgba(255, 255, 255, 0.04);
}

.pr-text-link {
  padding: 12px 4px;
  color: var(--pr-muted);
  font-weight: 700;
  text-underline-offset: 6px;
}

.pr-button:focus-visible,
.pr-text-link:focus-visible,
.pr-license-strip a:focus-visible,
.pr-field input:focus-visible,
.pr-field select:focus-visible,
.pr-field textarea:focus-visible,
.pr-consent input:focus-visible + .pr-consent__box {
  outline: 3px solid rgba(66, 217, 232, 0.5);
  outline-offset: 3px;
}

.pr-scope-card,
.pr-form {
  position: relative;
  border: 1px solid var(--pr-line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.pr-scope-card {
  padding: clamp(24px, 4vw, 38px);
}

.pr-scope-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(139, 92, 246, 0.12), transparent 40%, rgba(66, 217, 232, 0.07));
  pointer-events: none;
  content: "";
}

.pr-scope-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pr-scope-card__mark {
  display: grid;
  flex: 0 0 54px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--pr-line-strong);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.3), rgba(66, 217, 232, 0.1));
  font-family: var(--brand-font-mono, monospace);
  font-size: 1.25rem;
  font-weight: 900;
}

.pr-scope-card__head span:not(.pr-scope-card__mark) {
  color: var(--pr-muted);
  font-size: 0.78rem;
}

.pr-scope-card__head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.pr-check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pr-check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding-block: 17px;
  border-block-start: 1px solid var(--pr-line);
}

.pr-check-list li > span,
.pr-mini-trust > div > span,
.pr-license-strip > div > span {
  display: grid;
  width: 25px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #06130e;
  background: var(--pr-green);
  font-size: 0.76rem;
  font-weight: 900;
}

.pr-check-list p,
.pr-mini-trust p,
.pr-license-strip p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.pr-check-list small,
.pr-mini-trust small,
.pr-license-strip small {
  color: var(--pr-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.pr-scope-card__note {
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.06);
}

.pr-scope-card__note strong { color: #f8cc76; }
.pr-scope-card__note p { margin: 6px 0 0; color: var(--pr-muted); font-size: 0.86rem; line-height: 1.7; }

.pr-form-section {
  position: relative;
  padding-block: clamp(70px, 10vw, 120px);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.pr-form-intro h2,
.pr-section-head h2 {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.08;
}

.pr-form-progress {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.pr-form-progress li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--pr-muted);
}

.pr-form-progress li[aria-current="step"] {
  border-color: var(--pr-line-strong);
  color: var(--pr-text);
  background: rgba(139, 92, 246, 0.09);
}

.pr-form-progress li > span {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--pr-line);
  border-radius: 14px;
  font-family: var(--brand-font-mono, monospace);
  font-size: 0.76rem;
}

.pr-form-progress li div { display: grid; gap: 2px; }
.pr-form-progress small { color: var(--pr-muted); }

.pr-mini-trust {
  display: grid;
  gap: 14px;
  margin-block-start: 26px;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--pr-line);
}

.pr-mini-trust > div {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 11px;
}

.pr-form {
  align-self: start;
  padding: clamp(20px, 4vw, 38px);
}

.pr-form__status {
  display: grid;
  gap: 11px;
  margin-block-end: 28px;
  color: var(--pr-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.pr-form__status > span:last-child {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.pr-form__status i {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pr-violet), var(--pr-cyan));
  transition: width 220ms ease;
}

.pr-form__panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.pr-form.is-enhanced .pr-form__panel[hidden] { display: none; }

.pr-form__panel legend {
  margin: 0;
  padding: 0;
  color: var(--pr-text);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
}

.pr-form__hint {
  margin: 8px 0 25px;
  color: var(--pr-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.pr-fields {
  display: grid;
  gap: 17px;
}

.pr-fields + .pr-fields,
.pr-fields + .pr-field,
.pr-field + .pr-fields,
.pr-field + .pr-field {
  margin-block-start: 17px;
}

.pr-field {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.pr-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #e9e5f3;
  font-size: 0.84rem;
  font-weight: 700;
}

.pr-field > span i,
.pr-field > span small {
  color: var(--pr-muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
}

.pr-field > span i { color: #bfa7ff; }

.pr-field input,
.pr-field select,
.pr-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--pr-line);
  border-radius: 13px;
  color: var(--pr-text);
  background: rgba(6, 5, 12, 0.7);
  font: inherit;
  text-align: start;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.pr-field textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.7;
}

.pr-field input::placeholder,
.pr-field textarea::placeholder { color: #777086; }

.pr-field input:hover,
.pr-field select:hover,
.pr-field textarea:hover { border-color: rgba(255, 255, 255, 0.22); }

.pr-field input:focus,
.pr-field select:focus,
.pr-field textarea:focus {
  border-color: var(--pr-violet);
  outline: 0;
  background: rgba(13, 10, 24, 0.92);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.11);
}

.pr-consent {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 11px;
  margin-block-start: 22px;
  color: var(--pr-muted);
  font-size: 0.8rem;
  line-height: 1.7;
  cursor: pointer;
}

.pr-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pr-consent__box {
  display: grid;
  width: 24px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--pr-line-strong);
  border-radius: 7px;
  color: transparent;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.75rem;
  transition: color 160ms ease, background 160ms ease;
}

.pr-consent input:checked + .pr-consent__box {
  color: #07130e;
  background: var(--pr-green);
}

.pr-consent a { color: #c9b7ff; text-underline-offset: 4px; }
.pr-form__actions { justify-content: space-between; }
.pr-form__actions--end { justify-content: flex-end; }

.pr-form__error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 12px;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.15);
}

.pr-form__fine-print {
  margin: 16px 0 0;
  color: #8f889e;
  font-size: 0.72rem;
  line-height: 1.7;
  text-align: center;
}

.pr-process {
  padding-block: clamp(76px, 11vw, 132px);
}

.pr-section-head {
  max-width: 760px;
}

.pr-process__steps {
  display: grid;
  gap: 14px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.pr-process__steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--pr-line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.028);
}

.pr-process__steps li > span {
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 15px;
  color: var(--pr-cyan);
  background: rgba(66, 217, 232, 0.08);
  font-family: var(--brand-font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 800;
}

.pr-process__steps h3 { margin: 1px 0 7px; font-size: 1.05rem; }
.pr-process__steps p { margin: 0; color: var(--pr-muted); font-size: 0.86rem; line-height: 1.75; }

.pr-license-strip {
  display: grid;
  gap: 18px;
  margin-block-start: 26px;
  padding: 22px;
  border: 1px solid rgba(87, 217, 163, 0.2);
  border-radius: 20px;
  background: rgba(87, 217, 163, 0.045);
}

.pr-license-strip > div {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 12px;
}

.pr-license-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8f3db;
  font-size: 0.84rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

@media (min-width: 720px) {
  .pr-shell { width: min(100% - 64px, 1160px); }
  .pr-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-process__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-process__steps li { grid-template-columns: 1fr; }
  .pr-license-strip { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 940px) {
  .pr-hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr); align-items: center; }
  .pr-form-layout { grid-template-columns: minmax(270px, 0.68fr) minmax(520px, 1.2fr); align-items: start; }
  .pr-form-intro { position: sticky; inset-block-start: 112px; }
}

@media (max-width: 520px) {
  .preview-request-page .wa-fab,
  .preview-request-page .jbot,
  .preview-request-page .to-top {
    display: none !important;
  }

  .preview-request-page .preview-request {
    padding-block-end: max(28px, env(safe-area-inset-bottom));
  }

  .pr-button { width: 100%; }
  .pr-text-link { width: 100%; text-align: center; }
  .pr-form__actions .pr-button { flex: 1 1 100%; }
  .pr-process__steps li { grid-template-columns: 42px 1fr; padding: 18px; }
  .pr-process__steps li > span { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .pr-button,
  .pr-form__status i,
  .pr-field input,
  .pr-field select,
  .pr-field textarea,
  .pr-consent__box { transition: none; }
}
