/* =====================================================
   MIRC2PIXEL - LANDING PAGE IMPACT
   Dominio demo / anteprime clienti
===================================================== */

:root {
  --m2p-black: #121212;
  --m2p-dark: #07111f;
  --m2p-white: #ffffff;
  --m2p-soft: #f5f8ff;
  --m2p-text: #4d5567;
  --m2p-muted: #8b92a3;

  --m2p-blue: #118df0;
  --m2p-blue-dark: #0068d9;
  --m2p-cyan: #13b9eb;
  --m2p-purple: #8056e8;
  --m2p-magenta: #c33bd6;
  --m2p-orange: #ff9826;
  --m2p-yellow: #ffba16;
  --m2p-green: #34d399;

  --m2p-radius: 34px;
  --m2p-border: rgba(17, 141, 240, 0.16);
  --m2p-shadow: 0 30px 90px rgba(17, 141, 240, 0.18);
}

/* =====================================================
   RESET BASE
===================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fbff;
  color: var(--m2p-black);
}

a {
  color: inherit;
}

/* =====================================================
   PAGE BACKGROUND
===================================================== */

.m2p-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 26px 22px 46px;
  background:
    radial-gradient(circle at 15% 10%, rgba(19, 185, 235, 0.22), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(128, 86, 232, 0.20), transparent 30%),
    radial-gradient(circle at 78% 85%, rgba(255, 152, 38, 0.16), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 48%, #eef5ff 100%);
}

.m2p-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 141, 240, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 141, 240, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 76%);
}

/* =====================================================
   ORBS / DECORAZIONI SFONDO
===================================================== */

.m2p-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.45;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-blue {
  width: 320px;
  height: 320px;
  top: 12%;
  left: -120px;
  background: rgba(17, 141, 240, 0.28);
}

.orb-purple {
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: 12%;
  background: rgba(128, 86, 232, 0.22);
  animation-delay: -3s;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-24px) scale(1.04);
  }
}

/* =====================================================
   HEADER
===================================================== */

.m2p-header {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 32px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m2p-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.m2p-logo {
  width: 210px;
  max-width: 52vw;
  height: auto;
  display: block;
}

.m2p-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #111111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
  transition: transform 0.22s ease, background 0.22s ease;
}

.m2p-header-link::before {
  content: ">_";
  color: var(--m2p-blue);
  margin-right: 8px;
  font-family: "Courier New", Courier, monospace;
}

.m2p-header-link:hover {
  transform: translateY(-2px);
  background: #000000;
}

/* =====================================================
   HERO
===================================================== */

.m2p-hero {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

/* =====================================================
   CONSOLE
===================================================== */

.m2p-console {
  max-width: 720px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(8, 13, 22, 0.96);
  color: #dce9ff;
  box-shadow:
    0 28px 80px rgba(8, 13, 22, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  text-align: left;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}

.console-top span:nth-child(1) {
  background: var(--m2p-orange);
}

.console-top span:nth-child(2) {
  background: var(--m2p-yellow);
}

.console-top span:nth-child(3) {
  background: var(--m2p-green);
}

.console-top strong {
  margin-left: 8px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #ffffff;
}

.console-body {
  padding: 18px 22px 20px;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  line-height: 1.6;
}

.console-body p {
  margin: 3px 0;
}

.console-body p::before {
  content: "> ";
  color: var(--m2p-blue);
}

.green {
  color: var(--m2p-green);
}

.blue {
  color: var(--m2p-cyan);
}

.purple {
  color: #b898ff;
}

/* =====================================================
   KICKER
===================================================== */

.m2p-kicker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 24px;
}

.m2p-kicker span {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 141, 240, 0.16);
  color: #162033;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  box-shadow: 0 12px 28px rgba(18, 53, 90, 0.06);
}

.m2p-kicker span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 3px;
}

.m2p-kicker span:nth-child(1)::before {
  background: var(--m2p-blue);
}

.m2p-kicker span:nth-child(2)::before {
  background: var(--m2p-purple);
}

.m2p-kicker span:nth-child(3)::before {
  background: var(--m2p-orange);
}

/* =====================================================
   TITOLI HERO
===================================================== */

.m2p-hero h1 {
  max-width: 1060px;
  margin: 0 auto;
  color: #10131b;
  font-size: clamp(48px, 8vw, 98px);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: -0.075em;
}

