/* ============================================================
   Leonedesign Landing System — Shared Stylesheet
   Colors: #0000ff (blue) · #ffffff (white) · #000000 (black)
   Font: Montserrat
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0000ff;
  --blue-dim:    rgba(0,0,255,0.15);
  --blue-border: rgba(0,0,255,0.3);
  --black:       #000000;
  --white:       #ffffff;
  --bg:          #070707;
  --bg2:         #0f0f0f;
  --bg3:         #161616;
  --border:      rgba(255,255,255,0.08);
  --muted:       rgba(255,255,255,0.5);
  --font:        'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --r:           12px;
  --r-lg:        20px;
  --r-pill:      999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Only landing page locks scroll */
body.page-locked { display: flex; flex-direction: column; min-height:100vh}
body.page-locked .hero { flex: 1; min-height: 80vh; background-image:url('/wp-content/uploads/2026/05/cover22-scaled.png');}
@media only screen and (max-width:900px){body.page-locked .hero {background-image:url('/wp-content/uploads/2026/05/quiz-cover-scaled.png');}}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); }

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4 { font-weight: 800; line-height: 1.1; }
p, li, span, label, a { line-height: 1.0; }
.blue  { color: var(--blue); }
em { font-style: italic; }

/* Section labels hidden globally */
.section-label,
.report-eyebrow,
.report-label,
.q-category { display: none; }

/* ── Layout ─────────────────────────────────────────────── */
.container    { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 720px;  margin: 0 auto; padding: 0 28px; }
.center       { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill);
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none;
  transition: transform .2s, opacity .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:not(.btn-primary):hover { box-shadow: 0 8px 28px rgba(0,0,0,.4); }

.btn-primary {
  background: #002ADD;
  color: var(--white);
  position: relative;
  overflow: hidden;
  filter: drop-shadow(2px 2px 10px #2649dd);
  box-shadow:
    inset 2px 2px 2px 0px rgba(255,255,255,.5),
    inset 2px 2px 10px rgba(0,0,0,.54),
    7px 7px 20px 0px rgba(0,0,0,.1),
    4px 4px 5px 0px rgba(0,0,0,.1);
  transition: background .3s ease, transform .2s, box-shadow .2s;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: -180px; left: 0;
  width: 30px; height: 100%;
  background: #fff;
  animation: shiny-btn 3s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover {
  background: #0038ff !important;
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    inset 2px 2px 2px 0px rgba(255,255,255,.4),
    inset 2px 2px 10px rgba(0,0,0,.4),
    0 8px 28px rgba(0,0,0,.3);
}
.btn-primary:active {
  box-shadow:
    inset -4px -4px 6px 0 rgba(255,255,255,.2),
    inset 4px 4px 6px 0 rgba(0,0,0,.2),
    4px 4px 6px 0 rgba(255,255,255,.3),
    -4px -4px 6px 0 rgba(116,125,136,.2);
}
@keyframes shiny-btn {
  0%   { transform: scale(0) rotate(45deg); opacity: 0; }
  80%  { transform: scale(0) rotate(45deg); opacity: 0.5; }
  81%  { transform: scale(4) rotate(45deg); opacity: 1; }
  100% { transform: scale(50) rotate(45deg); opacity: 0; }
}
.btn-white   { background: var(--white); color: var(--black); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.3); }    
.btn-lg {
    padding: 24px 75px;
    font-size: 1.3rem;
    font-weight: 500;
    white-space: nowrap;
}
.btn-sm      { padding: 10px 20px; font-size: .85rem; }

/* ── Section shells ─────────────────────────────────────── */
.section        { padding: 96px 0; }
.section-dark   { background: var(--bg2); }
.section-darker { background: var(--bg); }
.section-blue   { background: var(--blue); color: var(--white); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 48px;
  text-align: center;
}
.section-title-xl {
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 900; line-height: 1; margin-bottom: 20px;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 100px;
  background: transparent;
  border-bottom: none;
}
.nav-logo { height: 30px; width: auto; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  flex: 1; display: flex; align-items: center;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  position: relative; padding: 60px 100px 48px;
  min-height: 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(0,0,0,.78) 40%, rgba(0,0,255,.08) 100%);
}

.hero-grid {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 1160px; margin: 0px auto 0;
  gap: 118px; text-align: center;
}

