/* Library Cleaner — sito statico. Nessun font esterno, nessuno script. */

:root {
  --blue: #066AAB;
  --blue-2: #1676BE;
  --magenta: #ED0A71;
  --ink: #14161B;
  --c-render: #1676BE;
  --c-analysis: #8E9BF5;
  --c-transcoded: #ED0A71;

  --bg: #F4F6FB;
  --bg-glow-a: rgba(22, 118, 190, 0.20);
  --bg-glow-b: rgba(237, 10, 113, 0.12);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #FFFFFF;
  --border: rgba(20, 22, 27, 0.10);
  --text: #14161B;
  --text-soft: #4A5262;
  --link: #066AAB;
  --danger-bg: rgba(237, 10, 113, 0.07);
  --danger-border: rgba(237, 10, 113, 0.35);
  --shadow: 0 1px 2px rgba(20, 22, 27, 0.06), 0 8px 24px rgba(20, 22, 27, 0.06);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1226;
    --bg-glow-a: rgba(6, 106, 171, 0.45);
    --bg-glow-b: rgba(237, 10, 113, 0.28);
    --surface: rgba(20, 22, 27, 0.55);
    --surface-strong: #14161B;
    --border: rgba(255, 255, 255, 0.10);
    --text: #F2F4F8;
    --text-soft: #A9B2C3;
    --link: #6FB6F0;
    --danger-bg: rgba(237, 10, 113, 0.10);
    --danger-border: rgba(237, 10, 113, 0.45);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.25);
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 10% -10%, var(--bg-glow-a), transparent 70%),
    radial-gradient(50rem 36rem at 105% 30%, var(--bg-glow-b), transparent 70%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface-strong); padding: 8px 12px; z-index: 10; }

/* Testata */
.site-header { padding: 16px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--text-soft); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang a, .lang span { padding: 2px 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.lang span { background: var(--text); color: var(--bg); }

/* Apertura */
.hero { text-align: center; padding: 40px 0 24px; }
.hero .app-icon { width: 160px; height: 160px; margin: 0 auto 20px; filter: drop-shadow(0 14px 28px rgba(6, 106, 171, 0.35)); }
.hero h1 { font-size: clamp(32px, 7vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero .lead { font-size: clamp(18px, 3.2vw, 21px); color: var(--text-soft); max-width: 640px; margin: 0 auto 24px; }
.store {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.facts { margin: 16px 0 0; font-size: 14px; color: var(--text-soft); }

/* Sezioni */
section { padding: 32px 0; }
h2 { font-size: clamp(24px, 4.5vw, 32px); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.intro { color: var(--text-soft); margin: 0 0 20px; max-width: 680px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.card p { margin: 0; color: var(--text-soft); }
.card p + p { margin-top: 8px; }

.step-n {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-2); color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 10px;
}

.cat { border-top: 4px solid var(--c); }
.cat-render { --c: var(--c-render); }
.cat-analysis { --c: var(--c-analysis); }
.cat-transcoded { --c: var(--c-transcoded); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 1px; }

.danger { background: var(--danger-bg); border: 1px solid var(--danger-border); border-radius: 16px; padding: 20px; margin-top: 16px; }
.danger h3 { color: var(--magenta); }
.danger p { margin: 0; }
.danger p + p { margin-top: 8px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-2);
  -webkit-mask: radial-gradient(circle, #000 0 4px, transparent 5px);
  mask: radial-gradient(circle, #000 0 4px, transparent 5px);
}

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan h3 { font-size: 21px; }
.plan .price { font-weight: 650; color: var(--text); margin: 0 0 12px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--text-soft); }
.plan li + li { margin-top: 4px; }
.plan.full { border-color: rgba(237, 10, 113, 0.4); }
.note { font-size: 15px; color: var(--text-soft); margin-top: 16px; }

/* Spazio per screenshot futuri (vedi commento SCREENSHOT nelle pagine) */
.shot { margin: 8px auto 0; max-width: 860px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }

/* Testi lunghi (privacy, assistenza) */
.doc { padding-top: 24px; padding-bottom: 40px; }
.doc h1 { font-size: clamp(30px, 6vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 8px; }
.doc .updated { color: var(--text-soft); margin: 0 0 24px; font-size: 15px; }
.doc h2 { font-size: 23px; margin-top: 32px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); }
.summary ul { margin: 8px 0 0; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 16px; margin: 0 0 10px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style-position: outside; }
details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 8px; }
details p { margin: 0 0 12px; color: var(--text-soft); }

.contact { font-size: 19px; font-weight: 600; }

.not-found { text-align: center; padding-top: 64px; padding-bottom: 64px; }
.not-found .app-icon { width: 96px; height: 96px; margin: 0 auto 16px; }
.not-found h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; }
.not-found p { color: var(--text-soft); }
.not-found hr { border: 0; border-top: 1px solid var(--border); width: 80px; margin: 32px auto; }

/* Piede */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0 40px; margin-top: 24px; font-size: 14px; color: var(--text-soft); }
.site-footer p { margin: 0 0 8px; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer a { color: var(--text-soft); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 24px; }
  .hero .app-icon { width: 120px; height: 120px; }
  .site-header .wrap { justify-content: center; }
}
