/* MHE — vetrina (dinamica, accessibile con prefers-reduced-motion) */
:root {
  --mhe: #731982;
  --mhe-light: #9b4daa;
  --mhe-dark: #4a0f56;
  --accent: #00b8d9;
  --accent-soft: #5ce1f5;
  --text: #14141a;
  --muted: #5c5c66;
  --bg: #f4f0fa;
  --card: #ffffff;
  --radius: 22px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(74, 15, 86, 0.14);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.06);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mhe);
  font-weight: 600;
}

/* Sfondo animato */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
  overflow: hidden;
}

.page-bg__mesh {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 45% 35% at 20% 20%, color-mix(in srgb, var(--mhe) 16%, transparent), transparent 55%),
    radial-gradient(ellipse 40% 30% at 85% 15%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 85%, color-mix(in srgb, var(--mhe) 10%, transparent), transparent 55%),
    radial-gradient(ellipse 35% 30% at 10% 80%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 50%);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .page-bg__mesh {
    animation: none;
  }
}

@keyframes mesh-drift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    transform: translate(3%, 2%) rotate(4deg) scale(1.05);
  }
}

.page-bg__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(60, 60, 67, 0.06);
  transition:
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

.site-header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 30px rgba(74, 15, 86, 0.08);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  height: 48px;
  width: auto;
  transition: transform 0.35s var(--ease-out);
}

.site-logo:hover {
  transform: scale(1.02);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(60, 60, 67, 0.06);
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s var(--ease-out);
}

.site-nav a:hover {
  color: var(--mhe);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.section-menu {
  position: sticky;
  top: 76px;
  z-index: 40;
  width: min(100% - 28px, 860px);
  margin: -34px auto 18px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(74, 15, 86, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.section-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s var(--ease-out);
}

.section-menu a:hover {
  color: var(--mhe);
  background: color-mix(in srgb, var(--mhe) 10%, #fff);
  transform: translateY(-1px);
}

.section-menu i {
  color: var(--mhe);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    filter 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--xl {
  padding: 15px 26px;
  font-size: 0.98rem;
  font-weight: 850;
}

.btn--primary {
  background: linear-gradient(135deg, var(--mhe) 0%, var(--mhe-dark) 100%);
  color: #fff;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 28px rgba(115, 25, 130, 0.42);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}

.btn--primary:hover {
  filter: brightness(1.05);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.22) inset,
    0 12px 36px rgba(115, 25, 130, 0.48);
}

.btn--primary:hover::after {
  transform: translateX(100%);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--mhe);
  border: 1px solid color-mix(in srgb, var(--mhe) 22%, transparent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.btn--ghost:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--mhe) 35%, transparent);
  transform: translateY(-1px);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-out) var(--reveal-delay, 0s),
    transform 0.7s var(--ease-out) var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 36px 22px 72px;
  text-align: center;
}

.hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mhe-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--mhe) 18%, transparent);
  box-shadow: 0 4px 20px rgba(115, 25, 130, 0.1);
  margin-bottom: 22px;
}

.hero__eyebrow i {
  color: var(--accent);
  animation: icon-pulse 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow i {
    animation: none;
  }
}

@keyframes icon-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.08);
  }
}

.hero__logo-wrap {
  margin: 0 auto 28px;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    var(--shadow-soft);
  max-width: min(430px, 92vw);
  animation: logo-float 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo-wrap {
    animation: none;
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero__logo {
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 16px 32px rgba(115, 25, 130, 0.18));
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.12;
  margin: 0 0 18px;
}

.hero__title-gradient {
  background: linear-gradient(120deg, var(--mhe) 0%, var(--mhe-light) 35%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.09rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -12px auto 28px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--mhe-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid color-mix(in srgb, var(--mhe) 14%, transparent);
  box-shadow: 0 6px 18px rgba(74, 15, 86, 0.07);
  font-size: 0.8rem;
  font-weight: 800;
}

.hero__badges i {
  color: var(--accent);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--mhe) 12%, transparent);
}

.hero__stat {
  text-align: center;
  min-width: 100px;
}

