/* ==========================================================================
   homepage3.css
   Stili SPERIMENTALI per la /homepage3
   Identità visiva completamente separata da style-v12.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --hp3-bg:           #07080f;
  --hp3-bg-2:         #0c0f1a;
  --hp3-bg-3:         #11162a;
  --hp3-gold:         #d4af37;
  --hp3-gold-bright:  #f5d76e;
  --hp3-cyan:         #00d4ff;
  --hp3-cyan-soft:    #5ce1ff;
  --hp3-eyebrow-color:#38bdf8;
  --hp3-kicker-color: #60a5fa;
  --hp3-text:         #e8eaed;
  --hp3-text-dim:     #9aa0b4;
  --hp3-text-mute:    #5a607a;
  --hp3-border:       rgba(255, 255, 255, 0.08);
  --hp3-border-bright:rgba(255, 255, 255, 0.18);
  --hp3-glow-gold:    0 0 40px rgba(212, 175, 55, 0.25);
  --hp3-glow-cyan:    0 0 60px rgba(0, 212, 255, 0.18);

  --hp3-radius:       14px;
  --hp3-radius-lg:    22px;

  --hp3-font:         'Lato', system-ui, -apple-system, sans-serif;
  --hp3-font-display: 'Poppins', 'Lato', system-ui, sans-serif;

  --hp3-easing:       cubic-bezier(0.22, 1, 0.36, 1);
  --hp3-easing-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset di base + root container
   -------------------------------------------------------------------------- */
.hp3-root,
.hp3-root * {
  box-sizing: border-box;
}

.hp3-root {
  position: relative;
  min-height: 100vh;
  background: var(--hp3-bg);
  color: var(--hp3-text);
  font-family: var(--hp3-font);
  overflow-x: hidden;
  isolation: isolate;
  /* scroll-snap a livello root per scroll "magnetico" */
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

/* canvas particle network - fisso a tutto schermo, sotto tutto */
#hp3-particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  display: block;
  pointer-events: none;
  background: transparent;
  /* leggera tinta cyan per integrare col tema */
  filter: drop-shadow(0 0 1px rgba(0, 212, 255, 0.15));
}

/* gradient + aurora di sfondo.
   Deve stare SOTTO il canvas particles, altrimenti il network reattivo
   al mouse perde contrasto o viene coperto visivamente. */
.hp3-bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 68% at 18% 6%,  rgba(0, 212, 255, 0.18), transparent 58%),
    radial-gradient(ellipse 82% 56% at 82% 94%, rgba(212, 175, 55, 0.16), transparent 56%),
    radial-gradient(ellipse 70% 48% at 50% 50%, rgba(17, 22, 42, 0.62),  transparent 72%),
    linear-gradient(180deg, var(--hp3-bg) 0%, var(--hp3-bg-2) 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%, 100% 100%;
  animation: hp3-aurora-drift 22s ease-in-out infinite alternate;
  opacity: 0.98;
}

.hp3-bg-gradient::before,
.hp3-bg-gradient::after {
  content: '';
  position: absolute;
  inset: -12%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.hp3-bg-gradient::before {
  background:
    radial-gradient(circle at 22% 28%, rgba(0, 212, 255, 0.26), transparent 24%),
    radial-gradient(circle at 78% 68%, rgba(212, 175, 55, 0.22), transparent 22%);
  filter: blur(26px);
  animation: hp3-aurora-float 18s ease-in-out infinite alternate;
}

.hp3-bg-gradient::after {
  background:
    radial-gradient(circle at 70% 18%, rgba(0, 212, 255, 0.18), transparent 18%),
    radial-gradient(circle at 28% 78%, rgba(212, 175, 55, 0.16), transparent 22%);
  filter: blur(30px);
  animation: hp3-aurora-float-2 26s ease-in-out infinite alternate;
}

@keyframes hp3-aurora-drift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    filter: saturate(1) brightness(1);
  }
  50% {
    transform: scale(1.06) translate3d(1.5%, -1%, 0);
    filter: saturate(1.08) brightness(1.04);
  }
  100% {
    transform: scale(1.03) translate3d(-1%, 1.5%, 0);
    filter: saturate(1.03) brightness(0.98);
  }
}

