/**
 * Reports module page — CA Cloud Desk branding (slug: reports)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.page-template-page-reports,
body.page-reports {
  --rp-primary: #25B7A7;
  --rp-bright: #17C3B2;
  --rp-deep: #1A9E8F;
  --rp-navy: #083530;
  --rp-ink: #052824;
  --rp-text: #3D5250;
  --rp-muted: #616365;
  --rp-ice: #E8F8F6;
  --rp-white: #FFFFFF;
  --rp-font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --rp-shadow: 0 12px 28px rgba(26, 158, 143, 0.1);
  --rp-shadow-hover: 0 18px 36px rgba(8, 53, 48, 0.14);
  --rp-radius: 16px;
}

body.page-template-page-reports .page-wrapper,
body.page-reports .page-wrapper,
body.page-template-page-reports .ccd-rep,
body.page-reports .ccd-rep {
  font-family: var(--rp-font);
  color: var(--rp-text);
  background: linear-gradient(180deg, var(--rp-ice) 0%, var(--rp-white) 10%, var(--rp-white) 92%, var(--rp-ice) 100%);
}

body.page-template-page-reports .sidebar-page-container,
body.page-reports .sidebar-page-container,
body.page-template-page-reports .blog-single-content,
body.page-reports .blog-single-content,
body.page-template-page-reports .mr_page,
body.page-reports .mr_page {
  display: none !important;
}

body.page-template-page-reports .ccd-rep h1,
body.page-template-page-reports .ccd-rep h2,
body.page-template-page-reports .ccd-rep h3,
body.page-reports .ccd-rep h1,
body.page-reports .ccd-rep h2,
body.page-reports .ccd-rep h3 {
  font-family: var(--rp-font);
  letter-spacing: -0.015em;
  color: var(--rp-navy);
  margin: 0;
}

.ccd-rep .auto-container {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.ccd-rep-brand {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rp-deep);
}

.ccd-rep-section-head {
  max-width: 640px;
  margin: 0 0 22px;
}

.ccd-rep-section-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 8px !important;
}

.ccd-rep-section-head p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--rp-muted);
}

.ccd-rep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ccd-rep-btn--primary {
  color: #fff !important;
  background: linear-gradient(145deg, var(--rp-bright), var(--rp-deep));
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(26, 158, 143, 0.22);
}

.ccd-rep-btn--primary:hover {
  box-shadow: 0 12px 24px rgba(26, 158, 143, 0.3);
}

.ccd-rep-btn--ghost {
  color: var(--rp-deep) !important;
  background: #fff;
  border: 1px solid rgba(37, 183, 167, 0.28);
}

.ccd-rep-btn--ghost:hover {
  border-color: rgba(37, 183, 167, 0.5);
  background: var(--rp-ice);
}

/* Hero */
.ccd-rep-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 44px;
  background:
    radial-gradient(ellipse 55% 50% at 10% 15%, rgba(37, 183, 167, 0.14), transparent 58%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(8, 53, 48, 0.07), transparent 55%),
    linear-gradient(145deg, #EEFAF8 0%, #F7FBFA 50%, #E8F2F1 100%);
}

.ccd-rep-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ccd-rep-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
}

.ccd-rep-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--rp-ink);
  margin-bottom: 12px !important;
}

.ccd-rep-hero__lead {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--rp-text);
  max-width: 36rem;
}

.ccd-rep-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ccd-rep-flow {
  padding: 18px;
  border-radius: var(--rp-radius);
  background: linear-gradient(180deg, #fff 0%, #f3fbfa 100%);
  border: 1px solid rgba(37, 183, 167, 0.16);
  box-shadow: var(--rp-shadow);
}

.ccd-rep-flow__label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rp-deep);
}

.ccd-rep-flow__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ccd-rep-flow__node {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(37, 183, 167, 0.12);
}

.ccd-rep-flow__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--rp-deep);
}

.ccd-rep-flow__node strong {
  font-size: 14px;
  color: var(--rp-navy);
}

.ccd-rep-flow__node span:last-child {
  font-size: 12.5px;
  color: var(--rp-muted);
}

