/* ========== Reset minimale ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  animation: pageLoad 0.6s ease-out both;
}

h1, h2, h3, h4, h5, h6,
.sectionTitle,
.hero__title,
.hero__badge,
.chapter__title,
.stats__title,
.poster__title,
.featureExplorer__title,
.trust__num {
  font-family: "Outfit", "Inter", ui-sans-serif, system-ui, sans-serif;
}

@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

a {
  color: inherit;
  text-decoration: none;
}

.highlight {
  font-weight: 700;
  color: var(--orange);
}

.highlight--blue {
  color: var(--blue);
}

.highlight--white {
  color: #fff;
}

/* Skip link per accessibilità */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--orange);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Focus visible states per accessibilità */
:focus {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* Migliora contrasto */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .stat__num,
  .chapter__title,
  .sectionTitle,
  .hero__title,
  .stats__title {
    color: #fff;
  }
  
  .chapter__text,
  .stat__desc,
  .stats__lead {
    color: #fff;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .scroll-animate,
  .scroll-animate-left,
  .scroll-animate-right,
  .scroll-animate-scale {
    opacity: 1;
    transform: none;
  }
}

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

/* ========== Variabili ========== */
:root {
  --container: 1100px;
  --container-wide: 1240px;
  --nav-height: 62px;

  --nav-bg: rgba(255, 255, 255, 0.12);
  --nav-border: rgba(255, 255, 255, 0.12);

  --text-dim: rgba(255, 255, 255, 0.75);
  --text-soft: rgba(255, 255, 255, 0.6);

  --pill-bg: rgba(255, 255, 255, 0.12);
  --pill-border: rgba(255, 255, 255, 0.18);

  --blue: #0a84ff;
  --orange: #ff6a00;
}

/* ========== Helpers ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 18px;
}

.container--wide {
  max-width: var(--container-wide);
}

.sectionTitle {
  margin: 0;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sectionLead {
  margin: 12px 0 0 0;
  color: var(--text-soft);
  max-width: 70ch;
  line-height: 1.55;
  font-size: clamp(14px, 1.6vw, 17px);
}

/* ========== Topnav ========== */
.topnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
}

.topnav__inner {
  height: var(--nav-height);
  max-width: calc(var(--container-wide) + 120px);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 56px 1fr 160px;
  align-items: center;
  gap: 14px;
}

.topnav__brand {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  opacity: 0.9;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.topnav__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
  letter-spacing: 0.1px;
  color: var(--text-dim);
}

.topnav__links a {
  padding: 8px 6px;
  border-radius: 10px;
  transition: background 160ms ease, color 160ms ease;
  position: relative;
  white-space: nowrap;
}

.topnav__links a::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease, opacity 200ms ease;
  opacity: 0;
}

.topnav__links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.topnav__links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.topnav__links a.is-active {
  color: #fff;
}

.topnav__links a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.topnav__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.15);
  border: 1px solid rgba(255, 106, 0, 0.35);
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255, 106, 0, 0.1);
}

