/* Spec 198 PSEO pages. Scoped to `.pseo-page` to avoid dashboard drift. */

.pseo-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(25, 155, 170, 0.16), transparent 34rem),
    linear-gradient(145deg, var(--bg-deep, #0c1018), var(--bg-dark, #11151a));
  color: var(--text-primary, #e8eaed);
  font-family: "Poppins", sans-serif;
}

.pseo-page[dir="rtl"],
[dir="rtl"] .pseo-page {
  font-family: "Cairo", "Noto Sans Arabic", "Tajawal", sans-serif;
}

.pseo-shell {
  inline-size: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 28px 120px;
}

.pseo-breadcrumb {
  margin-block-end: 24px;
  color: var(--text-secondary, #b0b8c4);
  font-size: 0.92rem;
}

.pseo-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pseo-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-inline-start: 8px;
  color: var(--text-muted, #8a929d);
}

.pseo-breadcrumb a {
  color: var(--primary-light, #1fb8ca);
  text-decoration: none;
}

.pseo-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--border, #232b35);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(25, 155, 170, 0.08), transparent 42%),
    var(--bg-card, #181e26);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.pseo-hero__media {
  display: grid;
  place-items: center;
  min-block-size: 340px;
  border-radius: 24px;
  background: var(--bg-elevated, #1d2530);
  overflow: hidden;
}

.pseo-hero__media img {
  max-inline-size: 100%;
  block-size: auto;
  object-fit: contain;
}

.pseo-eyebrow {
  margin: 0 0 10px;
  color: #199BAA;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pseo-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.pseo-hero__description,
.pseo-copy p,
.pseo-faq__item p {
  color: var(--text-secondary, #b0b8c4);
  line-height: 1.75;
}

.pseo-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-block: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(25, 155, 170, 0.38);
  border-radius: 999px;
  color: var(--text-primary, #e8eaed);
  background: rgba(25, 155, 170, 0.1);
}

.pseo-price span {
  font-size: 1.45rem;
  font-weight: 800;
}

.pseo-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 190px;
  min-block-size: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #199BAA;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pseo-cta__button:hover,
.pseo-cta__button:focus-visible {
  background: #157C89;
  transform: translateY(-1px);
}

.pseo-copy,
.pseo-faq,
.pseo-related {
  margin-block-start: 28px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--border, #232b35);
  border-radius: 24px;
  background: var(--bg-card, #181e26);
}

.pseo-copy h2,
.pseo-faq h2,
.pseo-related h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.pseo-faq__list {
  display: grid;
  gap: 12px;
}

.pseo-faq__item {
  border: 1px solid var(--border, #232b35);
  border-radius: 18px;
  background: var(--bg-elevated, #1d2530);
}

.pseo-faq__item summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--text-primary, #e8eaed);
  font-weight: 700;
}

.pseo-faq__item p {
  margin: 0;
  padding: 0 18px 18px;
}

.pseo-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pseo-related__card {
  display: grid;
  gap: 12px;
  min-block-size: 100%;
  padding: 16px;
  border: 1px solid var(--border, #232b35);
  border-radius: 18px;
  background: var(--bg-elevated, #1d2530);
  color: var(--text-primary, #e8eaed);
  text-decoration: none;
}

.pseo-related__card:hover,
.pseo-related__card:focus-visible {
  border-color: #199BAA;
}

.pseo-related__card img {
  inline-size: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.pseo-mobile-sticky {
  display: none;
}

@media (max-width: 768px) {
  .pseo-shell {
    inline-size: min(100% - 20px, 560px);
    padding-block-end: 140px;
  }

  .pseo-hero {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .pseo-hero__media {
    min-block-size: 250px;
  }

  .pseo-related__grid {
    grid-template-columns: 1fr;
  }

  .pseo-mobile-sticky {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 30;
    display: block;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-block-start: 1px solid var(--border, #232b35);
    background: rgba(12, 16, 24, 0.96);
  }

  .pseo-mobile-sticky .pseo-cta__button {
    inline-size: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pseo-cta__button {
    transition: none;
  }
}
