/* ============================================================
   DMQLABS – NEON EXTRAS
   Effetti avanzati e animazioni "ultra premium"
   (solo classi opt-in, niente override globali)
   ============================================================ */

/* -------------------------------
   PALETTE UTILITY
---------------------------------- */

:root {
  --dmq-cyan: #38bdf8;
  --dmq-cyan-soft: rgba(56, 189, 248, 0.7);
  --dmq-violet: #6366f1;
  --dmq-emerald: #22c55e;
  --dmq-bg-deep: #020617;
  --dmq-bg-soft: #0b1120;
}

/* -------------------------------
   TESTO & HIGHLIGHT
---------------------------------- */

/* testo con gradiente luminoso */
.u-gradient-text {
  background: linear-gradient(120deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 18px rgba(15, 23, 42, 0.98),
    0 0 26px rgba(15, 23, 42, 1);
}

/* piccolo testo metallico / descrittivo */
.u-soft-muted {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* badge micro in linea (es: "beta", "lab") */
.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
}

/* puntino per badge-inline (statico, se vuoi quello animato usa .dot-pulse di neon.css) */
.badge-inline-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #bbf7d0, #22c55e 60%);
  box-shadow: 0 0 9px rgba(34, 197, 94, 0.85);
}

/* -------------------------------
   BOTTONI AVANZATI
---------------------------------- */

/* bottone outline con glow morbido */
.btn-neon-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.98));
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(15, 23, 42, 0.9);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.btn-neon-outline:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 1);
  box-shadow:
    0 0 20px rgba(56, 189, 248, 0.9),
    0 0 30px rgba(15, 23, 42, 1);
}

/* chip button (piccoli “tag cliccabili” tipo filtri) */
.btn-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
  font-size: 0.78rem;
  color: #cbd5f5;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease-out, background 0.18s ease-out, transform 0.16s ease-out;
}

.btn-chip-icon {
  font-size: 0.85rem;
  color: #38bdf8;
}

.btn-chip:hover {
  border-color: rgba(56, 189, 248, 0.95);
  background: linear-gradient(120deg, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.96));
  transform: translateY(-1px);
}

/* -------------------------------
   CARD & CONTAINER AVANZATE
---------------------------------- */

/* card vetro/opale (glassmorphism leggero) */
.card-glass {
  position: relative;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.82)
  );
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.96),
    0 0 30px rgba(15, 23, 42, 1);
  overflow: hidden;
}

/* bordo gradiente sottile per card */
.card-border-gradient {
  position: relative;
}

.card-border-gradient::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.9), rgba(129, 140, 248, 0.9));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* effetto “card in pila” */
.card-stack {
  position: relative;
}

.card-stack::before,
.card-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(15, 23, 42, 1);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
  z-index: -1;
}

.card-stack::before {
  transform: translate(6px, 6px);
  opacity: 0.8;
}

.card-stack::after {
  transform: translate(12px, 12px);
  opacity: 0.6;
}

/* aggiunta: combinabile con neon-card--lift di neon.css */
.card-stack.neon-card--lift:hover::before,
.card-stack.neon-card--lift:hover::after {
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.4);
}

/* -------------------------------
   ORBS & DECORAZIONI DI SFONDO
---------------------------------- */

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.75;
  pointer-events: none;
  mix-blend-mode: screen;
}

.orb--cyan {
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.8), transparent 60%);
}

.orb--violet {
  background: radial-gradient(circle at 30% 30%, rgba(129, 140, 248, 0.8), transparent 60%);
}

.orb--emerald {
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.8), transparent 60%);
}

/* posizioni predefinite (usabili in hero o sezioni) */
.orb-pos-top-left {
  top: -80px;
  left: -40px;
  width: 260px;
  height: 260px;
}

.orb-pos-bottom-right {
  bottom: -100px;
  right: -40px;
  width: 300px;
  height: 300px;
}

/* -------------------------------
   ANIMAZIONI GENERICHE
---------------------------------- */

