/* Landing ShakeLens — /shakelens/. Componenti comuni in app.css e app-landing.css */


/* Hero */

.hv { position: relative; min-height: 720px; }
.hv-tag { position: absolute; left: 0; bottom: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--hover-bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.desk { position: absolute; left: 0; top: 0; width: 66%; background: #E9E9E4; border-radius: 22px; padding: 22px; }
.win { background: #FFFFFF; border: 1px solid #E0E0DA; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.win-bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #EFEFEA; }
.win-bar span { width: 11px; height: 11px; border-radius: 50%; background: #DCDCD6; }
.win-body { padding: 22px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.lines { display: grid; gap: 9px; padding-top: 6px; }
.lines i { display: block; height: 9px; border-radius: 5px; background: #ECECE7; }
.lines i.s { width: 62%; }
.lines i.m { width: 84%; }
.sel-wrap { position: relative; }
.sel { position: absolute; inset: -9px; border: 3px dashed var(--accent); border-radius: 4px; pointer-events: none; }
.sel-tag { position: absolute; left: -9px; top: -36px; background: var(--ink); color: #FFFFFF; font: 600 12px -apple-system, BlinkMacSystemFont, system-ui, sans-serif; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.cursor { position: absolute; right: -22px; bottom: -26px; width: 26px; height: 26px; color: var(--ink); }

/* Oggetto illustrativo */
.obj { position: relative; aspect-ratio: 16 / 10; background: #F1F1EE; border-radius: 12px; overflow: hidden; }
.obj.clear { background: transparent; }
.obj-c { position: absolute; left: 36%; top: 9%; width: 28%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.obj-b { position: absolute; left: 37%; top: 63%; width: 26%; height: 24%; border-radius: 6px; background: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 12%; padding: 0 12%; }
.obj-b i { display: block; height: 9%; min-height: 2px; border-radius: 2px; background: #FFFFFF; }
.obj-b i + i { width: 60%; opacity: .7; }
.det { position: relative; width: 100%; height: 100%; background: var(--ink); border-radius: inherit; display: flex; flex-direction: column; justify-content: center; gap: 16%; padding: 0 18%; }
.det i { display: block; height: 9%; border-radius: 2px; background: #FFFFFF; }
.det i + i { width: 60%; opacity: .7; }

/* Pannello ShakeLens (ricostruzione) */
.req { background: #FFFFFF; border: 1px solid #DEDED8; border-radius: 22px; box-shadow: 0 26px 48px -22px rgba(23, 23, 23, .28), 0 2px 6px rgba(23, 23, 23, .06); padding: 18px; font-family: var(--font-apple); color: var(--ink); font-size: 15px; line-height: 1.45; }
.req-h { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; }
.req-t { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.req-t img { width: 22px; height: 22px; }
.req-hi { display: flex; gap: 10px; color: var(--ink-3); }
.req-prev { margin: 0 0 10px; }
.req-thumbs { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; flex-wrap: wrap; }
.thumb { position: relative; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; border: 1px solid #DEDED8; }
.thumb-add { width: 56px; height: 56px; border-radius: 10px; border: 1.5px dashed #9A9A92; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--ink-2); background: #FFFFFF; }
.req-q { display: flex; align-items: center; gap: 10px; border: 1px solid #DEDED8; border-radius: 14px; padding: 8px 8px 8px 14px; background: var(--bg); }
.req-qt { flex: 1; min-width: 0; font-size: 15px; }
.req-send { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.req-a { border-top: 1px solid #EAEAE4; margin-top: 14px; padding-top: 14px; }
.req-a p { margin: 0 0 8px; }
.req-src { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); background: #F3F3EF; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; }
.src-n { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #FFFFFF; font-size: 11px; font-weight: 700; }
.hv .req { position: absolute; right: 0; top: 118px; width: 58%; }

/* Come funziona: illustrazioni dei passi */
.key-big { font: 600 18px -apple-system, BlinkMacSystemFont, system-ui, sans-serif; border: 1px solid #CFCFC8; border-bottom-width: 3px; border-radius: 10px; background: #FFFFFF; padding: 10px 14px; color: var(--ink); }
.mini-q { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 280px; border: 1px solid #DEDED8; border-radius: 12px; background: #FFFFFF; padding: 6px 6px 6px 12px; font: 14px -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: var(--ink-2); }
.mini-q span { flex: 1; }
.mini-q .req-send { flex: none; width: 30px; height: 30px; }
.sv-prev { width: 150px; }
.sv-thumbs { display: grid; gap: 8px; }
.sv-thumbs .thumb, .sv-thumbs .thumb-add { width: 44px; height: 44px; }
.sv-thumbs .thumb-add { font-size: 20px; }

/* Esempi */
.ex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.ex-i { background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.ex-v { height: 150px; border-radius: 12px; background: #F1F1EE; margin: 0 0 22px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ex-h { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; margin: 0 0 8px; }
.ex-t { font-size: 16px; color: var(--ink-2); margin: 0; }
.ex-note { margin: 28px 0 0; font-size: 15px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; max-width: 70ch; }
.ex-obj { width: 62%; }
.ex-text { width: 70%; display: grid; gap: 10px; position: relative; }
.ex-text i { display: block; height: 9px; border-radius: 5px; background: #D8D8D2; }
.ex-text i.k { background: var(--ink); }
.ex-text .w86 { width: 86%; }
.ex-text .w74 { width: 74%; }
.ex-text .w90 { width: 90%; }
.ex-text .ex-sel { position: absolute; left: -8px; right: -8px; top: 30px; height: 30px; border: 2.5px dashed var(--accent); border-radius: 3px; }

/* Controllo */
.pv-small { font-size: 14px; color: var(--ink-3); margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--line); max-width: 64ch; }

@media (max-width: 960px) {
  .ex { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 720px) {
  .hv { min-height: 0; display: flex; flex-direction: column; gap: 0; }
  .desk { position: relative; width: 88%; }
  .hv .req { position: relative; top: auto; right: auto; width: 92%; margin: -56px 0 0 auto; }
  .hv-tag { position: static; align-self: flex-start; margin-top: 16px; }
}
@media (max-width: 640px) {
  .desk { width: 100%; padding: 12px; border-radius: 18px; }
  .win-body { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .lines { display: none; }
  .hv .req { width: 100%; margin: -24px 0 0; }
  .req { padding: 14px; border-radius: 18px; }
}
