/* SmartFinder Pro — sito di presentazione. Nessun font o script esterno. */
:root {
  --ink: #14142b;
  --text: #3b3b55;
  --muted: #6b6b85;
  --line: #e6e6f0;
  --bg: #ffffff;
  --soft: #f6f6fc;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #3730a3;
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 16px;
  --shadow: 0 24px 60px -20px rgba(49, 46, 129, .35), 0 8px 20px -12px rgba(20, 20, 43, .25);
  --max: 1160px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
section { padding: 92px 0; }
.soft { background: var(--soft); }

/* ----- Barra in alto ----- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.08rem; letter-spacing: -.01em; }
.logo svg { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav a:hover { color: var(--brand); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-outline { background: #fff; color: var(--brand-ink); border-color: #c9c7f5; }
.btn-small { padding: 9px 16px; font-size: .92rem; border-radius: 10px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #a5b4fc; outline-offset: 2px;
}

/* ----- Apertura ----- */
.hero {
  position: relative; overflow: hidden; padding: 84px 0 0; color: #dcdcf5;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(124, 58, 237, .55), transparent 60%),
    radial-gradient(700px 480px at 0% 10%, rgba(79, 70, 229, .5), transparent 60%),
    linear-gradient(180deg, #11102e 0%, #1a1747 70%, #221d5c 100%);
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #a5b4fc, #e9d5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #c7c7ea; font-size: 1.22rem; }
.hero .eyebrow { color: #c4b5fd; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-note { font-size: .92rem; color: #a9a9d6; }
.hero-shot { margin-top: 56px; position: relative; }
.hero-shot .shot { margin-bottom: -90px; }
.hero + section { padding-top: 150px; }

.shot {
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow); border: 1px solid rgba(20, 20, 43, .1);
  cursor: zoom-in; display: block; padding: 0; width: 100%;
}
.shot img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: .86rem; color: var(--muted); margin-top: 12px; }

/* ----- Animazione dell'apertura: linee parallele e cornice percorsa da punti di luce ----- */
.hero .wrap { position: relative; z-index: 1; }
.streams { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.streams::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(199, 210, 254, .07) 0 1px, transparent 1px 46px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.streams i {
  position: absolute; left: 0; top: var(--y); width: var(--l, 180px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(165, 180, 252, .85) 70%, #fff);
  box-shadow: 0 0 10px rgba(165, 180, 252, .7); opacity: .55;
  animation: stream var(--d) linear var(--w) infinite; will-change: transform;
}
.streams i:nth-child(even) { animation-direction: reverse; background: linear-gradient(270deg, transparent, rgba(216, 180, 254, .85) 70%, #fff); }
@keyframes stream { from { transform: translateX(-280px); } to { transform: translateX(100vw); } }

.orbit { position: absolute; overflow: visible; pointer-events: none; }
.orbit-in { inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); }
.orbit-out { inset: -34px; width: calc(100% + 68px); height: calc(100% + 68px); }
.orbit rect { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); rx: 24px; fill: none; }
.orbit-out rect { rx: 38px; }
.orbit .track { stroke: rgba(165, 180, 252, .28); stroke-width: 1; }
.orbit .dots {
  stroke: #e0e7ff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0 5;
  filter: drop-shadow(0 0 5px #a5b4fc) drop-shadow(0 0 10px #818cf8);
  animation: orbit 60s linear infinite;
}
.orbit .comet {
  stroke: #c4b5fd; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 9 41;
  filter: drop-shadow(0 0 6px #a78bfa);
  animation: orbit 14s linear infinite reverse;
}
@keyframes orbit { to { stroke-dashoffset: -100; } }

/* ----- Formati ----- */
.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chip {
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--ink);
}
.chip.hot { background: #eef2ff; border-color: #c7d2fe; color: var(--brand-ink); }

/* ----- Funzioni con schermata ----- */
.feature { display: grid; gap: 40px; }
.feature + .feature { margin-top: 120px; }
.feature-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: start; }
.feature-text .ticks { margin-top: 0; }
.feature .shot { background: transparent; border: 0; box-shadow: 0 30px 70px -36px rgba(49, 46, 129, .45); border-radius: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: #e0e7ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.ticks strong { color: var(--ink); }
.note-box {
  margin-top: 20px; padding: 14px 16px; border-radius: 12px; font-size: .92rem;
  background: #fffbeb; border: 1px solid #fde68a; color: #78500b;
}

/* ----- Griglia delle altre funzioni ----- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { margin: 0; font-size: .97rem; color: var(--muted); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, #eef2ff, #f3e8ff); color: var(--brand);
}
.icon svg { width: 22px; height: 22px; }

/* ----- Confronto tra le edizioni ----- */
.table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.compare thead th { font-size: 1.05rem; color: var(--ink); background: var(--soft); }
.compare th:nth-child(n+2), .compare td:nth-child(n+2) { text-align: center; width: 150px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .group td { background: #fafaff; font-weight: 700; color: var(--ink); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.compare .max { background: #faf5ff; }
.yes { color: var(--ok); font-weight: 800; }
.no { color: #b6b6c8; }

/* ----- Prova gratuita ----- */
.trial { padding: 72px 0; }
.trial-box {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center;
  padding: 48px; border-radius: 24px; color: #d7d7f5;
  background:
    repeating-linear-gradient(0deg, rgba(199, 210, 254, .06) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #1a1747, #2f2580);
  box-shadow: var(--shadow);
}
.trial-box h2 { color: #fff; }
.trial-box .eyebrow { color: #c4b5fd; }
.trial-box p { color: #c7c7ea; }
.trial-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trial-points li { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(199, 210, 254, .18); display: grid; gap: 4px; }
.trial-points strong { color: #fff; font-size: 1.05rem; }
.trial-points span { font-size: .9rem; color: #b9b9e6; }
.top-trial { margin-left: auto; }
.top .nav + .top-trial { margin-left: 0; }
.nav .nav-trial { display: none; }

/* ----- Prezzi ----- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan.featured { border-color: transparent; background: linear-gradient(180deg, #1a1747, #2a2270); color: #d7d7f5; box-shadow: var(--shadow); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .per, .plan.featured .plan-sub { color: #b9b9e6; }
.plan-sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.price { font-size: 2.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.per { font-size: .9rem; color: var(--muted); margin: 8px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: .94rem; }
.plan li { padding: 6px 0 6px 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.plan.featured li::before { color: #86efac; }
.plan .btn { margin-top: auto; }
.badge {
  position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.price-note { margin-top: 26px; font-size: .92rem; color: var(--muted); text-align: center; }

/* ----- Acquisto ----- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px 0 56px; counter-reset: step; }
.step { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step p { margin: 0; font-size: .95rem; color: var(--muted); }
.order { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 28px; align-items: start; }
form.order-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 16px 40px -28px rgba(20, 20, 43, .4); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label, legend { font-size: .9rem; font-weight: 650; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1px solid #d5d5e3; background: #fff; color: var(--ink); width: 100%;
}
textarea { min-height: 96px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: grid; gap: 10px; margin-top: 8px; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; color: var(--text); }
.radio { padding: 12px 14px; border: 1px solid #d5d5e3; border-radius: 10px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--brand); background: #eef2ff; }
.radio input, .check input { margin-top: 4px; accent-color: var(--brand); flex: none; }
.radio small { display: block; color: var(--muted); font-weight: 400; }
.demo-note { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; font-size: .95rem; }
.download-btn { margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.invalid input, .invalid select, .invalid textarea { border-color: #dc2626; }
.feedback { margin-top: 16px; font-size: .96rem; padding: 12px 14px; border-radius: 10px; display: none; }
.feedback.ok { display: block; background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.feedback.err { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.summary { position: sticky; top: 92px; background: linear-gradient(180deg, #1a1747, #2a2270); color: #d7d7f5; border-radius: 20px; padding: 28px; }
.summary h3 { color: #fff; }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: .96rem; }
.summary dd { margin: 0; text-align: right; color: #fff; font-weight: 600; }
.summary .total { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 14px; margin-top: 6px; font-size: 1.5rem; font-weight: 800; }
.summary dt.total { font-size: 1rem; font-weight: 600; align-self: end; }
.summary p { font-size: .86rem; color: #b9b9e6; margin: 16px 0 0; }

/* ----- Domande ----- */
.faq { max-width: 820px; margin: 40px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; padding: 18px 34px 18px 0; font-weight: 650; color: var(--ink); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--brand); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-right: 34px; }

/* ----- Chiusura ----- */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #e9e7ff; text-align: center; padding: 76px 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn { background: #fff; color: var(--brand-ink); margin-top: 12px; }
footer { background: #0f0e27; color: #a9a9d6; padding: 52px 0 36px; font-size: .92rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
footer a { color: #c7c7ea; text-decoration: none; display: block; margin-bottom: 8px; }
footer a:hover { color: #fff; }
footer .logo { color: #fff; margin-bottom: 12px; }
footer .fine { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 20px; font-size: .84rem; }

/* ----- Ingrandimento delle schermate ----- */
dialog.zoom { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.zoom::backdrop { background: rgba(10, 10, 30, .82); }
dialog.zoom img { max-width: 96vw; max-height: 94vh; border-radius: 10px; cursor: zoom-out; }

/* ----- Pagine legali ----- */
.doc-head { background: linear-gradient(180deg, #11102e, #221d5c); color: #c7c7ea; padding: 64px 0 52px; }
.doc-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.doc-head p { margin: 0; }
.doc { max-width: 820px; padding-top: 48px; padding-bottom: 80px; }
.doc h2 { font-size: 1.4rem; margin-top: 2.2em; }
.doc h3 { font-size: 1.08rem; margin-top: 1.6em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .94rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); color: var(--ink); }
.doc .toc { background: var(--soft); border-radius: 12px; padding: 18px 22px; font-size: .95rem; }
.doc .toc a { display: block; padding: 3px 0; text-decoration: none; }
.doc .box { background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 12px; padding: 16px 18px; margin: 1.2em 0; }
.doc .box p:last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-text, .order, .trial-box { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .nav.nav-static { display: flex; position: static; flex-direction: row; gap: 14px; padding: 0; border: 0; background: none; }
  .nav.nav-static a { padding: 0; border: 0; font-size: .82rem; }
  .top .btn { display: none; }
  .top .top-trial { display: inline-flex; margin-left: 8px; padding: 8px 12px; font-size: .88rem; white-space: nowrap; }
  .top .wrap { gap: 10px; }
  .top .logo { font-size: .98rem; white-space: nowrap; }
  .top .logo svg { width: 28px; height: 28px; }
  .menu-btn { padding: 8px 10px; }
  .menu-btn { order: 2; margin-left: 8px; }
  .top .top-trial { order: 1; margin-left: auto; }
  .trial { padding: 48px 0; }
  .trial-box { padding: 26px 20px; gap: 26px; }
  .plans, .grid, .steps, .fields, footer .cols { grid-template-columns: 1fr; }
  .hero-shot .shot { margin-bottom: -40px; }
  .feature + .feature { margin-top: 72px; }
  .feature .shot { max-width: 420px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); }
  .compare th, .compare td { padding: 12px 10px; font-size: .9rem; }
  .compare th:nth-child(n+2), .compare td:nth-child(n+2) { width: 64px; padding-left: 4px; padding-right: 4px; }
  .compare thead th { font-size: .92rem; }
  .compare .group td { font-size: .72rem; letter-spacing: .06em; }
  .compare small { display: block; font-size: .7rem; }
  .orbit-in { inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); }
  .orbit-out { display: none; }
  .hero + section { padding-top: 96px; }
  form.order-form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .streams i, .orbit .dots, .orbit .comet { animation: none; }
}
