/* ORQELYX — sito commerciale
   Palette dal marchio: violetto #5C1AFC → blu #0852FB → ciano, su indaco notte. */

:root {
  --bg: #05060f;
  --bg-2: #070a16;
  --panel: #0b0f1e;
  --panel-2: #101733;
  --card: #0c1122;
  --card-2: #111731;
  --line: #1a2138;
  --line-2: #232c48;

  --ink: #edeffb;
  --ink-2: #c3c9de;
  --muted: #8891ab;
  --faint: #5e6683;

  --violet: #7c4dff;
  --violet-2: #a855f7;
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --pink: #f472b6;

  --grad: linear-gradient(120deg, #6d28d9 0%, #4f46e5 45%, #2563eb 100%);
  --grad-text: linear-gradient(100deg, #a78bfa 0%, #60a5fa 55%, #22d3ee 100%);
  --grad-band: linear-gradient(90deg, #1e3a8a 0%, #4c1d95 55%, #6d28d9 100%);

  --r: 16px;
  --r-sm: 10px;
  --shell: 1200px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(29px, 3.5vw, 42px); font-weight: 800; }
h2 { font-size: clamp(25px, 3.4vw, 38px); font-weight: 800; }
p { margin: 0; }

.g { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
section { padding: 92px 0; position: relative; }

/* ── bottoni ─────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s, filter .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 34px -14px rgba(109,40,217,.95); }
.btn-grad:hover { filter: brightness(1.12); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: #33406b; background: rgba(255,255,255,.03); }
.btn-white { background: #fff; color: #14162a; }
.btn-clear { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ── header ──────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(5,6,15,.8); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; object-fit: contain; }

.nav-links { display: flex; gap: 30px; margin: 0 auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .signin { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav-cta .signin:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; cursor: pointer; }

/* ── hero ────────────────────────────────────────────── */

.hero { padding: 56px 0 92px; }
.hero::before {
  content: ""; position: absolute; inset: -240px 0 auto 0; height: 820px;
  background:
    radial-gradient(60% 60% at 22% 40%, rgba(109,40,217,.30), transparent 70%),
    radial-gradient(55% 55% at 78% 30%, rgba(37,99,235,.24), transparent 70%);
  pointer-events: none;
}
.hero .shell { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 40px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(100deg, #7c4dff, #2563eb) border-box;
  border: 1px solid transparent;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-2); }

.hero p.lede { color: var(--ink-2); font-size: 16px; margin: 20px 0 30px; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.reassure { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: var(--muted); }
.reassure span { display: inline-flex; align-items: center; gap: 8px; }
.tick {
  flex: none; width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(124,77,255,.55); color: var(--violet-2);
}
.tick svg { width: 9px; height: 9px; }

/* ── mock dashboard ──────────────────────────────────── */

.screen {
  border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(160deg, #101636 0%, #080c19 60%);
  padding: 10px;
  box-shadow: 0 50px 110px -45px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.dash { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.dash-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.dash-top b { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.daterange {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px;
}
.dash-body { display: grid; grid-template-columns: 128px minmax(0,1fr); }
.dash-side { border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.dash-side .sb { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 6px; font-size: 8.8px; color: var(--faint); white-space: nowrap; }
.dash-side .sb.on { background: linear-gradient(90deg, rgba(124,77,255,.22), transparent); color: var(--ink); }
.dash-side .sb i { width: 11px; height: 11px; border-radius: 3px; background: rgba(255,255,255,.09); flex: none; }
.dash-side .sb.on i { background: var(--grad); }
.dash-side .m-brand { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; padding: 3px 8px 10px; }
.dash-side .m-brand img { width: 13px; height: 13px; object-fit: contain; }

.dash-main { padding: 11px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }

.kpis { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; background: rgba(255,255,255,.016); }
.kpi .kh { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.kpi .ki { width: 15px; height: 15px; border-radius: 4px; display: grid; place-items: center; flex: none; }
.kpi .ki svg { width: 9px; height: 9px; }
.kpi span { font-size: 7.5px; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.kpi b { font-size: 11.5px; font-weight: 800; letter-spacing: -.03em; display: block; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 7.5px; color: var(--green); }

.dash-row { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(0,1fr); gap: 8px; }
.dash-row.b { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.pane { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; background: rgba(255,255,255,.016); min-width: 0; }
.pane h5 { margin: 0 0 7px; font-size: 9.5px; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }
.pane .h5row { display: flex; align-items: center; justify-content: space-between; }
.pane .h5row a { font-size: 8px; color: var(--blue); }

.chart { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 4px; }
.yax { display: flex; flex-direction: column; justify-content: space-between; font-size: 6.5px; color: var(--faint); text-align: right; padding-bottom: 11px; }
.chart svg { width: 100%; height: auto; display: block; }
.xax { display: flex; justify-content: space-between; font-size: 6.5px; color: var(--faint); margin-top: 3px; }

.evt { display: flex; flex-direction: column; gap: 6px; }
.evt-row { display: flex; align-items: center; gap: 7px; }
.evt-th { width: 20px; height: 20px; border-radius: 5px; flex: none; }
.evt-row div { min-width: 0; flex: 1; }
.evt-row b { display: block; font-size: 8.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evt-row span { font-size: 7px; color: var(--faint); }
.chip {
  font-size: 6.5px; font-weight: 700; padding: 2px 5px; border-radius: 4px;
  border: 1px solid currentColor; white-space: nowrap; flex: none;
}

.rank { display: flex; flex-direction: column; gap: 6px; }
.rank-row { display: flex; align-items: center; gap: 6px; font-size: 8px; }
.rank-row .n { color: var(--faint); width: 7px; flex: none; }
.rank-row .av { width: 15px; height: 15px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 6px; font-weight: 700; color: #fff; }
.rank-row .who { min-width: 0; flex: 1; }
.rank-row .who b { display: block; font-size: 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row .who span { font-size: 6.5px; color: var(--faint); }
.bar { width: 44px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; flex: none; }
.bar i { display: block; height: 100%; background: var(--grad); }

.donut-wrap { display: flex; align-items: center; gap: 9px; }
.donut { width: 76px; height: 76px; flex: none; position: relative; }
.donut svg { transform: rotate(-90deg); }
.donut .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut .mid b { font-size: 10px; font-weight: 800; letter-spacing: -.02em; }
.donut .mid span { font-size: 6px; color: var(--faint); }
.legend { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.legend-row { display: flex; align-items: center; gap: 5px; font-size: 7.5px; }
.legend-row i { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.legend-row span { flex: 1; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend-row b { font-size: 7.5px; font-weight: 700; }

/* ── schede "per chi è" ──────────────────────────────── */

.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }

.usecase {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px 22px; min-height: 280px;
  display: flex; flex-direction: column;
  background: var(--card);
  transition: border-color .2s, transform .2s;
}
.usecase:hover { transform: translateY(-4px); }
.usecase::before {
  content: ""; position: absolute; inset: 0;
  background: var(--wash);
  opacity: .85;
}
.usecase::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--card) 26%, rgba(12,17,34,.72) 62%, rgba(12,17,34,.42) 100%);
}
.usecase > * { position: relative; z-index: 1; }
.usecase h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.usecase p { color: var(--ink-2); font-size: 14px; }
.usecase .more { margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--tint); display: inline-flex; align-items: center; gap: 6px; }

.tile {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-2);
  background: var(--tile);
  color: var(--tint);
}

.uc1 { --tint: #a78bfa; --tile: rgba(124,77,255,.16);
  --wash: radial-gradient(120% 90% at 82% 18%, rgba(124,77,255,.42), transparent 62%), radial-gradient(90% 80% at 100% 100%, rgba(168,85,247,.28), transparent 60%); }
.uc2 { --tint: #60a5fa; --tile: rgba(59,130,246,.16);
  --wash: radial-gradient(120% 90% at 82% 18%, rgba(37,99,235,.44), transparent 62%), radial-gradient(90% 80% at 100% 100%, rgba(34,211,238,.22), transparent 60%); }
.uc3 { --tint: #34d399; --tile: rgba(52,211,153,.14);
  --wash: radial-gradient(120% 90% at 82% 18%, rgba(16,185,129,.36), transparent 62%), radial-gradient(90% 80% at 100% 100%, rgba(59,130,246,.22), transparent 60%); }
.uc4 { --tint: #fbbf24; --tile: rgba(251,191,36,.14);
  --wash: radial-gradient(120% 90% at 82% 18%, rgba(217,119,6,.34), transparent 62%), radial-gradient(90% 80% at 100% 100%, rgba(124,77,255,.24), transparent 60%); }

/* ── funzionalità ────────────────────────────────────── */

.features { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 40px 28px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: start; }
.feature .tile { width: 44px; height: 44px; margin: 0; border-radius: 11px; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--muted); }
.f-violet { --tint: #a78bfa; --tile: rgba(124,77,255,.14); }
.f-blue   { --tint: #60a5fa; --tile: rgba(59,130,246,.14); }
.f-cyan   { --tint: #22d3ee; --tile: rgba(34,211,238,.12); }
.f-pink   { --tint: #f472b6; --tile: rgba(244,114,182,.12); }
.f-green  { --tint: #34d399; --tile: rgba(52,211,153,.12); }
.f-amber  { --tint: #fbbf24; --tile: rgba(251,191,36,.12); }

/* ── piattaforma ─────────────────────────────────────── */

.platform { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.platform-grid { display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,1.38fr); gap: 40px; align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.checklist .tick { width: 20px; height: 20px; border-color: rgba(96,165,250,.55); color: #60a5fa; }
.checklist .tick svg { width: 10px; height: 10px; }

.devices { display: grid; grid-template-columns: minmax(0,1.62fr) minmax(0,.5fr) minmax(0,.46fr); gap: 12px; align-items: end; }

.laptop .screen { border-radius: 12px; padding: 7px; }
.laptop .base {
  height: 12px; margin: 0 -7%; border-radius: 0 0 13px 13px;
  background: linear-gradient(180deg, #232b47, #10152a);
  border: 1px solid var(--line-2); border-top: 0;
  position: relative;
}
.laptop .base::after {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.09);
}

.phone {
  border: 1px solid var(--line-2); border-radius: 20px; padding: 9px 7px;
  background: linear-gradient(170deg, #131a38, #080c19);
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.95);
}
.phone .notch { width: 34px; height: 3.5px; border-radius: 3px; background: #2a3252; margin: 0 auto 9px; }
.p-head { display: flex; align-items: center; justify-content: space-between; font-size: 8px; color: var(--faint); padding: 0 4px 8px; }
.p-card { border-radius: 9px; padding: 9px; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); margin-bottom: 9px; }
.p-card span { font-size: 6.5px; color: var(--faint); display: block; }
.p-card b { font-size: 14px; font-weight: 800; color: var(--green); letter-spacing: -.02em; }
.p-list { display: flex; flex-direction: column; gap: 6px; }
.p-row { display: flex; align-items: center; gap: 6px; }
.p-row i { width: 15px; height: 15px; border-radius: 4px; flex: none; }
.p-row div { flex: 1; min-width: 0; }
.p-row b { display: block; font-size: 7.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-row span { font-size: 6px; color: var(--faint); }
.p-row u { text-decoration: none; font-size: 7px; color: var(--ink-2); }
.p-tabs { display: flex; justify-content: space-around; padding-top: 9px; margin-top: 9px; border-top: 1px solid var(--line); }
.p-tabs i { width: 10px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.1); }
.p-tabs i:first-child { background: var(--grad); }

.pass {
  border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 12px;
  background: linear-gradient(170deg, #10152c, #06090f);
  text-align: center;
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.95);
}
.pass .pb { display: flex; align-items: center; justify-content: center; gap: 5px; font-weight: 800; font-size: 11px; margin-bottom: 12px; }
.pass .pb img { width: 14px; height: 14px; object-fit: contain; }
.pass .qr { width: 100%; max-width: 96px; margin: 0 auto; background: #fff; border-radius: 7px; padding: 6px; }
.pass .qr svg { width: 100%; height: auto; display: block; }
.pass .nm { font-size: 10px; font-weight: 700; margin-top: 11px; }
.pass .id { font-size: 7.5px; color: var(--faint); font-family: var(--mono); }
.pass .hint { font-size: 7px; color: var(--faint); margin-top: 10px; }

/* ── come funziona ───────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.step { position: relative; }
.step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step .n {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 17px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--ring) border-box;
  border: 1.5px solid transparent; color: var(--nc);
}
.step .si { color: var(--muted); }
.step:nth-child(1) { --ring: linear-gradient(135deg,#a855f7,#7c4dff); --nc: #c4b5fd; }
.step:nth-child(2) { --ring: linear-gradient(135deg,#7c4dff,#3b82f6); --nc: #a5b4fc; }
.step:nth-child(3) { --ring: linear-gradient(135deg,#3b82f6,#22d3ee); --nc: #93c5fd; }
.step:nth-child(4) { --ring: linear-gradient(135deg,#22d3ee,#34d399); --nc: #67e8f9; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--muted); }
.step .link {
  position: absolute; top: 23px; left: calc(100% - 26px); width: calc(100% - 34px); height: 2px;
  background-image: linear-gradient(90deg, var(--line-2) 55%, transparent 55%);
  background-size: 9px 2px; opacity: .8;
}
.step:last-child .link { display: none; }

/* ── prezzi ──────────────────────────────────────────── */

.billing { display: flex; justify-content: center; margin-bottom: 40px; }
.billing-inner { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.billing button {
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 8px 20px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer;
}
.billing button[aria-pressed="true"] { background: var(--grad); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0,1.08fr); gap: 18px; align-items: start; }

.plan {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  padding: 26px 22px; display: flex; flex-direction: column; gap: 18px;
}
.plan.hot { border-color: #2f5bd6; box-shadow: 0 0 0 1px rgba(47,91,214,.4), 0 30px 70px -46px rgba(47,91,214,.9); }
.plan .flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #fff; white-space: nowrap;
}
.plan-head { display: grid; grid-template-columns: 44px 1fr; gap: 13px; align-items: start; }
.plan-head .tile { width: 44px; height: 44px; margin: 0; border-radius: 11px; }
.plan-head h3 { font-size: 20px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: var(--tint); margin-bottom: 4px; }
.plan-head p { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.price { display: flex; align-items: baseline; gap: 7px; }
.price b { font-size: 33px; font-weight: 800; letter-spacing: -.035em; }
.price span { font-size: 12.5px; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.plan li .tick { margin-top: 2px; border-color: color-mix(in srgb, var(--tint) 55%, transparent); color: var(--tint); }
.p-start { --tint: #a78bfa; --tile: rgba(124,77,255,.16); }
.p-grow  { --tint: #60a5fa; --tile: rgba(59,130,246,.16); }
.p-pro   { --tint: #c084fc; --tile: rgba(192,132,252,.14); }

.compare { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 22px 20px; }
.compare h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 12px; }
.compare th, .compare td { padding: 7px 3px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { font-size: 11px; color: var(--muted); font-weight: 600; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .c1 { color: #a78bfa; } .compare .c2 { color: #60a5fa; } .compare .c3 { color: #c084fc; }
.compare .no { color: #2c3350; }
.plans-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 28px; }

/* ── faq ─────────────────────────────────────────────── */

.faq-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; align-items: start; }
details.faq { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); padding: 16px 18px; }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13.5px; font-weight: 600; line-height: 1.35;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary svg { flex: none; color: var(--muted); transition: transform .2s; }
details.faq[open] summary svg { transform: rotate(180deg); }
details.faq p { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ── fascia cta a tutta larghezza ────────────────────── */

.cta-band { background: var(--grad-band); padding: 44px 0; }
.cta-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.cta-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.cta-left img { width: 66px; height: 66px; object-fit: contain; flex: none; }
.cta-band h2 { color: #fff; font-size: clamp(21px, 2.6vw, 28px); }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 7px; font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── footer ──────────────────────────────────────────── */

.site-footer { padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(4, minmax(0,1fr)); gap: 32px; }
.footer-about .brand { margin-bottom: 4px; }
.footer-about .tag { color: var(--faint); font-size: 12px; margin-left: 39px; }
.footer-col h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--violet-2); background: rgba(124,77,255,.08);
}
.socials a:hover { color: #fff; background: rgba(124,77,255,.2); }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }

/* ── responsive ──────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .features { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .compare { grid-column: 1 / -1; }
  .platform-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 20px; }
  .step .link { display: none; }
}

@media (max-width: 780px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .signin { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; inset: 72px 16px auto; z-index: 90;
    background: var(--card-2); border: 1px solid var(--line-2);
    border-radius: var(--r); padding: 14px; margin: 0;
  }
  .nav-links.open a { padding: 9px 6px; }
  .cards, .features, .plans, .faq-grid, .steps { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-row, .dash-row.b { grid-template-columns: 1fr; }
  .devices { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-inner { justify-content: flex-start; }
  .cta-left img { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
