/* ============================================================================
   MyEnergy Report — CSS dedicato al report finale
   ============================================================================ */

body.me-report-page,
body:has(#myenergy-comparatore-root .me-report) {
  background: #061008 !important;
}

#myenergy-comparatore-root.has-report,
#myenergy-comparatore-root:has(.me-report) {
  background: #061008;
}

.me-report,
.me-report * {
  box-sizing: border-box;
}

.me-report {
  --r-ink: #102018;
  --r-muted: #5f6b78;
  --r-line: #dfe7ef;
  --r-green: #1bb532;
  --r-soft: #f3fbf5;
  background: #f4f7fb;
  color: var(--r-ink);
  overflow: hidden;
  padding-bottom: 0;
}

.me-report-nav-tag,
.me-report-eyebrow,
.me-report-kpi-kicker,
.me-rpt-how-kicker,
.me-report-trust,
.me-rpt-guarantee,
.me-rpt-onlywin,
.me-report-toolbar {
  display: none !important;
}

.me-report h1,
.me-report h2,
.me-report h3,
.me-report p {
  text-align: center;
}

.me-report-hero {
  min-height: auto !important;
  padding: 36px 24px 96px !important;
}

.me-report-nav {
  max-width: 1180px;
  margin: 0 auto 64px !important;
}