.nav-cta:hover {
  background: rgba(255, 106, 0, 0.25);
  border-color: rgba(255, 106, 0, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
}

.nav-cta:hover {
  background: rgba(255, 106, 0, 0.22);
  border-color: rgba(255, 106, 0, 0.50);
  color: #fff;
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 10000;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2147483647; /* massimo z-index possibile */
  padding: 24px 24px 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  /* Forza un nuovo stacking context isolato */
  isolation: isolate;
  will-change: opacity, transform;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu__brand {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.mobile-menu__brand:hover {
  opacity: 1;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-menu__close:hover {
  background: rgba(255,106,0,0.2);
  border-color: rgba(255,106,0,0.4);
  transform: rotate(90deg);
}

.mobile-menu__close svg {
  width: 20px;
  height: 20px;
}

/* Quando il menu mobile è aperto, abbassa il video sotto al menu */
body.mobile-menu-open .hero__video,
body.mobile-menu-open .hero__media,
body.mobile-menu-open video {
  z-index: -1 !important;
  /* Su alcuni browser mobile il video sfonda comunque: visibility lo nasconde */
  visibility: hidden;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu ul li a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 160ms ease;
}

.mobile-menu ul li a:hover {
  color: #fff;
}

.mobile-menu__cta {
  margin-top: 12px;
  display: inline-flex !important;
  border: none !important;
  background: var(--orange) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  justify-content: center;
}

/* ========== Hero ========== */
.hero {
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  place-items: center;
  background: #000;
}

.hero__inner {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--nav-height));
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: clamp(16px, 3vw, 40px);
}

/* Video — occupa tutto il contenitore su mobile */
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Fallback img (dentro video tag) */
.hero__img {
  width: min(980px, 92vw);
  transform: translateY(-2%);
  filter: drop-shadow(0 20px 80px rgba(0,0,0,0.7));
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translateY(-2%) scale(1); }
  50% { transform: translateY(-1%) scale(1.01); }
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
}

.hero__copy {
  position: absolute;
  left: clamp(18px, 4vw, 64px);
  bottom: clamp(90px, 14vw, 130px);
  max-width: min(720px, 92vw);
  z-index: 2;
}

.hero__eyebrow {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero__badge {
  font-size: clamp(11px, 1.5vw, 16px);
  opacity: 0.9;
}

.hero__title {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
}

.hero__subtitle {
  margin: 14px 0 0 0;
  color: var(--text-soft);
  font-size: clamp(13px, 1.8vw, 18px);
  max-width: 64ch;
  line-height: 1.5;
}

.hero__cta {
  position: absolute;
  left: clamp(18px, 4vw, 64px);
  bottom: clamp(24px, 5vw, 48px);
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  backdrop-filter: blur(14px);
  flex-wrap: wrap;
}

.pill__price {
  font-size: clamp(12px, 1.4vw, 14px);
  color: rgba(255, 255, 255, 0.78);
  padding: 0 8px;
}

.pill__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 650;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pill__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pill__btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(10, 132, 255, 0.4);
}

.pill__btn:hover::before {
  opacity: 1;
}

.pill__btn:active {
  transform: translateY(0) scale(0.98);
}

/* ========== Closer look (Sensori) ========== */
.closer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
}

/* Desktop sticky scene */
.closer__scene {
  height: 130vh;
  position: relative;
}

.closer__sticky {
  position: sticky;
  top: calc(var(--nav-height) + 22px);
  height: calc(100svh - var(--nav-height) - 22px);
  display: grid;
  place-items: center;
  padding: 0 18px 28px 18px;
}

.closer__layout {
  width: min(var(--container-wide), 96vw);
  height: min(680px, 72vh);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: stretch;
}

.closer__left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
}

.closer__menu {
  flex: 1;
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.closer__arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  flex-shrink: 0;
}

.closer__arrow {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
  flex-shrink: 0;
}

.closer__arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  transform: scale(1.1);
}

.closer__arrow:active { transform: scale(0.95); }

.closer__arrow svg { display: block; flex-shrink: 0; }

/* Pill items */
.pillItem {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: background 160ms ease, border-color 160ms ease, border-radius 300ms ease;
}

.pillItem:hover { background: rgba(255,255,255,0.11); }

.pillItem.is-active {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.26);
  border-radius: 20px;
}

.pillItem__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  width: 100%;
}

.pillItem__icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 800;
  flex-shrink: 0;
  transition: border-color 200ms ease;
}

.pillItem.is-active .pillItem__icon { border-color: rgba(255,255,255,0.40); }

.pillItem__label { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

.pillItem__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  padding: 0 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 350ms ease, opacity 280ms ease, padding 300ms ease;
}

.pillItem.is-active .pillItem__desc {
  max-height: 120px;
  opacity: 1;
  padding: 0 16px 14px 16px;
}

/* Image panel */
.closer__right {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0a0f;
  border: 1px solid rgba(255,106,0,0.2);
  box-shadow: 
    0 25px 80px rgba(0,0,0,0.6),
    inset 0 0 100px rgba(255,106,0,0.03);
}

.closer__right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,106,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,106,0,0.04) 1px, transparent 1px),
    radial-gradient(circle at 30% 30%, rgba(255,106,0,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(10,132,255,0.06) 0%, transparent 40%);
  background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%;
  animation: gridPulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.closer__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(255,106,0,0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(10,132,255,0.1) 0%, transparent 30%);
  pointer-events: none;
  animation: colorShift 6s ease-in-out infinite alternate;
  z-index: 1;
}

