:root {
  /* Brand */
  --pk-green: #4ADE80;        /* accento principale, verde AI */
  --pk-green-bright: #7DF2A6;
  --pk-green-lime: #79C524;   /* verde istituzionale PK, usato nei gradienti */
  --pk-blue: #3D7BFF;
  --pk-blue-soft: #7EA6FF;

  /* Base scura */
  --bg: #050607;
  --bg-soft: #0B0D11;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .2);
  --text: #EAEEF3;
  --text-dim: #98A1B0;
  --text-faint: #6B7484;
  --danger: #FF6B6B;

  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --radius: 16px;
  --shadow-glow: 0 0 40px rgba(121, 197, 36, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============ SFONDO DINAMICO ============ */
.bg-base { position: fixed; inset: 0; background: var(--bg); z-index: -6; }
.bg-grid {
  position: fixed; inset: 0; z-index: -5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-orb {
  position: fixed; border-radius: 50%; z-index: -4;
  filter: blur(90px); pointer-events: none; will-change: transform;
}
.orb-green {
  width: 62vw; height: 62vw; max-width: 680px; max-height: 680px;
  top: -16vh; right: -12vw;
  background: radial-gradient(circle, rgba(74,222,128,.46), transparent 66%);
  animation: drift-a 20s ease-in-out infinite alternate;
}
.orb-blue {
  width: 66vw; height: 66vw; max-width: 740px; max-height: 740px;
  bottom: -24vh; left: -18vw;
  background: radial-gradient(circle, rgba(61,123,255,.34), transparent 66%);
  animation: drift-b 26s ease-in-out infinite alternate;
}
.orb-deep {
  width: 80vw; height: 46vw; max-width: 900px; max-height: 520px;
  top: 34%; left: 50%; margin-left: -40vw;
  background: radial-gradient(ellipse, rgba(74,222,128,.20), transparent 68%);
  animation: drift-c 30s ease-in-out infinite alternate, breathe 9s ease-in-out infinite;
}
.bg-pointer {
  position: fixed; width: 520px; height: 520px; z-index: -3; pointer-events: none;
  border-radius: 50%; opacity: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(74,222,128,.18), transparent 62%);
  transition: opacity .6s ease;
}
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* Cursore a cerchio (solo desktop con mouse) */
.cursor-ring, .cursor-dot { display: none; }
@media (pointer: fine) and (min-width: 1024px) {
  .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 999;
    width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    border: 1px solid rgba(74,222,128,.55); pointer-events: none;
    transition: width .25s ease, height .25s ease, margin .25s ease, background .25s ease, border-color .25s ease, opacity .3s ease;
    opacity: 0;
  }
  .cursor-ring.on { opacity: 1; }
  .cursor-ring.hot {
    width: 58px; height: 58px; margin: -29px 0 0 -29px;
    background: rgba(74,222,128,.12); border-color: var(--pk-green);
  }
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 999;
    width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
    background: var(--pk-green); pointer-events: none; opacity: 0;
    box-shadow: 0 0 12px rgba(74,222,128,.9);
    transition: opacity .3s ease;
  }
  .cursor-dot.on { opacity: 1; }
}
.bg-neural {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -3; pointer-events: none; opacity: .8;
}
.bg-vignette {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 120% 80% at 50% 40%, transparent 40%, rgba(0,0,0,.65) 100%);
}
@keyframes drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(-7vw, 9vh) scale(1.18); } }
@keyframes drift-b { from { transform: translate(0,0) scale(1); } to { transform: translate(9vw, -7vh) scale(1.14); } }
@keyframes drift-c { from { transform: translate(-4vw,0) scale(1); } to { transform: translate(4vw, -5vh) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  .bg-orb { animation: none !important; }
  .bg-pointer, .cursor-ring, .cursor-dot, .bg-neural { display: none !important; }
  * { scroll-behavior: auto; }
}

/* ============ TIPOGRAFIA ============ */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 6.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 4.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--pk-green-bright); }
.hl { color: var(--pk-green); }
.serif { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: 0; }
.hero-serif {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.3rem, 4.4vw, 2rem); color: var(--text-dim);
  margin: -4px 0 20px;
}
.hero-serif em { color: var(--pk-green); font-style: italic; }
.micro { font-size: .82rem; color: var(--text-faint); }
.wrap { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 6, 7, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
/* Proporzioni della proposta A: filetto 0.72 e "AI" 0.88 rispetto all'altezza della [K], spaziatura 0.21 */
.logo { display: flex; align-items: center; gap: 7px; text-decoration: none; transition: opacity .2s ease; }
.logo:hover { opacity: .78; }
.logo-k { height: 34px; width: auto; display: block; }
.logo-divider { width: 1px; height: 24px; background: rgba(255,255,255,.22); }
.logo-ai {
  font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  color: #FFFFFF; padding-bottom: 1px;
}
.logo-img { height: 62px; width: auto; display: block; }
.logo-img-report { height: 62px; }
.header-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--surface); color: var(--text-dim);
  border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pk-green); box-shadow: 0 0 8px var(--pk-green); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ============ HERO ============ */