.hero-left {
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
	margin-top: 20px;
}
/* I <br> vengono mostrati solo su desktop */
.hero-break-desktop {
  display: inline;
}

/* Su mobile i ritorni a capo vengono nascosti */
@media (max-width: 767px) {
  .hero-break-desktop {
    display: none;
  }

  .hero-headline {
    line-height: 1.3;
  }
}
.hero-headline {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -1.2px;
    margin: 0;
    margin-top: 75px;
}
.hero-body {
  font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.65);
  line-height: 1.65; margin: 0;
}

/* urgency pill sits below h1 (no margin needed, gap handles it) */

.hero-right {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.04);
}

/* Foto — miglioramento qualità con filtri CSS */
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  filter: contrast(1.08) saturate(1.14) brightness(1.05);
}

/* Retino: dot halftone con trasparenza minima */
.hero-right::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,0,0,.18) 1px, transparent 1px);
  background-size: 5px 5px;
  background-position: 0 0;
}

/* Gradient fade bottom — fonde con lo sfondo */
.hero-right::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%; z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
  pointer-events: none;
}

.hero-photo-placeholder {
  text-align: center; color: rgba(255,255,255,.2);
  padding: 40px; width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.hero-photo-placeholder span { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.hero-photo-placeholder p { font-size: .82rem; }

.hero-tag {
    display: block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    background: rgb(0 0 200 / 23%);
    border: 1px solid rgba(80,100,255,.5);
    border-radius: var(--r-pill);
    padding: 14px 32px;
    max-width: 960px;
    width: 100%;
}

.hero-note { font-size: .78rem; color: rgba(255,255,255,.38); margin: 0; }

/* responsive */
@media (max-width: 900px) {
  .hero { padding: 100px 24px 60px; }
	.quiz-nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 28px;
    flex-direction: column-reverse;
    gap: 20px;
}
}

.report-page h1 {
    font-size: 35px;
    line-height: 1.1;
}
/* ── Urgency pill ────────────────────────────────────────── */
.urgency-pill {
  display: inline-flex; align-items: center; gap: 10px;
  width: fit-content; align-self: flex-start;
  
   padding: 8px 18px;
  font-size: .82rem; font-weight: 600;
  color: var(--white); letter-spacing: .01em; margin: auto;
}
.report-page .urgency-pill { align-self: center; }
.urgency-dot {
  width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.7);
  animation: urgency-pulse 1.4s ease-in-out infinite;
}
@keyframes urgency-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: .6; }
}

/* ── Logo swiper ─────────────────────────────────────────── */
.logos-strip { background: #0c0c0c; padding: 44px 0; overflow: hidden; }
.logos-strip-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 28px; text-align: center; }

.logo-swiper-wrapper {
  position: relative;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-swiper .swiper-slide {
  display: flex; align-items: center; justify-content: center;
  opacity: .45; transition: opacity .3s;
}
.logo-swiper .swiper-slide:hover { opacity: 1; }
.logo-swiper .swiper-slide img { height: 36px; width: auto; object-fit: contain; filter: grayscale(1) brightness(2); }

/* ── Problem cards ───────────────────────────────────────── */
.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
  gap: 20px; margin-bottom: 40px;
}
.problem-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px; text-align: center;
}
.problem-num { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--blue); margin-bottom: 12px; }
.problem-card p { font-size: .95rem; color: var(--white); line-height: 1.7; }
.problem-core {
  background: var(--blue); border-radius: var(--r);
  padding: 44px 40px; text-align: center;
  font-size: 1.3rem; font-weight: 600; line-height: 1.5; color: var(--white);
}

/* ── Quiz CTA section ────────────────────────────────────── */
.quiz-cta-sub { font-size: 1.1rem; color: var(--muted); max-width: 500px; margin: 0 auto 36px; }

/* ── 4-Step grid (2x2) ───────────────────────────────────── */
.steps-lead { font-size: 1.05rem; color: var(--muted); max-width: 520px; margin: -36px 0 52px; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.step-card {
  background: #000; border: 1px solid #002ADD5a;
  border-radius: var(--r); padding: 28px 28px 28px 24px;
  text-align: left; position: relative; overflow: hidden;
}
.step-num {
  position: absolute; left: 10px; top: 6px; z-index: 0;
  font-size: clamp(5.5rem, 9vw, 8rem); font-weight: 900; line-height: 1; margin: 0;
  background: linear-gradient(to bottom, #0000C2, #000000);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0.7;
  pointer-events: none; user-select: none;
}
.step-card h3 {
  font-size: 20px; font-weight: 600; margin-bottom: 14px;
  color: var(--white); margin-left: 100px; position: relative; z-index: 1;
}
.step-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; margin-left: 100px; position: relative; z-index: 1; }
.step-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; margin-left: 100px; }
.step-card li {
  font-size: .9rem; color: rgba(255,255,255,.8);
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.55;
}
.step-card li::before { content: '→'; color: var(--blue); flex-shrink: 0; }