.closer__right .vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: 28px;
  background: 
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.5) 100%),
    radial-gradient(ellipse at center, transparent 50%, rgba(255,106,0,0.08) 100%);
  mix-blend-mode: normal;
}

.closer__right .corner-decor {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,106,0,0.4);
  z-index: 3;
  pointer-events: none;
}

.closer__right .corner-decor.top-left {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 8px;
}

.closer__right .corner-decor.top-right {
  top: 12px;
  right: 12px;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 8px;
}

.closer__right .corner-decor.bottom-left {
  bottom: 12px;
  left: 12px;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 8px;
}

.closer__right .corner-decor.bottom-right {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 8px;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes colorShift {
  0% { opacity: 0.5; }
  100% { opacity: 0.8; }
}

.closer__right::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255,106,0,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: ambientGlow 4s ease-in-out infinite;
}

@keyframes ambientGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.closer__right::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,106,0,0.2), transparent 50%, rgba(255,106,0,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.closer__media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 2;
}

.closer__img {
  position: relative;
  z-index: 2;
  width: min(980px, 90%);
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.6));
  transform: translateZ(0);
  transition: opacity 200ms ease, transform 0.4s ease, filter 0.4s ease;
}

.closer__img:hover {
  transform: translateZ(10px) scale(1.02);
  filter: drop-shadow(0 35px 70px rgba(0,0,0,0.7));
}

/* Mobile accordion — hidden on desktop */
.closer__mobile { display: none; }

.sensor-accordion {
  padding: 0 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sensor-item {
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.sensor-item__toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.sensor-item__icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 200ms ease, border-color 200ms ease;
}

.sensor-item__icon.is-open {
  background: rgba(255,106,0,0.18);
  border-color: rgba(255,106,0,0.5);
  color: var(--orange);
}

.sensor-item__body {
  padding-bottom: 20px;
}

.sensor-item__img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 220px;
  margin-bottom: 12px;
}

.sensor-item__text {
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-size: 15px;
  line-height: 1.55;
}

/* ========== Chapter ========== */
.chapter {
  background: #f5f5f7;
  color: #111;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.chapter__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 18px;
}

.chapter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
}

.chapter__left {
  display: grid;
  align-items: end;
}

.chapter__imageWrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 30px 110px rgba(0,0,0,0.18);
}

.chapter__image {
  width: 100%;
  height: clamp(240px, 38vh, 520px);
  object-fit: cover;
  display: block;
  filter: grayscale(50%);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.chapter__image:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.chapter__image--color { 
  filter: grayscale(50%); 
}

.chapter__image--color:hover { 
  filter: grayscale(0%); 
}

/* ========== Animazioni d'ingresso ========== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 106, 0, 0.3); }
  50% { box-shadow: 0 0 35px rgba(255, 106, 0, 0.5); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes lineExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Hero animazioni */
.hero__eyebrow {
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.hero__title {
  animation: fadeSlideUp 0.8s ease-out 0.4s both;
}

.hero__subtitle {
  animation: fadeSlideUp 0.8s ease-out 0.6s both;
}

.hero__cta {
  animation: fadeSlideUp 0.8s ease-out 0.8s both;
}

.hero__badge {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Scroll-triggered fade-in */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Stat counter */
.stat {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat__num {
  display: inline-block;
}

.stat__num.counted {
  animation: countUp 0.6s ease-out both;
}

/* Effetti hover avanzati */
.primaryBtn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.primaryBtn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.primaryBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(17, 17, 17, 0.4);
}

.primaryBtn:hover::before {
  opacity: 1;
}

.ghostBtn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.ghostBtn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ghostBtn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.35);
}

.ghostBtn:hover::before {
  opacity: 1;
}

.pillItem {
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pillItem:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.feBtn {
  position: relative;
  overflow: hidden;
}

.feBtn::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.feBtn:hover::after {
  transform: scaleY(1);
}

.feBtn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.feBtn.is-active::after {
  transform: scaleY(1);
}

.footer__link {
  position: relative;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer__link::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: left 0.25s ease, opacity 0.25s ease;
  color: var(--orange);
}

.footer__link:hover {
  color: var(--orange);
  padding-left: 8px;
}

.footer__link:hover::before {
  left: -4px;
  opacity: 1;
}

/* Nav hover con glow */
.topnav__links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-cta {
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.nav-cta:hover::before {
  transform: translateX(100%);
}

/* Chapter image hover */
.chapter__imageWrap {
  position: relative;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.chapter__imageWrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 2px solid transparent;
  transition: border-color 0.5s ease;
  pointer-events: none;
}

.chapter__imageWrap:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.25);
}

.chapter__imageWrap:hover::before {
  border-color: rgba(255, 106, 0, 0.3);
}

/* Parallasse */
.parallax-slow {
  will-change: transform;
  transition: transform 0.1s linear;
}

.parallax-medium {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Separatori animati */
.stats__divider {
  position: relative;
  overflow: hidden;
}

.stats__divider::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.5), transparent);
  animation: lineExpand 1.5s ease-out 0.5s both;
  transform-origin: left;
}