/* Intro */
.ccd-rep-intro {
  padding: 28px 0 8px;
}

.ccd-rep-intro__panel {
  padding: 22px 24px;
  border-radius: var(--rp-radius);
  background: #fff;
  border: 1px solid rgba(37, 183, 167, 0.14);
  box-shadow: var(--rp-shadow);
}

.ccd-rep-intro__panel h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 8px !important;
}

.ccd-rep-intro__panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--rp-text);
  max-width: 52rem;
}

/* Capabilities */
.ccd-rep-capabilities {
  padding: 28px 0 12px;
}

.ccd-rep-cap__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.ccd-rep-card {
  padding: 18px 16px 16px;
  border-radius: var(--rp-radius);
  background: linear-gradient(180deg, #fff 0%, #f4fbfa 100%);
  border: 1px solid rgba(37, 183, 167, 0.14);
  box-shadow: 0 8px 20px rgba(8, 53, 48, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ccd-rep-card:nth-child(even) {
  margin-top: 12px;
}

.ccd-rep-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 183, 167, 0.3);
  box-shadow: var(--rp-shadow-hover);
}

.ccd-rep-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 11px;
  color: var(--rp-deep);
  background: rgba(37, 183, 167, 0.12);
  border: 1px solid rgba(37, 183, 167, 0.16);
}

.ccd-rep-card__icon svg {
  width: 20px;
  height: 20px;
}

.ccd-rep-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px !important;
}

.ccd-rep-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rp-muted);
}

.ccd-rep-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--rp-deep) !important;
  text-decoration: none !important;
}

.ccd-rep-card__link:hover {
  color: var(--rp-primary) !important;
}

/* How it works */
.ccd-rep-how {
  padding: 28px 0 12px;
}

.ccd-rep-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ccd-rep-steps__item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(37, 183, 167, 0.14);
  box-shadow: 0 8px 18px rgba(8, 53, 48, 0.04);
}

.ccd-rep-steps__num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--rp-primary);
}

.ccd-rep-steps__item strong {
  display: block;
  font-size: 14px;
  color: var(--rp-navy);
  margin-bottom: 4px;
}

.ccd-rep-steps__item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--rp-muted);
}

/* Benefits */
.ccd-rep-benefits {
  padding: 28px 0 12px;
}

.ccd-rep-ben__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ccd-rep-ben {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f7fbfa 100%);
  border: 1px solid rgba(37, 183, 167, 0.12);
}

.ccd-rep-ben h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px !important;
}

.ccd-rep-ben p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--rp-muted);
}

/* CTA */
.ccd-rep-cta {
  padding: 28px 0 56px;
}

.ccd-rep-cta__panel {
  padding: 28px 24px;
  border-radius: var(--rp-radius);
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(37, 183, 167, 0.14), transparent 60%),
    linear-gradient(145deg, #083530 0%, #1A9E8F 55%, #25B7A7 100%);
  box-shadow: var(--rp-shadow);
}

.ccd-rep-cta__panel h2 {
  color: #fff !important;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 8px !important;
}

.ccd-rep-cta__panel p {
  margin: 0 auto 16px;
  max-width: 36rem;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.ccd-rep-cta__panel .ccd-rep-btn--primary {
  background: #fff;
  color: var(--rp-navy) !important;
  box-shadow: none;
}

.ccd-rep-cta__panel .ccd-rep-btn--primary:hover {
  background: var(--rp-ice);
}

@media (max-width: 991px) {
  .ccd-rep-hero__grid,
  .ccd-rep-cap__grid,
  .ccd-rep-steps,
  .ccd-rep-ben__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ccd-rep-card:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .ccd-rep-hero__grid,
  .ccd-rep-cap__grid,
  .ccd-rep-flow__track,
  .ccd-rep-steps,
  .ccd-rep-ben__grid {
    grid-template-columns: 1fr;
  }

  .ccd-rep-hero {
    padding: 28px 0 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccd-rep-card,
  .ccd-rep-btn {
    transition: none !important;
  }

  .ccd-rep-card:hover {
    transform: none;
  }
}