/* ── Testimonials ────────────────────────────────────────── */
.tp-header { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 0; gap: 16px; text-align: center; }
.tp-badge { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(0,182,122,.08); border: 1px solid rgba(0,182,122,.25); border-radius: var(--r-pill); }
.tp-score { font-size: .82rem; font-weight: 700; color: #00b67a; }
.tp-sub   { font-size: .75rem; color: var(--muted); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 18px; margin-top: 48px;
}
.t-stars { color: #00b67a; font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.t-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; text-align: center; }
.t-card p { font-size: .9rem; color: var(--white); font-style: italic; margin-bottom: 14px; line-height: 1.65; }
.t-author { font-size: .75rem; font-weight: 700; color: var(--muted); }

/* ── Founder ─────────────────────────────────────────────── */
.founder-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.founder-text h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); margin-bottom: 18px; }
.founder-text p  { color: var(--white); margin-bottom: 28px; }
.founder-visual {
  aspect-ratio: 1; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center;
}
.founder-visual img { width: 60%; opacity: .85; }

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta h2 { font-size: clamp(1.9rem,4vw,2.9rem); margin-bottom: 14px; }
.final-cta p  { font-size: 1.05rem; opacity: .88; margin-bottom: 32px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none;
  color: var(--white); font-size: 1rem; font-weight: 600; font-family: var(--font);
  cursor: pointer; text-align: left; gap: 16px;
}
.faq-icon { font-size: 1.4rem; font-weight: 300; color: var(--blue); flex-shrink: 0; transition: transform .25s; }
.faq-a { display: none; padding: 0 0 20px; color: var(--white); font-size: .92rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #1e1e1e; flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: start;
    gap: 20px;
    padding: 20px 28px 20px;
    max-width: 1060px;
    margin: 0 auto;
	justify-content: space-between;}
@media only screen and (max-width:900px){.footer-inner {flex-direction: column;}}
.footer-logo { height: 26px; margin-bottom: 8px; }
.footer-copy {
  font-size: .72rem; color: rgba(255,255,255,.55); line-height: 1.9;
}
.footer-copy a { color: rgba(255,255,255,.55); text-decoration: underline; }
.footer-copy a:hover { color: #fff; }
.footer-divider { width: 40px; height: 1px; background: rgba(255,255,255,.12); }
.footer-disclaimer {
  font-size: .65rem; color: rgba(255,255,255,.3); line-height: 1.7;
  max-width: 680px;
}
.footer-social { display: flex; gap: 20px; align-items: center; margin-top: 4px; }
.footer-social a {
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .08em;
  transition: color .2s;
}
.footer-social a:hover { color: #fff; }

/* ────────────────────────────────────────────────────────────
   QUIZ PAGE
   ──────────────────────────────────────────────────────────── */
.quiz-page { background: #05070a; min-height: 100vh; display: flex; flex-direction: column; position: relative; }
.quiz-page::before {
  content: ''; position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none; z-index: 0;
}

/* Header */
.quiz-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 100px; height: 60px;
  background: rgba(5,7,10,.92); backdrop-filter: blur(14px);
}
.quiz-header-logo { height: 30px; width: auto; }

/* Progress bar in header */
.quiz-progress-wrap {
  flex: 1; display: flex; align-items: center; gap: 16px;
  margin: 0 40px;
}
.quiz-progress-bar {
  flex: 1; height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-pill); overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #0000ff, #3366ff);
  border-radius: var(--r-pill);
  transition: width .45s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 0 8px rgba(0,0,255,.5);
}
.quiz-counter { font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }

/* Body */
.quiz-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 106px 28px 80px; position: relative; z-index: 1; }

/* Steps */
.quiz-step { display: none; max-width: 560px; width: 100%; animation: fadeUp .35s ease; }
.quiz-step.active { display: block; }

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

