/* ===========================================================================
   aihub-style.css — stile pagine servite da aihubdirect.com
   Estratto e adattato dalla landing root (AI-Hub/internal/api/landing.html).
   Palette: #3D6478 / #2A4856 / #1F2A30 / #F4F6F7 / #D9E0E4 / #fff8e1 / #E4ECEF
   Font: -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif
   Layout base: .wrap max-width 960px.
   =========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; overflow-x: clip; } /* no scroll laterale (sticker prezzi sfora di design); clip NON crea scroll-container: position:sticky della site-nav resta attivo */
html { scroll-padding-top: 80px; } /* ancore non nascoste dalla nav sticky */
body { font-family: -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif; color: #1F2A30; line-height: 1.6; background: #fff; }
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 22px; }

/* ---- buttons ---- */
.btn { display: inline-block; background: #3D6478; color: #fff; text-decoration: none; font-weight: 700; padding: 14px 30px; border-radius: 8px; font-size: 17px; transition: background .15s; border: none; cursor: pointer; }
.btn:hover { background: #2A4856; }
.btn.big { font-size: 19px; padding: 17px 40px; }
.btn.ghost { background: transparent; color: #3D6478; border: 2px solid #C6D0D6; }
.btn.ghost:hover { background: #F4F6F7; color: #3D6478; }
/* btn-on-dark: pulsante white-fill su hero scuro (header) o cta scura, contrast AA */
.btn-on-dark { background: #fff; color: #2A4856; border: 2px solid #fff; }
.btn-on-dark:hover { background: #F4F6F7; color: #2A4856; border-color: #F4F6F7; }
.muted { color: #5A6B73; font-size: 14px; }

/* ---- hero ---- */
.hero { background: linear-gradient(160deg, #3D6478 0%, #2A4856 100%); color: #fff; padding: 56px 0 64px; text-align: center; }
.hero.short { padding: 44px 0 48px; }
.logo { width: 78px; height: 78px; background: #fff; color: #3D6478; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; margin: 0 auto 22px; }
/* hero-brand: logo a FIANCO del titolo (non sopra) */
.hero .hero-brand { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; justify-content: center; }
.hero .hero-brand .logo { width: 56px; height: 56px; margin: 0; flex: none; box-shadow: 0 4px 16px rgba(0,0,0,.20); }
.hero .hero-brand h1 { margin: 0; text-align: left; line-height: 1.15; }
@media (max-width: 540px) { .hero .hero-brand { gap: 12px; } .hero .hero-brand .logo { width: 46px; height: 46px; } .hero .hero-brand h1 { text-align: center; } }
.hero h1 { font-size: 33px; line-height: 1.25; margin-bottom: 10px; }
/* hero-price: riga prezzo sotto i CTA per ridurre friction */
.hero .hero-price { margin-top: 18px; font-size: 15px; font-weight: 600; opacity: .98; letter-spacing: .01em; }
/* btn-win: pulsante Scarica per Windows con icona Windows 4-quadrati */
.hero-actions .btn.btn-win { background: #2A4856; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.22);
  display: inline-flex; align-items: center; gap: 10px; }
.hero-actions .btn.btn-win:hover { background: #1F3540; }
.btn-ic { width: 18px; height: 18px; color: currentColor; flex: none; }
.hero .sub { font-size: 17px; opacity: .92; max-width: 620px; margin: 0 auto 28px; }
.hero .hero-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
/* hero-roi: 3 bullet "card" su sfondo bianco, leggibili sopra hero scuro */
.hero .hero-roi { list-style: none; padding: 0; margin: 0 auto 28px;
  max-width: 720px; display: flex; flex-direction: column; gap: 10px;
  text-align: left; }
.hero .hero-roi li { display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px; padding: 14px 18px;
  font-size: 14.5px; line-height: 1.5; color: #1A2E38;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.hero .hero-roi .roi-ic { font-size: 22px; flex: none; line-height: 1; color: #3D6478; }
.hero .hero-roi strong { color: #2A4856; font-weight: 700; }
/* CTA primario VS secondario, gerarchia esplicita */
.hero-actions .btn:not(.ghost) { background: #fff; color: #2A4856;
  box-shadow: 0 8px 28px rgba(0,0,0,.32); font-weight: 700; }
.hero-actions .btn:not(.ghost):hover { background: #F4F6F7; transform: translateY(-1px); }

/* glossario inline: termine tecnico con sottolineatura punteggiata + tooltip semplice */
abbr.term { text-decoration: underline dotted #3D6478;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  cursor: help; font-style: normal; border: 0; color: inherit; }
abbr.term:hover { background: rgba(61,100,120,.08); border-radius: 3px; }

/* countdown urgency banner sopra l'hero, JS-driven */
.launch-countdown { display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 10px 18px; flex-wrap: wrap;
  background: linear-gradient(90deg, #ff7043 0%, #e0231b 100%); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; }
.launch-countdown .lc-fire { font-size: 18px; line-height: 1; }
.launch-countdown .lc-txt strong { font-weight: 800; letter-spacing: .01em; }
.launch-countdown .lc-cta { background: #fff; color: #c00f0a; padding: 6px 14px;
  border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none;
  letter-spacing: .01em; box-shadow: 0 4px 12px rgba(0,0,0,.18);
  transition: transform .12s; }
.launch-countdown .lc-cta:hover { transform: translateY(-1px); color: #c00f0a; }
@media (max-width: 540px) {
  .launch-countdown { padding: 10px 14px; font-size: 13px; gap: 10px; }
  .launch-countdown .lc-cta { font-size: 12px; padding: 5px 12px; }
}
.hero .btn { background: #fff; color: #3D6478; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.hero .btn:hover { background: #F4F6F7; }
.hero .btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); box-shadow: none; }
.hero .btn.ghost:hover { background: rgba(255,255,255,.10); color: #fff; }
.hero .dl-note { margin-top: 14px; font-size: 13px; opacity: .85; }

/* banner offerta lancio sopra hero */
.launch-banner { background: #fff8e1; border-bottom: 1px solid #ffe0a3; color: #6d5417; text-align: center; padding: 10px 16px; font-size: 13.5px; font-weight: 600; }
.launch-banner strong { color: #6d5417; }

/* ---- sections ---- */
section { padding: 52px 0; }
section.alt { background: #F4F6F7; }
h2 { font-size: 25px; text-align: center; margin-bottom: 8px; color: #2A4856; }
h3 { color: #2A4856; }
.lead { text-align: center; color: #5A6B73; max-width: 640px; margin: 0 auto 32px; }

/* ---- grid + card ---- */
.grid { display: flex; flex-wrap: wrap; gap: 18px; }
.grid > * { flex: 1 1 200px; }
.card { background: #fff; border: 1px solid #D9E0E4; border-radius: 11px; padding: 22px 20px; }
.card .ic { font-size: 30px; display: block; margin-bottom: 8px; }
.card h3 { font-size: 16px; margin-bottom: 5px; color: #2A4856; }
.card p { font-size: 14px; color: #5A6B73; }
.stepnum { width: 30px; height: 30px; background: #3D6478; color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-bottom: 8px; }

/* ---- step list (.steps > .step > .n + .t) ---- */
.steps { max-width: 680px; margin: 0 auto; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #D9E0E4; }
.step:last-child { border-bottom: none; }
.step .n { width: 34px; height: 34px; flex-shrink: 0; background: #3D6478; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.step .t h3 { font-size: 16px; color: #2A4856; margin-bottom: 4px; }
.step .t p { font-size: 14px; color: #5A6B73; }

/* ---- final CTA ---- */
.cta { background: linear-gradient(160deg, #3D6478 0%, #2A4856 100%); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: #3D6478; }
.cta .lead.lead-light { color: #E4ECEF; }

/* ---- footer (scuro, coerente con SINOSSI #0A141B) ---- */
footer { background: #0A141B; color: #9fb4c1; text-align: center; padding: 48px 0 36px; font-size: 13.5px; line-height: 1.7; }
footer strong { color: #fff; }
footer .muted-light { color: #7f95a1; font-size: 12.5px; max-width: 720px; margin: 0 auto; display: inline-block; line-height: 1.55; }
footer .footer-link { color: #cfd5da; text-decoration: none; }
footer .footer-link:hover { color: #fff; }

/* ---- info boxes ---- */
.disclaimer { background: #fff8e1; border: 1px solid #ffe0a3; border-radius: 9px; padding: 14px 18px; font-size: 13px; color: #6d5417; max-width: 720px; margin: 26px auto 0; }
.secnote { background: #E4ECEF; border: 1px solid #C6D0D6; border-radius: 9px; padding: 14px 18px; font-size: 13.5px; color: #2A4856; max-width: 720px; margin: 26px auto 0; }
.secnote strong { color: #2A4856; }
.secnote ul { margin: 8px 0 0; padding-left: 20px; }
.secnote li { margin: 5px 0; }
.secnote.spaced { margin-top: 32px; }

/* ---- promo SINOSSI (cross-sell verso /sinossi/) ---- */
.sinossi-promo { background: #F4F6F7; border-top: 1px solid #D9E0E4; padding: 26px 0; }
.sinossi-promo .wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sinossi-logo-legacy-50 { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%;
    display: inline-grid; place-items: center;
    background: conic-gradient(from 210deg, #64d2ff, #34c759, #ffcc00, #ff9f0a, #ff453a, #0071e3, #64d2ff);
    box-shadow: 0 2px 8px rgba(13,42,82,.18); }
.sinossi-logo span { color: #fff; font-weight: 700; font-size: 33px; line-height: 1;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
    letter-spacing: -0.03em; text-indent: -0.03em; transform: translateY(-3%);
    text-shadow: 0 1px 3px rgba(0,0,0,.28); }
.sinossi-promo .txt { flex: 1 1 320px; min-width: 0; }
.sinossi-promo .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: #0071e3; margin-bottom: 3px; }
.sinossi-promo .txt p { font-size: 15px; color: #2A4856; }
.sinossi-promo .txt strong { color: #2A4856; }
.sinossi-promo .btn.sinossi-btn { background: #0071e3; color: #fff; padding: 12px 26px; font-size: 15px; flex-shrink: 0; }
.sinossi-promo .btn.sinossi-btn:hover { background: #0077ed; }

/* ===========================================================================
   CLASSI NUOVE per le pagine prezzi (ai-prezzi, bundle-prezzi)
   =========================================================================== */

/* griglia 2 colonne plan-card */
.pricing-grid { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; max-width: 820px; margin: 0 auto; align-items: stretch; }
.pricing-grid > .plan-card { flex: 1 1 340px; max-width: 380px; }

/* plan-card */
.plan-card { position: relative; background: #fff; border: 1px solid #D9E0E4; border-radius: 12px; padding: 28px 26px 26px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(13,42,82,.05); }
.plan-card .plan-name { font-size: 16px; font-weight: 700; color: #2A4856; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 6px; }
.plan-card.featured { border: 2px solid #3D6478; box-shadow: 0 6px 22px rgba(61,100,120,.16); }
.plan-card .plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #3D6478; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }

/* prezzi */
.price-old { display: block; color: #5A6B73; font-size: 14px; text-decoration: line-through; margin-bottom: 2px; }
.price-big { font-size: 36px; font-weight: 800; color: #3D6478; line-height: 1; letter-spacing: -.02em; }
.price-period { font-size: 14px; color: #5A6B73; font-weight: 600; margin-left: 4px; }
.plan-card .plan-sub { font-size: 13.5px; color: #5A6B73; margin: 8px 0 18px; min-height: 20px; }

/* lista features con check */
.feature-list { list-style: none; padding: 0; margin: 14px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.feature-list li { font-size: 14.5px; color: #1F2A30; padding-left: 26px; position: relative; line-height: 1.45; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #2e7d32; font-weight: 800; font-size: 16px; }

/* smart-button PayPal */
.plan-card .paypal-slot { margin-top: auto; }
.plan-card .paypal-slot .btn { width: 100%; text-align: center; box-sizing: border-box; }
.pp-placeholder { background: #F4F6F7; border: 1px dashed #C6D0D6; border-radius: 9px; padding: 12px; font-size: 13px; color: #5A6B73; text-align: center; }

/* tabella confronto Bundle vs Separati */
.bundle-compare { width: 100%; max-width: 760px; margin: 24px auto 0; border-collapse: collapse; background: #fff; border: 1px solid #D9E0E4; border-radius: 11px; overflow: hidden; font-size: 14.5px; }
.bundle-compare thead { background: #F4F6F7; }
.bundle-compare th { text-align: left; padding: 12px 16px; font-weight: 700; color: #2A4856; font-size: 13.5px; letter-spacing: .02em; border-bottom: 1px solid #D9E0E4; }
.bundle-compare td { padding: 12px 16px; border-bottom: 1px solid #E4ECEF; color: #1F2A30; vertical-align: top; }
.bundle-compare tbody tr:last-child td { border-bottom: none; }
.bundle-compare td.discount { color: #2e7d32; font-weight: 700; white-space: nowrap; }
.bundle-compare td.bundle { font-weight: 700; color: #3D6478; }

/* FAQ blocchi <details> */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid #D9E0E4; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; color: #2A4856; cursor: pointer; font-size: 15px; list-style: none; position: relative; padding-right: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: #3D6478; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #5A6B73; font-size: 14.5px; margin-top: 10px; line-height: 1.55; }

/* spacing helper per CTA dentro .secnote */
.secnote .cta-row { margin-top: 12px; }

/* mini-CTA card bundle */
.cross-card { max-width: 760px; margin: 32px auto 0; background: linear-gradient(135deg, #3D6478 0%, #2A4856 100%); color: #fff; border-radius: 12px; padding: 22px 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cross-card .txt { flex: 1 1 320px; min-width: 0; }
.cross-card .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #C7D2DD; margin-bottom: 4px; }
.cross-card h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.cross-card p { font-size: 14.5px; color: rgba(255,255,255,.85); margin: 0; }
.cross-card .btn { background: #fff; color: #3D6478; flex-shrink: 0; }
.cross-card .btn:hover { background: #F4F6F7; color: #3D6478; }

/* responsive */
@media (max-width: 720px) {
  .hero { padding: 38px 0 44px; }
  .hero h1 { font-size: 28px; line-height: 1.2; }
  .hero .sub { font-size: 16px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding: 12px 22px; font-size: 16px; }
  .hero .dl-note { font-size: 12px; max-width: 92%; margin: 14px auto 0; }
  .hero-sinossi-pill { font-size: 13px; padding: 7px 14px 7px 12px; max-width: 95%; }
  .launch-banner { font-size: 13px; padding: 10px 16px; line-height: 1.4; }
  .grid { gap: 14px; }
  .grid > .card { padding: 20px 18px; }
  .card .ic { font-size: 28px; }
  .card h3 { font-size: 17px; }
  .secnote, .disclaimer { font-size: 13px; padding: 12px 14px; margin: 18px 16px 0; }
  .pricing-grid { gap: 16px; }
  .pricing-grid > .plan-card { max-width: 100%; flex-basis: 100%; }
  .plan__burst { width: 100px; height: 100px; right: -10px; top: -16px; }
  .plan__burst .b-in b { font-size: 24px; }
  .plan__burst .b-in small { font-size: 10px; }
  .bundle-compare { font-size: 13px; }
  .bundle-compare th, .bundle-compare td { padding: 8px 10px; }
  .cross-card { padding: 22px 18px; margin: 28px 14px 0; gap: 14px; flex-direction: column;
    align-items: flex-start; max-width: calc(100% - 28px); }
  .cross-card--hero { padding: 26px 18px 22px; margin: 8px 14px 0; max-width: calc(100% - 28px); }
  .cross-card--hero::before { font-size: 10px; padding: 5px 12px; left: 16px; top: -14px; }
  .cross-card--hero h3 { font-size: 21px; }
  .cross-card--hero p { font-size: 14.5px; }
  .cross-card--hero .btn { width: 100%; text-align: center; }
  .cross-or { font-size: 11px; gap: 10px; margin: 18px 14px 12px; }
  .sinossi-hero { padding: 36px 0; }
  .sinossi-hero__inner { padding: 24px 20px; gap: 18px; }
  .sinossi-hero__h { font-size: 22px; }
  .sinossi-logo { width: 64px; height: 64px; }
  .sinossi-logo__txt { font-size: 46px; }
  .cta-actions-row { gap: 8px; }
  .cta-actions-row .btn.big { font-size: 15px; padding: 12px 22px; }
  h2 { font-size: 22px; }
  footer { font-size: 13px; padding: 28px 16px 22px; }
  footer .footer-link, footer .muted-light { font-size: 12.5px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero .sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cross-card--hero::before { font-size: 9.5px; }
  .video-frame { border-radius: 10px; }
  .video-play__t { font-size: 12px; }
}

/* ============================================================================
   Pattern visivo "OFFERTA LANCIO" — adattato a palette teal aihubdirect.com.
   Originale SINOSSI (style.css): stella conica blu apple. Qui: teal #3D6478.
   ============================================================================ */

/* Prezzo "vecchio" barrato pulito (no X rossa) */
.pp-old { display: inline-block; color: #8a979d;
  font-size: 22px; font-weight: 600; letter-spacing: -.02em;
  text-decoration: line-through; text-decoration-color: #b0b8bd; }
.ct { font-size: .55em; vertical-align: super; font-weight: 800; letter-spacing: 0; }
/* etichetta " /mese listino" accanto al barrato: tipografia gentile, evita doppio prezzo grosso */
.pp-old-period { font-size: 13px; color: #8a979d; font-weight: 600;
  margin-left: 6px; letter-spacing: .01em; vertical-align: middle; }

/* Stella "Offerta lancio" — sticker in alto a destra della plan card,
   gradient teal aihub + aura pulsante in teal chiaro. */
.plan-card { position: relative; }   /* serve per posizionare la stella */
.plan__burst { position: absolute; top: -22px; right: -18px; width: 132px; height: 132px;
  z-index: 6; display: grid; place-items: center;
  transform: rotate(9deg);
  animation: burstPulse 3.4s ease-in-out infinite; }
.plan__burst::before, .plan__burst::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, #4d809a, #3D6478); border-radius: 16px;
  box-shadow: 0 5px 14px rgba(0,0,0,.18); }
.plan__burst::after { transform: rotate(45deg); }

/* Aura teal che pulsa espandendosi all'esterno */
.plan__burst .b-aura { position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,100,120,.55), rgba(61,100,120,0) 70%);
  animation: auraPulse 2.6s ease-out infinite; }

@keyframes auraPulse {
  0%   { transform: scale(.8);  opacity: .75; }
  70%, 100% { transform: scale(1.65); opacity: 0; }
}
@keyframes burstPulse {
  0%, 100% { transform: rotate(9deg) scale(.98); filter: drop-shadow(0 5px 12px rgba(0,0,0,.20)); }
  50%      { transform: rotate(9deg) scale(1.05); filter: drop-shadow(0 8px 18px rgba(0,0,0,.22)); }
}
@media (prefers-reduced-motion: reduce) {
  .plan__burst { animation: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.22)); }
  .plan__burst .b-aura { animation: none; }
}

/* Testo bianco con filetto (contorno) per leggibilità sulla stella teal */
.plan__burst .b-in { position: relative; z-index: 1; transform: rotate(-3deg);
  text-align: center; line-height: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 0 8px;
  color: #fff; -webkit-text-stroke: .7px rgba(13,30,42,.55); paint-order: stroke fill;
  text-shadow: 0 1px 2px rgba(0,0,0,.22); }
.plan__burst .b-in small { font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .03em; line-height: 1.05; }
.plan__burst .b-in b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.plan__burst .b-in em { font-size: 12.5px; font-style: normal; font-weight: 700; }

/* Badge "CONSIGLIATO" già esistente .plan-badge — nessun cambio */

/* ============================================================================
   NAV bar fissa in alto + menu hamburger mobile.
   Sui >=720px: link inline. Sotto: hamburger con menu a comparsa.
   ============================================================================ */
.site-nav { background: #fff; border-bottom: 1px solid #D9E0E4; position: sticky; top: 0; z-index: 100; }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between;
  max-width: 960px; margin: 0 auto; padding: 12px 22px; gap: 16px; }
.site-nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800;
  color: #2A4856; text-decoration: none; font-size: 17px; letter-spacing: -.01em; }
.site-nav__brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.site-nav__links { display: flex; align-items: center; gap: 22px; }
.site-nav__links a { color: #2A4856; text-decoration: none; font-size: 15px; font-weight: 600; }
.site-nav__links a:hover { color: #3D6478; }
/* SINOSSI nav link: gradient rainbow sottile per richiamare il brand SINOSSI */
.site-nav__sinossi { background: linear-gradient(90deg, #FF3B30 0%, #FF9500 30%, #34C759 65%, #0071e3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
  font-weight: 800 !important; letter-spacing: -.01em; }
.site-nav__sinossi:hover { filter: brightness(.9); }
.site-nav__cta { background: #3D6478; color: #fff !important; padding: 8px 18px;
  border-radius: 7px; font-weight: 700; }
.site-nav__cta:hover { background: #2A4856; }
.site-nav__toggle { display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: #2A4856; }
.site-nav__toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 720px) {
  .site-nav__toggle { display: block; }
  .site-nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid #D9E0E4; flex-direction: column; gap: 0;
    padding: 8px 0; box-shadow: 0 6px 18px rgba(13,42,82,.10); }
  .site-nav__links a { padding: 14px 22px; border-bottom: 1px solid #F4F6F7;
    width: 100%; box-sizing: border-box; }
  .site-nav__links a:last-child { border-bottom: 0; }
  .site-nav__links.is-open { display: flex; }
  .site-nav__cta { margin: 8px 22px; text-align: center; }
}

/* ============================================================================
   BOOST visibilità Bundle cross-sell sulle pricing pages (AI + Bundle).
   Era discreto (1px border, neutro). Ora: badge alto + bordo accent + shadow +
   sfondo soft teal + pop tipografico.
   ============================================================================ */
.cross-card { position: relative; margin: 36px auto 0; max-width: 820px;
  background: linear-gradient(135deg, #F4F6F7 0%, #E4ECEF 100%);
  border: 2px solid #3D6478; border-radius: 14px;
  box-shadow: 0 8px 28px rgba(13,42,82,.12);
  padding: 28px 28px 26px;
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.cross-card::before { content: "★ RISPARMIA"; position: absolute; top: -14px; left: 26px;
  background: #e0231b; color: #fff; font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; padding: 5px 14px;
  border-radius: 999px; box-shadow: 0 3px 10px rgba(224,35,27,.30); }
.cross-card .txt { flex: 1 1 360px; min-width: 280px; }
.cross-card .eyebrow { color: #3D6478; font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.cross-card h3 { font-size: 22px; color: #2A4856; margin-bottom: 8px;
  letter-spacing: -.01em; }
.cross-card p { font-size: 15px; color: #2A4856; line-height: 1.55; margin: 0; }
.cross-card .btn { background: #3D6478; color: #fff; padding: 14px 30px;
  font-size: 16px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(61,100,120,.25); }
.cross-card .btn:hover { background: #2A4856; box-shadow: 0 6px 16px rgba(61,100,120,.35); }

/* Variante hero: cross-card sopra la grid prezzi, più grande + accent gradient teal */
.cross-card--hero { max-width: 920px; padding: 32px 32px 30px; margin-top: 8px;
  background: linear-gradient(135deg, #E4ECEF 0%, #C9D9DF 100%);
  border-width: 2.5px; box-shadow: 0 12px 36px rgba(13,42,82,.18); }
.cross-card--hero::before { content: "★ SCEGLI IL BUNDLE — RISPARMI €9/MESE"; top: -16px;
  font-size: 12px; padding: 6px 16px; box-shadow: 0 4px 14px rgba(224,35,27,.40); }
.cross-card--hero h3 { font-size: 26px; margin-bottom: 10px; }
.cross-card--hero p { font-size: 15.5px; }
.cross-card--hero .btn { font-size: 17px; padding: 16px 34px;
  background: linear-gradient(135deg, #3D6478 0%, #2A4856 100%); }

/* Divisore "oppure solo AI" sotto la cross-card hero */
.cross-or { text-align: center; margin: 26px auto 18px; max-width: 920px;
  font-size: 13px; color: #6E7B85; letter-spacing: .05em;
  text-transform: uppercase; font-weight: 700;
  display: flex; align-items: center; gap: 16px; }
.cross-or::before, .cross-or::after { content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, #C7CFD5, transparent); }

/* ============================================================================
   SINOSSI cross-sell sul sito AI: pillola hero + sezione "app gemella" forte +
   actions-row CTA finale a 3 pulsanti.
   ============================================================================ */
.hero-sinossi-pill { display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding: 8px 18px 8px 14px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px; color: #fff; text-decoration: none;
  font-size: 14px; line-height: 1.4;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s; max-width: 100%; }
.hero-sinossi-pill:hover { background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.55); color: #fff; }
.hero-sinossi-pill strong { font-weight: 800; }

.sinossi-hero { padding: 56px 0; background: linear-gradient(135deg, #FFF7EC 0%, #FFF 35%, #ECF3FF 100%); }
.sinossi-hero__inner { display: flex; gap: 28px; align-items: flex-start;
  max-width: 920px; margin: 0 auto; padding: 36px 32px;
  background: #fff; border-radius: 18px; box-shadow: 0 14px 40px rgba(13,42,82,.10);
  border: 1px solid #E4ECEF; flex-wrap: wrap; }
.sinossi-hero__icon { flex: none; }
/* Logo SINOSSI: omino tinta unita teal che respira (coerente con si-nossi.com) */
.sinossi-logo { flex: none; display: inline-grid; place-items: center;
  width: 72px; height: 72px; color: #3D6478; }
.sinossi-logo__fig { width: 100%; height: 100%; color: currentColor;
  transform-origin: 50% 60%;
  animation: sinossi-logo-breathe 3.6s ease-in-out infinite; }
@keyframes sinossi-logo-breathe {
  0%, 100% { transform: scale(.94); }
  50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .sinossi-logo__fig { animation: none; } }

/* ============================================================================
   Demo interattiva qui-nel-browser (mirror struttura SINOSSI, palette AI teal).
   ============================================================================ */
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: #3D6478; margin: 0 0 6px; text-align: center; }
.demo-cta { margin-top: 22px; display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; justify-content: center; }
.demo-cta-hint { font-size: 13px; color: #6E7B85; }
.demo-frame { position: relative; width: 100%; margin: 16px auto 0;
  border: 1px solid #D9E0E4; border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 36px rgba(13,42,82,.15); background: #fff; }
.demo-frame iframe { position: absolute; top: 0; left: 0;
  width: 1280px; height: 860px; border: 0;
  transform-origin: top left; display: block; }
.demo-play { position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 20px; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(11,16,26,.80), rgba(11,16,26,.90));
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  transition: opacity .3s ease; }
.demo-play__ic { position: relative; color: #fff;
  display: grid; place-items: center;
  transition: transform .2s ease; animation: aiDemoTap 2.2s ease-in-out infinite; }
.demo-play__ic svg { width: 68px; height: 68px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.55)); }
.demo-play__ic::before { content: ""; position: absolute; left: 16%; top: 10%;
  width: 96px; height: 96px;
  transform: translate(-50%,-50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(61,100,120,.75), rgba(61,100,120,0) 68%);
  animation: aiDemoAura 2s ease-out infinite; }
.demo-play:hover .demo-play__ic { transform: scale(1.1); }
@keyframes aiDemoTap { 0%,100% { transform: scale(1) } 50% { transform: scale(1.08) } }
@keyframes aiDemoAura {
  0%   { transform: translate(-50%,-50%) scale(.4); opacity: .85 }
  70%, 100% { transform: translate(-50%,-50%) scale(1.5); opacity: 0 }
}
@media (prefers-reduced-motion: reduce) {
  .demo-play__ic { animation: none; }
  .demo-play__ic::before { animation: none; opacity: .4; }
}
.demo-play__t { text-align: center; line-height: 1.18;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0 16px; }
.demo-play__t .dp-h { font-size: 24px; font-weight: 700; opacity: .96; }
.demo-play__t .dp-cta { font-size: 44px; font-weight: 800;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; }
.demo-play__t small { font-size: 18px; font-weight: 500; opacity: .95; max-width: 34ch; }
.demo-frame.live .demo-play { opacity: 0; pointer-events: none; }
.demo-note { margin-top: 14px; font-size: 13px; color: #6E7B85; text-align: center; }

/* video demo "Guarda AI in azione": gabbia 16:9 dentro .wrap, niente overflow */
.video-frame { position: relative; max-width: 100%; width: 100%;
  aspect-ratio: 16 / 9; margin: 0 auto;
  background: linear-gradient(135deg, #3D6478 0%, #1E3440 100%);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 36px rgba(13,42,82,.25); }
.video-frame video { width: 100%; height: 100%; display: block;
  object-fit: contain; background: #000; }
.video-play { position: absolute; inset: 0; margin: auto;
  width: 110px; height: 110px; padding: 0;
  background: none; border: 0; cursor: pointer;
  display: grid; place-items: center;
  transition: transform .15s ease; }
.video-play:hover { transform: scale(1.08); }
.video-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 50%; }
.video-play svg { width: 100%; height: 100%;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.45)); }
.video-play__t { position: absolute; left: 50%; top: calc(100% + 14px);
  transform: translateX(-50%); white-space: nowrap;
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em;
  text-shadow: 0 2px 8px rgba(0,0,0,.55); pointer-events: none; }
@media (max-width: 520px) {
  .video-play { width: 80px; height: 80px; }
  .video-play__t { font-size: 13px; top: calc(100% + 10px); }
}
.sinossi-hero__txt { flex: 1 1 420px; min-width: 280px; }
.sinossi-hero__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: #0071e3; margin-bottom: 8px; }
.sinossi-hero__h { font-size: 26px; color: #1d1d1f; margin-bottom: 12px; letter-spacing: -.01em; }
.sinossi-hero__p { font-size: 15.5px; color: #4b5563; line-height: 1.6; margin-bottom: 20px; }
.sinossi-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sinossi-hero__actions .btn { background: #0071e3; color: #fff; }
.sinossi-hero__actions .btn:hover { background: #0058b3; }
.sinossi-hero__actions .btn.ghost { background: transparent; color: #0071e3;
  border: 2px solid #0071e3; }
.sinossi-hero__actions .btn.ghost:hover { background: rgba(0,113,227,.08); color: #0071e3; }

/* CTA finale: 3 pulsanti centrati (AI / SINOSSI / Bundle) */
.cta-actions-row { display: inline-flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 8px; }

/* WCAG AA — link inline distinguibili dal testo circostante (underline) */
section p a:not(.btn), section li a:not(.btn), .ans a, details a, footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
/* Footer link su sfondo scuro: schiarisco da #cfd5da a #e8eef2 per 3:1 contrast WCAG */
footer a, .footer-link, footer .footer-link {
  color: #e8eef2 !important;
}
/* .yy (anno referto) su sfondo grigio: scurisco per 4.5:1 */
.referti-list .yy { color: #5a6b73 !important; }

/* link-in-text-block: underline forzato sui link nel footer (link surround text contrast <3:1) */
footer a, footer .footer-link {
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* WCAG AA — override colori che falliscono contrast */
.demo-cta-hint, .demo-note, .demo-note strong, .demo-note a { color: #5a6770 !important; }
.pp-old, .pp-old .ct, .pp-old-period { color: #5a6770 !important; }
.dl-file-warn { color: #14552c !important; } /* verde più scuro per 4.5:1 su #f4f6f7 */
.footer__nav h3, .footer__contact h3, footer h3 { color: #e4ecef !important; }
.muted-light, footer em { color: #b8c8d2 !important; } /* schiarito da #9fb0b8 per 4.5:1 su footer dark */

/* WCAG 2.5.5 tap target ≥36px su mobile */
@media (max-width: 768px) {
  footer a, .footer-link {
    display: inline-block;
    padding: 8px 4px;
    min-height: 36px;
    line-height: 1.6;
  }
}

/* WCAG 2.5.5 tap target — nav top + brand mobile/tablet >= 36px */
@media (max-width: 768px) {
  .site-nav__links a, .site-nav__brand {
    padding: 10px 12px !important;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  details summary {
    padding: 14px 20px;
    min-height: 44px;
  }
}
