/* Vualã — landing (tipografia Fraunces + Plus Jakarta, palette calda) */
:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;
  --surface: #ffffff;
  --surface-subtle: #fafaf9;
  --surface-warm: #fffbf7;
  --cream: #f5f0e8;
  --accent: #c2410c;
  --accent-mid: #ea580c;
  --accent-hover: #9a3412;
  --accent-soft: rgba(194, 65, 12, 0.1);
  --label-color: #b45309;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-wordmark: "Tenor Sans", var(--font-sans);
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 8px 30px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 28px 72px rgba(28, 25, 23, 0.09);
  --shadow-btn: 0 4px 18px rgba(194, 65, 12, 0.32);
  --shadow-btn-hover: 0 8px 28px rgba(194, 65, 12, 0.38);
  --max: 1120px;
  --section-pad-y: clamp(5rem, 11vw, 7.25rem);
  --surface-glass: rgba(255, 252, 248, 0.94);
  --surface-glass-soft: rgba(255, 250, 245, 0.92);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes vuala-backdrop-rot {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes vuala-backdrop-rot-rev {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes vuala-backdrop-pulse {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 0.82;
  }
}

@keyframes vuala-backdrop-glow {
  0%,
  100% {
    transform: translate(-4%, -5%) scale(1);
    opacity: 0.32;
  }
  50% {
    transform: translate(5%, 4%) scale(1.06);
    opacity: 0.52;
  }
}

.vuala-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #c2410c;
  overflow: hidden;
}

