/* =====================================================================
   The Blades Studio — app-lancio.css (24/11/2026, corsia «Lancio app: sito, pagina e banner»)
   La pagina di lancio dell'app /prilozhenie/ (pagine-seo/prilozhenie.php, inc/app-lancio.php). Sopra pagine-seo.css (ps-*):
   stesse variabili, stessi titoli, stesse sezioni; qui solo i pezzi dell'app (ap-*): chip, badge degli store, telefono
   illustrato, QR, carte, passi. Solo transform e opacity si muovono; «riduci movimento» = fermo.
   ===================================================================== */

.ap-page { --ap-carta: #131313; --ap-carta-2: #181818; --ap-raggio: 16px; }

/* ---------- l'eroe ---------- */
.ap-eroe { padding-bottom: 64px; }
.ap-kicker { margin: 6px 0 0; }
.ap-eroe .ps-h1 { margin-top: 14px; }
.ap-eroe .ps-lead { color: rgba(255, 255, 255, .8); }

.ap-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.ap-chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px 8px 10px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(16, 16, 16, .78);
  font: 600 14px/1.35 'Inter', sans-serif; color: #fff;
}
.ap-chip svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ps-red-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-chip--solo { border-color: rgba(251, 61, 72, .5); background: linear-gradient(90deg, rgba(176, 17, 30, .34), rgba(176, 17, 30, .14)); }
.ap-chip--solo svg { stroke: #fff; }
/* 24/11 sera: il buono dei burger (ambra come il bonus dell'area clienti: #f6cf86 su fondo scuro ≥ 10:1) */
.ap-chip--burger { border-color: rgba(242, 184, 75, .55); background: linear-gradient(90deg, rgba(242, 184, 75, .2), rgba(242, 184, 75, .08)), rgba(16, 16, 16, .78); color: #f6cf86; }
.ap-chip--burger svg { stroke: #f2b84b; }

.ap-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.ap-badge {
  display: inline-flex; overflow: hidden; height: 48px; border-radius: 9px; line-height: 0;
  transition: transform .3s var(--ps-ease), opacity .3s var(--ps-ease);
}
.ap-badge img { display: block; height: auto; max-width: none; }
.ap-badge:hover { transform: translateY(-2px); }
.ap-page .ap-badge:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 10px; }
[data-ap-tel="android"] .ap-badge--google { order: -1; }
.ap-gratis { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ps-t2); }

/* il lato destro: telefono illustrato e QR */
.ap-eroe__lato { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
/* 24/11 sera: coi burger la foto della campagna (1200×1200, il telefono e la tessera) al posto del telefono disegnato */
.ap-eroe__foto { display: block; width: min(100%, 420px); height: auto; aspect-ratio: 1; border-radius: 28px; background: #0b0b0b; }
@media (min-width: 900px) { .ap-eroe__foto { width: min(100%, 460px); } }
.ap-tel {
  position: relative; width: 232px; aspect-ratio: 9 / 18.6; padding: 9px; border-radius: 40px;
  background: linear-gradient(160deg, #2a2a2a, #0c0c0c 60%); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.ap-tel__schermo {
  position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; overflow: hidden; padding: 30px 14px 14px;
  border-radius: 32px; background: radial-gradient(120% 50% at 50% 0%, rgba(176, 17, 30, .28), transparent 70%), #0b0b0b;
}
.ap-tel__schermo::before {   /* l'isola in alto */
  content: ''; position: absolute; top: 10px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #000;
}
.ap-tel__marchio { margin: 0; font: 700 10px/1.2 'Inter', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ap-tel__ciao { margin: 0; font-family: var(--ps-display); font-weight: 700; font-size: 26px; line-height: 1; text-transform: uppercase; color: #fff; }
.ap-tel__ora { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--ap-carta-2); border: 1px solid rgba(255, 255, 255, .08); }
.ap-tel__eti { font: 600 9.5px/1.3 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-red-hi); }
.ap-tel__ora b { font: 700 17px/1.2 'Inter', sans-serif; color: #fff; }
.ap-tel__ora span:last-child { font-size: 11.5px; color: rgba(255, 255, 255, .64); }
.ap-tel__carta {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; height: 92px; padding: 12px;
  border-radius: 14px; background: linear-gradient(135deg, #c3131f 0%, #7d0a14 55%, #2a0408 100%); box-shadow: 0 10px 24px rgba(176, 17, 30, .3);
}
.ap-tel__club { font-family: var(--ps-display); font-weight: 700; font-size: 20px; line-height: 1; text-transform: uppercase; color: #fff; }
.ap-tel__qr {
  width: 40px; height: 40px; border-radius: 6px; background-color: #fff;
  background-image: linear-gradient(90deg, #111 50%, transparent 0), linear-gradient(#111 50%, transparent 0);
  background-size: 8px 8px, 8px 8px; background-position: 4px 4px, 4px 4px; box-shadow: inset 0 0 0 4px #fff;
}
.ap-tel__offerta {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; border: 1px dashed rgba(251, 61, 72, .55);
  font: 600 11.5px/1.3 'Inter', sans-serif; color: #fff;
}
.ap-tel__offerta svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ps-red-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-tel__righe { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.ap-tel__righe li {
  display: flex; align-items: center; gap: 9px; padding: 9px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 600 11.5px/1.3 'Inter', sans-serif; color: rgba(255, 255, 255, .86);
}
.ap-tel__righe li::after { content: '›'; margin-left: auto; font-size: 15px; line-height: 1; color: rgba(255, 255, 255, .4); }
.ap-tel__righe svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ps-red-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-tel__pren {
  margin-top: auto; display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 999px;
  background: var(--ps-red); font: 700 12px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.ap-tel__notifica {
  position: absolute; top: 40px; left: -34px; right: -26px; display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 16px; background: rgba(38, 38, 38, .9); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 500 11.5px/1.35 'Inter', sans-serif; color: rgba(255, 255, 255, .86);
  animation: ap-arriva 1s var(--ps-ease) .5s both;
}
.ap-tel__notifica b { display: block; font-weight: 700; color: #fff; }
.ap-tel__logo {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ps-red);
  font-family: var(--ps-display); font-weight: 700; font-size: 18px; color: #fff;
}
@keyframes ap-arriva { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }

.ap-qr { display: none; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .ap-qr {
    display: flex; align-items: center; gap: 18px; max-width: 380px; padding: 14px 18px 14px 14px;
    border-radius: var(--ap-raggio); background: rgba(16, 16, 16, .86); border: 1px solid rgba(255, 255, 255, .12);
  }
  [data-ap-tel] .ap-qr { display: none; }
}
.ap-qr img { flex: none; display: block; width: 116px; height: 116px; border-radius: 10px; background: #fff; }
.ap-qr__t { margin: 0 0 6px; font: 700 16px/1.3 'Inter', sans-serif; color: #fff; }
.ap-qr__d { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ps-t2); }

@media (min-width: 900px) {
  .ap-eroe { padding-bottom: 96px; }
  .ap-tel { width: 270px; }
  .ap-tel__schermo { gap: 12px; padding: 34px 16px 16px; }
  .ap-tel__ciao { font-size: 30px; }
  .ap-tel__carta { height: 108px; }
  .ap-tel__notifica { left: -64px; right: -40px; top: 44px; font-size: 12.5px; }
}

/* ---------- cosa fa ---------- */
.ap-cose { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.ap-cosa { padding: 22px 20px 24px; border-radius: var(--ap-raggio); background: var(--ap-carta); border: 1px solid var(--ps-line-2); }
.ap-cosa__ic {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 13px;
  background: rgba(176, 17, 30, .16); border: 1px solid rgba(251, 61, 72, .28);
}
.ap-cosa__ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ps-red-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-cosa__t, .ap-solo__t, .ap-passo__t {
  margin: 0 0 8px; font-family: var(--ps-display); font-weight: 700; font-size: 25px; line-height: 1.05; text-transform: uppercase; color: #fff;
}
.ap-cosa__d, .ap-solo__d, .ap-passo__d { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ps-t2); }
@media (min-width: 600px) { .ap-cose { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ap-cose { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* ---------- solo nell'app ---------- */
.ap-solo { background: radial-gradient(60% 50% at 80% 30%, rgba(176, 17, 30, .18), transparent 70%), var(--ps-ink); }
.ap-solo__griglia { display: grid; gap: 16px; }
.ap-solo__carta { position: relative; padding: 28px 24px 30px; border-radius: 20px; background: var(--ap-carta); border: 1px solid var(--ps-line); }
.ap-solo__carta--offerte { border-color: rgba(251, 61, 72, .45); background: linear-gradient(150deg, rgba(176, 17, 30, .3), rgba(176, 17, 30, .06) 60%), var(--ap-carta); }
.ap-solo__t { font-size: 30px; }
.ap-solo__d { font-size: 16px; max-width: 30em; }
.ap-solo__cifra { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.ap-solo__cifra b { font-family: var(--ps-display); font-weight: 700; font-size: 84px; line-height: .85; color: var(--ps-red-hi); }
.ap-solo__cifra small { font: 600 14px/1.3 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-t2); }
.ap-solo__cifra--senza svg { width: 46px; height: 46px; fill: none; stroke: var(--ps-red-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ap-solo__cifra[hidden] { display: none; }
.ap-solo__carta--burger { border-color: rgba(242, 184, 75, .45); background: linear-gradient(150deg, rgba(242, 184, 75, .16), rgba(242, 184, 75, .03) 60%), var(--ap-carta); }
.ap-solo__carta--burger .ap-cosa__ic { background: rgba(242, 184, 75, .14); border-color: rgba(242, 184, 75, .42); }
.ap-solo__carta--burger .ap-cosa__ic svg { stroke: #f2b84b; }
@media (min-width: 800px) and (max-width: 1099px) { .ap-solo__griglia--tre { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ap-solo__griglia--tre .ap-solo__carta--burger { grid-column: 1 / -1; } }
@media (min-width: 800px) { .ap-solo__griglia { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 20px; } .ap-solo__carta { padding: 36px 34px 38px; } }

/* ---------- i passi ---------- */
.ap-passi { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ap-passo { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--ap-raggio); background: var(--ap-carta); border: 1px solid var(--ps-line-2); }
.ap-passo__n {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(251, 61, 72, .55); font-family: var(--ps-display); font-weight: 700; font-size: 22px; color: var(--ps-red-hi);
}
.ap-passo__t { font-size: 22px; }
@media (min-width: 900px) { .ap-passi { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .ap-passo { flex-direction: column; padding: 24px; } }

/* ---------- la chiusura ---------- */
.ap-fine .ap-badges { justify-content: center; margin-top: 30px; }
.ap-karta { margin: 18px 0 0; }
.ap-karta .ps-link { justify-content: center; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  .ap-tel__notifica { animation: none; }
  .ap-badge { transition: none; }
  .ap-badge:hover { transform: none; }
}
/* 27/11/2026: col 4° passo («Включи известията за оферти», solo se il server conferma le offerte solo nell'app) due per riga, poi quattro */
@media (min-width: 900px) { .ap-passi--quattro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ap-passi--quattro { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 27/11/2026: offerte e sconti solo con «Известия за оферти и бонуси» accese — la pillola con la campanella (ambra, #f6cf86 su fondo
   scuro ≥ 10:1) e la nota sotto le carte «Това го има само в приложението» (inc/app-lancio.php, blades_app_notifiche) */
.ap-chip--notif { border-color: rgba(246, 207, 134, .5); color: #f6cf86; }
.ap-chip--notif svg { stroke: #f6cf86; }
.ap-solo__nota {
  display: grid; gap: 4px; margin-top: 16px; padding: 26px 24px 28px; border-radius: 20px; border: 1px solid rgba(246, 207, 134, .38);
  background: radial-gradient(80% 120% at 0% 0%, rgba(246, 207, 134, .08), transparent 62%), var(--ap-carta);
}
.ap-solo__nota .ap-cosa__ic { background: rgba(246, 207, 134, .12); border-color: rgba(246, 207, 134, .4); }
.ap-solo__nota .ap-cosa__ic svg { stroke: #f6cf86; }
.ap-solo__nota .ap-solo__d { max-width: 44em; color: rgba(255, 255, 255, .86); }
.ap-solo__nota .ap-solo__d + .ap-solo__d { margin-top: 10px; color: var(--ps-t2); }
@media (min-width: 800px) {
  .ap-solo__nota { grid-template-columns: auto minmax(0, 1fr); gap: 24px; margin-top: 20px; padding: 34px 40px 36px 34px; }
  .ap-solo__nota .ap-cosa__ic { margin-bottom: 0; }
}