@keyframes hp3-aurora-float {
  0%   { transform: translate3d(-2%, 0%, 0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.08); }
}

@keyframes hp3-aurora-float-2 {
  0%   { transform: translate3d(1%, 1%, 0) scale(1); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.06); }
}

/* --------------------------------------------------------------------------
   3. Header differenziato (riusa _header.erb ma con stili suoi)
   -------------------------------------------------------------------------- */
.hp3-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 28px;
  background: linear-gradient(180deg, rgba(7, 8, 15, 0.85) 0%, rgba(7, 8, 15, 0) 100%);
  border: 0;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    padding 0.32s var(--hp3-easing),
    background 0.32s var(--hp3-easing),
    box-shadow 0.32s var(--hp3-easing),
    backdrop-filter 0.32s var(--hp3-easing);
}

.hp3-header.is-compact {
  padding: 8px 28px;
  background: rgba(7, 8, 15, 0.92);
  border: 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hp3-header .gold       { color: var(--hp3-gold); }
.hp3-header .text,
.hp3-header .textb      { color: var(--hp3-text); }
.hp3-header .cursor,
.hp3-header .cursorb    {
  color: var(--hp3-gold);
  animation: hp3-blink 1.05s steps(1) infinite;
}
.hp3-header .header-container {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}
.hp3-header .logo {
  font-family: var(--hp3-font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: font-size 0.25s var(--hp3-easing);
}
.hp3-header .spacer { flex: 1; }
.hp3-header .header-controls { display: flex; align-items: center; gap: 14px; }
.hp3-header .webmail-btn {
  color: var(--hp3-gold);
  background: transparent;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--hp3-gold);
  border-radius: 999px;
  transition: all 0.25s var(--hp3-easing);
}
.hp3-header .webmail-btn:hover {
  background: var(--hp3-gold);
  color: #0a0a14;
  border-color: var(--hp3-gold);
  box-shadow: var(--hp3-glow-gold);
  transform: translateY(-1px);
}
.hp3-header .hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hp3-border-bright);
  border-radius: 50%;
  cursor: pointer;
  color: var(--hp3-text);
  transition: all 0.25s var(--hp3-easing);
}
.hp3-header .hamburger:hover {
  border-color: var(--hp3-cyan);
  color: var(--hp3-cyan);
  transform: rotate(90deg);
}

/* menu hamburger mobile (override scuri) - stesso meccanismo
   dell'originale in style-v12.css: right -100% → right 0,
   per allinearsi allo script-v12.js che gestisce gia' il toggle. */
.hp3-header .hamburger-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 280px;
  background: rgba(7, 8, 15, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 1px solid var(--hp3-gold);
  padding: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: right 0.4s var(--hp3-easing);
}
.hp3-header .hamburger-menu.open { right: 0; }
.hp3-header .hamburger-menu ul { list-style: none; padding: 0; margin: 30px 0 0; }
.hp3-header .hamburger-menu li { margin: 18px 0; }
.hp3-header .hamburger-menu a {
  color: var(--hp3-text);
  text-decoration: none;
  font-family: var(--hp3-font-display);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.hp3-header .hamburger-menu a:hover { color: var(--hp3-gold); }

/* --------------------------------------------------------------------------
   4. Main e sezioni scroll-snap
   -------------------------------------------------------------------------- */
.hp3-main {
  position: relative;
  z-index: 2;
}

.hp3-snap {
  min-height: 100vh;
  min-height: 100svh;
  padding: 110px 28px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}

/* --------------------------------------------------------------------------
   5. Tipografia base
   -------------------------------------------------------------------------- */
.hp3-gold    { color: var(--hp3-gold); }
.hp3-white   { color: var(--hp3-text); }
.hp3-cyan    {
  color: var(--hp3-cyan);
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}
.hp3-cursor  {
  color: var(--hp3-gold);
  animation: hp3-blink 1.05s steps(1) infinite;
  font-weight: 700;
}

@keyframes hp3-blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hp3-hero {
  text-align: left;
}

.hp3-hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hp3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--hp3-border-bright);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp3-eyebrow-color);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  text-shadow: 0 0 18px color-mix(in srgb, var(--hp3-eyebrow-color) 58%, transparent);
}
.hp3-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hp3-cyan);
  box-shadow: 0 0 12px var(--hp3-cyan);
  animation: hp3-pulse 1.8s ease-in-out infinite;
}
@keyframes hp3-pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