.vuala-backdrop__layers {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Luce morbida: movimento percepibile ma controllato (brand premium, non “lampeggio”) */
.vuala-backdrop__glow {
  position: absolute;
  left: -25%;
  top: -25%;
  width: 150%;
  height: 150%;
  background:
    radial-gradient(ellipse 50% 42% at 38% 32%, rgba(255, 255, 255, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 48% 44% at 68% 58%, rgba(255, 183, 77, 0.22) 0%, transparent 52%);
  animation: vuala-backdrop-glow 20s ease-in-out infinite;
  z-index: 0;
}

.vuala-backdrop__rotor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(260vmin, 1700px);
  height: max(260vmin, 1700px);
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
  will-change: transform;
  z-index: 1;
}

/* Gradiente brand: toni arancio–corallo, rotazione lenta = leggibile e “costoso” */
.vuala-backdrop__rotor--a {
  background: linear-gradient(
    118deg,
    #ffcc80 0%,
    #ff9800 22%,
    #ff7043 45%,
    #ff5252 62%,
    #e65100 78%,
    #f4511e 100%
  );
  animation: vuala-backdrop-rot 48s linear infinite;
}

.vuala-backdrop__rotor--b {
  background: conic-gradient(
    from 35deg at 50% 50%,
    rgba(255, 255, 255, 0.22) 0deg,
    rgba(255, 138, 101, 0.38) 110deg,
    rgba(191, 54, 12, 0.32) 220deg,
    rgba(255, 183, 77, 0.28) 320deg,
    rgba(255, 255, 255, 0.22) 360deg
  );
  animation:
    vuala-backdrop-rot-rev 64s linear infinite,
    vuala-backdrop-pulse 10s ease-in-out infinite;
  mix-blend-mode: soft-light;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .vuala-backdrop__glow,
  .vuala-backdrop__rotor--a,
  .vuala-backdrop__rotor--b {
    animation: none;
  }
  .vuala-backdrop__rotor--b {
    opacity: 0.5;
  }
  .vuala-backdrop__glow {
    opacity: 0.35;
    transform: none;
  }
}

.vuala-backdrop__noise {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  z-index: 3;
  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.9' 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;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink-soft);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

#main-content a:focus-visible,
.footer a:focus-visible,
.btn:focus-visible,
.nav__cta:focus-visible,
.store-badges__link:focus-visible,
.store-badges__web-link:focus-visible,
.footer__store-play-link:focus-visible {
  outline: 2px solid var(--accent-mid);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav__cta:focus-visible {
  outline-color: var(--accent-mid);
}

#main-content,
.footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

/*
 * “Vai al contenuto”: link per accessibilità (tastiera / screen reader).
 * Fuori schermo finché non ha il focus da tastiera — niente striscia visibile col mouse.
 */
.skip {
  position: fixed;
  top: 16px;
  left: -9999px;
  z-index: 10000;
  width: max-content;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: left 0s;
}
.skip:focus {
  left: 16px;
  outline: 2px solid var(--accent-mid);
  outline-offset: 2px;
}

/* —— Nav: capsula flottante (niente barra a tutta larghezza) —— */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 100;
  width: min(var(--max), calc(100% - 20px));
  max-width: calc(100% - 20px);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.nav.is-scrolled:not(.nav--on-brand) {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.06);
}

.nav--on-brand {
  background: rgba(0, 0, 0, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
}

.nav--on-brand.is-scrolled {
  background: rgba(0, 0, 0, 0.2);
}

.nav__shell {
  margin: 0 auto;
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
}

.nav__brand:hover {
  color: var(--ink);
}

.nav--on-brand .nav__brand:hover {
  color: #fff;
}

/* Solo marchio SVG, senza contenitore colorato (SVG è bianco: filtri per contrasto) */
.nav__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav__logo-mark--footer {
  align-self: flex-start;
}

.nav__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.nav__logo-wrap .nav__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: filter 0.35s var(--ease-out), opacity 0.35s ease;
}

/* Capsula chiara: silhouette scura */
.nav:not(.nav--on-brand) .nav__logo-wrap .nav__logo {
  filter: brightness(0) saturate(100%);
  opacity: 0.88;
}

.nav:not(.nav--on-brand) .nav__brand:hover .nav__logo-wrap .nav__logo {
  opacity: 1;
}

/* Sopra il brand arancio: bianco + leggera ombra per stacco dal fondo */
.nav--on-brand .nav__logo-wrap .nav__logo {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(0, 0, 0, 0.18));
  opacity: 1;
}

.nav__logo-mark--footer .nav__logo {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* Wordmark “Vualã”: Tenor Sans come nel logo ufficiale */
.brand-wordmark {
  font-family: var(--font-wordmark);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav__wordmark {
  font-size: 1.28rem;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.nav--on-brand .nav__links a:not(.nav__cta) {
  color: rgba(255, 255, 255, 0.88);
}

.nav__shell .nav__links a:not(.nav__cta):hover {
  color: var(--accent);
  text-decoration: none;
}

.nav--on-brand .nav__shell .nav__links a:not(.nav__cta):hover {
  color: #fff;
}

.nav--on-brand .nav__brand {
  color: #fff;
}

.nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  background: var(--ink);
  color: var(--surface) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s var(--ease-out), transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav--on-brand .nav__cta {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.nav__shell .nav__links .nav__cta:hover {
  background: var(--accent-hover);
  color: var(--surface) !important;
  box-shadow: 0 4px 18px rgba(191, 54, 12, 0.35);
}

.nav--on-brand .nav__shell .nav__links .nav__cta:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.nav a:focus-visible {
  outline: 2px solid var(--accent-mid);
  outline-offset: 2px;
}

.nav--on-brand a:focus-visible {
  outline-color: #fff;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav__toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  border-radius: 1px;
  margin: 0 auto;
  transition: transform 0.25s var(--ease), background 0.3s ease;
  transform-origin: center;
}

.nav--on-brand .nav__toggle-bar {
  background: #fff;
}

.nav--open .nav__toggle {
  gap: 0;
}

.nav--open .nav__toggle-bar:first-child {
  transform: translateY(2px) rotate(45deg);
}

.nav--open .nav__toggle-bar:last-child {
  transform: translateY(-2px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    border-radius: 20px;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__links li {
    padding: 10px 12px;
  }
  .nav__links a {
    color: var(--ink-soft);
    text-decoration: none;
  }
  .nav__links a:hover {
    color: var(--accent);
    text-decoration: none;
  }
  .nav__links .nav__cta {
    text-align: center;
    margin-top: 8px;
    background: var(--accent);
    color: #fff !important;
    box-shadow: none;
  }
  .nav__links .nav__cta:hover {
    background: var(--accent-hover);
    color: #fff !important;
  }

  /* Pannello bianco: testo scuro anche se l’header ha nav--on-brand sulla hero arancione */
  .nav--on-brand .nav__links.is-open a:not(.nav__cta),
  .nav--on-brand.nav--open .nav__links a:not(.nav__cta) {
    color: var(--ink-soft);
  }
  .nav--on-brand .nav__links.is-open a:not(.nav__cta):hover,
  .nav--on-brand.nav--open .nav__links a:not(.nav__cta):hover {
    color: var(--accent);
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.015em;
  border: none;
  cursor: pointer;
  transition:
    background 0.22s var(--ease-out),
    color 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    transform 0.12s ease;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.985);
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent-mid) 0%, var(--accent) 100%);
  color: var(--surface);
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #f97316 0%, var(--accent-hover) 100%);
  color: var(--surface);
  box-shadow: var(--shadow-btn-hover), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
  background: var(--surface-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.btn--lg {
  min-height: 52px;
  padding: 16px 30px;
  font-size: 1rem;
}

/* —— Hero intro: prima schermata essenziale (logo + slogan) —— */
.hero-intro {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 88px;
  text-align: center;
  background: transparent;
}

.hero-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 92% 72% at 50% 36%, transparent 0%, rgba(0, 0, 0, 0.11) 100%);
}

.hero-intro > * {
  position: relative;
  z-index: 1;
}

.hero-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 26rem;
}

.hero-intro__logo {
  width: clamp(132px, 38vw, 220px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 32px rgba(0, 0, 0, 0.2));
}

.hero-intro__slogan {
  margin: 36px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #fff;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.2);
}

.hero-intro__hint {
  margin: 18px 0 0;
  max-width: 22rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

/* Indicatore scroll: solo decorativo (niente finto pulsante) */
.hero-intro__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  user-select: none;
}

.hero-intro__scroll-line {
  width: 1px;
  height: 36px;
  border-radius: 1px;
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.75;
  animation: hero-intro-scroll-line 2.2s ease-in-out infinite;
}

.hero-intro__scroll-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes hero-intro-scroll-line {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.55;
  }
  50% {
    transform: scaleY(1.15);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro__scroll-line {
    animation: none;
    opacity: 0.5;
  }
}

/* —— Hero dettaglio: “fascia carta” opaca — separa dal brand arancio —— */
.hero-detail {
  position: relative;
  z-index: 1;
  padding: clamp(2.25rem, 5vw, 3.25rem) 20px clamp(3.5rem, 8vw, 4.75rem);
  overflow: visible;
  background: linear-gradient(180deg, #f7f2eb 0%, #ebe4d9 42%, #e0d8cc 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-detail__inner {
  position: relative;
  max-width: calc(var(--max) + 40px);
  margin: 0 auto;
  padding: 0 12px;
}

.hero__glass {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 251, 246, 0.95) 100%);
  backdrop-filter: blur(40px) saturate(165%);
  -webkit-backdrop-filter: blur(40px) saturate(165%);
  border-radius: calc(var(--radius-xl) - 2px);
  border: 1px solid rgba(180, 83, 9, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 56px rgba(28, 25, 23, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  padding: clamp(32px, 5vw, 52px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__visual {
    order: -1;
    max-width: min(92vw, 380px);
    width: 100%;
    margin: 0 auto;
  }
}

/* Mockup telefono: più grande e leggibile su mobile (niente 3D che “rimpicciolisce”) */
@media (max-width: 600px) {
  .device {
    perspective: none;
  }

  .device__bezel {
    width: min(100%, min(90vw, 380px));
    transform: none;
    border-radius: 36px;
    padding: 10px;
  }

  .device__screen {
    border-radius: 28px;
  }

  .device__shot {
    border-radius: 26px;
  }
}

@media (max-width: 600px) and (hover: hover) {
  .hero__glass:hover .device__bezel {
    transform: none;
  }
}

.hero__label {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--label-color);
}

.hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.15rem);
  font-weight: 800;
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero__lead {
  margin: 0 0 12px;
  max-width: 34rem;
  font-size: 1.03125rem;
  font-weight: 400;
  line-height: 1.66;
  color: var(--ink-soft);
}

.hero__lead--compact {
  margin: 0 0 28px;
  font-size: 0.96875rem;
  font-weight: 400;
  line-height: 1.62;
  color: var(--muted);
}

.store-badges {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 22px;
  row-gap: 10px;
  align-items: end;
  justify-content: start;
}

.store-badges__img-wrap--soon {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  line-height: 0;
  border-radius: 8px;
  opacity: 0.58;
  filter: grayscale(40%);
  pointer-events: none;
  user-select: none;
}

.store-badges__link {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
  align-self: end;
}

.store-badges__link:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.store-badges__web-line {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  text-align: center;
  justify-self: center;
  max-width: 12rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.store-badges__web-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-badges__web-link:hover {
  color: var(--accent-hover);
}

.store-badges__img {
  width: auto;
  height: 44px;
  display: block;
}

.store-badges__img--play {
  height: 48px;
}

/* Device mockup */
.device {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.device__bezel {
  width: min(100%, 300px);
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #2a2a2a 0%, #0f0f0f 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s var(--ease);
}

@media (hover: hover) {
  .hero__glass:hover .device__bezel {
    transform: rotateY(-2deg) rotateX(2deg);
  }
}

.device__screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #fff8f4 0%, #ffffff 45%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px 14px 16px;
  gap: 10px;
}

.device__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.device--photo .device__shot.is-loaded {
  opacity: 1;
}

.device--photo .device__fallback {
  opacity: 0;
  pointer-events: none;
}

.device__fallback {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  min-height: 0;
  transition: opacity 0.35s ease;
}

.device__status {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 4px 0 2px;
}

.device__status span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

.device__appbar {
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-mid), var(--accent));
  opacity: 0.92;
}

.device__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.device__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-mid);
  flex-shrink: 0;
}

