/* JetteroAI — stile del sito (tema scuro, vetro) */

@font-face { font-family: "Geist"; src: url("../fonts/geist-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-var.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #06070b;
  --bg-2: #0c0e15;
  --ink: #eef0f6;
  --ink-2: #b3b8c6;
  --muted: #7c8293;
  --accent: #9a8cff;
  --accent-2: #6ea8ff;
  --accent-soft: rgba(154, 140, 255, .14);
  --grad: linear-gradient(120deg, #b6a8ff 0%, #8f9dff 45%, #6ec3ff 100%);
  --ok: #3ddc97;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  --glass-flat: rgba(255, 255, 255, .04);
  --glass-border: rgba(255, 255, 255, .1);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 60px -30px rgba(0, 0, 0, .8);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-2: cubic-bezier(.16, 1, .3, 1);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Menlo", monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #0b0b14; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 18px; height: 18px; flex: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.h2 em, .hero__title em, .cta__title em, .legal h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

/* ---------- Sfondo ---------- */
.aura { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aura span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aura span:nth-child(1) { width: 55vmax; height: 55vmax; left: 35%; top: -30%; background: radial-gradient(circle, rgba(108, 92, 231, .55) 0%, rgba(108, 92, 231, 0) 70%); animation: drift1 26s ease-in-out infinite alternate; }
.aura span:nth-child(2) { width: 45vmax; height: 45vmax; left: -20%; top: 30%; background: radial-gradient(circle, rgba(56, 120, 220, .4) 0%, rgba(56, 120, 220, 0) 70%); animation: drift2 32s ease-in-out infinite alternate; }
.aura span:nth-child(3) { width: 42vmax; height: 42vmax; right: -18%; bottom: -25%; background: radial-gradient(circle, rgba(150, 80, 220, .35) 0%, rgba(150, 80, 220, 0) 70%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-8vw, 10vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(10vw, -6vh) scale(.92); } }
.gridlines { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); }

.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

main, .footer, .header { position: relative; z-index: 1; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; background: var(--bg); clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-2); }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__mark { width: 52px; height: 52px; animation: pulse 1.4s var(--ease) infinite; }
.preloader__count { font-family: var(--mono); font-size: 44px; font-weight: 400; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.preloader__count small { font-size: 18px; color: var(--muted); margin-left: 2px; }
.is-loaded .preloader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes pulse { 50% { transform: scale(.92); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); filter: blur(6px); transition: transform 1.1s var(--ease-2), filter 1.1s var(--ease-2); transition-delay: calc(var(--i) * 70ms + .15s); }
.is-loaded .split .w > span { transform: none; filter: none; }

/* ---------- Vetro ---------- */
.card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); }

/* ---------- Pulsanti ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease);
}
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--dark { background: #f3f4f8; color: #0a0b12; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 30px -10px rgba(154, 140, 255, .55); }
.btn--dark:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 14px 40px -10px rgba(154, 140, 255, .8); }
.btn--ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.btn--light { background: #fff; color: #0a0b12; }
.btn--light:hover { background: #fff; box-shadow: 0 10px 30px -8px rgba(255, 255, 255, .35); }
.btn--link { padding: 0 6px; color: var(--ink); }
.btn--link:hover { color: var(--accent); }
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover > .ic:last-child:not(:first-child) { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; font-size: inherit; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 12px; left: 50%; z-index: 50;
  width: min(calc(100% - 24px), 1220px); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.header.is-scrolled { background: rgba(12, 14, 22, .55); border-color: var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 40px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
.header.is-hidden { transform: translate(-50%, -130%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 32px; height: 32px; }
.brand__name { font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.brand__name em { font-size: 21px; margin-left: 1px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; transition: color .3s, background .3s; }
.nav a:hover, .nav a.active { color: var(--ink); background: rgba(255, 255, 255, .07); }
.header__cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 22px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: rgba(6, 7, 11, .92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: 32px; font-weight: 500; letter-spacing: -.04em; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); animation: menu-in .6s var(--ease) both; }
.mobile-menu nav a:nth-child(2) { animation-delay: .04s; } .mobile-menu nav a:nth-child(3) { animation-delay: .08s; } .mobile-menu nav a:nth-child(4) { animation-delay: .12s; } .mobile-menu nav a:nth-child(5) { animation-delay: .16s; } .mobile-menu nav a:nth-child(6) { animation-delay: .2s; } .mobile-menu nav a:nth-child(7) { animation-delay: .24s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Tipografia ---------- */
.h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; margin: 0; }
.h2 em { font-size: 1.1em; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 54ch; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.num { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.num::before { content: "[ "; color: var(--muted); } .num::after { content: " ]"; color: var(--muted); }
.note { color: var(--muted); font-size: 15px; max-width: 70ch; margin: 40px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 120px 0 110px; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 3; pointer-events: none; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 30px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.hero__stage { width: 100%; height: clamp(150px, 21vw, 290px); margin: 0 0 -6px; }
.hero__title { font-size: clamp(38px, 4.9vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; margin: 0 0 22px; max-width: 20ch; text-shadow: 0 0 30px rgba(6, 7, 11, .95), 0 0 2px rgba(6, 7, 11, .8); }
.hero__title em { font-size: 1.06em; font-weight: 400; letter-spacing: -.02em; text-shadow: none; }
.hero__lead { font-size: clamp(16px, 1.45vw, 19px); color: var(--ink-2); max-width: 56ch; margin: 0 0 34px; text-shadow: 0 0 24px rgba(6, 7, 11, .95); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; margin-bottom: 30px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 14px; color: var(--ink-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof .ic { width: 16px; height: 16px; color: var(--accent); }
.hero__corner { position: absolute; bottom: 30px; z-index: 4; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__corner--l { left: var(--gutter); } .hero__corner--r { right: var(--gutter); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 4; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: rgba(255, 255, 255, .02); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.04em; white-space: nowrap; color: var(--ink-2); }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; color: var(--ink); }
.marquee i { font-style: normal; color: var(--accent); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(90px, 13vw, 160px) 0; }
.section__head { display: grid; grid-template-columns: 120px 1fr; align-items: start; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head .num { margin-top: 14px; }
.section__head--stack { display: block; }

/* ---------- Analisi gratuita ---------- */
.review { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.review .h2 { margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.ticks .ic { color: var(--accent); }
.form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.field-group { display: grid; gap: 8px; }
.form label { font-size: 14px; font-weight: 500; }
.form input[type="text"], .form input[type="email"] {
  width: 100%; height: 50px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form input::placeholder { color: #626879; }
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(154, 140, 255, .18); background: rgba(255, 255, 255, .07); }
.form input:disabled { opacity: .45; }
.check { display: inline-flex; align-items: center; gap: 9px; font-weight: 400 !important; color: var(--ink-2); cursor: pointer; width: fit-content; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); }
.form__actions { display: grid; gap: 10px; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
.form__error { margin: 0; font-size: 14px; color: #ff9b9b; }

/* ---------- Servizi ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service { position: relative; padding: 18px 18px 28px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s var(--ease), transform .5s var(--ease); }
.service::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, -20%), rgba(154, 140, 255, .14), transparent 45%); opacity: 0; transition: opacity .4s; }
.service:hover { border-color: rgba(154, 140, 255, .3); }
.service:hover::before { opacity: 1; }
.service h3 { font-size: 23px; font-weight: 500; letter-spacing: -.03em; margin: 24px 10px 8px; }
.service p { margin: 0 10px 18px; color: var(--ink-2); max-width: 46ch; }
.more { margin: auto 10px 0; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--accent); width: fit-content; }
.more:hover .ic { transform: translateX(3px); }
.more .ic { width: 16px; transition: transform .3s var(--ease); }

.demo { position: relative; height: 230px; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, rgba(154, 140, 255, .14), rgba(255, 255, 255, .02) 60%); border: 1px solid var(--line); display: grid; place-items: center; }

/* demo: sito */
.browser { width: 76%; height: 168px; background: #0e1119; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #2a2e3a; }
.browser__bar span { margin: 0 auto; padding: 2px 10px; background: rgba(255, 255, 255, .05); border-radius: 6px; }
.browser__body { padding: 16px; position: relative; }
.sk { border-radius: 6px; background: linear-gradient(90deg, #1a1e29 0%, #262b38 40%, #1a1e29 80%); background-size: 200% 100%; animation: shimmer 2.2s linear infinite; }
.sk--title { height: 16px; width: 62%; margin-bottom: 10px; }
.sk--line { height: 8px; width: 88%; margin-bottom: 6px; }
.sk--line.short { width: 54%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.mini-book { display: flex; gap: 6px; margin-top: 18px; }
.chip { font-size: 10.5px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--ink-2); }
.chip--go { background: #fff; color: #0a0b12; border-color: #fff; animation: press 4s var(--ease) infinite; }
.tap { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: rgba(154, 140, 255, .35); border: 1.5px solid var(--accent); left: 62%; top: 96px; animation: tap 4s var(--ease) infinite; }
.toast { position: absolute; right: 8%; bottom: 14px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 8px 12px; background: rgba(20, 24, 34, .9); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); animation: toast 4s var(--ease) infinite; }
.toast .ic { width: 15px; height: 15px; color: #06070b; background: var(--ok); border-radius: 50%; padding: 2px; }
@keyframes tap { 0%, 20% { opacity: 0; transform: translate(40px, 40px) scale(1); } 35% { opacity: 1; transform: translate(0, 0) scale(1); } 42% { transform: scale(.7); } 50% { transform: scale(1); opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes press { 0%, 38% { transform: none; } 42% { transform: scale(.92); } 48%, 100% { transform: none; } }
@keyframes toast { 0%, 48% { opacity: 0; transform: translateY(14px) scale(.96); } 56%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

/* demo: seo */
.demo--seo { align-content: center; gap: 12px; padding: 18px; }
.search { width: min(300px, 88%); height: 40px; border-radius: 999px; background: #10131c; border: 1px solid var(--line-2); display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 13px; }
.search__g { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { width: 1.5px; height: 16px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.result { width: min(300px, 88%); display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #10131c; border: 1px solid rgba(154, 140, 255, .35); box-shadow: 0 10px 40px -14px rgba(154, 140, 255, .45); opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.result.show { opacity: 1; transform: none; }
.result strong { display: block; font-size: 13.5px; font-weight: 600; }
.result span { font-size: 11.5px; color: var(--muted); }
.result__pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); position: relative; flex: none; }
.result__pin::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #10131c; }
.sources { display: flex; gap: 6px; }
.sources span { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--ink-2); }

/* demo: chat */
.demo--chat { background: radial-gradient(120% 100% at 50% 0%, rgba(61, 220, 151, .1), rgba(255, 255, 255, .02) 60%); }
.chat { width: min(290px, 88%); display: flex; flex-direction: column; gap: 7px; }
.bubble { max-width: 82%; font-size: 12.5px; line-height: 1.35; padding: 8px 12px; border-radius: 14px; opacity: 0; transform: translateY(8px) scale(.97); }
.bubble--in { background: #1b1f2b; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--out { background: #0f4c3a; align-self: flex-end; border-bottom-right-radius: 4px; }
.typing { align-self: flex-end; display: flex; gap: 3px; padding: 9px 12px; background: #0f4c3a; border-radius: 14px; opacity: 0; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #8fe3c0; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-3px); opacity: .5; } }
.bubble.show, .typing.show { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }

/* demo: automazioni */
.flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.node { font-size: 12.5px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); animation: glow 3.2s var(--ease) infinite; }
.node:nth-of-type(2) { animation-delay: .8s; } .node:nth-of-type(3) { animation-delay: 1.6s; } .node:nth-of-type(4) { animation-delay: 2.4s; }
.node--ai { background: var(--grad); color: #0a0b12; border-color: transparent; }
.node--ok { color: var(--ok); }
.wire { width: 1.5px; height: 16px; background: var(--line-2); position: relative; overflow: hidden; }
.wire i { position: absolute; left: 0; width: 100%; height: 8px; background: var(--accent); animation: pulseDown 3.2s linear infinite; }
.wire:nth-of-type(2) i { animation-delay: .8s; } .wire:nth-of-type(3) i { animation-delay: 1.6s; }
@keyframes pulseDown { 0% { top: -8px; } 25%, 100% { top: 16px; } }
@keyframes glow { 0%, 20% { box-shadow: 0 0 0 0 rgba(154, 140, 255, 0); } 8% { box-shadow: 0 0 0 5px rgba(154, 140, 255, .22); } }

/* ---------- Metodo ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps__line { position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: var(--line-2); }
.steps__line span { position: absolute; inset: 0; background: var(--grad); box-shadow: 0 0 12px rgba(154, 140, 255, .7); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding: 58px 22px 24px; border-radius: var(--radius); }
.step::before { content: ""; position: absolute; left: 22px; top: 11px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent); box-shadow: 0 0 14px rgba(154, 140, 255, .6); }
.step__time { display: inline-block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 12px; }
.step h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 12px; }
.step p { color: var(--ink-2); margin: 0; max-width: 36ch; }

/* ---------- Prezzi ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; perspective: 1400px; }
.price { position: relative; padding: 30px; display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .4s var(--ease); }
.price.tilting { transition: transform .12s linear, box-shadow .4s var(--ease); }
.price__top { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.price h3 { font-family: var(--mono); font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 0 0 22px; }
.price__amount { font-size: clamp(40px, 4.2vw, 52px); font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 0 0 12px; }
.price__amount small { font-size: .5em; letter-spacing: -.01em; color: var(--muted); }
.price__sub { font-size: 14.5px; color: var(--muted); margin: 0; }
.price ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 13px; font-size: 15px; color: var(--ink-2); }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li .ic { width: 17px; height: 17px; margin-top: 3px; color: var(--accent); }
.price .btn { margin-top: auto; }
.glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .12), transparent 45%); opacity: 0; transition: opacity .4s; }
.price:hover .glare { opacity: 1; }
.price--featured { background: radial-gradient(120% 80% at 50% 0%, rgba(124, 108, 255, .38) 0%, rgba(30, 26, 70, .6) 50%, rgba(12, 12, 26, .75) 100%); border-color: rgba(154, 140, 255, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 90px -30px rgba(124, 108, 255, .55); }
.price--featured::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(182, 168, 255, .22) 80%, transparent 90%); animation: spin 9s linear infinite; pointer-events: none; }
.price--featured > * { position: relative; }
.price--featured .price__top { border-color: rgba(255, 255, 255, .14); }
.price--featured h3 { color: #d8d2ff; }
.price--featured ul { color: rgba(238, 240, 246, .9); }
.price--featured li .ic { color: #c9c0ff; }
.badge { width: fit-content; margin: -6px 0 14px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; background: rgba(182, 168, 255, .16); border: 1px solid rgba(182, 168, 255, .35); color: #ded8ff; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: #c9c0ff; box-shadow: 0 0 8px #c9c0ff; }
@keyframes spin { to { transform: rotate(360deg); } }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.extra { padding: 24px 28px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .02); }
.extra h4 { margin: 0 0 6px; font-size: 17px; font-weight: 500; }
.extra p { margin: 0; color: var(--ink-2); font-size: 15px; }
.extra strong { color: var(--ink); }

/* ---------- Prenotazione ---------- */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.booking .h2 { margin-bottom: 22px; }
.booking__facts { list-style: none; padding: 0; margin: 30px 0; border-top: 1px solid var(--line); }
.booking__facts li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.booking__facts b { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 3px; }
.booking__facts span { color: var(--ink-2); }
.booking__alt { color: var(--muted); font-size: 15px; }
.cal-card { padding: clamp(22px, 3vw, 30px); display: grid; gap: 18px; }
.cal-card__head { display: flex; align-items: center; gap: 14px; }
.cal-card__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--grad); color: #0a0b12; box-shadow: 0 10px 30px -10px rgba(154, 140, 255, .7); }
.cal-card__icon .ic { width: 22px; height: 22px; }
.cal-card h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.cal-card__head p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.cal-card__label { margin: 4px 0 -8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cal-card__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cal-card__days span { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 15px; font-weight: 500; white-space: nowrap; }
.cal-card__days small { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.cal-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cal-card__actions .btn { width: 100%; padding: 0 14px; }
.cal-card__note { margin: 0; font-size: 13px; color: var(--muted); }
.chev { width: 18px; height: 18px; transition: transform .4s var(--ease); }
#cal-toggle.is-open .chev, .chev--up { transform: rotate(180deg); }
.cal-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .45s var(--ease), margin .6s var(--ease); margin-top: 0; }
.cal-panel.open { grid-template-rows: 1fr; opacity: 1; margin-top: 28px; }
.cal-panel[hidden] { display: none; }
.cal-panel__inner { overflow: hidden; min-height: 0; }
.cal-panel__card { padding: 10px; }
.cal-panel__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 14px 14px; font-weight: 500; }
.calendar__embed { width: 100%; min-height: 420px; border-radius: 16px; overflow: hidden; }

/* ---------- Corsi ---------- */
.courses { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.courses .h2 { margin-bottom: 22px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.course-tags span { font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink-2); }
.waitlist { position: relative; }
.waitlist h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.soon { width: fit-content; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(154, 140, 255, .3); color: #cfc7ff; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -.02em; position: relative; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0; padding: 0 44px 26px 0; color: var(--ink-2); max-width: 64ch; }
.faq details[open] p { animation: faq-in .5s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA finale ---------- */
.cta { padding: clamp(40px, 8vw, 100px) 0 clamp(80px, 12vw, 140px); }
.cta__inner { position: relative; text-align: center; padding: clamp(56px, 9vw, 110px) var(--gutter); border-radius: 32px; overflow: hidden; background: radial-gradient(90% 120% at 50% 100%, rgba(124, 108, 255, .35), rgba(12, 14, 22, .4) 60%); border: 1px solid var(--glass-border); box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.cta__inner::before { content: ""; position: absolute; left: 50%; bottom: -60%; width: 120%; aspect-ratio: 2; transform: translateX(-50%); border-radius: 50%; border-top: 1px solid rgba(182, 168, 255, .45); box-shadow: 0 -20px 80px rgba(154, 140, 255, .25); pointer-events: none; }
.cta__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(64px, 11vw, 160px); line-height: .9; letter-spacing: -.03em; margin: 0 0 40px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 28px; background: rgba(6, 7, 11, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.footer__brand p { color: var(--ink-2); font-size: 15px; max-width: 32ch; }
.footer__clock { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--muted) !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .06em; }
.footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 400; margin: 8px 0 14px; }
.footer__grid > div > a, .footer__grid > div > span { display: block; font-size: 15px; color: var(--ink-2); text-decoration: none; padding: 3px 0; transition: color .3s, opacity .3s; }
.footer__grid > div > a:hover { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer__legal a { color: inherit; }

/* ---------- WhatsApp fisso ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #f3f4f8; color: #0a0b12; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 14px 34px -10px rgba(154, 140, 255, .7); opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float.show { opacity: 1; transform: none; }

/* ---------- Consenso cookie ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 120; width: min(420px, calc(100% - 40px)); padding: 20px 22px; border-radius: 20px; background: rgba(16, 18, 28, .82); border: 1px solid var(--glass-border); box-shadow: var(--shadow); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); animation: consent-in .7s var(--ease) both; }
.consent[hidden] { display: none; }
.consent p { margin: 0 24px 14px 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.consent b { color: var(--ink); font-weight: 600; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__x { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.consent__x:hover { background: rgba(255, 255, 255, .08); }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Cursore ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 400; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); pointer-events: none; opacity: 0; mix-blend-mode: difference; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
  .cursor.on { opacity: 1; }
  .cursor.hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); }
}

/* ---------- Pagine legali ---------- */
.legal { padding: 140px 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin: 0 0 12px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--ink); }
.legal a { color: #cfc7ff; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 14px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line-2); }
.legal th { font-weight: 500; color: var(--ink); }
.legal .box { padding: 20px 24px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-border); }
.table-wrap { overflow-x: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: block; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .review, .booking, .courses, .faq { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .header { top: 8px; width: calc(100% - 16px); padding: 6px 6px 6px 12px; }
  .header__cta .btn--dark { display: none; }
  .hero { padding: 100px 0 90px; align-items: flex-end; }
  .hero__title { font-size: clamp(34px, 10vw, 52px); }
  .hero__stage { height: 30vw; margin-bottom: 4px; }
  .status { font-size: 10.5px; margin-bottom: 18px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn--lg { width: 100%; }
  .hero__corner { display: none; }
  .section__head { grid-template-columns: 1fr; }
  .section__head .num { margin: 0 0 12px; }
  .services { grid-template-columns: 1fr; }
  .demo { height: 210px; }
  .steps { grid-template-columns: 1fr; gap: 20px; padding-left: 34px; }
  .steps__line { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { padding: 0 0 8px; }
  .step::before { left: -34px; top: 4px; }
  .extras { grid-template-columns: 1fr; }
  .booking__facts li { grid-template-columns: 80px 1fr; }
  .cal-card__actions { grid-template-columns: 1fr; }
  .cal-panel__card { padding: 6px; }
  .cta__actions .btn { width: 100%; }
  .cta__inner { border-radius: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .consent { left: 10px; bottom: 10px; width: calc(100% - 20px); }
  .wa-float { right: 14px; bottom: 14px; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}