/* floating morbido (per icone o piccoli elementi) */
.anim-float {
  animation: animFloat 6s ease-in-out infinite;
}

@keyframes animFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* shimmer su bordi/badge */
.shimmer-border {
  position: relative;
  overflow: hidden;
}

.shimmer-border::after {
  content: "";
  position: absolute;
  inset: -150%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(248, 250, 252, 0.18) 45%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: shimmerSlide 2.4s ease-in-out infinite;
  opacity: 0.8;
  pointer-events: none;
}

@keyframes shimmerSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* comparsa morbida verso l'alto (per sezioni che entrano in pagina) */
.reveal-up {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp 0.6s ease-out forwards;
}

@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------
   PREFERENZA UTENTE: MOTION REDOTTA
---------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .anim-float,
  .shimmer-border::after,
  .reveal-up {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
/* ============================================================
   HERO FULL-WIDTH (HOME) + MOBILE OPTIMIZATION
   ============================================================ */

.hero.hero--full {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(4.2rem, 7vh, 5.5rem) 1.8rem 3.8rem;
  border-radius: 0;
  
  /* sfondo unico, niente "card" centrale */
  background:
    radial-gradient(circle at 20% 0%, rgba(56,189,248,0.24), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(129,140,248,0.22), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(45,212,191,0.16), transparent 60%),
    #020617;
}

/* alone: ulteriore bagliore morbido centrale */
.hero.hero--full::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 1100px;
  height: 480px;
  background: radial-gradient(circle, rgba(148,163,255,0.25), transparent 70%);
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}

.hero.hero--full .hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero.hero--full .hero-content {
  max-width: 730px;
}

/* riga sopra il titolo */
.hero-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

/* griglie sezioni: layout desktop */
.cards-grid,
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

/* breakpoint per smartphone / tablet */
@media (max-width: 900px) {

  .hero.hero--full {
    padding: 4.5rem 1.4rem 3.5rem;
  }

  .hero.hero--full .hero-inner,
  .hero.hero--full .hero-content {
    max-width: 100%;
  }

  .hero.hero--full .hero-content {
    text-align: center;
  }

  .hero-kicker-row {
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .hero-buttons a {
    width: 100%;
    justify-content: center;
  }

  .cards-grid,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   HOME: SEZIONI SENZA "SCATOLE" + MOBILE CENTRATO
   ============================================================ */

.section--compact {
  padding-top: 3.2rem;
  padding-bottom: 3.4rem;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* griglia compatta (3 colonne desktop, 1 mobile) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}

/* singolo blocco testo senza card-box */
.feature-item {
  padding: 1.1rem 0 1.4rem;
  border-bottom: 1px solid rgba(148, 163, 255, 0.24);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: #e5f0ff;
}

.feature-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.feature-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #9fb3d7;
}

/* piccole pill per "per chi è DMQLabs" */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.pill {
  font-size: 0.86rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.55);
  background: radial-gradient(circle at 0 0, rgba(59,130,246,0.25), transparent 55%);
  color: #dbeafe;
}

/* sezione "come lavoriamo" a 3 step */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.process-item {
  position: relative;
  padding: 1.1rem 0 1.4rem;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(56,189,248,0.2), rgba(129,140,248,0.25));
  color: #e0f2fe;
}

.process-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.process-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #9fb3d7;
}