.hero { padding: 72px 0 84px; }
.hero h1 { max-width: 17ch; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pk-green-bright);
  border: 1px solid rgba(74,222,128,.3); background: rgba(74,222,128,.07);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.lead { font-size: 1.06rem; color: var(--text-dim); max-width: 54ch; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 32px; }
.hero-points li { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; color: var(--text); font-size: .95rem; }
.tick { color: var(--pk-green-bright); font-weight: 700; }
.hero .micro { margin-top: 14px; }

/* ============ METODO KAI ============ */
.kai-section { padding: 20px 0 90px; }
.kai-equation {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 800; margin-bottom: 18px;
}
.kai-k { color: var(--pk-green); }
.kai-ai { color: var(--text); }
.kai-op { color: var(--text-faint); font-weight: 400; }
.kai-word {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  color: var(--pk-green); letter-spacing: .01em;
  text-shadow: 0 0 44px rgba(74,222,128,.35);
}
.kai-section .lead { margin-bottom: 36px; }
.kai-section .lead strong { color: var(--text); font-weight: 700; }

.kai-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.kai-card {
  position: relative; border: 1px solid var(--border); border-radius: 14px;
  padding: 24px 22px 22px; background: rgba(255,255,255,.03);
  transition: border-color .25s ease, background .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
}
.kai-card:hover { border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.05); transform: translateY(-3px); }
.kai-letter {
  display: block; font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: var(--pk-green); margin-bottom: 14px;
  text-shadow: 0 0 26px rgba(74,222,128,.35);
}
.kai-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.kai-sub {
  display: block; font-family: var(--font-accent); font-style: italic; font-weight: 400;
  font-size: .95rem; color: var(--text-dim); margin-top: 3px; letter-spacing: 0;
}
.kai-card p { margin: 0; font-size: .9rem; color: var(--text-dim); }
.kai-foot {
  margin: 32px 0 0; padding-top: 26px; border-top: 1px solid var(--border);
  font-size: .95rem; color: var(--text-dim);
}
.kai-foot strong { color: var(--pk-green); font-weight: 700; }

/* Simbolo [K] usato dentro al testo */
.k-inline { height: 1.05em; width: auto; vertical-align: -.14em; }
.k-inline-xl { height: .95em; vertical-align: -.05em; }

/* ============ CHI SIAMO ============ */
.azienda-section { padding: 20px 0 90px; }
.azienda-section .lead { margin-bottom: 34px; }

.numeri {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; margin-bottom: 52px;
}
.numero-box {
  background: #090B0E; padding: 24px 18px;
  display: flex; flex-direction: column; gap: 2px; align-items: center; text-align: center;
}
.numero {
  font-size: clamp(2.1rem, 8vw, 2.9rem); font-weight: 800; line-height: 1;
  color: var(--pk-green); letter-spacing: -.03em;
  text-shadow: 0 0 30px rgba(74,222,128,.3);
}
.numero-label {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-dim);
}