.hp3-title {
  font-family: var(--hp3-font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 6.2vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--hp3-text);
  transition: opacity 0.42s var(--hp3-easing-out), transform 0.42s var(--hp3-easing-out), filter 0.42s var(--hp3-easing-out);
}
.hp3-title-line {
  display: block;
  overflow: visible;
  padding-bottom: 0.04em;
}
.hp3-title-line:nth-child(2) {
  /* seconda riga leggermente più grande */
  font-size: 1.08em;
}

.hp3-lead {
  font-size: clamp(1.14rem, 1.85vw, 1.45rem);
  line-height: 1.6;
  color: var(--hp3-text-dim);
  max-width: 760px;
  margin: 0 0 38px;
}

.hp3-lead-copy {
  display: inline-block;
  transition:
    opacity 0.68s var(--hp3-easing-out),
    transform 0.68s var(--hp3-easing-out),
    filter 0.68s var(--hp3-easing-out);
  transition-delay: 80ms;
  will-change: opacity, transform, filter;
}

.hp3-hero-copy-switching .hp3-title {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  filter: blur(6px);
}

.hp3-hero-copy-switching .hp3-lead-copy {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(8px);
  transition-delay: 0ms;
}

.hp3-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

/* Hero intro deterministica: indipendente da IntersectionObserver e dal reveal generico. */
.hp3-root.hp3-booting .hp3-hero-reveal {
  opacity: 0;
  transform: translate3d(0, 52px, 0);
  filter: blur(10px);
}

.hp3-root.hp3-hero-on .hp3-hero-reveal {
  opacity: 0;
  animation: hp3-hero-enter 1.05s var(--hp3-easing-out) forwards;
}

.hp3-root.hp3-hero-on .hp3-hero-reveal-eyebrow { animation-delay: 0.08s; }
.hp3-root.hp3-hero-on .hp3-hero-reveal-title-1 { animation-delay: 0.30s; }
.hp3-root.hp3-hero-on .hp3-hero-reveal-title-2 { animation-delay: 0.40s; }
.hp3-root.hp3-hero-on .hp3-hero-reveal-title-3 { animation-delay: 0.50s; }
.hp3-root.hp3-hero-on .hp3-hero-reveal-lead { animation-delay: 0.76s; }
.hp3-root.hp3-hero-on .hp3-hero-reveal-cta { animation-delay: 1.02s; }

@keyframes hp3-hero-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 52px, 0);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.hp3-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hp3-text-mute);
}
.hp3-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--hp3-cyan) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hp3-scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--hp3-cyan);
  animation: hp3-scroll-down 1.8s ease-in-out infinite;
}
@keyframes hp3-scroll-down {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* --------------------------------------------------------------------------
   7. Bottoni
   -------------------------------------------------------------------------- */
.hp3-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--hp3-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--hp3-easing);
  position: relative;
  overflow: hidden;
}

.hp3-btn-primary {
  background: linear-gradient(135deg, var(--hp3-gold) 0%, var(--hp3-gold-bright) 100%);
  color: #0a0a14;
  box-shadow: var(--hp3-glow-gold);
}
.hp3-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.45);
}
.hp3-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.hp3-btn-primary:hover::after { transform: translateX(100%); }

.hp3-btn-ghost {
  background: transparent;
  color: var(--hp3-text);
  border-color: var(--hp3-border-bright);
}
.hp3-btn-ghost:hover {
  border-color: var(--hp3-cyan);
  color: var(--hp3-cyan);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-2px);
}