.q-text { font-size: clamp(1.5rem,4vw,2.1rem); font-weight: 800; line-height: 1.2; margin-bottom: 38px; color: var(--white); }

/* Text input */
.q-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 2px solid rgba(255,255,255,.25);
  color: var(--white); font-size: 1.2rem; font-family: var(--font);
  padding: 10px 0; outline: none; margin-bottom: 38px; transition: border-color .2s;
}
.q-input:focus { border-bottom-color: var(--blue); }
.q-input::placeholder { color: rgba(255,255,255,.28); }

/* Options */
.q-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 38px; }
.q-option {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 15px 20px;
  color: var(--white); font-size: .97rem; font-weight: 500; font-family: var(--font);
  cursor: pointer; text-align: left; transition: all .18s;
}
.q-option:hover  { background: rgba(0,0,255,.12); border-color: rgba(0,0,255,.4); }
.q-option.selected { background: rgba(0,0,255,.18); border-color: var(--blue); }

/* Continue btn */
.btn-continue {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--black);
  border: none; border-radius: var(--r-pill);
  padding: 15px 32px; font-size: 1rem; font-weight: 700; font-family: var(--font);
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn-continue:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.4); }

/* ── Quiz navigation row ─────────────────────────────────── */
.quiz-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.quiz-nav-right { display: flex; justify-content: flex-end; width: 100%; }
.btn-back {
  background: none; border: none; padding: 0;
  color: rgba(255,255,255,.35); font-family: var(--font); font-size: .82rem;
  cursor: pointer; transition: color .2s; white-space: nowrap;
}
.btn-back:hover { color: var(--white); }

/* ── Interruption screen ─────────────────────────────────── */
.interrupt {
  display: none; max-width: 800px; width: 100%;
  flex-direction: column; animation: fadeUp .35s ease;
}
.interrupt.active { display: flex; }

.int-card {
  display: grid; grid-template-columns: 42% 58%;
  height: clamp(380px, calc(100vh - 200px), 520px);
  background: #0c0c14; border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px 12px 0 0; overflow: hidden;
}

/* Sinistra */
.int-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px; background: #080810; min-height: 0;
  border-right: 1px solid rgba(255,255,255,.08);
}
.int-label {
  font-size: 11px; font-weight: 600; font-family: var(--font);
  color: rgba(255,255,255,.5); margin-bottom: 10px; flex-shrink: 0;
}
.int-swiper {
  flex: 1; border-radius: 8px; overflow: hidden;
  min-height: 0; width: 100%; position: relative;
}
.int-swiper,
.int-swiper .swiper-wrapper,
.int-swiper .swiper-slide { height: 100% !important; }
.int-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Destra */
.int-right {
  padding: 28px 32px 24px;
  display: flex; flex-direction: column; text-align: left; gap: 10px;
}
.int-title {
  font-size: 22px; font-weight: 700; line-height: 1.25;
  color: #fff; margin: 0;
}
.int-body {
  font-size: 14px; color: rgba(255,255,255,.68);
  line-height: 1.2; margin: 0;
}
.int-stat-box {
  font-size: 13px; color: rgba(255,255,255,.75);
  line-height: 1.2; margin: 0;
  background: #111318; border: 1px solid rgba(180,180,180,.2);
  border-radius: 8px; padding: 12px 14px;
}
.int-btn {
  margin-top: auto; align-self: flex-end;
  background: #fff; border: none;
  border-radius: 24px; padding: 10px 26px;
  color: #000; font-size: 15px; font-weight: 600;
  font-family: var(--font); cursor: pointer;
  transition: opacity .2s;
}
.int-btn:hover { opacity: .85; }