.sezione-titolo {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 18px;
}
.brain { margin-top: 8px; }
.brain h3 { font-size: clamp(1.5rem, 5.4vw, 2.1rem); margin-bottom: 16px; }
.brain > p { font-size: .98rem; color: var(--text-dim); line-height: 1.75; }
.brain-triade { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 30px 0 26px;
  background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.brain-triade > div { background: #090B0E; padding: 24px 22px; transition: background .25s ease; }
.brain-triade > div:hover { background: rgba(74,222,128,.05); }
.brain-num {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  color: var(--pk-green); margin-bottom: 10px;
}
.brain-triade h4 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.brain-triade p { margin: 0; font-size: .88rem; color: var(--text-dim); }
.brain-innesto {
  font-size: .92rem; color: var(--text-dim); line-height: 1.75;
  padding: 20px 22px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255,255,255,.025);
}
.brain-innesto strong { color: var(--text); font-weight: 700; }

.perche-ai {
  margin-top: 52px; padding: 30px 24px; border-radius: 14px;
  border: 1px solid rgba(74,222,128,.22);
  background: linear-gradient(150deg, rgba(74,222,128,.09), rgba(61,123,255,.07) 65%, rgba(255,255,255,.02));
}
.perche-ai h3 { font-size: clamp(1.25rem, 4.4vw, 1.7rem); margin-bottom: 16px; }
.perche-ai p { font-size: .96rem; color: var(--text-dim); line-height: 1.75; }
.perche-ai p:last-child { margin-bottom: 0; }
.perche-ai-chiusura {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.05rem, 3.6vw, 1.3rem); color: var(--text) !important;
  margin-top: 20px !important; padding-top: 18px; border-top: 1px solid var(--border);
}

.certificazioni {
  margin: 34px 0 0; text-align: center; font-size: .84rem; color: var(--text-dim);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center;
}
.certificazioni strong { color: var(--pk-green); font-weight: 700; }
.certificazioni span { color: var(--text-faint); }

.claim {
  font-family: var(--font-accent); font-style: italic;
  font-size: 1.3rem; color: var(--pk-green); margin-bottom: 14px;
}

/* ============ BOTTONI ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  padding: 13px 26px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-primary {
  background: var(--pk-green); color: #0A1400; font-weight: 700;
  box-shadow: 0 0 0 rgba(74,222,128,0), 0 6px 24px rgba(74,222,128,.28);
}
.btn-primary:hover { background: var(--pk-green-bright); box-shadow: 0 0 30px rgba(74,222,128,.45); }
.btn-ghost { background: transparent; color: var(--text-dim); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--pk-green); }
.btn-link { background: none; border: none; color: var(--text-faint); text-decoration: underline; font-size: .86rem; padding: 8px; cursor: pointer; }
.btn-link:hover { color: var(--text-dim); }

/* ============ QUIZ ============ */
.quiz-section { padding: 32px 0 72px; min-height: 78vh; }
.progress-head {
  display: flex; justify-content: space-between;
  font-size: .74rem; font-weight: 600; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.progress-track { height: 4px; background: rgba(255,255,255,.07); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.progress-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--pk-green), var(--pk-blue));
  box-shadow: 0 0 14px rgba(74,222,128,.5);
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.step-sub { color: var(--text-dim); font-size: .93rem; margin-top: -4px; }
.step { animation: fadeUp .45s cubic-bezier(.16,1,.3,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 13px 14px; border: 1px solid var(--border); border-radius: 11px;
  background: rgba(255,255,255,.04);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder { color: var(--text-faint); }
.field select option { background: #0B0D11; color: var(--text); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--pk-green);
  background: rgba(74,222,128,.05);
  box-shadow: 0 0 0 3px rgba(74,222,128,.15);
}
.hint { font-size: .78rem; color: var(--text-faint); margin: 7px 0 0; }
.privacy-note { margin-top: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.input-suffix { display: flex; align-items: center; gap: 10px; }
.input-suffix input { max-width: 140px; }
.input-suffix span { font-weight: 600; color: var(--text-dim); }
.cost-field { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ============ SCELTE ============ */
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 13px; position: relative;
  border: 1px solid var(--border); border-radius: 12px; padding: 15px 16px;
  cursor: pointer; transition: all .2s cubic-bezier(.16,1,.3,1);
  background: rgba(255,255,255,.025);
}
.choice:hover { border-color: rgba(74,222,128,.45); background: rgba(74,222,128,.05); transform: translateX(2px); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box {
  width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px;
  border: 1.5px solid var(--border-strong); display: flex; align-items: center; justify-content: center;
  color: transparent; font-size: .78rem; font-weight: 700; transition: all .2s ease;
}
.choice.radio .box { border-radius: 50%; font-size: .6rem; }
.choice input:checked ~ .box { background: var(--pk-green); border-color: var(--pk-green); color: #0A1400; box-shadow: 0 0 14px rgba(74,222,128,.5); }
.choice:has(input:checked) { border-color: var(--pk-green); background: rgba(74,222,128,.09); }
.choice .label { font-size: .94rem; font-weight: 500; }

/* ============ SLIDER ============ */
.slider-field { margin-bottom: 22px; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.slider-head label { font-size: .84rem; font-weight: 600; }
.slider-val { font-size: 1.2rem; font-weight: 800; color: var(--pk-green-bright); text-shadow: 0 0 18px rgba(74,222,128,.45); }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: rgba(255,255,255,.12); border-radius: 999px; outline: none; padding: 0; border: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pk-green); border: none; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(74,222,128,.18), 0 0 16px rgba(74,222,128,.6);
}
input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--pk-green);
  border: none; cursor: pointer; box-shadow: 0 0 0 4px rgba(74,222,128,.18);
}
.scale-labels { display: flex; justify-content: space-between; gap: 12px; font-size: .73rem; color: var(--text-faint); margin-top: 8px; }

.block-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pk-green-bright); margin-bottom: 8px;
}
.sub-label { font-size: .84rem; font-weight: 600; margin-bottom: 10px; display: block; }
.area-group { margin-top: 26px; }