.hp3-btn-xl {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   8. Sezioni standard (kicker, title)
   -------------------------------------------------------------------------- */
.hp3-section {
  flex-direction: column;
  justify-content: center;
}

.hp3-section-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hp3-section-head {
  margin-bottom: 60px;
  max-width: 720px;
}
.hp3-section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hp3-section-kicker {
  display: inline-block;
  font-family: var(--hp3-font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hp3-kicker-color);
  margin-bottom: 18px;
  text-shadow: 0 0 18px color-mix(in srgb, var(--hp3-kicker-color) 52%, transparent);
}

.hp3-section-title {
  font-family: var(--hp3-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--hp3-text);
  will-change: transform;
  --hp3-parallax-y: 0px;
}

/* --------------------------------------------------------------------------
   8b. Navigation dots laterali
   -------------------------------------------------------------------------- */
.hp3-nav-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp3-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.25s var(--hp3-easing), border-color 0.25s var(--hp3-easing), background 0.25s var(--hp3-easing), box-shadow 0.25s var(--hp3-easing);
}

.hp3-nav-dot:hover {
  transform: scale(1.18);
  border-color: var(--hp3-cyan);
  background: rgba(0, 212, 255, 0.24);
}

.hp3-nav-dot.is-active {
  transform: scale(1.22);
  border-color: var(--hp3-gold-bright);
  background: radial-gradient(circle at 35% 35%, var(--hp3-gold-bright) 0%, var(--hp3-gold) 65%, rgba(212, 175, 55, 0.4) 100%);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.10), 0 0 20px rgba(0, 212, 255, 0.18);
}

.hp3-nav-dot:focus-visible {
  outline: 2px solid var(--hp3-cyan);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   9. Cards soluzioni
   -------------------------------------------------------------------------- */
.hp3-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.hp3-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--hp3-border);
  border-radius: var(--hp3-radius-lg);
  padding: 32px 28px;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--hp3-easing), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  cursor: default;
  will-change: transform;
}
.hp3-card:hover {
  border-color: var(--hp3-border-bright);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6),
              var(--hp3-glow-cyan);
}
.hp3-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(0, 212, 255, 0.15) 100%);
  border: 1px solid var(--hp3-border-bright);
  margin-bottom: 22px;
  font-size: 1.5rem;
  color: var(--hp3-gold-bright);
  transform: translateZ(40px);
}
.hp3-card:hover .hp3-card-icon {
  color: var(--hp3-cyan);
  border-color: var(--hp3-cyan);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.4);
}
.hp3-card-title {
  font-family: var(--hp3-font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: var(--hp3-text);
  transform: translateZ(30px);
}
.hp3-card-body {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--hp3-text-dim);
  margin: 0;
  transform: translateZ(20px);
}
.hp3-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(0, 212, 255, 0.15) 50%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.hp3-card:hover .hp3-card-glow { opacity: 1; }

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.hp3-stats-section {
  background: linear-gradient(180deg, transparent 0%, rgba(17, 22, 42, 0.4) 50%, transparent 100%);
}

.hp3-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 20px;
}

.hp3-stat {
  text-align: center;
  padding: 20px;
  position: relative;
}
.hp3-stat-number {
  font-family: var(--hp3-font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--hp3-gold-bright) 0%, var(--hp3-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}
.hp3-stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp3-text-dim);
}
.hp3-stat-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hp3-cyan), transparent);
  margin: 18px auto 0;
}

/* --------------------------------------------------------------------------
   11. Why yonix_ (split layout)
   -------------------------------------------------------------------------- */
.hp3-why-section {
  align-items: center;
}
.hp3-why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hp3-why-text .hp3-section-title { margin-bottom: 28px; }
.hp3-why-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--hp3-text-dim);
  margin: 0 0 18px;
}
.hp3-why-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.hp3-why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--hp3-text);
  border-bottom: 1px solid var(--hp3-border);
}
.hp3-why-list li:last-child { border-bottom: 0; }
.hp3-why-list li i {
  color: var(--hp3-cyan);
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
}

