/* Reports page Phase 1 */

.reports-page {
  background: #f8f7fc;
  color: #fff;
}

.reports-hero {
  position: relative;
  min-height: 620px;
  padding: 8.75rem 1.5rem 7rem;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(115deg, #100847 0%, #21106d 48%, #5422b5 100%);
  clip-path: ellipse(100% 92% at 50% 0%);
}

.reports-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 76% 43%, rgba(190, 135, 255, 0.24), transparent 28%), radial-gradient(circle at 15% 62%, rgba(79, 46, 193, 0.3), transparent 34%);
  animation: reportsAtmosphere 13s ease-in-out infinite alternate;
}

.reports-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 2rem;
  width: min(1180px, 100%);
  min-height: 390px;
  margin: 0 auto;
}

.reports-hero__content {
  min-width: 0;
}

.reports-hero__badge {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(213, 190, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dfd3ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  animation: reportsFadeUp 0.7s 0.1s both;
}

.reports-hero h1 {
  margin: 1.3rem 0 1rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  animation: reportsFadeUp 0.75s 0.2s both;
}

.reports-hero__description {
  max-width: 555px;
  margin-bottom: 2rem;
  color: rgba(244, 240, 255, 0.87);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.65;
  animation: reportsFadeUp 0.75s 0.32s both;
}

.reports-hero__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 595px;
  padding: 0;
  list-style: none;
  animation: reportsFadeUp 0.75s 0.44s both;
}

.reports-hero__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.reports-hero__benefit-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(202, 169, 255, 0.38);
  border-radius: 10px;
  background: rgba(145, 89, 245, 0.28);
  color: #d8bdff;
  font-size: 1.05rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.reports-hero__benefits li:hover .reports-hero__benefit-icon {
  transform: translateY(-3px) rotate(-4deg);
  background: rgba(174, 122, 255, 0.42);
}

.reports-hero__benefits strong,
.reports-hero__benefits small {
  display: block;
}

.reports-hero__benefits strong {
  margin: 0.1rem 0 0.25rem;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.15;
}

.reports-hero__benefits small {
  color: rgba(226, 216, 255, 0.75);
  font-size: 0.65rem;
  line-height: 1.45;
}

.reports-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  animation: reportsFadeUp 0.9s 0.25s both;
}

.reports-hero__visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 510px);
  height: auto;
  filter: drop-shadow(0 25px 32px rgba(5, 1, 33, 0.42));
  transition: filter 0.3s ease;
  animation: reportsFloat 5.8s ease-in-out 0.9s infinite;
}

.reports-hero__visual img:hover {
  filter: drop-shadow(0 30px 38px rgba(5, 1, 33, 0.55)) brightness(1.04);
}

.reports-hero__visual-glow {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 188, 255, 0.46), rgba(126, 59, 238, 0.16) 43%, transparent 72%);
  filter: blur(15px);
  animation: reportsGlow 7s ease-in-out infinite alternate;
}

.reports-hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(58px);
}

.reports-hero__glow--one { top: -10%; left: 25%; width: 300px; height: 300px; background: rgba(100, 52, 228, 0.34); }
.reports-hero__glow--two { right: -5%; bottom: 8%; width: 390px; height: 390px; background: rgba(183, 96, 255, 0.25); }
.reports-hero__shape { position: absolute; z-index: 1; border: 1px solid rgba(219, 181, 255, 0.12); border-radius: 12px; transform: rotate(28deg); opacity: 0.55; }
.reports-hero__shape--one { top: 22%; right: 30%; width: 27px; height: 27px; }
.reports-hero__shape--two { right: 14%; bottom: 24%; width: 42px; height: 42px; border-radius: 50%; }
.reports-hero__star { position: absolute; z-index: 1; color: #e4b7ff; opacity: 0.7; animation: reportsTwinkle 3.8s ease-in-out infinite; }
.reports-hero__star--one { top: 24%; left: 55%; font-size: 1.4rem; }
.reports-hero__star--two { top: 40%; right: 7%; font-size: 2rem; animation-delay: 1.25s; }
.reports-hero__curve { position: absolute; right: -5%; bottom: -13%; left: -5%; z-index: 2; height: 175px; border-radius: 50% 50% 0 0 / 44% 44% 0 0; background: #f8f7fc; }

@keyframes reportsFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reportsFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-11px) rotate(1deg); } }
@keyframes reportsGlow { from { transform: scale(0.92); opacity: 0.65; } to { transform: scale(1.08); opacity: 1; } }
@keyframes reportsAtmosphere { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
@keyframes reportsTwinkle { 0%, 100% { transform: scale(0.8); opacity: 0.4; } 50% { transform: scale(1.15); opacity: 1; } }

@media (max-width: 1200px) {
  .reports-hero__inner { max-width: 960px; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); }
}