.me-report-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.me-report-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.me-report-hero-text h1 {
  max-width: 760px !important;
  margin: 0 auto 30px !important;
  font-size: clamp(38px, 6vw, 68px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em;
}

.me-report-hero-text p,
.me-report-kpi-sub {
  max-width: 720px !important;
  margin: 0 auto !important;
  color: var(--r-muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.72;
  text-align: center !important;
}

.me-report-hero-text p {
  color: rgba(255, 255, 255, 0.82) !important;
  margin-bottom: 42px !important;
}

.me-report-hero-cta,
.me-report-final-cta-btns {
  justify-content: center;
  gap: 14px;
}

.me-report-kpi-section,
.me-report-compare-section,
.me-report-app-section,
.me-report-how-section,
.me-report-insight-section,
.me-report-value-section,
.me-report-trust-section,
.me-report-proj-section,
.me-report-video-section {
  padding: 92px 24px !important;
}

.me-report-kpi-inner,
.me-report-compare-inner,
.me-report-app-inner,
.me-report-how-inner,
.me-report-insight-inner,
.me-report-value-inner,
.me-report-trust-inner,
.me-report-proj-inner,
.me-report-video-section {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.me-report-kpi-title {
  max-width: 820px !important;
  margin: 0 auto 26px !important;
  font-size: clamp(30px, 4.8vw, 52px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em;
  text-align: center !important;
}

.me-rpt-kpi-grid,
.me-rpt-insight-grid,
.me-rpt-steps-grid,
.me-rpt-proj-grid {
  margin-top: 48px !important;
}

.me-rpt-kpi-card,
.me-rpt-insight-card,
.me-rpt-step,
.me-rpt-proj-card,
.me-rpt-price-card {
  border-radius: 20px !important;
  padding: 28px !important;
  box-shadow: 0 18px 50px rgba(11, 26, 15, 0.08) !important;
}

.me-rpt-kpi-card,
.me-rpt-proj-card,
.me-rpt-price-card {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
}

.me-rpt-kpi-value,
.me-rpt-price-amount,
.me-rpt-proj-value {
  width: 100%;
  display: block;
  text-align: center !important;
}

.me-rpt-kpi-label,
.me-rpt-kpi-note,
.me-rpt-price-text,
.me-rpt-proj-label {
  text-align: center !important;
}

.me-report-app-section {
  background:
    radial-gradient(circle at 82% 32%, rgba(27, 181, 50, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%) !important;
}

.me-report-app-inner {
  gap: 58px !important;
  align-items: center !important;
}

.me-rpt-app-list {
  margin-top: 38px !important;
  display: grid !important;
  gap: 14px !important;
}

.me-rpt-app-item {
  padding: 18px 20px !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid rgba(16, 32, 24, 0.08) !important;
  box-shadow: 0 14px 38px rgba(11, 26, 15, 0.06) !important;
}

.me-rpt-app-item-icon,
.me-rpt-insight-emoji {
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--r-green);
  background: rgba(27, 181, 50, 0.10);
}

.me-report-how-section,
.me-report-final-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(27, 181, 50, 0.18), transparent 34%),
    linear-gradient(135deg, #07130a 0%, #12371d 100%) !important;
}

.me-report-value-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(27, 181, 50, 0.10), transparent 30%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%) !important;
}

.me-rpt-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.me-rpt-value-card {
  min-height: 230px;
  padding: 34px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 32, 24, 0.08);
  box-shadow: 0 20px 60px rgba(11, 26, 15, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.me-rpt-value-card strong {
  display: grid;
  place-items: center;
  min-width: 86px;
  height: 58px;
  padding: 0 20px;
  border-radius: 999px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(27, 181, 50, 0.15), rgba(123, 229, 140, 0.26));
  color: var(--r-green);
  font-size: 24px;
  font-weight: 900;
}

.me-rpt-value-card h3,
.me-rpt-trust-card h3 {
  margin: 0 0 12px;
  color: #081a33;
  font-size: 20px;
  line-height: 1.18;
}

.me-rpt-value-card p,
.me-rpt-trust-card p {
  margin: 0;
  color: var(--r-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.me-report-trust-section {
  background:
    radial-gradient(circle at 76% 74%, rgba(27, 181, 50, 0.34), transparent 34%),
    radial-gradient(circle at 18% 16%, rgba(123, 229, 140, 0.18), transparent 30%),
    linear-gradient(115deg, #19b644 0%, #177d55 42%, #102f66 100%) !important;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.me-report-trust-section::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.me-report-trust-section .me-report-kpi-title {
  color: #fff;
  max-width: 760px !important;
}

.me-report-trust-section .me-report-kpi-sub {
  color: rgba(255, 255, 255, 0.74) !important;
  max-width: 680px !important;
}

.me-report-smart-section {
  background:
    radial-gradient(ellipse 60% 70% at 0% 50%, rgba(27,181,50,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 20%, rgba(123,229,140,0.12) 0%, transparent 50%),
    linear-gradient(135deg, #081510 0%, #0d1f13 30%, #0f1d3a 70%, #0a1230 100%) !important;
  color: #fff;
  padding: 100px 24px 110px !important;
  position: relative;
  overflow: hidden;
}
.me-report-smart-section::before {
  content: '';
  position: absolute;
  top: -120px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,181,50,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.me-report-smart-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.me-report-smart-section .me-report-kpi-title {
  color: #fff;
  max-width: 680px !important;
  font-size: clamp(32px, 4.5vw, 54px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}

.me-report-smart-section .me-report-kpi-sub {
  color: rgba(255,255,255,0.60) !important;
  max-width: 600px !important;
  margin-bottom: 56px !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.me-rpt-smart-panel {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: stretch;
}

.me-rpt-smart-main {
  border-radius: 28px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(27,181,50,0.22) 0%, transparent 55%),
    rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(27,181,50,0.10) inset, 0 32px 80px rgba(0,0,0,0.22);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.me-rpt-smart-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1bb532, #7be58c, transparent);
  opacity: 0.7;
}

.me-rpt-smart-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27,181,50,0.18);
  border: 1px solid rgba(27,181,50,0.35);
  color: #7be58c;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.me-rpt-smart-main strong {
  display: block;
  color: #fff;
  font-size: clamp(48px, 6.5vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-align: left;
  background: linear-gradient(135deg, #fff 0%, #b8f5c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.me-rpt-smart-main p {
  margin: 28px 0 0 !important;
  color: rgba(255,255,255,0.50);
  font-size: 13px;
  line-height: 1.65;
}

.me-rpt-smart-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.me-rpt-smart-card {
  border-radius: 20px;
  padding: 26px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: background 0.22s, border-color 0.22s;
}
.me-rpt-smart-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1bb532, #7be58c);
  border-radius: 3px 0 0 3px;
  opacity: 0.7;
}

.me-rpt-smart-card h3 {
  margin: 0 0 7px !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.me-rpt-smart-card p {
  margin: 0 !important;
  color: rgba(255,255,255,0.55) !important;
  font-size: 14px !important;
  line-height: 1.6;
}

.me-rpt-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.me-rpt-trust-card {
  position: relative;
  min-height: 190px;
  padding: 34px 24px 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 24px 70px rgba(0, 0, 0, 0.20);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.me-rpt-trust-card::before {
  content: '';
  width: 42px;
  height: 4px;
  border-radius: 999px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, #1bb532, #7be58c);
  box-shadow: 0 0 28px rgba(123, 229, 140, 0.38);
}

.me-rpt-trust-card h3 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 10px;
}

.me-rpt-trust-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14.5px;
  line-height: 1.6;
}

.me-report-final-cta {
  padding: 88px 24px !important;
  background:
    radial-gradient(circle at 78% 72%, rgba(27, 181, 50, 0.34), transparent 34%),
    linear-gradient(115deg, #19b644 0%, #177d55 44%, #102f66 100%) !important;
}

.me-report-final-card {
  max-width: 980px !important;
  padding: 60px 42px !important;
  border-radius: 28px !important;
  margin: 0 auto;
}

.me-report-print-btn {
  font-family: inherit;
  cursor: pointer;
}

.me-report-disclaimer {
  max-width: 880px !important;
  margin: 0 auto !important;
  padding: 46px 24px 22px !important;
  background: #f4f7fb !important;
  color: #66727f !important;
  text-align: center !important;
  line-height: 1.7;
}

.me-rating {
  max-width: none !important;
  margin: 0 !important;
  padding: 36px 24px 92px !important;
  background: #f4f7fb !important;
}

.me-rating > h3,
.me-rating .me-stars,
.me-rating .me-field,
.me-rating > .me-btn,
.me-rating-thanks {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.me-rating h3 {
  font-size: clamp(24px, 3.5vw, 34px) !important;
  margin-bottom: 24px !important;
  color: var(--r-ink);
}

.me-stars {
  display: flex !important;
  justify-content: center;
  gap: 12px !important;
  padding: 26px 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(11, 26, 15, 0.08);
}

.me-star {
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px;
  background: #f3f6fa !important;
}

.me-star:hover {
  background: #ecfff0 !important;
}

.me-report-footer {
  margin: 0 !important;
  padding: 48px 24px 52px !important;
  background: #061008 !important;
}

.me-report-footer-inner {
  max-width: 1040px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr) !important;
  gap: 72px !important;
  align-items: start !important;
}

.me-report-footer h3,
.me-report-footer p,
.me-report-footer a {
  text-align: left !important;
}

.me-report-footer h3 {
  margin-bottom: 10px !important;
}

.me-report-footer p,
.me-report-footer a {
  line-height: 1.75 !important;
}

@media (min-width: 980px) {
  .me-report-hero-inner {
    grid-template-columns: 0.95fr 1.05fr !important;
  }

  .me-report-hero-text {
    align-items: flex-start;
  }

  .me-report-hero-text h1,
  .me-report-hero-text p {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .me-report-hero-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 719px) {
  .me-report-hero,
  .me-report-kpi-section,
  .me-report-compare-section,
  .me-report-app-section,
  .me-report-how-section,
  .me-report-insight-section,
  .me-report-value-section,
  .me-report-smart-section,
  .me-report-trust-section,
  .me-report-proj-section,
  .me-report-video-section,
  .me-report-final-cta {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .me-report-final-card {
    padding: 42px 22px !important;
  }

  .me-report-final-cta-btns .me-btn-white,
  .me-report-final-cta-btns .me-btn-outline-white,
  .me-report-print-btn {
    width: 100%;
  }

  .me-rpt-value-grid,
  .me-rpt-smart-panel,
  .me-rpt-trust-grid {
    grid-template-columns: 1fr;
  }

  .me-rpt-value-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .me-rpt-trust-card {
    min-height: auto;
  }

  .me-report-smart-section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .me-rpt-smart-main {
    min-height: auto;
    padding: 32px 24px;
  }

  .me-rpt-smart-card {
    padding: 24px 22px;
  }

  .me-report-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}