/* CTA finale leggermente più compatta su mobile */
.neon-bottom-cta .cta-text {
  max-width: 720px;
  margin: 0.5rem auto 1.6rem;
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {

  .section-inner {
    padding: 0 1.2rem;
  }

  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .process-item {
    text-align: center;
  }

  .feature-title {
    font-size: 0.9rem;
  }

  .feature-highlight {
    font-size: 1rem;
  }

  .pill-row {
    justify-content: center;
  }
}
/* ============================================================
   HOME: SEZIONI "PIATTE" (NO CARD) + CENTRATURA MOBILE
   ============================================================ */

/* sezioni senza card-box */
.section--plain {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

/* versione "alt" sempre senza scatola (usa solo il background di pagina) */
.section--plain-alt {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

/* centratura testo su smartphone */
@media (max-width: 900px) {

  .section-inner,
  .section-inner h2,
  .section-inner p {
    text-align: center;
  }

  .section-inner h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .process-item,
  .feature-item {
    text-align: center;
  }
}
/* ============================================================
   MOBILE: centratura hero e sezioni testuali
   ============================================================ */
@media (max-width: 900px) {

  /* hero top */
  .hero,
  .hero-inner {
    text-align: center;
    align-items: center;
  }

  .hero-kicker,
  .hero-title,
  .hero-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
  }

  /* sezioni testuali sotto */
  .section-inner,
  .section-inner h2,
  .section-inner p {
    text-align: center;
  }

  .process-item,
  .feature-item {
    text-align: center;
  }
}
/* ============================================================
   CTA finale full-width (no card quadrata)
   ============================================================ */
.section--cta-flat {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.home-cta-fullwidth {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.8rem;
  border-radius: 32px;
  border: 1px solid rgba(148, 226, 255, 0.20);
  background: radial-gradient(circle at 0% 0%,
              rgba(56,189,248,0.16),
              transparent 55%)
              ,
              radial-gradient(circle at 100% 100%,
              rgba(139,92,246,0.18),
              transparent 60%);
  box-shadow:
      0 0 60px rgba(56,189,248,0.35),
      0 0 90px rgba(129,140,248,0.30);
  text-align: center;
}

.home-cta-fullwidth h2 {
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.home-cta-fullwidth p {
  margin-bottom: 1.8rem;
}

/* bottoni allineati anche su mobile */
.home-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* ============================================================
   HERO V2 · SFONDO 3D, ORB ANIMATO, CTA NEON
   ============================================================ */

.hero-v2 {
    position: relative;
    overflow: hidden;
    padding: 6rem 1.75rem 4.5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* layer di sfondo animato: effetto led / 3D */
.hero-v2-ambient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(56,189,248,0.30) 0, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(129,140,248,0.25) 0, transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(56,189,248,0.18) 0, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(45,212,191,0.20) 0, transparent 55%);
    opacity: 0.85;
    filter: blur(2px);
    transform: translate3d(0,0,0);
    animation: heroV2Glow 22s ease-in-out infinite alternate;
    z-index: -2;
}

/* leggero pannello centrale per dare profondità */
.hero-v2::before {
    content: "";
    position: absolute;
    inset: 8% 10%;
    background: radial-gradient(circle at 20% 0%, rgba(15,23,42,0.3), transparent 55%),
                radial-gradient(circle at 80% 100%, rgba(15,23,42,0.4), transparent 60%);
    border-radius: 32px;
    border: 1px solid rgba(148,163,184,0.12);
    box-shadow:
        0 0 0 1px rgba(15,23,42,0.85),
        0 40px 80px rgba(15,23,42,0.8),
        0 0 120px rgba(56,189,248,0.22);
    z-index: -1;
}

/* orb verde animato (pallino "online") */
.hero-v2-orb {
    position: absolute;
    top: 15%;
    left: 6%;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #bbf7d0 0, #22c55e 40%, #16a34a 70%, transparent 100%);
    box-shadow:
        0 0 0 0 rgba(34,197,94,0.7),
        0 0 24px rgba(34,197,94,0.9),
        0 0 60px rgba(34,197,94,0.55);
    animation: heroOrbFloat 7s ease-in-out infinite;
    opacity: 0.95;
}

/* contenuto principale */
.hero-v2-inner {
    position: relative;
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
}

/* riga kicker */
.hero-v2-kicker-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15,23,42,0.85), rgba(15,23,42,0.6));
    border: 1px solid rgba(148,163,184,0.22);
    box-shadow: 0 0 24px rgba(15,23,42,0.9);
}