/* ============ SI / NO ============ */
.yesno { padding: 18px 0; border-bottom: 1px solid var(--border); }
.yesno .q { font-size: .94rem; font-weight: 500; margin-bottom: 13px; color: var(--text); }
.yesno-btns { display: flex; gap: 10px; }
.pill {
  flex: 1; padding: 12px; border-radius: 11px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03); font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  color: var(--text); cursor: pointer; transition: all .2s ease;
}
.pill:hover { border-color: rgba(74,222,128,.45); background: rgba(74,222,128,.06); }
.pill.active { background: var(--pk-green); border-color: var(--pk-green); color: #0A1400; box-shadow: 0 0 20px rgba(74,222,128,.35); }

/* ============ CONSENSI ============ */
.consent {
  display: flex; align-items: flex-start; gap: 12px; position: relative;
  font-size: .86rem; color: var(--text-dim); line-height: 1.5;
  padding: 12px 0; cursor: pointer;
}
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent .box {
  width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--border-strong); display: flex; align-items: center; justify-content: center;
  color: transparent; font-size: .72rem; font-weight: 700; transition: all .2s ease;
}
.consent input:checked ~ .box { background: var(--pk-green); border-color: var(--pk-green); color: #0A1400; }
.consent a { text-decoration: underline; }

/* ============ TEASER (gate) ============ */
.teaser {
  position: relative; border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(135deg, rgba(74,222,128,.10), rgba(61,123,255,.08));
  padding: 22px; margin: 22px 0 26px; overflow: hidden; text-align: center;
}
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.teaser-grid > div { display: flex; flex-direction: column; gap: 4px; }
.teaser-label { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); }
.teaser-val {
  font-size: clamp(1.5rem, 7vw, 2.1rem); font-weight: 800; color: var(--pk-green-bright);
  filter: blur(9px); user-select: none;
}
.teaser-lock { display: block; margin-top: 16px; font-size: .8rem; font-weight: 600; color: var(--text-dim); }

.error { color: var(--danger); font-size: .86rem; font-weight: 500; margin: 16px 0 0; }
.nav-row { display: flex; gap: 12px; margin-top: 28px; }
.nav-row .btn { flex: 1; }
.nav-row .btn[hidden] { display: none; }
.is-busy { opacity: .55; pointer-events: none; }

/* ============ REPORT ============ */
.report-section { padding: 32px 0 76px; }
.sent-banner {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(74,222,128,.32); background: rgba(74,222,128,.09);
  color: var(--text); border-radius: 12px; padding: 13px 16px; margin-bottom: 18px;
  font-size: .88rem; font-weight: 500;
  animation: fadeUp .5s cubic-bezier(.16,1,.3,1) both;
}
.report {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.report-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; opacity: .9; }
.report-title { margin-bottom: 4px; }
.report-date { font-size: .83rem; color: var(--text-faint); margin-bottom: 28px; }

