/* Public landing (EN + AR) — shared layout, less “template marketing”. */

.qp-landing-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(8px);
}
.qp-landing .qp-landing-header {
  background: rgba(244, 247, 250, 0.94);
  border-bottom-color: rgba(28, 40, 51, 0.08);
}

.qp-landing-brand {
  color: var(--bs-light);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.qp-landing-brand .qp-brand-emblem {
  height: 28px;
  width: 28px;
}
.qp-landing-brand .qp-wordmark {
  height: 20px;
  max-width: 160px;
}
@media (max-width: 768px) {
  .qp-landing-brand .qp-brand-emblem {
    height: 25px;
    width: 25px;
  }
  .qp-landing-brand .qp-wordmark {
    height: 18px;
    max-width: 144px;
  }
}

.qp-landing-brand:hover {
  color: var(--bs-light);
}

.qp-landing {
  background:
    linear-gradient(180deg, #f7fafc 0%, #e7eef3 28%, #e4ebf1 100%);
  color: #1c2833;
}

.qp-hero {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%);
}

.qp-landing .qp-hero {
  border-bottom-color: rgba(28, 40, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 72%);
}

.qp-kicker {
  color: #9fb0c3;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.qp-landing .qp-btn-primary {
  background: #3e596c;
  border: 1px solid #3e596c;
  color: #f7fafc;
  font-weight: 600;
}
.qp-landing .qp-btn-primary:hover,
.qp-landing .qp-btn-primary:focus {
  background: #324a5b;
  border-color: #324a5b;
  color: #fff;
}

.qp-landing .qp-icon {
  color: #8b9cb3;
}

.qp-hero h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.qp-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 40rem;
}

html[lang="ar"] .qp-lead {
  line-height: 1.75;
  max-width: 42rem;
}

.qp-hero-aside {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  background: rgba(22, 27, 34, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.qp-hero-aside ul {
  margin: 0;
  padding-inline-start: 1.15rem;
}

.qp-section {
  padding: 3rem 0;
}

.qp-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.qp-section-lead {
  color: var(--bs-secondary-color);
  max-width: 38rem;
  line-height: 1.6;
}

html[lang="ar"] .qp-section-lead {
  line-height: 1.75;
}

.qp-feature-grid .qp-feature,
.qp-glass {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 42%, rgba(22, 27, 34, 0.45));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.qp-feature-grid .qp-feature:hover,
.qp-glass:hover {
  border-color: rgba(139, 156, 179, 0.45);
  transform: translateY(-2px);
}

.qp-feature-grid .qp-feature i {
  font-size: 1.25rem;
}

.qp-feature-grid .qp-feature h3 {
  font-size: 0.98rem;
  margin: 0.55rem 0 0.35rem;
}

.qp-feature-grid .qp-feature p {
  font-size: 0.88rem;
  color: var(--bs-secondary-color);
  margin: 0;
  line-height: 1.55;
}

html[lang="ar"] .qp-feature-grid .qp-feature p {
  line-height: 1.7;
}

.qp-step-no {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 156, 179, 0.14);
  color: #c9d1d9;
  font-weight: 600;
  font-size: 0.9rem;
}

.qp-start-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.qp-landing-footer a {
  text-decoration: none;
}

.qp-landing-footer a:hover {
  color: var(--bs-light) !important;
}

.qp-glass-photo {
  position: relative;
  padding: 0.55rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 40%, rgba(48, 54, 61, 0.8));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.qp-glass-photo img,
.qp-scene-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.9rem;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.qp-register-stage {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 3rem;
}
.qp-register-stage__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.qp-register-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.28) 0%, rgba(13, 17, 23, 0.45) 100%);
  pointer-events: none;
}
.qp-register-stage__content {
  position: relative;
  z-index: 1;
}
.qp-register-stage h2,
.qp-register-stage .qp-section-lead {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}
.qp-register-stage .qp-start-card {
  background: rgba(13, 17, 23, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px) saturate(1.15);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
}
.qp-register-stage .qp-section-lead,
.qp-register-stage .qp-start-card p {
  color: rgba(240, 246, 252, 0.88);
}

.qp-glass-photo figcaption,
.qp-scene-caption {
  color: rgba(240, 246, 252, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0.75rem 0.35rem 0.15rem;
}

.qp-promise {
  padding: 1rem 1.05rem;
}

.qp-promise strong {
  display: block;
  color: #f0f6fc;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.qp-promise span {
  color: rgba(201, 209, 217, 0.9);
  font-size: 0.84rem;
  line-height: 1.5;
}

.qp-scene {
  position: relative;
}

.qp-scene-copy h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
}

