/* ══════════════════════════════
   APP PAGES — CSS
   app.html · app-privacy.html · app-terms.html · app-data-deletion.html
   Carica DOPO style.css
══════════════════════════════ */

/* ── Mobile menu (non definito in style.css per queste pagine) ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, .97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.mobile-menu.is-open { display: flex; }

.mobile-menu_link {
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-white);
  transition: opacity .2s;
}
.mobile-menu_link:hover { opacity: .5; }

.mobile-menu_cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .75rem 2rem;
  border-radius: 1rem;
  background: var(--color-white);
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1rem;
}


/* ══════════════════════════════
   INTRO STICKY — stessa meccanica della sezione "Noi Siamo" in home.
   Le regole di #about, #about-sticky, #about-row, .about-h, #about-img
   e #about-text vivono in style.css e vengono riusate qui.
══════════════════════════════ */
/* Nessun overflow qui: romperebbe il position:sticky interno.
   Sulla sezione chiara il logo e l'hamburger vengono scuriti via JS. */

/* Il mockup è scontornato (PNG/WebP con alpha): il riquadro porta il proprio
   fondo scuro, così il laptop resta leggibile e il testo bianco sopra funziona
   anche quando l'immagine si espande a tutto schermo. */
.app-intro #about-img {
  background: radial-gradient(ellipse 70% 70% at 50% 45%, #10152b 0%, #05060d 70%);
}

.app-intro #about-img img {
  object-fit: contain;              /* il laptop non viene mai tagliato */
  padding: 6% 5%;
  transition: padding 0.2s linear;
}

/* Scrim in basso: il testo bianco resta leggibile anche sopra lo schermo chiaro */
.app-intro #about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 18%, transparent 42%);
}

.app-intro #about-text {
  left: 0;
  right: 0;
  bottom: 6%;
  top: auto;
  width: 100%;
  padding: 0 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

/* ── Accesso clienti: sotto il riquadro, sfuma quando l'immagine si espande ── */
.intro-cta {
  position: absolute;
  left: 50%;
  bottom: 4.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  z-index: 3;
}

.intro-cta_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: 1.5rem;
  background: #000;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  overflow: hidden;
  transition: color 0.25s ease;
  z-index: 0;
}

.intro-cta_btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(235, 100%, 50%, 1), hsla(210, 100%, 60%, 1));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.intro-cta_btn:hover::before { opacity: 1; }

.intro-cta_btn svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.25s ease;
}

.intro-cta_btn:hover svg { transform: translateX(3px); }

.intro-cta_note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

@media (max-width: 600px) {
  .app-intro #about-img img { padding: 10% 4%; }

  .intro-cta      { bottom: 3rem; gap: 0.7rem; }
  .intro-cta_btn  { padding: 0.8rem 1.5rem; font-size: 0.875rem; }
  .intro-cta_note { font-size: 0.6rem; }
}

/* ══════════════════════════════
   TESTO PRODOTTO — reveal parola per parola sullo scroll
   (stessa logica di #services-text in home, ma centrato e grande)
══════════════════════════════ */
/* Area di scroll: dà la corsa necessaria al blocco fisso */
.app-lede-scroll {
  position: relative;
  z-index: 1;
  background: #000;
  height: 220vh;
}

/* Blocco fisso a schermo: in viewport si vede solo la scritta */
.app-lede-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

/* ── Card statistiche: compaiono ai lati mentre il testo si illumina ── */
.stat-card {
  position: absolute;
  width: 13.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, #101014, #0a0a0d);
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.stat-card.is-tl { left: 5vw;  top: 20%;    transform: translate(-1.5rem, 1.5rem) rotate(-2deg); }
.stat-card.is-bl { left: 9vw;  bottom: 20%; transform: translate(-1.5rem, 1.5rem) rotate(2deg); }
.stat-card.is-tr { right: 5vw; top: 22%;    transform: translate(1.5rem, 1.5rem) rotate(2deg); }
.stat-card.is-br { right: 9vw; bottom: 18%; transform: translate(1.5rem, 1.5rem) rotate(-2deg); }

.stat-card.is-visible { opacity: 1; }
.stat-card.is-tl.is-visible { transform: translate(0, 0) rotate(-2deg); }
.stat-card.is-bl.is-visible { transform: translate(0, 0) rotate(2deg); }
.stat-card.is-tr.is-visible { transform: translate(0, 0) rotate(2deg); }
.stat-card.is-br.is-visible { transform: translate(0, 0) rotate(-2deg); }

.stat-card_head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.stat-card_icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(235, 100%, 50%, 0.12);
  color: hsla(235, 100%, 72%, 1);
  flex-shrink: 0;
}

