  :root {
    --navy: #0a0f1e;
    --deep: #0d1528;
    --card: #111827;
    --accent: #00e5ff;
    --accent2: #7c3aed;
    --accent3: #f59e0b;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: rgba(0,229,255,0.12);
    --glow: 0 0 40px rgba(0,229,255,0.15);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--navy);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
  }

  /* ── NOISE OVERLAY ── */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
  }

  /* ── GRID BACKGROUND ── */
  body::after {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5%;
    background: rgba(10,15,30,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
  }

  .logo-wrap { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; z-index: 102; }
  .logo-wrap svg { width: 42px; height: 42px; }
  .logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.2rem;
    color: var(--text);
    letter-spacing: -0.02em;
  }
  .logo-text span { color: var(--accent); }

  .nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
  .nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }

  .nav-cta {
    background: var(--accent); color: var(--navy);
    padding: 0.55rem 1.5rem; border-radius: 6px;
    font-weight: 700; font-size: 0.88rem; letter-spacing: 0.04em;
    text-decoration: none; transition: all 0.2s;
    text-transform: uppercase;
  }
  .nav-cta:hover { background: #fff; }

  /* ── HAMBURGER ── */
  .hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 4px; z-index: 102;
  }
  .hamburger span {
    width: 24px; height: 2px; background: var(--text);
    border-radius: 2px; transition: all 0.3s ease; display: block;
  }
  
  /* Animazione Hamburger a X */
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── HERO ── */
  .hero {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 8rem 5% 5rem;
    overflow: hidden;
  }

  .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .orb1 { width: 600px; height: 600px; background: rgba(0,229,255,0.07); top: -10%; right: -10%; }
  .orb2 { width: 400px; height: 400px; background: rgba(124,58,237,0.1); bottom: 0; left: -5%; }

  .hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(0,229,255,0.08); border: 1px solid var(--border);
    color: var(--accent); padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; margin-bottom: 2rem;
    width: fit-content;
    animation: fadeUp 0.8s ease both;
  }
  .hero-tag::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); animation: pulse 2s infinite;
  }

  @keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:0.3 } }

  h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 800; line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 800px;
    animation: fadeUp 0.8s 0.1s ease both;
  }
  h1 .hi { color: var(--accent); display: block; }

  .hero-sub {
    max-width: 560px; color: var(--muted);
    font-size: 1.1rem; margin: 1.5rem 0 2.5rem;
    font-weight: 300; line-height: 1.7;
    animation: fadeUp 0.8s 0.2s ease both;
  }

  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.8s 0.3s ease both; }

  .btn-primary {
    background: linear-gradient(135deg, var(--accent), #0099bb);
    color: var(--navy); padding: 0.85rem 2.2rem;
    border-radius: 8px; font-weight: 700; font-size: 0.95rem;
    text-decoration: none; letter-spacing: 0.03em;
    transition: all 0.25s; display: inline-flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 4px 30px rgba(0,229,255,0.25);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(0,229,255,0.4); }

  .btn-secondary {
    border: 1px solid var(--border); color: var(--text);
    padding: 0.85rem 2.2rem; border-radius: 8px;
    font-weight: 500; font-size: 0.95rem; text-decoration: none;
    transition: all 0.25s; display: inline-flex; align-items: center; gap: 0.5rem;
  }
  .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

  .hero-stats {
    display: flex; gap: 3rem; margin-top: 5rem;
    animation: fadeUp 0.8s 0.4s ease both;
  }
  .stat-num {
    font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800;
    color: var(--accent); line-height: 1;
  }
  .stat-label { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }

  /* ── SECTIONS ── */
  section { position: relative; z-index: 1; padding: 6rem 5%; }

  .section-tag {
    color: var(--accent); font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem;
  }

  h2 {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; line-height: 1.1;
  }

  .section-intro { color: var(--muted); max-width: 560px; margin-top: 1rem; font-size: 1.05rem; line-height: 1.7; }

  /* ── SERVICES ── */
  .services { background: var(--deep); }
  .services-header { text-align: center; margin-bottom: 4rem; }
  .services-header .section-intro { margin: 1rem auto 0; }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .service-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 2.5rem;
    transition: all 0.3s; position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,229,255,0.04), transparent);
    opacity: 0; transition: opacity 0.3s;
  }
  .service-card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-4px); box-shadow: var(--glow); }
  .service-card:hover::before { opacity: 1; }

  .service-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.5rem;
  }

  .service-card h3 {
    font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700;
    margin-bottom: 0.75rem;
  }
  .service-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

  .service-card .tag {
    display: inline-block; margin-top: 1.25rem;
    background: rgba(0,229,255,0.08); color: var(--accent);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem; border-radius: 4px; text-transform: uppercase;
  }

  /* ── ABOUT ── */
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
    align-items: center;
  }
  .about-visual {
    position: relative; aspect-ratio: 1;
    max-width: 480px;
  }
  .about-visual .backdrop {
    position: absolute; inset: 0; border-radius: 24px;
    background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(124,58,237,0.08));
    border: 1px solid var(--border);
  }
  .about-visual .circle-outer {
    position: absolute; inset: 15%;
    border: 1px dashed rgba(0,229,255,0.2); border-radius: 50%;
    animation: spin 20s linear infinite;
  }
  .about-visual .circle-inner {
    position: absolute; inset: 32%;
    border: 1px solid rgba(0,229,255,0.25); border-radius: 50%;
    animation: spin 12s linear infinite reverse;
  }
  .about-visual .core {
    position: absolute; inset: 42%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%; filter: blur(2px);
  }
  .dot {
    position: absolute; width: 10px; height: 10px;
    background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
  }
  .dot1 { top: 15%; left: 50%; transform: translateX(-50%); }
  .dot2 { bottom: 15%; left: 50%; transform: translateX(-50%); }
  .dot3 { left: 15%; top: 50%; transform: translateY(-50%); }
  .dot4 { right: 15%; top: 50%; transform: translateY(-50%); }

  @keyframes spin { to { transform: rotate(360deg); } }

  .about-text h2 { margin-bottom: 1.5rem; }
  .about-text p { color: var(--muted); margin-bottom: 1rem; line-height: 1.8; }

  .about-pillars { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
  .pillar {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.25rem; background: var(--card);
    border: 1px solid var(--border); border-radius: 12px;
  }
  .pillar-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
  .pillar h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
  .pillar p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0; }

  /* ── PROCESS ── */
  .process { background: var(--deep); }
  .process-header { text-align: center; margin-bottom: 4rem; }
  .process-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem; position: relative;
  }
  .process-steps::before {
    content: ''; position: absolute;
    top: 36px; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
  }
  .step {
    text-align: center; padding: 2rem 1.5rem;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; transition: all 0.3s;
  }
  .step:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-4px); }
  .step-num {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(124,58,237,0.15));
    border: 1px solid rgba(0,229,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem;
    color: var(--accent); margin: 0 auto 1.25rem;
  }
  .step h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
  .step p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

  /* ── TECH STACK ── */
  .tech-strip {
    background: var(--navy); padding: 3rem 5%;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    overflow: hidden;
  }
  .tech-label { text-align: center; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; }
  .tech-scroll {
    display: flex; gap: 3rem; align-items: center;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
  }
  .tech-item {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--muted); font-size: 0.9rem; font-weight: 500;
    flex-shrink: 0;
  }
  .tech-item span { font-size: 1.3rem; }
  @keyframes scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--deep); }
  .testimonials-header { text-align: center; margin-bottom: 4rem; }
  .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
  .testimonial {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem;
    transition: all 0.3s;
  }
  .testimonial:hover { border-color: rgba(0,229,255,0.25); }
  .stars { color: var(--accent3); font-size: 0.9rem; margin-bottom: 1rem; }
  .testimonial blockquote { color: var(--text); font-style: italic; line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.97rem; }
  .testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
  .avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; color: var(--navy);
  }
  .author-name { font-weight: 600; font-size: 0.95rem; }
  .author-role { color: var(--muted); font-size: 0.82rem; }

  /* ── CTA BAND ── */
  .cta-band {
    background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(124,58,237,0.08));
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    text-align: center; padding: 6rem 5%;
  }
  .cta-band h2 { max-width: 600px; margin: 0 auto 1rem; }
  .cta-band p { color: var(--muted); max-width: 480px; margin: 0 auto 2.5rem; }

  /* ── CONTACT ── */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .contact-info h2 { margin-bottom: 1rem; }
  .contact-info p { color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
  .contact-detail {
    display: flex; align-items: flex-start; gap: 1rem;
    margin-bottom: 1.25rem;
  }
  .contact-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: rgba(0,229,255,0.08); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
  }
  .contact-detail h4 { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
  .contact-detail p { color: var(--text); font-size: 0.95rem; margin: 0; line-height: 1.4; }

  .contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.5rem; }
  .form-group label { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
  .form-group input, .form-group select, .form-group textarea {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 8px; padding: 0.85rem 1rem;
    color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
    outline: none; transition: border-color 0.2s; resize: vertical;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent);
  }
  .form-group select option { background: var(--card); }
  .submit-btn {
    background: var(--accent); color: var(--navy);
    border: none; padding: 1rem 2rem; border-radius: 8px;
    font-weight: 700; font-size: 1rem; cursor: pointer;
    transition: all 0.2s; letter-spacing: 0.02em;
    font-family: 'DM Sans', sans-serif;
  }
  .submit-btn:hover { background: #fff; transform: translateY(-2px); }

  /* ── FOOTER ── */
  footer {
    background: var(--deep); border-top: 1px solid var(--border);
    padding: 4rem 5% 2rem; position: relative; z-index: 1;
  }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
  .footer-brand p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
  .footer-col h4 {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem;
    margin-bottom: 1.25rem; color: var(--text);
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
  .footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--accent); }
  .footer-col ul li a.footer-cta-btn {
    display: inline-block; margin-top: 0.5rem; background: var(--accent); color: var(--navy); padding: 0.5rem 1rem; border-radius: 4px; font-weight: 700; text-align: center;
  }
  .footer-col ul li a.footer-cta-btn:hover { background: #fff; }

  /* ── LEGAL MODAL ── */
  .modal-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 200;
    background: rgba(10,15,30,0.85);
    backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 2rem 5%;
  }
  .modal-overlay.active { display: flex; }
  .modal-box {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; max-width: 720px; width: 100%;
    max-height: 82vh; overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: fadeUp 0.25s ease both;
  }
  .modal-box h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
  .modal-updated { color: var(--muted); font-size: 0.82rem; margin-bottom: 1.5rem; }
  .modal-box h3 {
    font-family: 'Syne', sans-serif; font-size: 1.05rem; margin: 1.5rem 0 0.5rem; color: var(--accent);
  }
  .modal-box p, .modal-box li { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
  .modal-box ul { padding-left: 1.2rem; margin: 0.5rem 0; }
  .modal-close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: none; border: 1px solid var(--border); color: var(--text);
    width: 34px; height: 34px; border-radius: 8px; cursor: pointer;
    font-size: 1.1rem; line-height: 1; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
  }
  .modal-close:hover { border-color: var(--accent); color: var(--accent); }

  /* ── COOKIE BANNER ── */
  .cookie-banner {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    background: var(--deep); border-top: 1px solid var(--border);
    padding: 1.2rem 5%;
    align-items: center; justify-content: space-between; gap: 2rem;
    flex-wrap: wrap;
  }
  .cookie-banner.active { display: flex; }
  .cookie-banner p { color: var(--muted); font-size: 0.85rem; max-width: 640px; margin: 0; }
  .cookie-banner p a { color: var(--accent); text-decoration: underline; cursor: pointer; }
  .cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
  .cookie-btn {
    padding: 0.6rem 1.4rem; border-radius: 6px; font-weight: 700;
    font-size: 0.85rem; cursor: pointer; border: 1px solid var(--border);
    background: none; color: var(--text); transition: all 0.2s;
  }
  .cookie-btn.accept { background: var(--accent); color: var(--navy); border-color: var(--accent); }
  .cookie-btn.accept:hover { background: #fff; }
  .cookie-btn:hover { border-color: var(--accent); color: var(--accent); }

  .footer-bottom {
    border-top: 1px solid var(--border); padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--muted); font-size: 0.82rem;
  }
  .company-reg { color: var(--muted); font-size: 0.78rem; opacity: 0.7; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ── MEDIA QUERIES (RESPONSIVE) ── */
  @media (max-width: 900px) {
    .hamburger { display: flex; }
    
    /* Trasformazione nav-links in Sidebar Mobile */
    .nav-links {
      position: fixed; top: 0; right: -100%;
      width: 280px; height: 100vh;
      background: rgba(13, 21, 40, 0.98);
      backdrop-filter: blur(20px);
      flex-direction: column; align-items: flex-start;
      justify-content: flex-start; padding: 7rem 2rem; gap: 2rem;
      border-left: 1px solid var(--border);
      transition: right 0.3s ease-in-out;
      z-index: 101;
    }
    .nav-links.active { right: 0; }
    .nav-cta { display: none; } /* Nascosto il tasto desktop */
    
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .about-visual { display: none; }
  }

  @media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  }