.stats__grid {
  position: relative;
}

.stats__grid::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  animation: lineExpand 1s ease-out 0.8s both;
}

.stats__icon {
  position: relative;
  transition: transform 0.4s ease;
}

.stats__icon:hover {
  transform: scale(1.15) rotate(5deg);
}

/* Feature explorer enhanced */
.featureExplorer__imageArea {
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featureExplorer__imageArea:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.featureExplorer__bubble {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.featureExplorer__bubble:not([hidden]) {
  animation: fadeSlideUp 0.5s ease-out both;
}

/* Poster gradient overlay */
.poster__bottom {
  position: relative;
}

.poster__bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, #f5f5f7, transparent);
  z-index: 1;
  pointer-events: none;
}

/* Hero video overlay animation */
.hero__fade {
  animation: fadeIn 1.5s ease-out both;
}

/* Pill enhanced */
.pill {
  animation: scaleIn 0.6s ease-out 1s both;
}

/* Brand logo subtle animation */
.topnav__brand {
  transition: transform 0.3s ease;
}

.topnav__brand:hover {
  transform: scale(1.1) rotate(-5deg);
}

/* Sensor item enhanced */
.sensor-item__toggle {
  position: relative;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.sensor-item__toggle:hover {
  padding-left: 8px;
}

.sensor-item__toggle:hover .sensor-item__label {
  color: var(--orange);
}

.sensor-item__body {
  animation: fadeSlideUp 0.4s ease-out both;
}

/* Footer logo pulse */
.footer__logo {
  animation: glowPulse 4s ease-in-out infinite;
  animation-delay: 1s;
}

/* Closer section line */
.closer {
  position: relative;
}

.closer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

.closer.is-visible::before {
  opacity: 1;
}

.chapter__right { padding-top: clamp(6px, 1vw, 14px); }

.chapter__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(255, 106, 0, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 0, 0.2);
  position: relative;
  font-family: "Outfit", "Inter", sans-serif;
}

.chapter__eyebrow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 2px;
}

.chapter__eyebrow svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  flex-shrink: 0;
}

.chapter__eyebrow--blue {
  color: var(--blue);
  background: rgba(10, 132, 255, 0.1);
  border-color: rgba(10, 132, 255, 0.2);
}

.chapter__eyebrow--blue::after {
  background: linear-gradient(90deg, var(--blue), transparent);
}

.chapter__title {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 80px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.chapter__text {
  margin: 16px 0 0 0;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: rgba(0,0,0,0.8);
  max-width: 46ch;
  font-weight: 500;
}

/* ========== Stats ========== */
.stats {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: clamp(40px, 7vw, 92px) 0;
}

.stats__header { max-width: 760px; }

.stats__icon {
  width: 34px;
  height: 34px;
  color: var(--orange);
  margin-bottom: 18px;
}

.stats__icon--blue { color: var(--blue); }

.stats__icon svg { width: 100%; height: 100%; display: block; }

.stats__title {
  margin: 0;
  font-size: clamp(28px, 5vw, 78px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255,255,255,0.95);
}

.stats__lead {
  margin: 14px 0 0 0;
  color: rgba(255,255,255,0.62);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.55;
  max-width: 60ch;
  font-weight: 500;
}

.stats__divider {
  margin-top: clamp(20px, 4vw, 40px);
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.stats__grid {
  margin-top: clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.12);
}

.stat {
  padding: clamp(18px, 3.2vw, 36px);
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat:hover::before {
  opacity: 1;
}

.stat:hover .stat__num {
  transform: scale(1.05);
}

.stat__kicker {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  margin-bottom: 10px;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.stat__num {
  font-size: clamp(36px, 5.6vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 800;
  color: var(--orange);
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  font-family: "Outfit", "Inter", sans-serif;
}

.stat__num--blue { color: var(--blue); }

.stat__unit {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 750;
  color: rgba(255,255,255,0.88);
}

.stat__desc {
  color: rgba(255,255,255,0.58);
  font-size: 14px;
  line-height: 1.45;
  max-width: 52ch;
}

/* ========== Feature Explorer ========== */
.featureExplorer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 72px;
}

.featureExplorer__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  min-height: 500px;
  align-items: stretch;
}

.featureExplorer__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
}

.feBtn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.90);
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 150ms ease;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
}