.stat-card_icon svg { width: 0.9rem; height: 0.9rem; }

.stat-card_label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-grey);
  white-space: nowrap;
}

.stat-card_value {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-card_foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.stat-card_spark {
  width: 4.5rem;
  height: 1.4rem;
  color: hsla(235, 100%, 68%, 0.9);
  flex-shrink: 0;
}

.stat-card_trend {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #4ade80;
  white-space: nowrap;
}

/* Sotto i 1280px il testo occupa tutta la larghezza: card nascoste */
@media (max-width: 1280px) {
  .stat-card { display: none; }
}

.app-reveal {
  max-width: 62rem;
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--color-grey);
}

.app-reveal .word {
  color: var(--color-grey);
  transition: color 0.15s ease;
}

.app-reveal .word.is-lit {
  color: var(--color-white);
}

/* CTA che compare a testo completato: una linea corre verso il pulsante */
.lede-cta {
  position: absolute;
  left: 50%;
  bottom: 4.5rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 2;
  pointer-events: none;
}

/* Linea che si allunga da sinistra verso il pulsante */
.lede-cta_line {
  width: clamp(4rem, 14vw, 11rem);
  height: 1px;
  background: linear-gradient(to right, transparent, hsla(0, 0%, 100%, 0.55));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lede-cta_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem 3rem;
  border-radius: 2rem;
  background: var(--color-white);
  color: #000;
  font-family: var(--font-primary);
  font-size: 1.1875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-1.5rem);
  overflow: hidden;
  transition: opacity 0.5s ease 0.25s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              color 0.25s ease;
  z-index: 0;
}

.lede-cta_btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(235, 100%, 50%, 1), hsla(210, 100%, 60%, 1));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.lede-cta_btn:hover { color: var(--color-white); }
.lede-cta_btn:hover::before { opacity: 1; }

.lede-cta_btn span,
.lede-cta_btn svg { position: relative; z-index: 1; }

.lede-cta_btn svg {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.25s ease;
}

.lede-cta_btn:hover svg { transform: translateX(4px); }

/* Stato attivo */
.lede-cta.is-visible { pointer-events: auto; }
.lede-cta.is-visible .lede-cta_line { transform: scaleX(1); }
.lede-cta.is-visible .lede-cta_btn  { opacity: 1; transform: translateX(0); }


/* ══════════════════════════════
   SHOWCASE — telefono fisso a schermo, funzionalità collegate da linee
══════════════════════════════ */
.sc-scroll {
  position: relative;
  z-index: 1;
  background: #000;
  height: 560vh;   /* card + slide + linea finale */
}

.sc-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 5rem 1.5rem 3rem;
  overflow: hidden;
}

.sc-title {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-align: center;
}