.kpi-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.kpi {
  border: 1px solid var(--border); border-radius: 14px; padding: 22px;
  display: flex; flex-direction: column; gap: 3px;
  background: rgba(255,255,255,.03);
}
.kpi-accent {
  background: linear-gradient(135deg, rgba(74,222,128,.16), rgba(61,123,255,.10));
  border-color: rgba(74,222,128,.3);
}
.kpi-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); }
.kpi-value {
  font-size: clamp(2.2rem, 9vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em;
  color: var(--text);
}
.kpi-accent .kpi-value { color: var(--pk-green-bright); text-shadow: 0 0 34px rgba(74,222,128,.4); }
.kpi-unit { font-size: .8rem; color: var(--text-faint); font-weight: 500; }
.disclaimer { font-size: .77rem; color: var(--text-faint); margin-top: 14px; font-style: italic; }

.report-block { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--border); }
.chart-box { position: relative; height: 270px; }
.chart-box-radar { height: 280px; }
.kai-layout { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.kai-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.kai-legend li { display: flex; gap: 13px; align-items: flex-start; }
.kai-score {
  flex: 0 0 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: var(--text-dim);
}
.kai-score.good {
  background: rgba(74,222,128,.14); border-color: rgba(74,222,128,.4);
  color: var(--pk-green-bright); box-shadow: 0 0 22px rgba(74,222,128,.2);
}
.kai-name { font-weight: 700; font-size: .92rem; display: block; color: var(--text); }
.kai-desc { font-size: .83rem; color: var(--text-dim); }

.recos { display: flex; flex-direction: column; gap: 14px; }
.reco {
  border: 1px solid var(--border); border-left: 2px solid var(--pk-green);
  background: rgba(255,255,255,.025); border-radius: 0 12px 12px 0; padding: 17px 19px;
}
.reco h4 { margin: 0 0 7px; font-size: .95rem; font-weight: 700; color: var(--text); }
.reco p { margin: 0; font-size: .88rem; color: var(--text-dim); }

.table-scroll { overflow-x: auto; }
.detail-table { width: 100%; border-collapse: collapse; font-size: .83rem; min-width: 480px; }
.detail-table th, .detail-table td { padding: 11px 12px; text-align: right; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.detail-table th:first-child, .detail-table td:first-child { text-align: left; color: var(--text); }
.detail-table thead th { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); }
.detail-table tfoot td { font-weight: 700; color: var(--text); border-bottom: none; border-top: 1px solid var(--pk-green); }

.cta-box {
  margin-top: 22px; border-radius: var(--radius); padding: 34px 24px; text-align: center;
  border: 1px solid rgba(74,222,128,.22);
  background: linear-gradient(150deg, rgba(74,222,128,.12), rgba(61,123,255,.09) 60%, rgba(255,255,255,.02));
}
.cta-box h3 { font-size: 1.32rem; }
.cta-box p { color: var(--text-dim); font-size: .94rem; max-width: 46ch; margin-inline: auto; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.cta-box .btn-link { margin-top: 8px; }

.site-footer { border-top: 1px solid var(--border); padding: 30px 0; font-size: .85rem; text-align: center; color: var(--text-dim); }
.site-footer p { margin: 0 0 5px; }
.site-footer a { color: var(--text-dim); text-decoration: underline; }
.site-footer a:hover { color: var(--pk-green-bright); }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .card { padding: 40px 38px; }
  .report { padding: 44px 40px; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .kai-layout { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .nav-row { justify-content: space-between; }
  .nav-row .btn { flex: 0 0 auto; min-width: 160px; }
  .hero { padding: 104px 0 110px; }
  .teaser { padding: 28px; }
  .kai-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .kai-section { padding: 10px 0 110px; }
  .azienda-section { padding: 10px 0 110px; }
  .numeri { grid-template-columns: repeat(4, 1fr); }
  .brain-triade { grid-template-columns: repeat(3, 1fr); }
  .brain-triade > div { padding: 28px 24px; }
  .brain-innesto { padding: 24px 28px; }
  .perche-ai { padding: 40px 38px; }
}

@media print {
  .site-header, .hero, .quiz-section, .cta-box, .site-footer, .sent-banner,
  .bg-orb, .bg-grid, .bg-pointer, .bg-vignette { display: none !important; }
  .report { box-shadow: none; border: none; }
}