/* Orb visual */
.hp3-why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hp3-orb {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp3-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--hp3-border-bright);
}
.hp3-orb-ring-1 {
  width: 100%; height: 100%;
  border-color: rgba(0, 212, 255, 0.35);
  animation: hp3-spin 22s linear infinite;
}
.hp3-orb-ring-1::before,
.hp3-orb-ring-1::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--hp3-cyan);
  box-shadow: 0 0 10px var(--hp3-cyan);
}
.hp3-orb-ring-1::before { top: -4px;    left: 50%;  width: 8px; height: 8px; transform: translateX(-50%); }
.hp3-orb-ring-1::after  { bottom: -4px; left: 50%;  width: 8px; height: 8px; transform: translateX(-50%); }

.hp3-orb-ring-2 {
  width: 75%; height: 75%;
  border-color: rgba(212, 175, 55, 0.45);
  border-style: dashed;
  animation: hp3-spin 14s linear infinite reverse;
}

.hp3-orb-ring-3 {
  width: 50%; height: 50%;
  border-color: rgba(0, 212, 255, 0.55);
  animation: hp3-spin 8s linear infinite;
}
.hp3-orb-ring-3::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -4px;
  width: 10px;
  height: 10px;
  background: var(--hp3-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--hp3-gold);
  transform: translateY(-50%);
}

.hp3-orb-core {
  font-family: var(--hp3-font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.02em;
  z-index: 2;
  background: rgba(7, 8, 15, 0.85);
  border: 1px solid var(--hp3-border-bright);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.2),
              inset 0 0 30px rgba(0, 212, 255, 0.1);
}

@keyframes hp3-spin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   12. CTA finale
   -------------------------------------------------------------------------- */
.hp3-cta-section {
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 212, 255, 0.10) 0%, transparent 70%);
}
.hp3-cta-inner {
  max-width: 900px;
  margin: 0 auto;
}
.hp3-cta-title {
  font-family: var(--hp3-font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.05;
  margin: 0 0 26px;
  color: var(--hp3-text);
}
.hp3-cta-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--hp3-text-dim);
  margin: 0 0 42px;
}
.hp3-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 50px;
}
.hp3-cta-foot {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--hp3-text-dim);
}
.hp3-cta-foot span i { color: var(--hp3-cyan); margin-right: 8px; }

/* --------------------------------------------------------------------------
   13. Footer (override scuri sul partial esistente)
   -------------------------------------------------------------------------- */
.hp3-footer {
  position: relative;
  z-index: 2;
  min-height: 78vh;
  min-height: 78svh;
  padding: 96px 28px 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: center;
  background:
    radial-gradient(ellipse 66% 46% at 50% 18%, rgba(0, 212, 255, 0.10), transparent 68%),
    radial-gradient(ellipse 50% 38% at 50% 82%, rgba(212, 175, 55, 0.08), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.52) 100%);
  border-top: 0;
}

.hp3-footer::before {
  content: none;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 78vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.65), rgba(212, 175, 55, 0.65), transparent);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25), 0 0 42px rgba(212, 175, 55, 0.18);
}

.hp3-footer::after {
  content: '';
  position: absolute;
  inset: 14% 12%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.035), transparent 62%);
  filter: blur(18px);
}

.hp3-footer-inner {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hp3-footer a { color: var(--hp3-text-dim); }
.hp3-footer a:hover { color: var(--hp3-gold); }
.hp3-footer,
.hp3-footer * {
  color: var(--hp3-text-dim);
}

.hp3-footer .footer-logo,
.hp3-footer .footer-icons,
.hp3-footer .footer-info,
.hp3-footer .footer-madein {
  width: 100%;
  margin: 0;
  text-align: center;
}

.hp3-footer .footer-logo h2 {
  margin: 0;
  font-family: var(--hp3-font-display);
  font-size: clamp(1.55rem, 3.1vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: var(--hp3-text);
}
.hp3-footer .footer-logo-link {
  text-decoration: none;
}
.hp3-footer .footer-logo-link:hover .gold,
.hp3-footer .footer-logo-link:hover .cursor {
  color: var(--hp3-gold-bright);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.42);
}

.hp3-footer .hp3-footer-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.45em, 0);
  filter: blur(8px);
  transition:
    opacity 0.72s var(--hp3-easing-out),
    transform 0.72s var(--hp3-easing-out),
    filter 0.72s var(--hp3-easing-out);
  transition-delay: calc(120ms + var(--hp3-char-delay, 0ms));
  will-change: opacity, transform, filter;
}