/* Logo strip slider */
.int-logos {
  background: #000; padding: 14px 0;
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(255,255,255,.08); border-top: none;
  overflow: hidden;
}
.int-logo-swiper { width: 100%; }
.int-logo-swiper .swiper-slide {
  width: auto !important;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.int-logo-swiper .swiper-slide img {
  height: 26px; width: auto; object-fit: contain;
}

/* ── Social proof modal ──────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.active { display: flex; }

.modal-card {
  background: #111; border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 52px 44px;
  max-width: 460px; width: 100%; text-align: center; animation: fadeUp .3s ease;
}
.modal-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(0,0,255,.14); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 1.4rem; }
.modal-title { font-size: 1.55rem; font-weight: 800; margin-bottom: 14px; }
.modal-body  { color: var(--white); margin-bottom: 30px; line-height: 1.65; }


/* ── Form step ───────────────────────────────────────────── */
.form-step { display: none; max-width: 560px; width: 100%; animation: fadeUp .35s ease; }
.form-step.active { display: block; }

.form-title    { font-size: clamp(1.5rem,4vw,2rem); font-weight: 800; margin-bottom: 8px; }
.form-subtitle { color: var(--white); margin-bottom: 36px; font-size: .95rem; }

.form-field { margin-bottom: 22px; }
.form-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 8px; }
.form-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 2px solid rgba(255,255,255,.18);
  color: var(--white); font-size: 1rem; font-family: var(--font);
  padding: 10px 0; outline: none; transition: border-color .2s;
}
.form-input:focus { border-bottom-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.form-privacy { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; }
.form-privacy input[type=checkbox] { accent-color: var(--blue); margin-top: 4px; flex-shrink: 0; }
.form-privacy label { font-size: .8rem; color: var(--white); line-height: 1.5; }
.form-privacy a { color: var(--blue); }

/* ── Timer badge ─────────────────────────────────────────── */
.timer-badge {
  position: fixed; bottom: 22px; left: 22px; z-index: 200;
  display: none; align-items: center; gap: 10px;
  background: rgba(12,12,12,.96); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill); padding: 10px 18px; font-size: .82rem;
  backdrop-filter: blur(14px); box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.timer-badge.visible { display: flex; }
.timer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }
.timer-text { color: var(--white); }
.timer-num  { font-weight: 800; color: var(--white); }

/* ── Loading screen ──────────────────────────────────────── */
.loading-screen {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: #05070a; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px;
}
.loading-screen.active { display: flex; }
.loading-logo { height: 36px; margin-bottom: 64px; }

.radar-wrap { width: 160px; height: 160px; position: relative; margin: 0 auto 52px; }
.r-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(0,0,255,.25); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.r-ring-1 { width: 38px;  height: 38px; }
.r-ring-2 { width: 78px;  height: 78px; }
.r-ring-3 { width: 118px; height: 118px; }
.r-ring-4 { width: 158px; height: 158px; }
.r-sweep { position: absolute; top: 50%; left: 50%; width: 79px; height: 2px; background: linear-gradient(to right, var(--blue), transparent); transform-origin: left center; animation: sweep 1.8s linear infinite; }
@keyframes sweep { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.r-center { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.r-ping { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: ping 2s ease-in-out infinite; }
.r-ping-1 { top: 28%; left: 62%; animation-delay: .6s; }
.r-ping-2 { top: 64%; left: 35%; animation-delay: 1.2s; }
@keyframes ping { 0%,100%{opacity:0} 50%{opacity:.9} }

.loading-title { font-size: 1.45rem; font-weight: 800; margin-bottom: 10px; text-align: center; }
.loading-sub   { color: var(--muted); margin-bottom: 44px; text-align: center; font-size: .92rem; }
.loading-bar-wrap { width: 300px; max-width: 100%; height: 4px; background: rgba(255,255,255,.08); border-radius: var(--r-pill); overflow: hidden; }
.loading-bar { height: 100%; background: var(--blue); width: 0%; transition: width .12s linear; border-radius: var(--r-pill); }
.loading-status { margin-top: 14px; font-size: .82rem; color: rgba(255,255,255,.32); text-align: center; min-height: 18px; }

/* ────────────────────────────────────────────────────────────
   REPORT PAGE
   ──────────────────────────────────────────────────────────── */
.report-page { background: #05070a; }
.report-page::before {
  content: ''; position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}

.report-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 100px;
  background: black;
  border-bottom: 1px solid var(--border);
}
.report-nav-logo { height: 24px; }

.report-name  { color: var(--blue); }

/* Radar SVG */
.radar-chart-wrap { width: 100%; max-width: 340px; aspect-ratio: 1; margin: 0 auto; position: relative; }
.radar-svg { width: 100%; height: 100%; overflow: visible; }

/* Score bars */
.score-card {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-lg); padding: 20px 24px;
}
.score-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.score-card-title { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.score-total-wrap { text-align: right; }
.score-total-label { font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: block; margin-bottom: 1px; }
.score-total-val { font-size: 1.4rem; font-weight: 900; color: var(--blue); line-height: 1; }

.score-bars { display: flex; flex-direction: column; gap: 0; }
.score-row {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.score-row:last-child { border-bottom: none; }
.score-label { font-size: .72rem; font-weight: 700; color: var(--white); width: 120px; flex-shrink: 0; text-align: right; }
.score-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,.07); border-radius: var(--r-pill); overflow: hidden; position: relative; }
.score-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #0000ff, #3366ff);
  border-radius: var(--r-pill);
  transition: width .9s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 0 8px rgba(0,0,255,.5);
}
.score-val-wrap { width: 38px; flex-shrink: 0; text-align: left; }
.score-val { font-size: .8rem; font-weight: 800; color: var(--white); }
.score-val-sub { font-size: .6rem; color: var(--muted); }