.sc-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Telefono: contenitore di riferimento per le card */
.sc-phone {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.sc-phone > img {
  height: 100%;
  width: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

/* ── Card funzionalità ── */
.sc-item {
  position: absolute;
  width: 16.5rem;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sc-item.is-left {
  right: calc(100% + 5.5rem);
  text-align: right;
  transform: translateY(-50%) translateX(-1.5rem);
}

.sc-item.is-right {
  left: calc(100% + 5.5rem);
  transform: translateY(-50%) translateX(1.5rem);
}

.sc-item.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.sc-item_title {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.sc-item_desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-grey-200);
}

/* ── Linea di collegamento verso lo schermo ── */
.sc-item::before,
.sc-item::after {
  content: '';
  position: absolute;
  top: 50%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.4s ease 0.1s;
  opacity: 0;
}

/* linea */
.sc-item::before {
  width: 5.5rem;
  height: 1px;
  transform: scaleX(0);
}

/* pallino sul punto dello schermo */
.sc-item::after {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  margin-top: -0.2rem;
  background: var(--color-blue);
  box-shadow: 0 0 10px 2px hsla(235, 100%, 55%, 0.6);
  transform: scale(0);
}

.sc-item.is-left::before {
  left: 100%;
  transform-origin: left center;
  background: linear-gradient(to right, hsla(235, 100%, 60%, 0.15), hsla(235, 100%, 60%, 0.85));
}
.sc-item.is-left::after  { left: calc(100% + 5.5rem); margin-left: -0.2rem; }

.sc-item.is-right::before {
  right: 100%;
  transform-origin: right center;
  background: linear-gradient(to left, hsla(235, 100%, 60%, 0.15), hsla(235, 100%, 60%, 0.85));
}
.sc-item.is-right::after { right: calc(100% + 5.5rem); margin-right: -0.2rem; }

.sc-item.is-visible::before { opacity: 1; transform: scaleX(1); }
.sc-item.is-visible::after  { opacity: 1; transform: scale(1); }

/* ══════════════════════════════
   SLIDE — pannello bianco che entra da destra
══════════════════════════════ */
.gs-panel {
  position: absolute;
  inset: 0;
  z-index: 10;              /* copre telefono, card e titolo */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  transform: translateX(100%);
  will-change: transform;
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
}

.gs-panel_inner {
  max-width: 40rem;
  text-align: center;
}

.gs-logo {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 2rem;
  display: block;
}

.gs-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 1.25rem;
}

.gs-sub {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  line-height: 1.7;
  color: #555;
}

/* Linea blu che si disegna verso il basso mentre scorri */
.gs-line {
  display: block;
  width: 2px;
  height: 34vh;
  margin: 3rem auto 0;
  border-radius: 2px;
  background: linear-gradient(to bottom, hsla(235, 100%, 55%, 0.15), hsla(235, 100%, 55%, 1));
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  position: relative;
  will-change: transform;
}

/* pallino luminoso in punta */
.gs-line::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.3rem;
  width: 0.6rem;
  height: 0.6rem;
  margin-left: -0.3rem;
  border-radius: 50%;
  background: hsla(235, 100%, 55%, 1);
  box-shadow: 0 0 14px 3px hsla(235, 100%, 55%, 0.5);
}


/* ══════════════════════════════
   RIASSUNTO GOOGLE — blocco fisso, i concetti si alternano
══════════════════════════════ */
.gr-scroll {
  position: relative;
  z-index: 1;
  background: #fff;
  /* 7 passaggi × ~80vh + 100vh finali: durante l'ultimo tratto il blocco resta
     fermo mentre la sezione nera del form gli sale sopra */
  height: 660vh;
}

.gr-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.gr-steps {
  position: relative;
  width: 100%;
  max-width: 46rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gr-step {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gr-step.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Icona del passaggio */
.gr-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsla(235, 100%, 45%, 1);
  background: hsla(235, 100%, 50%, 0.06);
  border: 1px solid hsla(235, 100%, 50%, 0.18);
  transform: scale(0.85);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.gr-step.is-active .gr-icon { transform: scale(1); }

.gr-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.gr-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsla(235, 100%, 45%, 1);
  margin-bottom: 1.25rem;
}

.gr-text {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #6b6b66;
}

.gr-text em {
  font-style: normal;
  color: #000;
}

.gr-path {
  font-family: var(--font-mono);
  font-size: 0.55em;
  color: hsla(235, 100%, 45%, 1);
  background: hsla(235, 100%, 50%, 0.07);
  border: 1px solid hsla(235, 100%, 50%, 0.18);
  border-radius: 0.4rem;
  padding: 0.1em 0.4em;
  white-space: nowrap;
}

.gr-note {
  margin-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: #888;
}

.gr-note code {
  color: hsla(235, 100%, 45%, 1);
  background: hsla(235, 100%, 50%, 0.06);
  border-radius: 0.35rem;
  padding: 0.2rem 0.5rem;
}

/* Indicatore di avanzamento */
.gr-dots {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.gr-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}

.gr-dot.is-active {
  background: var(--color-blue);
  transform: scale(1.5);
}


/* ══════════════════════════════
   CONTATTO — la sezione nera sale sopra il riassunto ancora fermo
   (stesso principio della hero fissa in works.html)
══════════════════════════════ */
.cf-section {
  position: relative;
  z-index: 2;
  background: #000;
  margin-top: -100vh;      /* entra in scena mentre il bianco è ancora bloccato */
  padding: 7rem 1.5rem 8rem;
}

.cf-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.cf-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.cf-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.cf-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-grey-200);
  max-width: 32rem;
}

/* ── Form ── */
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cf-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.cf-field label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 0.625rem;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.15);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-white);
  transition: border-color 0.25s;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder { color: hsla(0, 0%, 100%, 0.2); }

.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-blue);
}