.hero__stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--mhe), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stat span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__conversion {
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(74, 15, 86, 0.11);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.hero__conversion span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--mhe-dark);
  background: color-mix(in srgb, #fff 82%, var(--accent));
  font-size: 0.79rem;
  font-weight: 900;
  white-space: nowrap;
}

.hero__conversion i {
  color: var(--accent);
}

.hero-preview {
  position: relative;
  width: min(100%, 840px);
  min-height: 420px;
  margin: 46px auto -18px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: 44px 4% 10px;
  z-index: -1;
  border-radius: 48px;
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 32%),
    radial-gradient(circle at 82% 24%, color-mix(in srgb, var(--mhe) 20%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 30px 80px rgba(74, 15, 86, 0.16);
}

.hero-preview__phone {
  width: min(268px, 62vw);
  aspect-ratio: 390 / 844;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(165deg, #33333a, #111115 58%, #24242c);
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(-2deg);
  overflow: hidden;
}

.hero-preview__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 25px;
  background: #fff;
}

.hero-preview__card {
  position: absolute;
  width: min(260px, 46%);
  padding: 16px 18px;
  border-radius: 22px;
  text-align: left;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(74, 15, 86, 0.15);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.hero-preview__card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--mhe-dark);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.hero-preview__card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-preview__card--top {
  left: 6%;
  top: 92px;
}

.hero-preview__card--bottom {
  right: 5%;
  bottom: 58px;
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 22px;
}

.section--compact {
  padding-top: 24px;
}

.section--surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.92) 40%, rgba(244, 240, 250, 0.4) 100%);
  border-top: 1px solid rgba(60, 60, 67, 0.06);
  border-bottom: 1px solid rgba(60, 60, 67, 0.06);
}

.section__title {
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  text-align: center;
  margin: 0 0 14px;
}

.section__title--left {
  text-align: left;
}

.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mhe), var(--accent));
}

.section__title--left::after {
  margin-left: 0;
}

.section__kicker {
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.section__kicker--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--mhe-dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid color-mix(in srgb, var(--mhe) 16%, transparent);
  box-shadow: 0 6px 20px rgba(74, 15, 86, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-strip {
  width: min(100% - 28px, 1080px);
  margin: 18px auto 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-strip__item {
  min-width: 0;
  padding: 18px 16px;
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.trust-strip__item strong {
  display: block;
  color: var(--mhe-dark);
  font-size: 1.12rem;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.trust-strip__item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.95);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mhe), var(--accent));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--mhe) 15%, transparent);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--mhe) 14%, #fff), color-mix(in srgb, var(--accent) 10%, #fff));
  color: var(--mhe);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease-out);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.06) rotate(-3deg);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Audience */
.audience-section {
  max-width: 1180px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  position: relative;
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.24), transparent 32%),
    linear-gradient(145deg, var(--mhe), var(--mhe-dark));
  box-shadow: 0 22px 58px rgba(74, 15, 86, 0.17);
  overflow: hidden;
}

.audience-card:nth-child(2) {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.25), transparent 32%),
    linear-gradient(145deg, #8b2f9d, #2f718d);
}

.audience-card:nth-child(3) {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(145deg, #374151, var(--mhe-dark));
}

.audience-card i {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 2.6rem;
}

.audience-card strong {
  position: relative;
  z-index: 1;
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.audience-card span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.48;
}

/* Assistente AI */
.ai-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 34px;
}

.ai-showcase__copy {
  min-width: 0;
}

.ai-points {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.ai-points span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 22px rgba(74, 15, 86, 0.06);
  font-size: 0.92rem;
  font-weight: 700;
}

.ai-points i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--accent);
}

.ai-phone {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 36%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 28px 70px rgba(74, 15, 86, 0.18),
    0 1px 0 rgba(255, 255, 255, 1) inset;
  overflow: hidden;
}

.ai-phone::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--mhe) 18%, transparent), transparent 68%);
  pointer-events: none;
}

.ai-phone__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 8px 8px 14px;
  color: var(--text);
}