.feBtn:hover {
  background: rgba(255,255,255,0.11);
  transform: translateX(3px);
}

.feBtn.is-active {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.24);
  transform: translateX(3px);
}

.feBtn__icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.feBtn__label { letter-spacing: -0.01em; }

.featureExplorer__bubble {
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
}

.featureExplorer__arrows {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  padding-left: 2px;
}

.featureExplorer__arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: background 160ms ease;
  font-family: inherit;
}

.featureExplorer__arrow:hover { background: rgba(255,255,255,0.14); }

.featureExplorer__imageArea {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0a0f;
  border: 1px solid rgba(255,106,0,0.2);
  box-shadow: 
    0 25px 80px rgba(0,0,0,0.6),
    inset 0 0 100px rgba(255,106,0,0.03);
  min-height: 420px;
}

.featureExplorer__imageArea::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,106,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,106,0,0.04) 1px, transparent 1px),
    radial-gradient(circle at 30% 30%, rgba(255,106,0,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(10,132,255,0.06) 0%, transparent 40%);
  background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%;
  animation: gridPulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.featureExplorer__imageArea::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(255,106,0,0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(10,132,255,0.1) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
  animation: colorShift 6s ease-in-out infinite alternate;
}

.featureExplorer__imageArea .vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: 28px;
  background: 
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.5) 100%),
    radial-gradient(ellipse at center, transparent 50%, rgba(255,106,0,0.08) 100%);
  mix-blend-mode: normal;
}

.featureExplorer__img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: drop-shadow(0 15px 40px rgba(0,0,0,0.5));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.featureExplorer__img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6));
}

.featureExplorer__imageArea .corner-decor {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,106,0,0.4);
  z-index: 3;
  pointer-events: none;
}

.featureExplorer__imageArea .corner-decor.top-left {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 8px;
}

.featureExplorer__imageArea .corner-decor.top-right {
  top: 12px;
  right: 12px;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 8px;
}

.featureExplorer__imageArea .corner-decor.bottom-left {
  bottom: 12px;
  left: 12px;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 8px;
}

.featureExplorer__imageArea .corner-decor.bottom-right {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 8px;
}

.featureExplorer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 300;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.featureExplorer__close:hover { 
  background: rgba(255,106,0,0.2);
  border-color: rgba(255,106,0,0.4);
  transform: rotate(90deg) scale(1.1);
}

.bubble__title {
  font-weight: 750;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.bubble__text {
  color: rgba(255,255,255,0.80);
  line-height: 1.35;
  font-size: 14px;
}

/* ========== Section CTA Intermedie ========== */
.section-cta {
  padding: clamp(40px, 6vw, 64px) 18px;
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}

.section-cta--dark {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-cta__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.section-cta__text {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.section-cta--dark .section-cta__text {
  color: #fff;
}

.section-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
}

.section-cta__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section-cta__btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.5);
}

.section-cta__btn:hover::before {
  opacity: 1;
}

.section-cta__btn:active {
  transform: translateY(-1px) scale(0.98);
}

.section-cta__btn--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
}

.section-cta__btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

/* ========== Trust / Social Proof ========== */
.trust {
  background: linear-gradient(180deg, #000 0%, #0a0a0a 50%, #000 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: clamp(48px, 8vw, 100px) 0;
  position: relative;
}

.trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  opacity: 0.5;
}

.trust__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 18px;
}

.trust__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
  margin-bottom: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}

.trust__stat {
  text-align: center;
}

.trust__num {
  display: block;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
  font-family: "Outfit", "Inter", sans-serif;
}