.qp-moment {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qp-moment:last-child {
  border-bottom: 0;
}

.qp-tablet-note h3 {
  font-size: 0.98rem;
}

.qp-start-card.qp-glass:hover {
  transform: none;
}

.qp-area h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.qp-area ul {
  margin: 0;
  padding-inline-start: 1.1rem;
}

.qp-area li {
  color: rgba(201, 209, 217, 0.92);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.55rem;
}

.qp-area li:last-child {
  margin-bottom: 0;
}

/* English landing only: a soft gray page, quiet steel buttons.
   The Arabic page has no .qp-landing class and keeps its own ground. */
.qp-landing .text-light {
  color: #1c2833 !important;
}
.qp-landing .text-secondary,
.qp-landing .qp-section-lead,
.qp-landing .qp-feature-grid .qp-feature p {
  color: #4a5c6c !important;
}
.qp-landing .qp-kicker {
  color: #5c7082;
}
.qp-landing .qp-icon {
  color: #4d6578;
}
.qp-landing a:not(.btn) {
  color: #3a5870;
}
.qp-landing a:not(.btn):hover {
  color: #2a4356;
}
.qp-landing .btn-outline-light,
.qp-landing .btn-outline-secondary {
  --bs-btn-color: #243140;
  --bs-btn-border-color: #8aa0b2;
  --bs-btn-hover-color: #1c2833;
  --bs-btn-hover-bg: rgba(28, 40, 51, 0.06);
  --bs-btn-hover-border-color: #5d7386;
  --bs-btn-active-color: #1c2833;
  --bs-btn-active-bg: rgba(28, 40, 51, 0.1);
  --bs-btn-active-border-color: #5d7386;
  color: #243140;
  border-color: #8aa0b2;
  background: transparent;
}
.qp-landing .btn-outline-light:hover,
.qp-landing .btn-outline-secondary:hover {
  color: #1c2833;
  border-color: #5d7386;
  background: rgba(28, 40, 51, 0.06);
}
.qp-landing .qp-feature-grid .qp-feature,
.qp-landing .qp-glass {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(28, 40, 51, 0.08);
  box-shadow: 0 10px 28px rgba(28, 40, 51, 0.06);
}
.qp-landing .qp-feature-grid .qp-feature:hover,
.qp-landing .qp-glass:hover {
  border-color: rgba(61, 90, 112, 0.28);
}
.qp-landing .qp-glass-photo {
  background: #fff;
  border: 1px solid rgba(28, 40, 51, 0.08);
  box-shadow: 0 16px 40px rgba(28, 40, 51, 0.1);
}
.qp-landing .qp-glass-photo figcaption,
.qp-landing .qp-scene-caption {
  color: #4a5c6c;
}
.qp-landing .qp-moment {
  border-bottom-color: rgba(28, 40, 51, 0.1);
}
.qp-landing .qp-step-no {
  background: rgba(61, 90, 112, 0.1);
  color: #2c4558;
}
.qp-landing .badge.bg-secondary {
  background-color: #d7e2ec !important;
  color: #243140 !important;
  border-color: #c5d3df !important;
}

/* Register cards sit on the terrace photo, so type stays light there. */
.qp-landing .qp-register-stage .text-light,
.qp-landing .qp-register-stage h2,
.qp-landing .qp-register-stage h3 {
  color: #f7fafc !important;
}
.qp-landing .qp-register-stage .text-secondary,
.qp-landing .qp-register-stage .qp-section-lead,
.qp-landing .qp-register-stage .qp-start-card p {
  color: rgba(247, 250, 252, 0.92) !important;
}
.qp-landing .qp-register-stage .qp-icon {
  color: #e4eef6;
}
.qp-landing .qp-register-stage a:not(.btn) {
  color: #e8f1f8;
}
.qp-landing .qp-register-stage .btn-outline-light {
  --bs-btn-color: #f7fafc;
  --bs-btn-border-color: rgba(255, 255, 255, 0.72);
  --bs-btn-hover-color: #1c2833;
  --bs-btn-hover-bg: #f7fafc;
  --bs-btn-hover-border-color: #f7fafc;
  color: #f7fafc;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}
.qp-landing .qp-register-stage .btn-outline-light:hover {
  color: #1c2833;
  background: #f7fafc;
  border-color: #f7fafc;
}
.qp-landing .qp-register-stage .qp-start-card {
  background: rgba(20, 28, 36, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