.ai-phone__top strong {
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.ai-phone__top em {
  padding: 4px 8px;
  border-radius: 999px;
  color: #0f7a55;
  background: rgba(16, 185, 129, 0.12);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.ai-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mhe), var(--accent));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--mhe) 10%, transparent);
}

.ai-chat {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  min-height: 310px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.ai-bubble {
  width: fit-content;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(74, 15, 86, 0.08);
}

.ai-bubble--user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, var(--mhe), var(--mhe-dark));
  border-bottom-right-radius: 7px;
}

.ai-bubble--bot {
  justify-self: start;
  color: var(--text);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--mhe) 10%, transparent);
  border-bottom-left-radius: 7px;
}

.ai-actions-preview {
  display: grid;
  gap: 8px;
  align-self: end;
}

.ai-actions-preview button {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--mhe) 15%, transparent);
  border-radius: 14px;
  color: var(--mhe-dark);
  background: color-mix(in srgb, #fff 86%, var(--accent));
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.value-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mhe-dark);
  font-size: 1.02rem;
  font-weight: 900;
}

.value-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sicurezza */
.security-section {
  max-width: 1180px;
}

.security-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 70px rgba(74, 15, 86, 0.14);
}

.security-list {
  display: grid;
  gap: 11px;
}

.security-list span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(74, 15, 86, 0.06);
}

.security-list i {
  margin-top: 2px;
  color: #0f9f6e;
}

/* Pricing */
.pricing-section {
  max-width: 1180px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-saving-banner {
  max-width: 720px;
  margin: -22px auto 28px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, var(--mhe), var(--accent));
  box-shadow: 0 18px 46px color-mix(in srgb, var(--mhe) 26%, transparent);
}

.pricing-saving-banner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-saving-banner strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.pricing-saving-banner em {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 26px;
  border-radius: 28px;
  text-align: left;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--mhe), var(--accent));
  opacity: 0.7;
}

.pricing-card--featured {
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  border-color: color-mix(in srgb, var(--mhe) 28%, rgba(255, 255, 255, 0.94));
  box-shadow: 0 28px 70px rgba(74, 15, 86, 0.18);
  transform: translateY(-10px);
}

.pricing-card__badge {
  align-self: flex-start;
  margin-bottom: -4px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--mhe), var(--accent));
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--mhe) 22%, transparent);
}

.pricing-card__label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--mhe);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pricing-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text);
}