/* ── Report typography overrides ─────────────────────────── */
.report-page h1 { font-size: 48px; line-height: 1.1; }
.report-page h2 { font-size: 28px; line-height: 1.1; }
.report-page h3 { font-size: 28px; line-height: 1.1; font-weight: 600; }

/* ── Bold → medium (report cards) ───────────────────────── */
.step-card li    { font-weight: 400; }
.problem-num     { font-weight: 600; }
.score-label     { font-weight: 600; }
.score-val       { font-weight: 600; }
.score-card-title{ font-weight: 600; }
.t-author        { font-weight: 500; }
.portfolio-title { font-weight: 600; }

/* ── Calendar modal ──────────────────────────────────────── */
.cal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.72); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
}
.cal-overlay.active { display: flex; }
.cal-modal {
  position: relative;
  width: min(860px, 94vw); height: min(680px, 88vh);
  background: #0f0f0f; border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  transform: translateY(20px); transition: transform .3s ease;
}
.cal-overlay.active .cal-modal { transform: translateY(0); }
.cal-modal iframe { width: 100%; height: 100%; border: none; }
.cal-close {
  position: absolute; top: 12px; right: 16px; z-index: 10;
  background: rgba(255,255,255,.08); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 1.2rem; color: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.cal-close:hover { background: rgba(255,255,255,.18); }

/* ── Report page layout ──────────────────────────────────── */
.report-page { background: #05070a; }

.report-hero {
  padding: 72px 0 64px;
  text-align: center;
  position: relative; z-index: 1;
	background:black;
}

.report-page h1, .report-page h2, .report-page h3, .report-page h4 { font-weight: 600; }

.report-hero-title { font-size: 48px; font-weight: 600; line-height: 1.1; margin-bottom: 0; }
.report-hero-sub   { font-size: .95rem; color: var(--muted); margin-bottom: 48px; line-height: 1.55; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Hero two-column: radar left, scores right */
.report-hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
  text-align: left;
}
.report-hero-cols .radar-chart-wrap { margin: 0 auto; max-width: 340px; }

/* Portfolio carousel */
.portfolio-title {
  font-size: 28px; font-weight: 800; line-height: 1.1;
  max-width: 680px; margin: 0 auto 40px;
}
.portfolio-swiper { width: 100%; border-radius: var(--r-lg); overflow: hidden; }
.portfolio-swiper .swiper-slide img { width: 100%; height: auto; display: block; }

/* Report metrics */
.report-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; max-width: 760px; margin: 0 auto 72px; }
.r-metric { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; text-align: center; }
.r-metric-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.r-metric-val   { font-size: 2rem; font-weight: 900; color: var(--blue); }
.r-metric-desc  { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* Analysis */
.report-section { padding: 60px 0; position: relative; z-index: 1; background: black !important; }
.analysis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.a-card { background: #000; border: 1px solid var(--border); border-radius: var(--r); padding: 28px; }
.a-card-num { font-size: .68rem; font-weight: 800; color: var(--blue); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.a-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.a-card p  { font-size: .88rem; color: var(--white); line-height: 1.7; }

/* Video */
.video-wrap {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--r-lg); aspect-ratio: 16/9; max-width: 780px; margin: 36px auto 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.video-wrap iframe {
  width: 100%; height: 100%; display: block; border: none;
}
.video-placeholder { text-align: center; color: rgba(255,255,255,.25); }
.video-placeholder .play { font-size: 3rem; margin-bottom: 12px; }
.video-placeholder p { font-size: .85rem; }

/* Leve */
.leve-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
.leva-card { background: rgba(0,0,255,.06); border: 1px solid rgba(0,0,255,.18); border-radius: var(--r); padding: 28px; }
.leva-num  { font-size: .68rem; font-weight: 800; color: var(--blue); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.leva-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.leva-card p  { font-size: .85rem; color: var(--white); line-height: 1.65; }

/* Stats row */
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; margin: 32px 0; }
.stat-val   { font-size: 2.2rem; font-weight: 900; color: var(--blue); }
.stat-label { font-size: .8rem; color: var(--muted); }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Stats section ───────────────────────────────────────── */
.report-stats-section { background: var(--black); }
.report-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg); overflow: hidden;
}
.r-stat {
  padding: 40px 28px; text-align: center;
  background: var(--bg3);
  border-right: 1px solid rgba(255,255,255,.07);
}
.r-stat:last-child { border-right: none; }
.r-stat-num {
  display: block;
  font-size: clamp(2.8rem,5vw,4rem);
  font-weight: 900; color: var(--white); line-height: 1;
  margin-bottom: 12px;
}
.r-stat-num .counter { color: var(--white); }
.r-stat-label { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* Report final CTA */
.report-final-cta {
  background-image: url('https://landing.leonedesign.it/wp-content/uploads/2026/04/Dessk-cover-scaled.webp');
  background-size: cover; background-position: center;
  position: relative; padding: 88px 28px; text-align: center; 
}
.report-final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.62);
}
.report-final-cta .container-sm { position: relative; z-index: 1; }
.report-final-cta h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 14px; }
.report-final-cta p  { font-size: 1.05rem; opacity: .88; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav        { padding: 14px 40px; }
  .quiz-header{ padding: 0 40px; }
  .report-nav { padding: 14px 40px; }
}
@media (max-width: 768px) {
  .nav        { padding: 12px 20px; }
  .quiz-header{ padding: 0 20px; }
  .report-nav { padding: 12px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .founder-inner { grid-template-columns: 1fr; }
  .founder-visual { display: none; }
  .int-card  { grid-template-columns: 1fr; height: auto; }
  .int-left  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); min-height: 180px; }
  .int-swiper { min-height: 160px; }
  .int-right { padding: 20px 18px; }
  .int-logos { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .analysis-grid  { grid-template-columns: 1fr; }
  .leve-grid      { grid-template-columns: 1fr; }
  .report-metrics { grid-template-columns: 1fr 1fr; }
  .report-hero-cols { grid-template-columns: 1fr; }
  .portfolio-title { font-size: 22px; }
  .form-row       { grid-template-columns: 1fr; }
  .modal-card     { padding: 36px 28px; }
  .score-label    { width: 100px; }
}
@media (max-width: 480px) {
  .report-metrics { grid-template-columns: 1fr; }
  .hero-headline  { font-size: clamp(1.9rem,8vw,2.6rem); }
  .section-title-xl { font-size: clamp(3.5rem,14vw,5.5rem); }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATION — patch complementari
   Integra i @media esistenti con regole mancanti.
   Breakpoint coperti: 900 / 768 / 480 / 360
═══════════════════════════════════════════════════════════════ */

/* ── 900px: hero alignment e CTA ────────────────────────────── */
@media (max-width: 900px) {
	.footer-disclaimer{text-align:center}
  /* Centra tutto il lato sinistro dell'hero quando la griglia diventa 1 colonna */
  .hero-left    { align-items: center; text-align: center; }
  .urgency-pill { align-self: center; }

  /* Riduce il tag badge per non spezzarsi */
  .hero-tag { font-size: 13px; padding: 7px 16px; }

  /* Scalatura headline intermedia (già 42px fissi — troppo grande su tablet) */
  .hero-headline { font-size: clamp(1.9rem, 5.5vw, 2.6rem); }

  /* CTA: permette il wrap del testo su viewports medie */
  .btn-lg { white-space: normal; text-align: center; }
}

/* ── 768px: patch mancanti ───────────────────────────────────── */
@media (max-width: 768px) {

  /* Report hero title (era fisso a 48px) */
  .report-hero       { padding: 36px 0 16px; text-align: center; background: black !important; }
  .report-hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .report-hero-sub   { margin-bottom: 28px; }

  /* Stats grid: 4 colonne → 2×2
     Ridisegna i bordi per il nuovo layout */
  .report-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .r-stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 28px 16px;
  }
  .r-stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.07) !important; }
  .r-stat:nth-child(n+3)  { border-bottom: none; }

  /* Stats row inline */
  .stats-row { gap: 20px; }
  .stat-val   { font-size: 1.9rem; }

  /* Titoli sezione */
  .section-title { font-size: clamp(1.25rem, 4.5vw, 1.75rem); }

  /* btn-lg: padding e testo */
  .btn-lg {
    padding: 16px 24px;
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }

  /* Step cards: margine watermark numerico */
  .step-num      { font-size: clamp(4.5rem, 12vw, 7rem); }
  .step-card h3  { margin-left: 80px; font-size: 18px; }
  .step-card ul  { margin-left: 80px; }

  /* Report section spacing */
  .report-section { padding: 44px 0; }

  /* Final CTA */
  .report-final-cta { padding: 60px 20px; margin-top: 48px; }

  /* CAL modal altezza dinamica */
  .cal-modal        { padding: 16px; height: 88dvh; }
  .cal-modal iframe { height: 100%; }

  .modal-card { padding: 36px 24px; }
}