.hp3-footer.hp3-footer-in .hp3-footer-char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.hp3-footer .footer-logo .gold,
.hp3-footer .footer-logo .cursor {
  color: var(--hp3-gold);
}

.hp3-footer .footer-logo .text {
  color: var(--hp3-text);
}

.hp3-footer .footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(22px, 3vw, 36px);
  margin-top: 8px;
}

.hp3-footer .footer-icons a {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--hp3-gold-bright);
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
  text-decoration: none;
  transition: transform 0.28s var(--hp3-easing), border-color 0.28s var(--hp3-easing), color 0.28s var(--hp3-easing), box-shadow 0.28s var(--hp3-easing), background 0.28s var(--hp3-easing);
}

.hp3-footer .footer-icons a:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: transparent;
  background: transparent;
  color: var(--hp3-gold-bright);
  box-shadow: none;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.42);
}

.hp3-footer .footer-info {
  display: grid;
  gap: 5px;
  max-width: 680px;
}

.hp3-footer .footer-info p,
.hp3-footer .footer-madein p {
  margin: 0;
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.hp3-footer .footer-madein {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hp3-footer .footer-madein img {
  display: block;
  width: min(132px, 42vw);
  height: auto;
  opacity: 0.78;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.08));
}

.hp3-root.hp3-ready .hp3-footer.hp3-footer-prepared .hp3-footer-seq {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.985);
  filter: blur(12px);
  transition:
    opacity 0.58s var(--hp3-easing-out),
    transform 0.58s var(--hp3-easing-out),
    filter 0.58s var(--hp3-easing-out);
  transition-delay: 0ms;
  will-change: opacity, transform, filter;
}

.hp3-root.hp3-ready .hp3-footer.hp3-footer-in .hp3-footer-seq.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* --------------------------------------------------------------------------
  14. Reveal on scroll (animato da JS aggiungendo .hp3-revealed)
  Default: contenuto VISIBILE. Solo dopo che JS aggiunge .hp3-ready
  al root gli elementi si nascondono per poi fare il reveal animato.
  In questo modo, se il JS non parte, il contenuto resta visibile.
  -------------------------------------------------------------------------- */
.hp3-reveal {
  /* default: visibile */
}
.hp3-root.hp3-ready .hp3-reveal {
  opacity: 0;
  transform: translate3d(0, calc(42px + var(--hp3-parallax-y, 0px)), 0);
  transition: opacity 1.05s var(--hp3-easing-out), transform 1.05s var(--hp3-easing-out);
  will-change: opacity, transform;
}
.hp3-root.hp3-ready .hp3-reveal.hp3-revealed {
  opacity: 1;
  transform: translate3d(0, var(--hp3-parallax-y, 0px), 0);
}

/* Le card tiltate non devono ereditare il transform del reveal,
   altrimenti il transform inline del mousemove si scontra con quello del reveal. */
.hp3-root.hp3-ready .hp3-card.hp3-reveal {
  transform: translateY(42px);
}