.cf-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.cf-field.is-error input,
.cf-field.is-error textarea { border-bottom-color: hsla(0, 80%, 60%, 0.8); }

.cf-error {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: hsla(0, 80%, 65%, 1);
  margin-top: 0.5rem;
}

/* Bottone bianco → hover gradient blu */
.cf-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.15rem 2rem;
  border: none;
  border-radius: 1rem;
  background: var(--color-white);
  color: #000;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.25s ease;
  z-index: 0;
}

.cf-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(235, 100%, 50%, 1), hsla(210, 100%, 60%, 1));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.cf-submit:hover { color: var(--color-white); }
.cf-submit:hover::before { opacity: 1; }

.cf-submit span,
.cf-submit svg { position: relative; z-index: 1; }

.cf-submit svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.cf-submit:hover svg { transform: translateX(3px); }

.cf-privacy {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--color-grey);
  text-align: center;
}

.cf-privacy a { color: hsla(235, 100%, 72%, 1); text-decoration: underline; }

/* Conferma dopo l'invio */
.cf-done {
  text-align: center;
  padding: 3rem 0;
}

.cf-done_title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cf-done_sub { color: var(--color-grey-200); }


/* ══════════════════════════════
   SEZIONI
══════════════════════════════ */
.app-section {
  position: relative;
  z-index: 1;
  background: #000;
  padding: 4rem 1.5rem;
}

.app-section_inner {
  max-width: 48rem;
  margin: 0 auto;
}

.app-section + .app-section { padding-top: 0; }

.app-h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.app-h3 {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.app-p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-grey-200);
  margin-bottom: 1.25rem;
}

.app-p:last-child { margin-bottom: 0; }

.app-p a,
.app-list a {
  color: hsla(235, 100%, 72%, 1);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-list {
  margin: 0 0 1.5rem 1.25rem;
  padding: 0;
  color: var(--color-grey-200);
  line-height: 1.75;
}

.app-list li { margin-bottom: 0.5rem; }
.app-list li::marker { color: hsla(235, 100%, 60%, 0.6); }

.app-strong { color: var(--color-white); font-weight: 500; }


/* ── Box permessi Google ── */
.app-callout {
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid hsla(235, 100%, 50%, 0.18);
  background: hsla(235, 100%, 50%, 0.04);
  margin-bottom: 1.5rem;
}

.app-scope {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.07);
}

.app-scope:first-of-type { padding-top: 0; }
.app-scope:last-of-type  { padding-bottom: 0; border-bottom: none; }

.app-scope_id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: hsla(235, 100%, 72%, 1);
  word-break: break-all;
}

.app-scope_desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-grey-200);
}


/* ── Dichiarazione Limited Use ── */
.app-limited-use {
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  background: #0a0a0a;
  margin-bottom: 1.5rem;
}

.app-limited-use p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-grey-200);
}

.app-limited-use p + p {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.07);
  font-style: italic;
}


/* ── Riga link documenti ── */
.app-doclinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.app-doclink {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.15rem;
  border-radius: 2rem;
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-grey-200);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.app-doclink:hover {
  border-color: hsla(235, 100%, 50%, 0.4);
  background: hsla(235, 100%, 50%, 0.08);
  color: var(--color-white);
}

.app-doclink.is-primary {
  background: var(--color-white);
  border-color: var(--color-white);
  color: #000;
}

.app-doclink.is-primary:hover {
  background: hsla(235, 100%, 50%, 1);
  border-color: hsla(235, 100%, 50%, 1);
  color: var(--color-white);
}


/* ── Blocco dati societari ── */
.app-legal-meta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.07);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--color-grey);
}

.app-legal-meta a { color: var(--color-grey); text-decoration: underline; }
.app-legal-meta a:hover { color: var(--color-white); }


/* ══════════════════════════════
   PAGINE DOCUMENTO (privacy / termini / cancellazione)
══════════════════════════════ */
.app-doc {
  background: #000;
  padding: 9rem 1.5rem 4rem;
}

.app-doc_inner {
  max-width: 48rem;
  margin: 0 auto;
}

.app-doc_title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.app-doc_sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-grey-200);
  margin-bottom: 0.75rem;
}

.app-doc_updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-grey);
  margin-bottom: 3rem;
}

.app-doc h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-white);
  margin: 3rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
}

.app-doc h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-grey-200);
  margin: 2rem 0 0.75rem;
}