/* ── 480px: telefoni standard ────────────────────────────────── */
@media (max-width: 480px) {

  /* Hero: nasconde la foto, riduce padding */
  .hero-right   { display: none; }
  .hero         { padding: 50px 16px 44px; }
  .hero-headline{ font-size: clamp(1.6rem, 8.5vw, 2rem); }
  .hero-tag     { font-size: 11px; padding: 6px 12px; letter-spacing: .06em; }
  .hero-body    { font-size: .92rem; }

  /* btn-lg full-width */
  .btn-lg       { width: 100%; max-width: 100%; padding: 15px 20px; font-size: .95rem; }
  .urgency-pill { font-size: .73rem; padding: 7px 12px; }

  /* Step cards: testo sopra il numero watermark */
  .step-card    { padding: 20px 18px 22px; }
  .step-num     { font-size: clamp(3.8rem, 20vw, 5.5rem); top: 0; left: 4px; }
  .step-card h3 { margin-left: 0; font-size: 15px; padding-top: 44px; }
  .step-card ul { margin-left: 0; }

  /* Quiz */
  .quiz-body    { padding: 100px 16px 60px; }
  .q-option     { padding: 13px 16px; font-size: .92rem; }
  .btn-continue { width: 100%; justify-content: center; padding: 14px 20px; }

  /* Interrupt */
  .int-title    { font-size: 18px; }
  .int-body     { font-size: 13px; line-height: 1.5; }
  .int-stat-box { font-size: 12px; padding: 10px 12px; }
  .int-btn      { padding: 9px 20px; font-size: 13px; align-self: stretch; text-align: center; }

  /* Report */
  .report-hero-title { font-size: clamp(1.5rem, 9vw, 2rem); }
  .report-hero-sub   { font-size: .88rem; }
  .r-stat-num        { font-size: 2.4rem; }
  .r-stat            { padding: 22px 12px; }
  .report-section    { padding: 36px 0; }
  .report-final-cta  { padding: 48px 16px; margin-top: 32px; }
  .report-final-cta h2 { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .report-final-cta p  { font-size: .93rem; }

  /* Modal / Exit */
  .modal-card  { padding: 28px 18px; border-radius: 12px; }
  .modal-title { font-size: 1.25rem; }


  /* FAQ */
  .faq-q { font-size: .92rem; padding: 16px 0; }
  .faq-a  { font-size: .88rem; }

  /* Score bars */
  .score-label { width: 90px; font-size: .75rem; }
  .score-value { font-size: .75rem; }

  /* Analysis card */
  .a-card { padding: 20px 16px; }

  /* Form */
  .form-title  { font-size: clamp(1.3rem, 7vw, 1.7rem); }
  .privacy-label { font-size: .78rem; }

  /* Nav logo */
  .nav-logo, .quiz-header-logo { height: 28px; }
}

/* ── 360px: schermi molto piccoli (Galaxy A serie, ecc.) ─────── */
@media (max-width: 360px) {
  .hero-headline { font-size: 1.4rem; }
  .hero-tag      { display: none; }
  .btn-lg        { font-size: .88rem; }
  .r-stat-num    { font-size: 2rem; }
  .step-card h3  { font-size: 14px; padding-top: 38px; }
  .urgency-pill  { font-size: .68rem; }
  .section-title { font-size: 1.2rem; }
  .modal-title { font-size: 1.1rem; }
}
