/* PanQuiz — landing /live-quiz-per-eventi/ (IT) — page styles (lqe- prefix).
   Requires: fonts.css, colors.css, typography.css, layout.css, style.css.
   Registro ludico-corporate: cita i codici visivi del live game (classifica,
   podio, forme risposta) restando nella famiglia visiva del sito. */

/* ---------- Hero (copy + live-game stage) ---------- */
.lqe-hero { background: linear-gradient(180deg, #ffffff 0%, #edf1ff 100%); border-bottom: 1px solid rgba(14,21,82,.06); overflow: hidden; }
.lqe-hero .container { padding-top: 72px; padding-bottom: 68px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.lqe-hero-copy { flex: 1 1 500px; min-width: 320px; }
.lqe-hero h1 { color: #0e1552; max-width: 640px; }
.lqe-hero .hero-sub { margin: 22px 0 0; max-width: 620px; }
.lqe-hero .hero-ctas { margin-top: 30px; }

/* Il "grande schermo": classifica live + PIN, come in sala */
.lqe-stage { flex: 1 1 400px; min-width: 300px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lqe-screen { width: 100%; max-width: 500px; background: #0e1552; border-radius: 20px; padding: 24px 26px 20px; box-shadow: 0 2px 18px rgba(0,0,0,.25); }
.lqe-screen-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.lqe-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 700; font-size: 12px; letter-spacing: .12em; color: #fff; background: rgba(255,255,255,.1); border-radius: 999px; padding: 5px 12px; }
.lqe-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--site-accent-tomato, #ff6347); animation: lqe-pulse 1.6s ease-in-out infinite; }
@keyframes lqe-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.lqe-round { font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 600; font-size: 13px; color: rgba(255,255,255,.65); }
.lqe-board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lqe-row { display: grid; grid-template-columns: 30px 84px 1fr auto; align-items: center; gap: 12px; }
.lqe-rank { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 700; font-size: 14px; color: #fff; background: rgba(255,255,255,.14); }
.lqe-row:nth-child(1) .lqe-rank { background: var(--answer-gold, #d09f36); color: #0e1552; }
.lqe-row:nth-child(2) .lqe-rank { background: #9aa3c0; color: #0e1552; }
.lqe-row:nth-child(3) .lqe-rank { background: #b3763e; }
.lqe-name { font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 600; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lqe-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.lqe-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8089ff 0%, #54ceff 100%); }
.lqe-pts { font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 700; font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.lqe-screen-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.12); }
.lqe-pin { font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 600; font-size: 13px; color: rgba(255,255,255,.65); }
.lqe-pin strong { color: #fff; font-size: 16px; letter-spacing: .08em; margin-left: 6px; }
.lqe-count { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 600; font-size: 13px; color: rgba(255,255,255,.65); }
.lqe-count .mdi { font-size: 17px; color: var(--site-accent-yellow, #f3bc34); }

/* Le quattro forme risposta del brand, come sui telefoni dei partecipanti */
.lqe-answers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; max-width: 500px; }
.lqe-answer-key { height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(14,21,82,.14); }
.lqe-answer-key--red { background: var(--answer-red, #e21b3c); }
.lqe-answer-key--blue { background: var(--answer-blue, #1368ce); }
.lqe-answer-key--gold { background: var(--answer-gold, #d09f36); }
.lqe-answer-key--green { background: var(--answer-green, #26890c); }
.lqe-shape { width: 15px; height: 15px; background: #fff; }
.lqe-shape--triangle { clip-path: polygon(50% 0, 100% 100%, 0 100%); width: 17px; }
.lqe-shape--diamond { transform: rotate(45deg); width: 13px; height: 13px; }
.lqe-shape--circle { border-radius: 50%; }

/* ---------- Answer box (AEO) ---------- */
.lqe-answer { max-width: 860px; margin: 40px auto 0; background: linear-gradient(180deg, rgba(0,90,239,.055) 0%, rgba(0,90,239,.035) 100%); border: 1px solid rgba(0,90,239,.16); border-radius: 18px; padding: 30px 34px; }
.lqe-answer p { margin: 0; font-family: var(--font-subhead, 'Source Sans Pro', sans-serif); font-size: 18.5px; line-height: 1.65; color: #2b2f3a; text-wrap: pretty; }
.lqe-answer strong { color: #0e1552; }

/* ---------- Tre passi ---------- */
.lqe-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.lqe-step { background: #fff; border: 1px solid rgba(14,21,82,.1); border-radius: 16px; padding: 28px 26px; }
.lqe-step-num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-family: var(--font-display, 'Raleway', sans-serif); font-weight: 700; font-size: 20px; }
.lqe-step:nth-child(1) .lqe-step-num { background: var(--answer-blue, #1368ce); }
.lqe-step:nth-child(2) .lqe-step-num { background: var(--answer-gold, #d09f36); }
.lqe-step:nth-child(3) .lqe-step-num { background: var(--answer-green, #26890c); }
.lqe-step h3 { font-family: var(--font-display, 'Raleway', sans-serif); font-weight: 700; font-size: 20px; color: #0e1552; margin: 18px 0 10px; text-wrap: pretty; }
.lqe-step p { font-size: 15.5px; line-height: 1.65; color: #3c4257; margin: 0; text-wrap: pretty; }
@media (max-width: 900px) { .lqe-steps { grid-template-columns: 1fr; } }

/* ---------- Casi d'uso (cuore commerciale): 2 card larghe + 3 standard ---------- */
.lqe-usecases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 44px; }
.lqe-uc { grid-column: span 2; }
.lqe-uc--wide { grid-column: span 3; padding: 32px 30px; }
.lqe-uc--wide h3 { font-size: 22px; }
.lqe-uc--wide p { font-size: 15.5px; }
@media (max-width: 1080px) {
  .lqe-usecases { grid-template-columns: 1fr 1fr; }
  .lqe-uc, .lqe-uc--wide { grid-column: auto; }
}
@media (max-width: 768px) { .lqe-usecases { grid-template-columns: 1fr; } }

/* ---------- La licenza per il tuo evento (Single Event in evidenza) ---------- */
.lqe-license { max-width: 960px; margin: 48px auto 0; display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid rgba(14,21,82,.12); border-radius: 22px; overflow: hidden; box-shadow: 0 2px 18px rgba(14,21,82,.1); }
.lqe-license-price { background: #0e1552; color: #fff; padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.lqe-license-price .mdi { font-size: 34px; color: var(--site-accent-yellow, #f3bc34); }
.lqe-license-kicker { font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--site-accent-yellow, #f3bc34); margin: 6px 0 0; }
.lqe-license-amount { font-family: var(--font-display, 'Raleway', sans-serif); font-weight: 700; font-size: 56px; line-height: 1.05; margin: 0; }
.lqe-license-terms { font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif); font-weight: 600; font-size: 15px; color: rgba(255,255,255,.75); margin: 0; }
.lqe-license-body { padding: 38px 40px; display: flex; align-items: center; }
.lqe-license-body p { margin: 0; font-size: 17px; line-height: 1.75; color: #2b2f3a; text-wrap: pretty; }
.lqe-license-body strong { color: #0e1552; }
@media (max-width: 900px) {
  .lqe-license { grid-template-columns: 1fr; }
  .lqe-license-price { padding: 30px 28px; }
  .lqe-license-body { padding: 26px 28px 30px; }
}

/* ---------- Sezioni compatte a prosa centrata ---------- */
.lqe-feature .uc-icon { margin: 0 auto 18px; }
.lqe-prose { font-family: var(--font-subhead, 'Source Sans Pro', sans-serif); font-size: 19px; line-height: 1.65; color: #3c4257; text-align: center; max-width: 760px; margin: 20px auto 0; text-wrap: pretty; }
.lqe-prose strong { color: #0e1552; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .lqe-hero .container { padding-top: 48px; padding-bottom: 48px; }
  .lqe-hero .hero-ctas { margin-top: 24px; }
  .lqe-screen { padding: 20px 18px 16px; }
  .lqe-row { grid-template-columns: 26px 72px 1fr auto; gap: 9px; }
  .lqe-rank { width: 26px; height: 26px; font-size: 13px; }
  .lqe-answer { padding: 22px 22px; }
  .lqe-answer p { font-size: 16.5px; }
  .lqe-license-amount { font-size: 46px; }
  .lqe-license-body p { font-size: 16px; }
  .lqe-prose { font-size: 17px; }
}