.m2p-hero h1 span {
  color: var(--m2p-blue-dark);
  position: relative;
  display: inline-block;
}

.m2p-hero h1 span::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 5px;
  height: 16px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(17, 141, 240, 0.22),
    rgba(195, 59, 214, 0.20),
    rgba(255, 152, 38, 0.18)
  );
}

.m2p-lead {
  max-width: 820px;
  margin: 28px auto 0;
  color: var(--m2p-text);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.58;
  font-weight: 600;
}

/* =====================================================
   IMPACT BAR
===================================================== */

.m2p-impact {
  max-width: 940px;
  margin: 34px auto 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.m2p-impact div {
  padding: 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 141, 240, 0.16);
  box-shadow: 0 18px 46px rgba(16, 40, 80, 0.08);
}

.m2p-impact strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 18px;
}

.m2p-impact small {
  display: block;
  color: #687185;
  font-size: 14px;
  line-height: 1.4;
}

/* =====================================================
   CARD CENTRALE
===================================================== */

.m2p-card {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 48px 44px 50px;
  border-radius: var(--m2p-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at top right, rgba(17, 141, 240, 0.12), transparent 32%);
  border: 1px solid rgba(17, 141, 240, 0.18);
  box-shadow: var(--m2p-shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.m2p-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background:
    linear-gradient(90deg, rgba(17, 141, 240, 0.25) 18px, transparent 18px),
    linear-gradient(rgba(128, 86, 232, 0.18) 18px, transparent 18px);
  background-size: 36px 36px;
  transform: rotate(12deg);
  opacity: 0.7;
}

.m2p-card::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 34px;
  bottom: 34px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--m2p-blue), var(--m2p-purple), var(--m2p-orange));
}

.m2p-card-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 10px 17px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
}

.m2p-card-label span {
  color: var(--m2p-blue);
  margin-right: 8px;
}

.m2p-card h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 22px;
  color: #111827;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.m2p-card p {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 16px auto;
  color: #4f586d;
  font-size: 18px;
  line-height: 1.72;
}

.m2p-claim {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 30px auto 28px;
  padding: 23px 24px;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--m2p-blue-dark), var(--m2p-blue) 52%, var(--m2p-purple));
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.035em;
  box-shadow: 0 18px 42px rgba(17, 141, 240, 0.27);
}

/* =====================================================
   BOTTONI
===================================================== */

.m2p-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.m2p-button,
.m2p-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 18px 26px;
  border-radius: 17px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.m2p-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--m2p-blue), var(--m2p-blue-dark));
  box-shadow: 0 18px 38px rgba(17, 141, 240, 0.34);
}

.m2p-button::before {
  content: ">";
  margin-right: 10px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
}

.m2p-button-secondary {
  color: #111827;
  background: #ffffff;
  border: 1px solid rgba(17, 141, 240, 0.20);
  box-shadow: 0 14px 32px rgba(16, 40, 80, 0.08);
}

.m2p-button:hover,
.m2p-button-secondary:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
}

/* =====================================================
   SERVIZI
===================================================== */

.m2p-services {
  max-width: 1020px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.m2p-service {
  position: relative;
  min-height: 280px;
  padding: 32px 28px;
  border-radius: 30px;
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 141, 240, 0.15);
  box-shadow: 0 20px 55px rgba(18, 53, 90, 0.08);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.m2p-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(18, 53, 90, 0.13);
}

.m2p-service::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 130px;
  height: 130px;
  background:
    linear-gradient(90deg, rgba(17, 141, 240, 0.18) 14px, transparent 14px),
    linear-gradient(rgba(17, 141, 240, 0.13) 14px, transparent 14px);
  background-size: 30px 30px;
  opacity: 0.75;
  transform: rotate(12deg);
}

.m2p-service.featured {
  background:
    linear-gradient(145deg, rgba(7, 17, 31, 0.96), rgba(17, 40, 74, 0.94));
  color: #ffffff;
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(7, 17, 31, 0.22);
}

.m2p-service.featured h2,
.m2p-service.featured p,
.m2p-service.featured .service-number {
  color: #ffffff;
}

.service-number {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 17px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--m2p-blue);
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(17, 141, 240, 0.25);
}

.m2p-service:nth-child(2) .service-number {
  background: var(--m2p-purple);
}

.m2p-service:nth-child(3) .service-number {
  background: var(--m2p-orange);
}

