/* PathosJourney — landing / auth (minimal, editorial) */
.pj-auth-page button {
  font-family: inherit;
  cursor: pointer;
}

.pj-auth-page {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #0a0a0b;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(61, 138, 122, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(99, 102, 241, 0.07), transparent 50%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(61, 138, 122, 0.06), transparent 45%);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fafafa;
  padding: clamp(2rem, 5vh, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.pj-auth-container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.pj-auth-row {
  --bs-gutter-x: clamp(1.5rem, 4vw, 3.5rem);
}

.pj-auth-col-narrative {
  padding-bottom: 2rem;
}

.pj-auth-col-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .pj-auth-col-narrative {
    padding-bottom: 0;
    padding-right: 1rem;
  }
}

.pj-auth-brand-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.pj-auth-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(61, 138, 122, 0.95);
}

.pj-auth-brand {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #e4e4e7;
}

.pj-auth-hero {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 1rem 0;
  max-width: 22ch;
}

.pj-auth-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #a1a1aa;
  max-width: 44ch;
  margin: 0 0 1.75rem 0;
  font-weight: 400;
}

.pj-auth-bullets {
  margin-bottom: 2rem;
}

.pj-auth-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  color: #d4d4d8;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.pj-auth-bullet img {
  flex-shrink: 0;
  margin-top: 0.125rem;
  opacity: 0.88;
}

.pj-auth-narrative {
  animation: pj-auth-fade-in 0.6s ease-out both;
}

.pj-auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 28px 64px -24px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: clamp(1.5rem, 4vw, 2rem);
  animation: pj-auth-fade-in 0.6s ease-out 0.08s both;
}

.pj-auth-card-head {
  margin-bottom: 1.25rem;
}

.pj-auth-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
}

.pj-auth-card-hint {
  font-size: 0.875rem;
  color: #71717a;
  margin: 0;
  line-height: 1.45;
}

.pj-auth-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 0.45rem;
}

.pj-auth-input-wrap .form-control,
.pj-auth-input-wrap input {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #fafafa !important;
  padding: 0.8rem 0.95rem !important;
  font-size: 0.9375rem !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pj-auth-input-wrap .form-control::placeholder,
.pj-auth-input-wrap input::placeholder {
  color: #52525b !important;
}

.pj-auth-input-wrap .form-control:focus,
.pj-auth-input-wrap input:focus {
  border-color: rgba(61, 138, 122, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(61, 138, 122, 0.15) !important;
  outline: none !important;
  background: rgba(0, 0, 0, 0.45) !important;
}

.pj-btn-transform {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: #3d8a7a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pj-btn-transform:hover {
  background: #469a89;
  box-shadow: 0 12px 32px -12px rgba(61, 138, 122, 0.55);
  transform: translateY(-1px);
}

.pj-btn-transform:active {
  transform: translateY(0);
}

.pj-btn-ghost {
  width: 100%;
  margin-top: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d4d4d8;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pj-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.pj-auth-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0 1rem 0;
  color: #52525b;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: lowercase;
}

.pj-auth-sep::before,
.pj-auth-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.pj-oauth-row {
  display: flex;
  gap: 0.75rem;
}

.pj-oauth-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 0.875rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #e4e4e7;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pj-oauth-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.pj-oauth-btn[disabled],
.pj-oauth-btn.pj-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.pj-auth-foot {
  margin: 1.25rem 0 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  line-height: 1.5;
  color: #52525b;
  text-align: center;
  font-style: normal;
  letter-spacing: 0.02em;
}

.pj-auth-page .pj-footer {
  margin-top: auto;
  padding-top: 2rem;
  color: #52525b;
  font-size: 0.8125rem;
}

.pj-auth-page .pj-footer-link {
  color: #71717a;
  font-weight: 500;
}

.pj-auth-page .pj-footer-link:hover {
  color: #a1a1aa;
}

@keyframes pj-auth-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Landing carousel
   ========================= */
.pj-landing-carousel-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.pj-lc-slide {
  padding: 14px 14px 8px 14px;
}

.pj-lc-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.pj-lc-img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: rgba(9, 9, 11, 0.4);
  padding: 6px;
  border-radius: 8px;
}

.pj-lc-img-stacked {
  height: 112px;
}

.pj-landing-modal-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pj-landing-modal-img-stacked {
  max-height: 42vh;
}

.pj-lc-caption {
  padding: 12px 2px 4px 2px;
}

.pj-lc-title {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin-bottom: 4px;
}

.pj-lc-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #71717a;
}

.pj-landing-carousel-controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 14px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pj-lc-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #d4d4d8;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 34px;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pj-lc-arrow:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.pj-lc-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.pj-lc-progress {
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pj-lc-progress-fill {
  height: 100%;
  border-radius: 1px;
  background: linear-gradient(90deg, #3d8a7a, #5ba898);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pj-lc-counter {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #52525b;
  font-variant-numeric: tabular-nums;
}

.pj-lc-media-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pj-lc-media-btn:hover {
  opacity: 0.92;
}

.pj-lc-media-btn:focus {
  outline: none;
}

.pj-lc-media-btn:focus-visible {
  outline: 2px solid rgba(61, 138, 122, 0.5);
  outline-offset: 2px;
}

@media (max-width: 575px) {
  .pj-auth-hero {
    max-width: none;
  }

  .pj-lc-img {
    height: 180px;
  }
}

.pj-auth-alert.alert {
  background: rgba(234, 179, 8, 0.1) !important;
  border: 1px solid rgba(234, 179, 8, 0.22) !important;
  color: #fde68a !important;
  border-radius: 12px !important;
  font-size: 0.875rem;
}

.pj-auth-alert.alert-warning {
  --bs-alert-bg: transparent;
  --bs-alert-border-color: rgba(234, 179, 8, 0.22);
  --bs-alert-color: #fde68a;
}

.pj-auth-forgot-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #52525b;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  align-self: flex-end;
  transition: color 0.2s ease;
}

.pj-auth-forgot-link:hover {
  color: #a1a1aa;
}

.pj-forgot-modal .modal-content {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #fafafa;
}

.pj-forgot-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pj-forgot-modal .modal-title,
.pj-forgot-modal h5 {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pj-forgot-modal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pj-forgot-modal .btn-close {
  filter: invert(1);
  opacity: 0.6;
}

.pj-landing-modal .modal-content {
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 16px;
  color: rgba(248, 250, 252, 0.95);
  box-shadow: 0 34px 110px -55px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pj-landing-modal .modal-header,
.pj-landing-modal .modal-footer {
  border-color: rgba(226, 232, 240, 0.08);
}

.pj-landing-modal .modal-title {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pj-landing-modal .btn-close {
  filter: invert(1);
  opacity: 0.7;
}

.pj-landing-modal-img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.pj-landing-modal-email-continuous {
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.08);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.pj-landing-modal-email-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border: none;
  border-radius: 0;
}

.modal-backdrop.show {
  opacity: 0.78;
}