.hero-v2-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #a5f3fc 0, #38bdf8 55%, #0ea5e9 100%);
    box-shadow:
        0 0 0 0 rgba(56,189,248,0.5),
        0 0 16px rgba(56,189,248,0.9);
}

.hero-v2-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(148,163,184,0.95);
    margin: 0;
}

/* titolo principale */
.hero-v2-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0 0 1.25rem;
}

.hero-v2-gradient-text {
    display: inline-block;
    background: linear-gradient(120deg, #38bdf8, #818cf8, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 0 22px rgba(56,189,248,0.5),
        0 0 40px rgba(49,46,129,0.95);
}

/* testo descrittivo */
.hero-v2-lead {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(226,232,240,0.88);
    max-width: 44rem;
    margin-bottom: 0.75rem;
}

.hero-v2-lead-sub {
    font-size: 0.90rem;
    color: rgba(148,163,184,0.95);
    text-transform: none;
}

/* CTA */
.hero-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 2.1rem 0 1.4rem;
}

.btn-primary-glow,
.btn-outline-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary-glow {
    background: linear-gradient(120deg, #0ea5e9, #38bdf8, #818cf8);
    color: #0b1220;
    box-shadow:
        0 0 24px rgba(56,189,248,0.7),
        0 18px 50px rgba(37,99,235,0.5);
}

.btn-primary-glow:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 30px rgba(56,189,248,0.9),
        0 22px 60px rgba(30,64,175,0.75);
}

.btn-outline-glow {
    border: 1px solid rgba(148,163,184,0.4);
    background: radial-gradient(circle at 0 0, rgba(148,163,184,0.25), transparent 60%);
    color: rgba(226,232,240,0.92);
    box-shadow:
        0 0 0 1px rgba(15,23,42,0.9),
        0 20px 40px rgba(15,23,42,0.9);
}

.btn-outline-glow:hover {
    background: radial-gradient(circle at 0 0, rgba(148,163,184,0.38), transparent 65%);
    transform: translateY(-1px);
}

/* chip sotto le CTA */
.hero-v2-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.2rem;
}

.chip-ghost {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(148,163,184,0.35);
    color: rgba(148,163,184,0.95);
    background: radial-gradient(circle at 0 0, rgba(15,23,42,0.9), rgba(15,23,42,0.7));
}

/* indicatore scroll */
.hero-v2-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(148,163,184,0.85);
}

.hero-v2-scroll-dot {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-v2-scroll-dot::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148,163,184,0.9);
    animation: heroScrollPulse 1.5s ease-in-out infinite;
}

/* =========================
   ANIMAZIONI
   ========================= */

@keyframes heroV2Glow {
    0% {
        transform: translate3d(0,0,0);
        filter: blur(2px);
    }
    50% {
        transform: translate3d(-1.5%, 1%, 0);
        filter: blur(3px);
    }
    100% {
        transform: translate3d(1.5%, -1%, 0);
        filter: blur(2.4px);
    }
}

@keyframes heroOrbFloat {
    0% {
        transform: translate3d(0,0,0);
        box-shadow:
            0 0 0 0 rgba(34,197,94,0.7),
            0 0 24px rgba(34,197,94,0.9),
            0 0 60px rgba(34,197,94,0.55);
    }
    50% {
        transform: translate3d(10px, 14px, 0);
        box-shadow:
            0 0 0 6px rgba(34,197,94,0.0),
            0 0 32px rgba(34,197,94,1),
            0 0 80px rgba(34,197,94,0.8);
    }
    100% {
        transform: translate3d(0, 8px, 0);
        box-shadow:
            0 0 0 0 rgba(34,197,94,0.4),
            0 0 26px rgba(34,197,94,0.85),
            0 0 70px rgba(34,197,94,0.7);
    }
}