.m2p-service h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 13px;
  color: #121826;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.m2p-service p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #5f687b;
  font-size: 16px;
  line-height: 1.68;
}

/* =====================================================
   PIXEL DECORATION
===================================================== */

.m2p-pixels {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 210px;
  height: 210px;
  opacity: 0.52;
  background:
    linear-gradient(90deg, rgba(17, 141, 240, 0.24) 18px, transparent 18px),
    linear-gradient(rgba(195, 59, 214, 0.18) 18px, transparent 18px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, #000 34%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 34%, transparent 72%);
  animation: pixelFloat 9s ease-in-out infinite;
}

.pixel-a {
  left: -56px;
  top: 320px;
  transform: rotate(-14deg);
}

.pixel-b {
  right: -50px;
  top: 520px;
  transform: rotate(10deg);
  animation-delay: -4s;
}

@keyframes pixelFloat {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -22px;
  }
}

/* =====================================================
   FOOTER
===================================================== */

.m2p-footer {
  position: relative;
  z-index: 4;
  max-width: 1120px;
  margin: 44px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(17, 141, 240, 0.14);
  text-align: center;
  color: #667085;
}

.m2p-footer p {
  margin: 0 0 12px;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.m2p-footer div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.m2p-footer a {
  color: var(--m2p-blue-dark);
  text-decoration: none;
  font-weight: 800;
}

.m2p-footer a:hover {
  text-decoration: underline;
}

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

@media (max-width: 960px) {
  .m2p-impact,
  .m2p-services {
    grid-template-columns: 1fr;
  }

  .m2p-service,
  .m2p-service.featured {
    min-height: auto;
    transform: none;
    text-align: center;
  }

  .service-number {
    margin-left: auto;
    margin-right: auto;
  }

  .m2p-card::after {
    display: none;
  }
}

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

@media (max-width: 680px) {
  .m2p-page {
    padding: 22px 14px 38px;
  }

  .m2p-header {
    margin-bottom: 26px;
    align-items: center;
    gap: 14px;
  }

  .m2p-logo {
    width: 175px;
    max-width: 58vw;
  }

  .m2p-header-link {
    padding: 10px 13px;
    font-size: 12px;
  }

  .m2p-console {
    border-radius: 19px;
  }

  .console-top strong {
    font-size: 11px;
  }

  .console-body {
    font-size: 12px;
    padding: 15px 16px;
  }

  .m2p-hero h1 {
    font-size: 46px;
    letter-spacing: -0.06em;
  }

  .m2p-lead {
    font-size: 17px;
  }

  .m2p-card {
    padding: 36px 24px 38px;
    border-radius: 26px;
  }

  .m2p-card h2 {
    font-size: 36px;
  }

  .m2p-card p {
    font-size: 16px;
  }

  .m2p-actions {
    flex-direction: column;
  }

  .m2p-button,
  .m2p-button-secondary {
    width: 100%;
  }

  .m2p-footer div {
    flex-direction: column;
  }

  .m2p-footer span {
    display: none;
  }
}

/* =====================================================
   RESPONSIVE SMALL MOBILE
===================================================== */

@media (max-width: 420px) {
  .m2p-logo {
    width: 160px;
  }

  .m2p-header-link {
    display: none;
  }

  .m2p-hero h1 {
    font-size: 40px;
  }

  .m2p-kicker span {
    font-size: 11px;
  }
}
/* =====================================================
   MIRC2PIXEL ANIMATED IDENTITY
   Effetti stile terminale / pixel / digital creativity
===================================================== */

/* Leggero disturbo digitale sullo sfondo */
.m2p-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 20% 30%, #118df0 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, #8056e8 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, #ff9826 0 1px, transparent 1px);
  background-size: 18px 18px, 26px 26px, 34px 34px;
  animation: m2pNoiseMove 7s steps(6) infinite;
}