.hp3-root.hp3-ready .hp3-card.hp3-reveal.hp3-revealed {
  transform: translateY(0);
}
/* Stagger delays per le card (applicati solo quando hp3-ready è attivo) */
.hp3-root.hp3-ready .hp3-cards .hp3-card.hp3-reveal:nth-child(1) { transition-delay: 0.05s; }
.hp3-root.hp3-ready .hp3-cards .hp3-card.hp3-reveal:nth-child(2) { transition-delay: 0.12s; }
.hp3-root.hp3-ready .hp3-cards .hp3-card.hp3-reveal:nth-child(3) { transition-delay: 0.19s; }
.hp3-root.hp3-ready .hp3-cards .hp3-card.hp3-reveal:nth-child(4) { transition-delay: 0.26s; }
.hp3-root.hp3-ready .hp3-cards .hp3-card.hp3-reveal:nth-child(5) { transition-delay: 0.33s; }
.hp3-root.hp3-ready .hp3-cards .hp3-card.hp3-reveal:nth-child(6) { transition-delay: 0.40s; }
.hp3-root.hp3-ready .hp3-stats  .hp3-stat.hp3-reveal:nth-child(1)  { transition-delay: 0.05s; }
.hp3-root.hp3-ready .hp3-stats  .hp3-stat.hp3-reveal:nth-child(2)  { transition-delay: 0.15s; }
.hp3-root.hp3-ready .hp3-stats  .hp3-stat.hp3-reveal:nth-child(3)  { transition-delay: 0.25s; }
.hp3-root.hp3-ready .hp3-stats  .hp3-stat.hp3-reveal:nth-child(4)  { transition-delay: 0.35s; }

/* --------------------------------------------------------------------------
   15. Rispetto prefers-reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hp3-snap                              { scroll-snap-type: none; }
  .hp3-root.hp3-ready .hp3-reveal        { opacity: 1; transform: none; transition: none; }
  .hp3-root.hp3-ready .hp3-footer .hp3-footer-seq,
  .hp3-footer .hp3-footer-char           { opacity: 1; transform: none; filter: none; transition: none; }
  .hp3-root.hp3-booting .hp3-hero-reveal,
  .hp3-root.hp3-hero-on .hp3-hero-reveal { opacity: 1; transform: none; filter: none; animation: none; }
  .hp3-orb-ring-1,
  .hp3-orb-ring-2,
  .hp3-orb-ring-3                        { animation: none; }
  .hp3-cursor                            { animation: none; }
  .hp3-dot                               { animation: none; }
  .hp3-bg-gradient,
  .hp3-bg-gradient::before,
  .hp3-bg-gradient::after                { animation: none; }
  .hp3-section-title                     { will-change: auto; }
  .hp3-scroll-line::after                { animation: none; }
}

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hp3-why-grid { gap: 50px; }
  .hp3-orb      { width: 280px; height: 280px; }
  .hp3-orb-core { width: 140px; height: 140px; font-size: 1.7rem; }
}

@media (min-width: 769px) {
  .hp3-header .logo { font-size: 1.68rem; }
}

@media (min-width: 1200px) {
  .hp3-header .logo { font-size: 2.02rem; }
}

@media (max-width: 768px) {
  .hp3-snap     { padding: 90px 20px 50px; }
  .hp3-footer   { min-height: auto; padding: 86px 20px 48px; }
  .hp3-footer-inner { padding: 22px 0; border-radius: 0; gap: 16px; }
  .hp3-footer .footer-logo h2 { font-size: clamp(1.18rem, 5vw, 1.7rem); }
  .hp3-header   { padding: 12px 18px; }
  .hp3-header.is-compact { padding: 8px 18px; }
  .hp3-hero-cta { flex-direction: column; align-items: flex-start; }
  .hp3-btn      { width: 100%; justify-content: center; }
  .hp3-why-grid { grid-template-columns: 1fr; gap: 40px; }
  .hp3-why-visual { min-height: 300px; }
  .hp3-orb      { width: 240px; height: 240px; }
  .hp3-orb-core { width: 120px; height: 120px; font-size: 1.4rem; }
  .hp3-cards    { grid-template-columns: 1fr; gap: 16px; }
  .hp3-stats    { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hp3-cta-foot { flex-direction: column; gap: 12px; }
  .hp3-nav-dots { right: 14px; gap: 10px; }
}

@media (max-width: 480px) {
  .hp3-stats    { grid-template-columns: 1fr; }
  .hp3-eyebrow  { font-size: 0.7rem; letter-spacing: 0.14em; }
  .hp3-nav-dots { display: none; }
}