.device__dot--alt {
  background: #ffab91;
}

.device__lines {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--line) 60%, transparent);
}

.device__lines--short {
  max-width: 70%;
}

.device__lines--tiny {
  height: 6px;
  max-width: 50%;
}

.device__cta {
  margin-top: auto;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  opacity: 0.88;
}

/* —— Screenshot gallery —— */
.section--shots {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(120, 113, 108, 0.06);
}

.shots {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .shots {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

.shots__item {
  margin: 0;
  text-align: center;
}

.shots__frame {
  position: relative;
  margin: 0 auto 16px;
  max-width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  background: linear-gradient(160deg, #2a2a2a 0%, #121212 100%);
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.shots__frame img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 28px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.shots__frame.is-loaded img {
  opacity: 1;
}

.shots__placeholder {
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff5ef 0%, #f0f0f0 100%);
  border: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.shots__frame.is-loaded .shots__placeholder {
  opacity: 0;
  pointer-events: none;
}

.shots__ph-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(194, 65, 12, 0.22);
}

.shots__ph-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding: 0 12px;
  text-align: center;
  line-height: 1.35;
}

.shots__cap {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.45;
}

.section--shots .section__lead strong {
  color: var(--ink);
  font-weight: 600;
}

/* —— Strip —— */
.strip {
  border-top: 1px solid rgba(120, 113, 108, 0.08);
  border-bottom: 1px solid rgba(120, 113, 108, 0.08);
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  padding: 1.75rem max(24px, 4vw);
}

.strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.strip__title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.strip__list li {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface-warm);
  border: 1px solid rgba(180, 83, 9, 0.12);
}

/* —— Sections —— */
.section {
  padding: var(--section-pad-y) max(24px, 4vw);
}

.section--why {
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
}

.section--steps {
  background: var(--surface-glass-soft);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.section--split {
  background: linear-gradient(165deg, #e8e0da 0%, #d9d0c8 48%, #cdc3ba 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: calc(var(--section-pad-y) + 1rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.section__head {
  max-width: var(--max);
  margin: 0 auto clamp(2.5rem, 5vw, 3.25rem);
  text-align: center;
}

.section__head--narrow {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.section__label {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label-color);
}

.section__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.section__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.03125rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.66;
}

/* —— Feature grid —— */
.grid-why {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .grid-why {
    grid-template-columns: 1fr;
  }
}

.card-feature {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.card-feature:hover {
  border-color: rgba(194, 65, 12, 0.2);
  box-shadow: 0 10px 36px rgba(28, 25, 23, 0.06);
  transform: translateY(-1px);
}

.card-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 20px;
}

.card-feature__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card-feature__text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

/* —— Steps —— */
.steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.steps__item {
  position: relative;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.steps__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 16px;
}

.steps__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.steps__text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
}

/* —— Split audience —— */
.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split__panel {
  padding: 2.5rem 2.25rem;
  border-radius: calc(var(--radius-xl) - 2px);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.split__panel--light {
  background: #fffefb;
  border-color: rgba(0, 0, 0, 0.06);
}

.split__panel--dark {
  background: linear-gradient(160deg, #161616 0%, #0a0a0a 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.split__panel--dark .split__tag {
  color: var(--accent-mid);
}

.split__panel--dark .split__heading {
  color: var(--surface);
}

.split__panel--dark .split__list {
  color: rgba(255, 255, 255, 0.72);
}

.split__tag {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label-color);
}

.split__heading {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.split__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
}

.split__list li {
  margin-bottom: 10px;
}

/* —— Footer: store badge solo informativi (in arrivo) + link web app —— */
.footer__stores {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 40px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer__stores-inner {
  max-width: 36rem;
}

.footer__store-badges {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 12px;
  align-items: end;
  justify-content: start;
}

.footer__store-img-wrap {
  line-height: 0;
  border-radius: 8px;
}

.footer__store-img-wrap--soon {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  opacity: 0.52;
  filter: grayscale(35%);
  pointer-events: none;
  user-select: none;
}

.footer__store-play-link {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
  align-self: end;
}

.footer__store-play-link:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.footer__store-web-line {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  text-align: center;
  justify-self: center;
  max-width: 12rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.footer__store-img {
  width: auto;
  height: 40px;
  display: block;
}

.footer__store-img--play {
  height: 44px;
}

.footer__web-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: auto;
}

.footer a.footer__web-link:hover {
  color: #fff;
  opacity: 0.9;
}

.footer .footer__web-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* —— Footer (brand) —— */
.footer {
  background: linear-gradient(180deg, #c2410c 0%, #9a3412 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding: 64px 24px 32px;
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px 32px;
}

@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer__wordmark {
  font-size: 1.2rem;
  line-height: 1;
}

.footer__brand:hover {
  color: #fff;
  opacity: 0.92;
}

.footer__tagline {
  margin: 0;
  font-size: 0.90625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  max-width: 20rem;
  line-height: 1.55;
}

.footer__heading {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 14px;
  line-height: 1.65;
}

.footer__list li:last-child {
  margin-bottom: 0;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.92);
}

.footer__link-icon {
  flex-shrink: 0;
  opacity: 0.75;
}

.footer__link:hover .footer__link-icon {
  opacity: 0.95;
}

.footer .footer__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer__list-item--row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.footer__soon {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__legal-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer__bottom {
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Reveal (entrata a scorrimento + ritardo da --reveal-delay in JS) —— */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  will-change: opacity, transform;
  transition:
    opacity 0.58s var(--ease-out) var(--reveal-delay, 0s),
    transform 0.62s var(--ease-out) var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .card-feature:hover {
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
