  /* ========== Design tokens ========== */
  :root {
    --bg: #0A0716;
    --bg-2: #120C26;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-hi: rgba(255, 255, 255, 0.09);
    --border: rgba(255, 255, 255, 0.12);
    --text: #F5F3FF;
    --muted: #B9B3D6;
    --cyan: #22D3EE;
    --violet: #8B5CF6;
    --pink: #FF4D8D;
    --amber: #FFB703;
    --lime: #A3E635;
    --grad: linear-gradient(120deg, var(--cyan), var(--violet) 45%, var(--pink) 80%, var(--amber));
    --radius: 22px;
    --font-head: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; letter-spacing: -0.02em; }
  .container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
  .gradient-text {
    background: var(--grad);
    background-size: 220% 220%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: gradientShift 7s ease infinite;
  }
  @keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
    color: var(--cyan);
  }
  .eyebrow::before {
    content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px;
  }
  section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }

  /* ========== Scroll progress & cursor glow ========== */
  .progress {
    position: fixed; top: 0; left: 0; height: 4px; width: 100%;
    background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
    z-index: 100;
  }
  .cursor-glow {
    position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
    border-radius: 50%; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(139,92,246,.22), transparent 60%);
    filter: blur(20px); opacity: 0; transition: opacity .4s;
  }
  body.has-pointer .cursor-glow { opacity: 1; }

  /* ========== Buttons ========== */
  .btn {
    position: relative; display: inline-flex; align-items: center; gap: .6rem;
    padding: .95rem 1.6rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    border: 1px solid transparent; cursor: pointer; isolation: isolate; overflow: hidden;
    transition: transform .25s ease, box-shadow .3s ease, background .3s ease;
    will-change: transform;
  }
  .btn-primary {
    background: var(--grad); background-size: 200% 200%; color: #0A0716;
    box-shadow: 0 10px 40px -10px rgba(255, 77, 141, .6);
    animation: gradientShift 6s ease infinite;
  }
  .btn-primary:hover { box-shadow: 0 16px 50px -8px rgba(34, 211, 238, .6); }
  .btn-ghost { border-color: var(--border); background: var(--surface); color: var(--text); backdrop-filter: blur(10px); }
  .btn-ghost:hover { background: var(--surface-hi); border-color: rgba(255,255,255,.3); }
  .btn .arrow { transition: transform .3s ease; }
  .btn:hover .arrow { transform: translateX(5px); }
  .btn::after { /* riflesso che scorre al passaggio del mouse */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transform: translateX(-120%);
  }
  .btn:hover::after { transform: translateX(120%); transition: transform .8s ease; }

  /* ========== Navbar ========== */
  .nav {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    width: min(1180px, calc(100% - 32px)); z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .6rem .6rem .6rem 1.1rem; border-radius: 999px;
    border: 1px solid var(--border); background: rgba(10, 7, 22, .55); backdrop-filter: blur(16px);
    transition: background .3s, box-shadow .3s;
  }
  .nav.scrolled { background: rgba(10, 7, 22, .85); box-shadow: 0 10px 40px -12px rgba(0,0,0,.6); }
  .logo { display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
  .logo svg { width: 34px; height: 34px; }
  .logo .wz { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .nav-links { display: flex; gap: .3rem; list-style: none; }
  .nav-links a {
    padding: .5rem .9rem; border-radius: 999px; font-size: .92rem; color: var(--muted);
    transition: color .2s, background .2s;
  }
  .nav-links a:hover { color: var(--text); background: var(--surface-hi); }
  .nav .btn { padding: .6rem 1.1rem; font-size: .9rem; }
  .burger { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
  .burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .3s; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  @media (max-width: 560px) { .nav .btn { display: none; } }
  @media (max-width: 860px) {
    .nav-links {
      position: fixed; inset: 90px 16px auto; flex-direction: column; padding: 12px;
      background: rgba(18,12,38,.97); border: 1px solid var(--border); border-radius: var(--radius);
      opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .3s;
    }
    .menu-open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
    .nav-links a { font-size: 1.05rem; padding: .9rem 1rem; }
    .burger { display: block; }
  }

  /* ========== Hero ========== */
  .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; }
  .blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
  .blob {
    position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .55;
    animation: float 18s ease-in-out infinite;
  }
  .blob.b1 { background: var(--violet); top: -120px; left: -120px; }
  .blob.b2 { background: var(--pink); top: 20%; right: -160px; animation-delay: -6s; }
  .blob.b3 { background: var(--cyan); bottom: -200px; left: 30%; animation-delay: -12s; opacity: .4; }
  .blob.b4 { background: var(--amber); bottom: 10%; right: 15%; width: 260px; height: 260px; opacity: .35; animation-duration: 12s; }
  @keyframes float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(60px,-40px) scale(1.08); }
    66% { transform: translate(-40px,50px) scale(.94); }
  }
  .grid-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  }
  .hero h1 { font-size: clamp(2.6rem, 7.2vw, 6rem); font-weight: 700; max-width: 14ch; }
  .word { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); animation: wordIn .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 0.08s + .15s); }
  @keyframes wordIn { to { opacity: 1; transform: none; } }
  .hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 560px; margin-top: 1.6rem; opacity: 0; animation: fadeUp 1s .9s forwards; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; opacity: 0; animation: fadeUp 1s 1.1s forwards; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

  .hero-orbit { position: absolute; right: 6%; top: 50%; width: min(440px, 40vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
  .hero-orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: spin 30s linear infinite; }
  .hero-orbit .ring.r2 { inset: 12%; animation-duration: 20s; animation-direction: reverse; border-style: solid; border-color: rgba(34,211,238,.25); }
  .hero-orbit .core { position: absolute; inset: 30%; border-radius: 50%; background: var(--grad); background-size: 200% 200%; animation: gradientShift 6s ease infinite, breathe 4s ease-in-out infinite; box-shadow: 0 0 120px rgba(139,92,246,.6); display: grid; place-items: center; }
  .hero-orbit .core svg { width: 50%; height: 50%; }
  .hero-orbit .dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; top: -8px; left: calc(50% - 8px); background: var(--amber); box-shadow: 0 0 20px var(--amber); }
  .hero-orbit .dot.d2 { background: var(--cyan); box-shadow: 0 0 20px var(--cyan); top: auto; bottom: -8px; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes breathe { 50% { transform: scale(1.06); } }
  @media (max-width: 900px) { .hero-orbit { opacity: .25; right: -30%; width: 70vw; } }

  /* ========== Marquee ========== */
  .marquee { border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 22px 0; position: relative; }
  .marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; }
  .marquee span { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; white-space: nowrap; display: flex; align-items: center; gap: 3rem; color: var(--text); }
  .marquee span::after { content: "✦"; color: var(--pink); font-size: .8em; }
  .marquee span:nth-child(3n+2)::after { color: var(--cyan); }
  .marquee span:nth-child(3n)::after { color: var(--amber); }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* ========== Intro (reveal per parola) ========== */
  .intro h2 { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 700; max-width: 22ch; }
  .intro p.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); max-width: 680px; margin-top: 1.8rem; }
  .reveal-words span { display: inline-block; opacity: .15; transition: opacity .5s, transform .5s; transform: translateY(8px); }
  .reveal-words span.lit { opacity: 1; transform: none; }

  /* ========== Services ========== */
  .services-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
  .services-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 700; max-width: 16ch; margin-top: 1rem; }
  .services-head p { color: var(--muted); max-width: 380px; }
  .cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .card {
    position: relative; grid-column: span 4; padding: 2rem; border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-hi), var(--surface)); border: 1px solid var(--border);
    overflow: hidden; transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s;
    min-height: 280px; display: flex; flex-direction: column; justify-content: space-between;
  }
  .card.wide { grid-column: span 8; }
  .card::before { /* alone colorato che segue il mouse */
    content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, var(--c, var(--violet)), transparent 65%);
    left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .4s;
  }
  .card:hover::before { opacity: .35; }
  .card:hover { border-color: color-mix(in srgb, var(--c, var(--violet)) 60%, transparent); box-shadow: 0 30px 60px -30px var(--c, var(--violet)); }
  .card .ico {
    width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.6rem;
    background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
  }
  .card:hover .ico { transform: rotate(-8deg) scale(1.1); }
  .card .ico svg { width: 30px; height: 30px; }
  .card h3 { font-size: 1.7rem; font-weight: 700; margin-bottom: .7rem; }
  .card p { color: var(--muted); }
  .card .more { margin-top: 1.4rem; display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; color: var(--c); font-size: .95rem; }
  .card .more svg { transition: transform .3s; }
  .card:hover .more svg { transform: translateX(5px); }
  .card .tag { position: absolute; top: 1.6rem; right: 1.6rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c); opacity: .9; }
  @media (max-width: 960px) { .card, .card.wide { grid-column: span 6; } .card:last-child { grid-column: span 12; } }
  @media (max-width: 640px) { .card, .card.wide { grid-column: span 12; } }

  /* ========== Pillars (sticky scroll) ========== */
  .pillars { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
  .pillars-left { position: sticky; top: 120px; }
  .pillars-left h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; margin-top: 1rem; }
  .pillars-left p { color: var(--muted); margin-top: 1.4rem; max-width: 460px; }
  .pillar { padding: 2.4rem 0; border-top: 1px solid var(--border); opacity: .35; transition: opacity .5s; }
  .pillar.active { opacity: 1; }
  .pillar:last-child { border-bottom: 1px solid var(--border); }
  .pillar .num { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--pink); }
  .pillar h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .6rem 0 1rem; font-weight: 700; }
  .pillar p { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
  @media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillars-left { position: static; } }

  /* ========== Stats ========== */
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat {
    padding: 2.4rem 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
    position: relative; overflow: hidden;
  }
  .stat::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 200px; height: 200px; border-radius: 50%; background: var(--c); filter: blur(60px); opacity: .35; }
  .stat .n { font-family: var(--font-head); font-size: clamp(3.2rem, 7vw, 5.5rem); font-weight: 700; line-height: 1; }
  .stat .l { color: var(--muted); margin-top: .6rem; }
  @media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

  /* ========== Target ========== */
  .audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .aud {
    padding: 2.4rem 2rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-2);
    position: relative; transition: transform .4s cubic-bezier(.2,.8,.2,1);
  }
  .aud:hover { transform: translateY(-10px); }
  .aud .big { font-size: 3.4rem; line-height: 1; margin-bottom: 1.2rem; }
  .aud h3 { font-size: 2rem; font-weight: 700; margin-bottom: .6rem; background: var(--c); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .aud p { color: var(--muted); }
  @media (max-width: 900px) { .audience { grid-template-columns: 1fr; } }

  /* ========== Section heads (.team-head) ========== */
  .team-head { text-align: center; margin-bottom: 3.5rem; }
  .team-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 700; margin: 1rem auto 0; max-width: 18ch; }
  .team-head p { color: var(--muted); margin-top: 1rem; }

  /* ========== Testimonials ========== */
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .quote { padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px dashed rgba(255,255,255,.2); }
  .quote blockquote { font-size: 1.05rem; color: var(--text); margin-bottom: 1.4rem; }
  .quote .who { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .9rem; }
  .quote .who i { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: block; }
  .quote-note { margin-top: 1.4rem; font-size: .8rem; color: var(--amber); }
  @media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

  /* ========== Contact ========== */
  .contact { overflow: hidden; }
  .contact-box {
    position: relative; border-radius: 32px; padding: clamp(2rem, 6vw, 5rem);
    background: var(--bg-2); border: 1px solid var(--border); overflow: hidden;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
  }
  .contact-box::before {
    content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
    background: var(--grad); background-size: 200% 200%; animation: gradientShift 8s ease infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6;
  }
  .contact h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
  .contact > .contact-box > div > p { color: var(--muted); margin-top: 1.2rem; max-width: 460px; }
  form { display: grid; gap: 14px; }
  .field { position: relative; }
  .field input, .field textarea, .field select {
    width: 100%; padding: 1.1rem 1.1rem; border-radius: 16px; background: rgba(255,255,255,.04);
    border: 1px solid var(--border); color: var(--text); font: inherit; outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
  }
  .field textarea { min-height: 120px; resize: vertical; }
  .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,.2); background: rgba(255,255,255,.07); }
  .field label { position: absolute; left: 1.1rem; top: 1.05rem; color: var(--muted); pointer-events: none; transition: .25s; }
  .field input:focus + label, .field input:not(:placeholder-shown) + label,
  .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    top: -.55rem; left: .8rem; font-size: .75rem; background: var(--bg-2); padding: 0 .4rem; color: var(--cyan);
  }
  .form-status { font-size: .95rem; min-height: 1.4em; color: var(--lime); }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 860px) { .contact-box { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

  /* ========== Footer ========== */
  footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 60px; }
  .foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
  .foot h4 { font-family: var(--font-head); font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
  .foot p, .foot a { color: var(--muted); font-size: .95rem; display: block; margin-bottom: .45rem; transition: color .2s; }
  .foot a:hover { color: var(--text); }
  .foot .logo { margin-bottom: 1rem; }
  .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
  @media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

  /* ========== AI Solutions (focus) ========== */
  .ai-panel {
    position: relative; border-radius: 32px; padding: clamp(2rem, 6vw, 4.5rem); overflow: hidden;
    background:
      radial-gradient(900px 500px at 8% 0%, rgba(139,92,246,.28), transparent 60%),
      radial-gradient(700px 420px at 100% 100%, rgba(255,77,141,.2), transparent 60%),
      var(--bg-2);
    border: 1px solid var(--border);
  }
  .ai-panel::before {
    content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
    background: var(--grad); background-size: 200% 200%; animation: gradientShift 8s ease infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7;
  }
  .ai-panel h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 700; margin-top: 1rem; max-width: 20ch; }
  .ai-lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 720px; margin-top: 1.4rem; }
  .ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 3rem; }
  .ai-grid .aud { background: rgba(10, 7, 22, .6); }
  .ai-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.6rem; }
  @media (max-width: 1000px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .ai-grid { grid-template-columns: 1fr; } }

  /* ========== Reveal on scroll ========== */
  .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }

  /* ========== Reduced motion ========== */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .word { opacity: 1; transform: none; }
  }