@keyframes m2pNoiseMove {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-12px, 8px);
  }

  50% {
    transform: translate(8px, -10px);
  }

  75% {
    transform: translate(10px, 12px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Scanline molto leggera, effetto monitor */
.m2p-scanline {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(17, 141, 240, 0.20) 50%,
    transparent 100%
  );
  height: 180px;
  animation: m2pScan 8s linear infinite;
}

@keyframes m2pScan {
  0% {
    transform: translateY(-220px);
  }

  100% {
    transform: translateY(calc(100vh + 220px));
  }
}

/* Codice fluttuante in stile Mirc2Pixel */
.m2p-floating-code {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(17, 141, 240, 0.24);
  color: rgba(255, 255, 255, 0.86);
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: m2pFloatCode 9s ease-in-out infinite;
}

.code-1 {
  top: 19%;
  left: 7%;
  color: #dff3ff;
}

.code-2 {
  top: 34%;
  right: 6%;
  color: #c9b7ff;
  animation-delay: -2s;
}

.code-3 {
  bottom: 25%;
  left: 4%;
  color: #c4fff0;
  animation-delay: -4s;
}

.code-4 {
  bottom: 18%;
  right: 7%;
  color: #ffe5bd;
  animation-delay: -6s;
}

@keyframes m2pFloatCode {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.42;
  }

  50% {
    transform: translateY(-18px) rotate(-1deg);
    opacity: 0.9;
  }
}

/* Logo più vivo al passaggio mouse */
.m2p-logo {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.m2p-brand:hover .m2p-logo {
  transform: translateY(-4px) scale(1.025);
  filter: drop-shadow(0 14px 22px rgba(17, 141, 240, 0.18));
}

/* Bottone con effetto glow pulsante */
.m2p-button {
  position: relative;
  overflow: hidden;
}

.m2p-button::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -80%;
  width: 50%;
  height: 180%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: rotate(20deg);
  animation: m2pButtonShine 3.8s ease-in-out infinite;
}

@keyframes m2pButtonShine {
  0% {
    left: -80%;
  }

  45% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

/* Cursore terminale lampeggiante */
.terminal-cursor {
  display: inline-block;
  margin-left: 3px;
  color: var(--m2p-blue);
  animation: m2pBlink 0.8s steps(2) infinite;
}

@keyframes m2pBlink {
  0%, 45% {
    opacity: 1;
  }

  46%, 100% {
    opacity: 0;
  }
}

/* Effetto digitazione leggero sulla parola chiave */
.typing-text {
  text-shadow:
    0 0 18px rgba(17, 141, 240, 0.20),
    0 0 34px rgba(128, 86, 232, 0.16);
  animation: m2pTextPulse 3.2s ease-in-out infinite;
}

@keyframes m2pTextPulse {
  0%, 100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.18);
  }
}

/* Console leggermente animata */
.m2p-console {
  animation: m2pConsoleIn 0.9s ease both, m2pConsoleGlow 5s ease-in-out infinite 1s;
}

@keyframes m2pConsoleIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes m2pConsoleGlow {
  0%, 100% {
    box-shadow:
      0 28px 80px rgba(8, 13, 22, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }

  50% {
    box-shadow:
      0 34px 90px rgba(17, 141, 240, 0.26),
      0 0 0 1px rgba(17, 141, 240, 0.22) inset;
  }
}

/* Entrata progressiva dei blocchi principali */
.m2p-kicker,
.m2p-hero h1,
.m2p-lead,
.m2p-impact,
.m2p-card,
.m2p-services {
  animation: m2pFadeUp 0.8s ease both;
}

.m2p-kicker {
  animation-delay: 0.08s;
}

.m2p-hero h1 {
  animation-delay: 0.16s;
}

.m2p-lead {
  animation-delay: 0.24s;
}

.m2p-impact {
  animation-delay: 0.32s;
}

.m2p-card {
  animation-delay: 0.40s;
}

.m2p-services {
  animation-delay: 0.48s;
}

@keyframes m2pFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pixel decorativi più dinamici */
.m2p-pixels {
  animation: pixelFloat 9s ease-in-out infinite, m2pPixelBlink 4s steps(2) infinite;
}

@keyframes m2pPixelBlink {
  0%, 100% {
    opacity: 0.32;
  }

  50% {
    opacity: 0.68;
  }
}

/* Cards con effetto più interattivo */
.m2p-impact div,
.m2p-service,
.m2p-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.m2p-impact div:hover,
.m2p-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 141, 240, 0.34);
  box-shadow: 0 34px 90px rgba(17, 141, 240, 0.18);
}

/* Rispetto accessibilità: riduce animazioni se richiesto dal sistema */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Mobile: meno elementi fluttuanti per non sporcare */
@media (max-width: 760px) {
  .m2p-floating-code {
    display: none;
  }

  .m2p-scanline {
    opacity: 0.04;
  }

  .m2p-noise {
    opacity: 0.035;
  }
}