@keyframes heroScrollPulse {
    0%   { transform: translateY(-3px); opacity: 0.2; }
    50%  { transform: translateY(3px);  opacity: 1;   }
    100% { transform: translateY(-3px); opacity: 0.2; }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
    .hero-v2 {
        padding: 5.25rem 1.25rem 3.4rem;
        min-height: auto;
        align-items: flex-start;
    }

    .hero-v2::before {
        inset: 10% 4%;
        border-radius: 28px;
    }

    /* testo centrato ma allineato bene */
    .hero-v2-inner {
        text-align: center;
    }

    .hero-v2-kicker-row {
        justify-content: center;
        padding-left: 0.7rem;
        padding-right: 0.9rem;
    }

    .hero-v2-title {
        font-size: 2rem;
    }

    .hero-v2-lead,
    .hero-v2-lead-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* CTA in colonna, bottone a tutta larghezza */
    .hero-v2-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-glow,
    .btn-outline-glow {
        width: 100%;
    }

    /* chip meta uno sotto l'altro ma centrati */
    .hero-v2-meta-chips {
        flex-direction: column;
        align-items: center;
    }

    .hero-v2-orb {
        top: 18%;
        left: 10%;
        width: 14px;
        height: 14px;
    }
}
/* ============================================================
   HERO CLEANUP – niente riquadro centrale
   ============================================================ */

/* spegne il layer sfocato che crea l'effetto "card" */
.hero.neon-bg::before,
.hero.hero--full::before {
    display: none !important;
}

/* hero più ariosa e centrata, stile Apple */
.hero.hero--full.neon-bg {
    text-align: left;
}

.hero.hero--full.neon-bg .hero-content {
    max-width: 720px;
}

/* mobile: tutto centrato e respirato */
@media (max-width: 900px) {
    .hero.hero--full.neon-bg {
        text-align: center;
    }

    .hero.hero--full.neon-bg .hero-content {
        max-width: 100%;
    }

    .hero.hero--full.neon-bg .neon-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}
/* ============================================================
   MICRO-EFFETTI PREMIUM HOMEPAGE
   ============================================================ */

/* leggero bagliore sul titolo principale */
.neon-title {
    text-shadow:
        0 0 22px rgba(15,23,42,0.95),
        0 0 40px rgba(56,189,248,0.55);
}

/* piccolo gradient-line sotto la hero (separa dal testo sotto) */
.hero-separator {
    height: 1px;
    max-width: 960px;
    margin: 0.5rem auto 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(56,189,248,0.45),
        rgba(129,140,248,0.45),
        transparent
    );
    opacity: 0.65;
}

/* testo delle sezioni centrali un filo più grande e leggibile */
.section-lead {
    font-size: 0.98rem;
    line-height: 1.7;
}

.section-body {
    font-size: 0.94rem;
    line-height: 1.7;
}