/* ── Step numerati (pagina cancellazione dati) ── */
.app-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  counter-reset: appstep;
}

.app-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  background: #0a0a0a;
}

.app-step::before {
  counter-increment: appstep;
  content: counter(appstep);
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: hsla(235, 100%, 50%, 0.12);
  border: 1px solid hsla(235, 100%, 50%, 0.3);
  color: hsla(235, 100%, 72%, 1);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-step_body { flex: 1; }

.app-step_title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.app-step_desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-grey-200);
}

.app-path {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: hsla(235, 100%, 72%, 1);
  background: hsla(235, 100%, 50%, 0.08);
  border: 1px solid hsla(235, 100%, 50%, 0.15);
  border-radius: 0.35rem;
  padding: 0.15rem 0.45rem;
}


/* ── Tabella conservazione dati ── */
.app-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsla(0, 0%, 100%, 0.08);
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
}

.app-table th,
.app-table td {
  text-align: left;
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.06);
}

.app-table th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  background: #0a0a0a;
}

.app-table td { color: var(--color-grey-200); }
.app-table tr:last-child td { border-bottom: none; }


/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 991px) {
  .navbar_links-wrap { display: none; }
  .navbar_hamburger-wrap { display: flex; }
}

/* Sotto i 1100px le card non stanno ai lati del telefono: stessa meccanica
   (blocco fisso + slide bianca), ma telefono sopra e una card alla volta sotto. */
@media (max-width: 1100px) {
  .sc-scroll { height: 420vh; }

  .sc-sticky { padding: 5rem 1.25rem 3rem; gap: 1rem; }

  /* il contenitore di riferimento diventa la stage: le card vanno in fondo */
  .sc-phone {
    position: static;
    flex-direction: column;
    height: auto;
    max-height: 100%;
    margin-bottom: 8rem;       /* spazio riservato alla didascalia sotto */
  }

  .sc-phone > img {
    height: auto;
    max-height: 58vh;
    max-width: 86%;
    margin: 0 auto;
  }

  .sc-item,
  .sc-item.is-left,
  .sc-item.is-right {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto !important;      /* batte lo style inline top:xx% usato su desktop */
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
    text-align: center;
    transform: translateY(1rem);
  }

  .sc-item.is-visible { transform: translateY(0); }

  /* niente linee: nello stretto non avrebbero un punto d'aggancio leggibile */
  .sc-item::before,
  .sc-item::after { display: none; }

  .sc-item_title { font-size: 1.125rem; margin-bottom: 0.5rem; }
  .sc-item_desc  { font-size: 0.9375rem; }
}

@media (max-width: 600px) {
  .lede-cta      { bottom: 3rem; gap: 1rem; }
  .lede-cta_line { width: 2.5rem; }
  .lede-cta_btn  { padding: 1.1rem 2rem; font-size: 1rem; }

  .gr-scroll  { height: 590vh; }
  .gr-sticky  { padding: 5rem 1.25rem 3rem; }
  .cf-section { padding: 5rem 1.25rem 6rem; }
  .cf-row     { grid-template-columns: 1fr; gap: 0; }
  .gr-icon    { width: 3.5rem; height: 3.5rem; margin-bottom: 1.25rem; }
  .gr-icon svg { width: 1.5rem; height: 1.5rem; }
  .gr-label   { margin-bottom: 1rem; }
  .gr-note    { margin-top: 1.25rem; font-size: 0.6875rem; }

  .gs-panel   { padding: 3.5rem 1.25rem; }
  .gs-line    { height: 22vh; margin-top: 2rem; }
  .gs-logo    { width: 2.75rem; height: 2.75rem; margin-bottom: 1.5rem; }
  .sc-scroll  { height: 380vh; }
  .sc-phone   { margin-bottom: 7.5rem; }
  .sc-phone > img { max-height: 54vh; max-width: 80%; }
  .sc-item_title { font-size: 1.0625rem; }
  .sc-item_desc  { font-size: 0.875rem; }
}

@media (max-width: 600px) {
  .app-section { padding: 3rem 1.25rem; }
  .app-lede-scroll { height: 180vh; }
  .app-lede-sticky { padding: 0 1.25rem; }
  .app-doc { padding: 7.5rem 1.25rem 3rem; }
  .app-callout, .app-limited-use { padding: 1.25rem; }
  .app-doclink { width: 100%; justify-content: center; }
  .app-step { padding: 1rem 1.15rem; }
}