.trust__label {
  display: block;
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.trust__divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 600px) {
  .trust__divider {
    display: none;
  }
  .trust__stats {
    gap: 32px;
  }
}

.trust__testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

@media (max-width: 900px) {
  .trust__testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 32px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.06);
}

.testimonial__quote {
  margin-bottom: 20px;
}

.testimonial__quote blockquote {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__name {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.testimonial__role {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.trust__cta {
  text-align: center;
}

/* ========== Poster ========== */
.poster {
  background: #f5f5f7;
  color: #111;
  border-top: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  padding-top: 20px;
}

@media (max-width: 560px) {
  .poster {
    padding-top: 40px;
  }
}

.poster__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 70px) 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.poster__content { max-width: 62ch; }

.poster__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-weight: 700;
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(255, 106, 0, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 0, 0.2);
  position: relative;
  font-family: "Outfit", "Inter", sans-serif;
}

.poster__eyebrow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 2px;
}

.poster__eyebrow svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  flex-shrink: 0;
}

.poster__title {
  margin: 0;
  font-size: clamp(28px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.poster__text {
  margin: 16px 0 0 0;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.5;
  color: rgba(0,0,0,0.8);
  font-weight: 500;
  max-width: 52ch;
}

.poster__ctaRow {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.primaryBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.primaryBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  background: #222;
}

.ghostBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.8);
  color: #111;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ghostBtn:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: rgba(0,0,0,0.3);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
}

.poster__bottom {
  position: relative;
  width: 100%;
}

.poster__image {
  width: 100%;
  height: clamp(200px, 30vw, 400px);
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(50%);
  transition: filter 0.6s ease, transform 0.6s ease;
  border-radius: 24px;
}

.poster__image:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* ========== Footer ========== */
.footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 46px 0 28px 0;
}

.footer__inner { padding-top: 0; padding-bottom: 0; }

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.footer__logo {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
}

.footer__name { font-weight: 800; letter-spacing: -0.01em; }

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 18px;
  padding: 18px 0 22px 0;
}

.footer__title {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer__link {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.82);
}