/* mobile: più respiro tra paragrafi e chips */
@media (max-width: 900px) {
    .section-inner {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .section-lead,
    .section-body {
        margin-bottom: 1.1rem;
    }

    .chips-row {
        margin-top: 1.1rem;
        margin-bottom: 0.6rem;
        row-gap: 0.6rem;
    }
}
/* ============================================================
   FIX HERO MOBILE – niente "quadrato" + bottoni centrati
   ============================================================ */

/* 1) Hero full: niente clipping e niente effetto card */
.hero.hero--full {
    overflow: visible !important;      /* lascia respirare glow e pulsanti */
}

/* spegne il layer che creava la sensazione di riquadro */
.hero.neon-bg::before,
.hero.hero--full::before {
    display: none !important;
}

/* 2) Layout hero più pulito e centrato */
.hero.hero--full.neon-bg .hero-content {
    max-width: 720px;
}

/* 3) Specifico per smartphone */
@media (max-width: 768px) {

    /* sfondo più semplice, niente "card" centrale */
    .hero.hero--full.neon-bg {
        padding: 3.4rem 1.3rem 3.2rem;
        background:
            radial-gradient(circle at 50% -10%, rgba(56,189,248,0.35), transparent 60%),
            #020617;
        text-align: center;
    }

    .hero.hero--full.neon-bg .hero-content {
        max-width: 100%;
    }

    .hero.hero--full.neon-bg .neon-subtitle,
    .hero.hero--full.neon-bg .u-soft-muted {
        margin-left: auto;
        margin-right: auto;
    }

    /* BOTTONI: colonna, centrati, non tagliati */
    .hero-buttons {
        margin-top: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}
/* ============================================================
   HARD RESET HERO – niente riquadro, stesso sfondo della pagina
   ============================================================ */

.hero.hero--full,
.hero.hero--full.neon-bg {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
  overflow: visible !important;
}

/* niente layer aggiuntivi sopra lo sfondo */
.hero.hero--full::before,
.hero.neon-bg::before {
  content: none !important;
  display: none !important;
}
/* ============================================================
   OVERRIDE HERO – DOT SULLA "X" E NO RIQUADRO
   ============================================================ */

/* DOT PULSE al centro della "×" (Arte × Tecnologia) */
.neon-title .neon-gradient {
  position: relative;
  display: inline-block;
}

.neon-title .neon-gradient::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #bbf7d0, #22c55e 60%);
  box-shadow: 0 0 16px rgba(34,197,94,0.9);
  left: 50%;
  top: 0.45em;              /* centra grossomodo sulla "×" */
  transform: translateX(-50%);
  animation: dotPulseX 1.7s ease-out infinite;
  pointer-events: none;
}

@keyframes dotPulseX {
  0% {
    transform: translateX(-50%) scale(0.7);
    opacity: 0.95;
  }
  100% {
    transform: translateX(-50%) scale(1.7);
    opacity: 0;
  }
}

/* Nasconde il vecchio puntino nella riga sopra il titolo */
.hero-kicker-row .dot-pulse {
  display: none;
}
/* ============================================================
   HERO PIATTA (SENZA RIQUADRO) + BOTTONE MOBILE CENTRATO
   ============================================================ */

/* Niente bordo, niente card, niente ombre rigide */
.hero.hero--full,
.hero.hero--full.neon-bg {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
  overflow: visible !important;
  padding: clamp(4rem, 7vh, 5.2rem) 1.6rem 3.4rem !important;
}

/* disattiva qualsiasi layer che sembrava una card */
.hero.hero--full::before,
.hero.neon-bg::before {
  content: none !important;
  display: none !important;
}

/* Effetto particellare soft dietro al testo, NON a riquadro */
.hero.hero--full::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 15% 10%, rgba(56,189,248,0.15), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(129,140,248,0.18), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
  animation: heroParticles 18s ease-in-out infinite alternate;
}

@keyframes heroParticles {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -12px, 0);
  }
}

/* assicura che il contenuto resti sopra all'effetto */
.hero-content {
  position: relative;
  z-index: 1;
}

/* --- Mobile: tutto centrato e bottone non tagliato --- */
@media (max-width: 768px) {

  .hero.hero--full.neon-bg {
    text-align: center;
  }

  .hero.hero--full.neon-bg .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    margin-top: 1.8rem !important;
    display: flex;
    justify-content: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 100%;
    display: inline-flex;
    justify-content: center;
  }
}
/* ============================================================
   HERO V3 · STILE SPACERS (TIPOLOGIA + 3D)
   ============================================================ */

.hero-v3 {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  padding: 5.5rem 1.8rem 4.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* sfondo globale: usa solo i gradient del body, niente "card" */
.hero-v3-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 5% 0%, rgba(56,189,248,0.25), transparent 55%),
    radial-gradient(circle at 95% 100%, rgba(129,140,248,0.25), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: heroV3Glow 22s ease-in-out infinite alternate;
  z-index: -2;
}

.hero-v3-inner {
  position: relative;
  max-width: 1120px;
  width: 100%;
  z-index: 1;
}