@media (max-width: 900px) {
  .reports-hero { min-height: 760px; padding-top: 7.5rem; clip-path: ellipse(125% 92% at 50% 0%); }
  .reports-hero__inner { grid-template-columns: 1fr; gap: 0.25rem; text-align: center; }
  .reports-hero__content { display: flex; flex-direction: column; align-items: center; }
  .reports-hero__description { max-width: 580px; }
  .reports-hero__benefits { text-align: left; }
  .reports-hero__visual img { width: min(76vw, 440px); }
  .reports-hero__star--one { left: 18%; }
}

@media (max-width: 520px) {
  .reports-hero { min-height: 700px; padding: 7rem 1rem 5rem; }
  .reports-hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .reports-hero__description { font-size: 0.92rem; }
  .reports-hero__benefits { grid-template-columns: 1fr; width: min(285px, 100%); gap: 0.7rem; }
  .reports-hero__benefits li { align-items: center; }
  .reports-hero__visual img { width: min(90vw, 370px); }
}

@media (prefers-reduced-motion: reduce) {
  .reports-hero *, .reports-hero::before { animation: none !important; }
  .reports-hero__benefits li:hover .reports-hero__benefit-icon { transform: none; }
}

/* Phase 2: reports library */
.reports-library { padding: 0 1.5rem 5rem; background: #f8f7fc; color: #17113f; }
.reports-library__inner { width: min(1180px, 100%); margin: 0 auto; }
.reports-library__header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.reports-library h2 { margin-bottom: 0.35rem; font-family: var(--font-heading); font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -0.025em; }
.reports-library__header p { color: #625a7c; font-size: 0.82rem; }
.reports-library__tools { display: flex; gap: 0.8rem; }
.reports-select, .reports-search { position: relative; display: flex; align-items: center; }
.reports-select select, .reports-search input { width: 160px; height: 2.65rem; padding: 0 2rem 0 0.85rem; border: 1px solid #e1d9f5; border-radius: 9px; outline: 0; background: #fff; color: #594d81; font: 500 0.72rem var(--font-body); }
.reports-search input { width: 240px; padding-right: 2.25rem; }
.reports-select > span, .reports-search > span { position: absolute; right: 0.75rem; color: #7955dc; font-size: 1.05rem; pointer-events: none; }
.reports-select select:focus, .reports-search input:focus { border-color: #895ee8; box-shadow: 0 0 0 3px rgba(137, 94, 232, 0.12); }
.reports-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.report-card { min-width: 0; overflow: hidden; border: 1px solid #e9e4f7; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(56, 31, 124, 0.06); opacity: 0; transform: translateY(22px); transition: transform 0.35s ease, opacity 0.55s ease, box-shadow 0.35s ease; }
.report-card.is-visible { opacity: 1; transform: translateY(0); }
.report-card:nth-child(2), .report-card:nth-child(6) { transition-delay: 0.07s; }
.report-card:nth-child(3), .report-card:nth-child(7) { transition-delay: 0.14s; }
.report-card:nth-child(4), .report-card:nth-child(8) { transition-delay: 0.21s; }
.report-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(56, 31, 124, 0.13); }
.report-card__preview { position: relative; aspect-ratio: 1.65 / 1; overflow: hidden; background: #f2effb; }
.report-card__preview img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.report-card:hover .report-card__preview img { transform: scale(1.045); }
.report-card__preview > span { position: absolute; bottom: 0.55rem; left: 0.55rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: #6c38d5; color: #fff; font-size: 0.62rem; font-weight: 800; }
.report-card__body { display: flex; min-height: 7.3rem; flex-direction: column; padding: 0.9rem 0.8rem 0.75rem; }
.report-card h3 { margin-bottom: 0.4rem; color: #211651; font-family: var(--font-heading); font-size: 0.78rem; line-height: 1.25; }
.report-card p { margin-bottom: 0.75rem; color: #625a7c; font-size: 0.67rem; line-height: 1.45; }
.report-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; color: #817996; font-size: 0.58rem; }
.report-card__meta a { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.42rem 0.65rem; border: 1px solid #9b73ee; border-radius: 6px; color: #6734ce; font-size: 0.62rem; font-weight: 800; transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.report-card__meta a:hover { transform: translateY(-2px); background: #6834ce; color: #fff; }
.reports-empty { margin: 2rem 0; color: #665d80; text-align: center; }
.reports-pagination { display: flex; align-items: center; justify-content: center; gap: 0.55rem; margin-top: 1.5rem; }
.reports-pagination button { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #e1d9f5; border-radius: 6px; background: #fff; color: #49377d; cursor: pointer; font: 700 0.72rem var(--font-body); transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.reports-pagination button:hover:not(:disabled), .reports-pagination button.is-active { transform: translateY(-2px); background: #6734ce; color: #fff; }
.reports-pagination button:disabled { cursor: not-allowed; opacity: 0.45; }
.reports-pagination > span { color: #756d8e; font-size: 0.75rem; }

@media (max-width: 1050px) { .reports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; } }
@media (max-width: 760px) {
  .reports-library { padding-right: 1rem; padding-left: 1rem; }
  .reports-library__header { align-items: stretch; flex-direction: column; gap: 1rem; }
  .reports-library__tools { width: 100%; }
  .reports-select, .reports-search { flex: 1; }
  .reports-select select, .reports-search input { width: 100%; }
}
@media (max-width: 520px) {
  .reports-grid { grid-template-columns: 1fr; max-width: 370px; }
  .reports-card__body { min-height: 0; }
  .reports-library__tools { flex-direction: column; }
  .reports-pagination { gap: 0.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .report-card, .report-card__preview img, .report-card__meta a, .reports-pagination button { transition: none; }
}

/* Phase 3: privacy and upgrade CTA */
.reports-privacy { display: flex; align-items: center; gap: 1rem; width: min(1180px, calc(100% - 3rem)); margin: 0 auto 1.25rem; padding: 0.95rem 1.5rem; border: 1px solid #e4dcf6; border-radius: 12px; background: linear-gradient(100deg, #f0eaff, #faf8ff); color: #241854; opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reports-privacy.is-visible { opacity: 1; transform: translateY(0); }
.reports-privacy__shield { display: grid; width: 3.7rem; height: 3.7rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e3d6ff; animation: reportsShieldFloat 5s ease-in-out infinite; }
.reports-privacy__shield svg { width: 2.25rem; height: 2.55rem; }
.reports-privacy__copy h2 { margin-bottom: 0.22rem; font-family: var(--font-heading); font-size: 0.95rem; }
.reports-privacy__copy p { color: #655b83; font-size: 0.7rem; }
.reports-cta { position: relative; display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; width: min(1180px, calc(100% - 3rem)); min-height: 145px; margin: 0 auto 3.5rem; padding: 0.8rem 2.5rem 0.8rem 1.2rem; overflow: hidden; border-radius: 13px; background: linear-gradient(105deg, #4b1cae 0%, #7132df 52%, #7e3dea 100%); color: #fff; opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reports-cta.is-visible { opacity: 1; transform: translateY(0); }
.reports-cta__glow { position: absolute; top: -100%; left: 28%; width: 390px; height: 280px; border-radius: 50%; background: rgba(212, 176, 255, 0.22); filter: blur(35px); animation: reportsCtaGlow 8s ease-in-out infinite alternate; }
.reports-cta__visual, .reports-cta__copy, .reports-cta__button { position: relative; z-index: 1; }
.reports-cta__visual { display: grid; place-items: center; }
.reports-cta__visual img { display: block; width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(31, 5, 92, 0.25)); animation: reportsCtaFloat 5.4s ease-in-out infinite; }
.reports-cta__copy h2 { margin-bottom: 0.35rem; font-family: var(--font-heading); font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.reports-cta__copy p { color: rgba(255,255,255,0.84); font-size: 0.75rem; line-height: 1.55; }
.reports-cta__button { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.75rem 1.3rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background: #fff; color: #6732ce; font-size: 0.75rem; font-weight: 800; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.reports-cta__button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(36, 5, 107, 0.25); }
@keyframes reportsShieldFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes reportsCtaFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes reportsCtaGlow { from { transform: translateX(-25px) scale(0.9); } to { transform: translateX(100px) scale(1.15); } }
@media (max-width: 760px) {
  .reports-privacy, .reports-cta { width: calc(100% - 2rem); }
  .reports-cta { grid-template-columns: 75px 1fr; padding-right: 1.2rem; }
  .reports-cta__visual img { width: 75px; height: 75px; }
  .reports-cta__button { grid-column: 2; justify-self: start; }
}
@media (max-width: 520px) {
  .reports-privacy { padding: 0.8rem 1rem; }
  .reports-cta { grid-template-columns: 1fr; gap: 0.55rem; padding: 1.2rem; text-align: center; }
  .reports-cta__visual img { width: 85px; height: 85px; }
  .reports-cta__button { grid-column: auto; justify-self: center; }
  .reports-cta__desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reports-privacy, .reports-privacy__shield, .reports-cta, .reports-cta__visual img, .reports-cta__glow { animation: none; transition: none; }
}

.reports-page .leap-footer .footer-brand,
.reports-page .leap-footer .footer-col,
.reports-page .leap-footer .footer-divider,
.reports-page .leap-footer .footer-copyright {
  opacity: 1 !important;
  transform: none !important;
}