.footer__link:hover { color: #fff; }

.footer__note { color: rgba(255,255,255,0.55); line-height: 1.5; }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  transition: all 0.3s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 16px;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer__copy { color: rgba(255,255,255,0.55); font-size: 12px; }

.footer__legal {
  display: flex;
  gap: 16px;
}

.footer__legal .footer__link {
  font-size: 12px;
  padding: 0;
}

/* ========== Enhanced transitions ========== */
.topnav__links a {
  transition: background 160ms ease, color 160ms ease, text-shadow 300ms ease;
}

.topnav__brand,
.nav-cta,
.nav-hamburger,
.nav-hamburger span,
.mobile-menu,
.mobile-menu ul li a,
.pill,
.pill__btn,
.primaryBtn,
.ghostBtn,
.pillItem,
.pillItem__icon,
.pillItem__desc,
.feBtn,
.feBtn__icon,
.footer__link,
.footer__logo,
.chapter__imageWrap,
.chapter__image,
.stat,
.stat__kicker,
.stat__value,
.stat__desc,
.stats__icon,
.stats__divider,
.stats__title,
.stats__lead,
.featureExplorer__imageArea,
.featureExplorer__bubble,
.featureExplorer__close,
.featureExplorer__arrow,
.sensor-item__toggle,
.sensor-item__icon,
.sensor-item__body,
.poster__image,
.closer__arrow,
.closer__img {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smoother easing curves */
.scroll-animate,
.scroll-animate-left,
.scroll-animate-right,
.scroll-animate-scale {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button press effect */
button:active {
  transform: scale(0.97);
}

/* Loading animation for images */
.closer__img,
.chapter__image,
.featureExplorer__img,
.sensor-item__img,
.poster__image {
  transition: opacity 0.3s ease, transform 0.5s ease;
}

/* Image loading skeleton */
.closer__img[src=""],
.chapter__image[src=""],
.featureExplorer__img[src=""] {
  opacity: 0;
}

/* Smooth scrollbar for webkit */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}


/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Navbar: mostra hamburger, nascondi links */
  .topnav__inner {
    grid-template-columns: 48px 1fr auto;
    padding: 0 16px;
    gap: 10px;
  }

  .topnav__links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* Chapter eyebrow badge */
  .chapter__eyebrow {
    font-size: 12px;
    padding: 6px 14px;
  }

  .chapter__title {
    font-size: clamp(28px, 6vw, 56px);
  }

  /* Stats migliorate per tablet */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 20px;
  }

  .stat__num {
    font-size: clamp(32px, 6vw, 52px);
  }

  /* Trust testimonials */
  .trust__testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {

  /* Navbar: mostra hamburger, nascondi links */
  .topnav__inner {
    grid-template-columns: 48px 1fr auto;
    padding: 0 16px;
    gap: 10px;
  }

  .topnav__links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* Hero: testo in basso, più grande */
  .hero__copy {
    left: 18px;
    right: 18px;
    bottom: 100px;
    max-width: none;
  }

  .hero__cta {
    left: 18px;
    bottom: 28px;
  }

  /* Sensori: nascondi desktop, mostra mobile */
  .closer__scene { display: none; }
  .closer__mobile { display: block; }

  /* Chapter: stack verticale */
  .chapter__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .chapter__left {
    order: 2;
    min-height: auto;
  }

  .chapter__right { order: 1; }

  .chapter__title {
    font-size: clamp(28px, 7vw, 52px);
  }

  /* Stats: 2 colonne ma più spaziate */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 18px;
  }

  .stat__num { font-size: clamp(28px, 7vw, 48px); }

  /* Feature Explorer: stack verticale */
  .featureExplorer__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .featureExplorer__imageArea {
    min-height: 50vw;
    max-height: 320px;
  }

  /* Trust testimonials */
  .trust__testimonials {
    grid-template-columns: 1fr;
  }

  /* Poster: titolo scalato */
  .poster__title { font-size: clamp(24px, 6vw, 48px); }

  .poster__image {
    height: clamp(180px, 35vw, 300px);
    border-radius: 16px;
  }

  /* Footer: 2 colonne */
  .footer__cols { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   RESPONSIVE — Mobile (≤ 560px)
   ============================================================ */
@media (max-width: 560px) {

  /* Hero: altezza minima garantita */
  .hero { min-height: 100svh; }
  .hero__inner { min-height: 100svh; }

  .hero__copy { bottom: 110px; }
  .hero__cta { bottom: 32px; }

  /* Pill hero: stack verticale su schermi molto piccoli */
  .pill { flex-direction: column; align-items: flex-start; border-radius: 20px; padding: 12px 14px; }
  .pill__price { padding: 0; }

  /* Container padding */
  .container { padding: 48px 16px; }

  /* Stats: 1 colonna su mobile piccolo */
  .stats__grid { grid-template-columns: 1fr; }
  .stat__num { font-size: clamp(44px, 12vw, 72px); }

  /* Chapter title: più compatto */
  .chapter__title { font-size: clamp(28px, 9vw, 52px); }
  .chapter__image { height: 220px; }

  /* Poster */
  .poster__inner { 
    min-height: auto; 
    padding: clamp(40px, 8vw, 60px) 16px; 
    grid-template-columns: 1fr; 
    gap: 24px;
  }
  .poster__content { max-width: 100%; }
  .poster__eyebrow { margin-top: 20px; }
  .poster__title { font-size: clamp(22px, 7vw, 36px); }
  .poster__text { font-size: 14px; }
  .poster__image { height: clamp(150px, 35vw, 220px); border-radius: 16px; }
  .poster__ctaRow { gap: 12px; }

  /* Poster CTA: bottoni a larghezza piena */
  .poster__ctaRow { flex-direction: column; }
  .primaryBtn, .ghostBtn { width: 100%; justify-content: center; }

  /* Feature explorer image */
  .featureExplorer__imageArea { min-height: 56vw; max-height: 280px; }

  /* Footer: 1 colonna */
  .footer__cols { grid-template-columns: 1fr; }

  /* Sensori accordion: immagini più alte */
  .sensor-item__img { max-height: 200px; }
}


/* ============================================================
   RESPONSIVE — Mobile small (≤ 380px)
   ============================================================ */
@media (max-width: 380px) {
  .hero__title { font-size: 38px; }
  .hero__subtitle { font-size: 13px; }
  .stats__title { font-size: 26px; }
  .poster__title { font-size: 22px; }
  .chapter__title { font-size: 26px; }
}