/* parola gigante dietro (tipo SPACERS) */
.hero-v3-backword {
  position: absolute;
  inset: auto 0;
  top: 12%;
  text-align: center;
  font-size: clamp(4.5rem, 11vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.9);
  text-shadow:
    0 0 40px rgba(15,23,42,1),
    0 0 80px rgba(15,23,42,1);
  pointer-events: none;
  z-index: -1;
}

/* layout 2 colonne */
.hero-v3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2.5rem;
}

/* colonna testo */
.hero-v3-copy {
  position: relative;
}

/* riga kicker */
.hero-v3-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15,23,42,0.9), rgba(15,23,42,0.7));
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: 0 0 20px rgba(15,23,42,0.9);
}

.hero-v3-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.95);
}

/* titolo principale */
.hero-v3-title {
  margin: 0 0 1.2rem;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f9fafb;
}

.hero-v3-gradient {
  display: inline-block;
  background: linear-gradient(120deg, #38bdf8, #818cf8, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 22px rgba(56,189,248,0.7),
    0 0 40px rgba(15,23,42,1);
}

/* testi */
.hero-v3-lead {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(226,232,240,0.9);
  max-width: 32rem;
  margin-bottom: 0.75rem;
}

.hero-v3-lead-sub {
  font-size: 0.9rem;
  color: rgba(148,163,184,0.98);
}

/* CTA hero */
.hero-v3-actions {
  margin: 2.1rem 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-hero-v3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  background: linear-gradient(120deg, #0ea5e9, #38bdf8, #6366f1);
  color: #020617;
  text-decoration: none;
  box-shadow:
    0 0 24px rgba(56,189,248,0.85),
    0 22px 60px rgba(30,64,175,0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-hero-v3:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 30px rgba(56,189,248,1),
    0 26px 70px rgba(30,64,175,0.9);
}

/* chip sotto la CTA */
.hero-v3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* colonna figura 3D */
.hero-v3-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-v3-figure img {
  max-width: 100%;
  height: auto;
  transform-origin: center;
  filter:
    drop-shadow(0 24px 50px rgba(15,23,42,0.95))
    drop-shadow(0 0 40px rgba(56,189,248,0.55));
  animation: heroV3Float 8s ease-in-out infinite;
}

/* indicatore scroll */
.hero-v3-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.85);
}

.hero-v3-scroll-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-v3-scroll-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148,163,184,0.9);
  animation: heroV3Scroll 1.6s ease-in-out infinite;
}

/* ===== animazioni soft ===== */

@keyframes heroV3Glow {
  0%   { transform: translate3d(0,0,0); }
  50%  { transform: translate3d(-1.5%, 1.5%, 0); }
  100% { transform: translate3d(1.5%,-1.5%, 0); }
}

@keyframes heroV3Float {
  0%   { transform: translate3d(0, 0, 0) rotate3d(0,1,0,0deg); }
  50%  { transform: translate3d(0, -10px, 0) rotate3d(0,1,0,3deg); }
  100% { transform: translate3d(0, 0, 0) rotate3d(0,1,0,-2deg); }
}

@keyframes heroV3Scroll {
  0%   { transform: translateY(-3px); opacity: 0.2; }
  50%  { transform: translateY(3px);  opacity: 1;   }
  100% { transform: translateY(-3px); opacity: 0.2; }
}

/* ===== responsive ===== */

@media (max-width: 900px) {

  .hero-v3 {
    min-height: auto;
    padding: 4.4rem 1.4rem 3.4rem;
  }

  .hero-v3-backword {
    font-size: 3rem;
    top: 16%;
    opacity: 0.35;
  }

  .hero-v3-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    text-align: center;
  }

  .hero-v3-copy {
    align-items: center;
  }

  .hero-v3-kicker-row {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-v3-lead,
  .hero-v3-lead-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-v3-actions {
    justify-content: center;
  }

  .btn-hero-v3 {
    width: 100%;
  }

  .hero-v3-chips {
    justify-content: center;
  }

  .hero-v3-figure {
    max-width: 360px;
    margin: 0 auto;
  }
}