.pricing-card__price strong {
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.pricing-card__price span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.pricing-card__annual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  margin: -10px 0 0;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--mhe-dark);
  background: linear-gradient(135deg, color-mix(in srgb, var(--mhe) 9%, #fff), color-mix(in srgb, var(--accent) 10%, #fff));
  border: 1px solid color-mix(in srgb, var(--mhe) 13%, transparent);
}

.pricing-card__annual strong {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.pricing-card__annual span {
  color: #0f7a55;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card__annual em {
  justify-self: end;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0f9f6e, #10b981);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(16, 185, 129, 0.24);
}

.pricing-card__trial {
  width: fit-content;
  margin: -6px 0 0;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0f7a55;
  background: rgba(16, 185, 129, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 950;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 32px;
}

.shot {
  text-align: center;
  perspective: 900px;
}

.shot__frame {
  background: linear-gradient(165deg, #3a3a42 0%, #121214 50%, #1c1c22 100%);
  border-radius: 32px;
  padding: 12px 12px 20px;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  margin-bottom: 14px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.shot:hover .shot__frame {
  transform: rotateX(4deg) rotateY(-3deg) translateY(-6px);
  box-shadow:
    0 32px 60px rgba(74, 15, 86, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

@media (prefers-reduced-motion: reduce) {
  .shot:hover .shot__frame {
    transform: none;
  }
}

.shot__notch {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.shot__notch::before {
  content: "";
  width: 80px;
  height: 24px;
  background: #0a0a0c;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.shot__screen {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 390 / 844;
  max-height: 440px;
  margin: 0 auto;
}

.shot__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}

.shot:hover .shot__screen img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .shot:hover .shot__screen img {
    transform: none;
  }
}

.shot figcaption {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* FAQ */
.faq-section {
  max-width: 1040px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.faq-card {
  padding: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-card summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  float: right;
  color: var(--mhe);
  font-size: 1.1rem;
  font-weight: 950;
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card p {
  margin: -4px 20px 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* CTA finale */
.cta-band {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(115, 25, 130, 0.08) 0%, rgba(0, 184, 217, 0.08) 100%);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--mhe) 15%, transparent);
  box-shadow: var(--shadow-soft);
}

.cta-band--final {
  max-width: 920px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.24), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(92, 225, 245, 0.26), transparent 36%),
    linear-gradient(135deg, var(--mhe), var(--mhe-dark));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px rgba(74, 15, 86, 0.22);
}

.cta-band__eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-band p {
  margin: 0 0 22px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.55;
}

.cta-band--final p,
.cta-band--final p strong {
  color: #fff;
}

.cta-band--final p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2.6vw, 1.28rem);
}

.cta-band--final .btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 48px 22px 56px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(60, 60, 67, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.site-footer strong {
  color: var(--text);
}

.site-footer a {
  color: var(--mhe);
}

.site-footer__sub {
  margin: 10px 0 0;
  font-size: 0.82rem;
  opacity: 0.9;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Modal link app non configurato */
.mhe-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.mhe-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mhe-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 26, 0.45);
  backdrop-filter: blur(6px);
}

.mhe-modal__panel {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(60, 60, 67, 0.1);
  transform: translateY(12px);
  transition: transform 0.35s var(--ease-out);
}

.mhe-modal.is-open .mhe-modal__panel {
  transform: none;
}

.mhe-modal__panel h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mhe-modal__panel p {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
}

.mhe-modal__panel code {
  font-size: 0.82rem;
  background: rgba(115, 25, 130, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  word-break: break-all;
}

.mhe-modal__actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mhe-modal__actions .btn {
  padding: 11px 18px;
  font-size: 0.9rem;
}

.btn--muted {
  background: rgba(60, 60, 67, 0.08);
  color: var(--text);
  box-shadow: none;
}

.btn--muted:hover {
  background: rgba(60, 60, 67, 0.12);
  filter: none;
}

@media (max-width: 520px) {
  .site-header__inner {
    padding: 12px 14px;
  }

  .site-logo {
    height: 42px;
  }

  .site-nav {
    display: none;
  }

  .site-header .btn {
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .section-menu {
    top: 66px;
    width: calc(100% - 18px);
    margin-top: -28px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 22px;
    scroll-snap-type: x proximity;
  }

  .section-menu::-webkit-scrollbar {
    display: none;
  }

  .section-menu a {
    flex: 0 0 auto;
    scroll-snap-align: center;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 28px 16px 56px;
  }

  .section {
    padding: 48px 16px;
  }

  .hero__badges {
    justify-content: stretch;
  }

  .hero__badges span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero__stats {
    flex-direction: column;
    align-items: center;
  }

  .hero__conversion {
    width: 100%;
    border-radius: 24px;
  }

  .hero__conversion span {
    width: 100%;
    justify-content: center;
  }

  .hero-preview {
    min-height: 360px;
    margin-top: 34px;
  }

  .hero-preview__phone {
    width: min(230px, 72vw);
    transform: none;
  }

  .hero-preview__card {
    position: relative;
    width: 100%;
    inset: auto;
    margin-top: -2px;
  }

  .hero-preview__card--top {
    order: 2;
  }

  .hero-preview__card--bottom {
    order: 3;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
    gap: 10px;
  }

  .trust-strip__item {
    padding: 15px 10px;
  }

  .hero__cta .btn,
  .cta-band__actions .btn {
    width: 100%;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .ai-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .section__title--left,
  .section__kicker--left {
    text-align: center;
  }

  .section__title--left::after {
    margin-left: auto;
  }

  .ai-showcase__copy {
    text-align: center;
  }

  .ai-points span {
    text-align: left;
  }

  .value-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-grid,
  .security-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .security-panel {
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-card--featured {
    transform: none;
  }
}

@media (max-width: 940px) and (min-width: 521px) {
  .site-nav {
    display: none;
  }
}
