/* =========================================================
   StayScout Reports Page
   Loaded after /styles.css
   ========================================================= */

.reports-page {
  background: #fff;
}

/* Active navigation state */
.reports-nav-active {
  color: var(--primary-7);
  font-weight: 600;
}

.reports-mobile-active {
  background: var(--primary-5);
  color: var(--primary-7);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.reports-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.62) 0, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.34) 0, rgba(255, 255, 255, 0) 31%),
    linear-gradient(135deg, var(--primary-5) 0%, var(--primary-12) 100%);
  padding: 205px 40px 110px;
}

.reports-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -250px;
  border: 1px solid rgba(48, 48, 132, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(48, 48, 132, 0.035),
    0 0 0 140px rgba(48, 48, 132, 0.025);
  pointer-events: none;
}

.reports-hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
  animation: reportsFadeUp 0.9s ease-out 0.12s both;
}

.reports-eyebrow,
.reports-kicker,
.report-type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.reports-eyebrow {
  margin: 0 auto 24px;
  padding: 9px 16px;
  color: var(--primary-7);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(17, 17, 43, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.reports-title {
  max-width: 760px;
  margin: 0 auto;
  color: var(--primary-1);
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.reports-intro {
  max-width: 700px;
  margin: 30px auto 0;
  color: var(--primary-14);
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
}

/* ---------------------------------------------------------
   Library heading
   --------------------------------------------------------- */

.reports-library {
  background: #fff;
  padding: 165px 50px 120px;
}

.reports-library-inner {
  width: min(1300px, 100%);
  margin: 0 auto;
}

.reports-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.reports-kicker {
  margin: 0 0 16px;
  color: var(--primary-7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reports-section-heading h2,
.reports-cta h2 {
  margin: 0;
  color: var(--primary-1);
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.reports-section-copy {
  max-width: 500px;
  margin: 0;
  color: var(--primary-3);
}

/* ---------------------------------------------------------
   Report cards
   --------------------------------------------------------- */

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

.report-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--primary-4);
  border-radius: 25px;
  box-shadow: 0 14px 40px rgba(17, 17, 43, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.report-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-5);
  box-shadow: 0 20px 55px rgba(17, 17, 43, 0.11);
}

.report-cover {
  position: relative;
  min-height: 285px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)),
    var(--primary-7);
}

.report-cover::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -85px;
  bottom: -90px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.045),
    0 0 0 76px rgba(255, 255, 255, 0.025);
}

.report-cover--light {
  color: var(--primary-1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
    var(--primary-5);
}

.report-cover--light::after {
  border-color: rgba(48, 48, 132, 0.2);
  box-shadow:
    0 0 0 38px rgba(48, 48, 132, 0.035),
    0 0 0 76px rgba(48, 48, 132, 0.02);
}

.report-cover--dark {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    var(--primary-1);
}

.report-cover-brand,
.report-cover-copy,
.report-cover-year {
  position: relative;
  z-index: 1;
}

.report-cover-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.report-cover-copy {
  max-width: 265px;
  display: grid;
  gap: 10px;
}

.report-cover-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.report-cover-copy strong {
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.report-cover-year {
  width: fit-content;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.82;
}

.report-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.report-card-topline {
  min-height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
}

.report-type {
  padding: 7px 11px;
  color: var(--primary-7);
  background: var(--primary-5);
  border-radius: 999px;
  font-size: 12px;
}

.report-date,
.report-meta {
  color: var(--primary-3);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.report-card h3 {
  margin: 0 0 15px;
  color: var(--primary-1);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.report-card-content > p {
  margin: 0 0 30px;
  color: var(--primary-3);
  font-size: 15px;
  line-height: 25px;
}

.report-card-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--primary-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.report-download {
  flex: 0 0 auto;
  gap: 9px;
  padding: 12px 18px 13px;
  font-size: 14px;
}

.report-download svg {
  width: 17px;
  height: 17px;
}

/* ---------------------------------------------------------
   CTA panel
   --------------------------------------------------------- */

.reports-cta {
  margin-top: 90px;
  padding: 55px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 55px;
  background: var(--primary-5);
  border-radius: 25px;
}

.reports-cta-content {
  max-width: 790px;
}

.reports-cta h2 {
  max-width: 700px;
  font-size: 32px;
}

.reports-cta-content > p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--primary-14);
}

.reports-cta-button {
  padding-left: 28px;
  padding-right: 28px;
}

/* ---------------------------------------------------------
   Motion
   --------------------------------------------------------- */

@keyframes reportsFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reports-hero-inner {
    animation: none;
  }

  .report-card {
    transition: none;
  }
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1100px) {
  .reports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reports-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reports-cta {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .reports-cta-button {
    width: fit-content;
  }
}

@media (max-width: 700px) {
  .reports-hero {
    padding: 170px 25px 80px;
  }

  .reports-title {
    font-size: 42px;
    line-height: 1.08;
  }

  .reports-intro {
    margin-top: 24px;
    font-size: 16px;
    line-height: 26px;
  }

  .reports-library {
    padding: 150px 25px 80px;
  }

  .reports-section-heading {
    margin-bottom: 34px;
  }

  .reports-section-heading h2,
  .reports-cta h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .reports-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .report-cover {
    min-height: 245px;
  }

  .report-card-content {
    padding: 25px;
  }

  .report-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-download {
    width: 100%;
    box-sizing: border-box;
  }

  .reports-cta {
    margin-top: 60px;
    padding: 35px 28px;
  }

  .reports-cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}
