
/* Fallback font con metriche PRECISE Inter <-> Arial
     (calcolate con f-mods tool, garantiscono zero CLS) */
  @font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    size-adjust: 107.40%;
    ascent-override: 90.49%;
    descent-override: 22.56%;
    line-gap-override: 0%;
  }
  body {
    font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  }

  :root {
    --navy:        #2b3650;
    --navy-deep:   #1f2840;
    --navy-soft:   #3a455f;
    --navy-glow:   #4a5680;
    --ink:         #11192c;
    --muted:       #6b7280;
    --muted-soft:  #9ca3af;
    --bg:          #ffffff;
    --bg-soft:     #f8f9fb;
    --bg-tint:     #eef1f6;
    --line:        #e5e8ee;
    --line-soft:   #eef0f4;
    --success:     #15803d;
    --green:       #1f9d4d;
    --green-deep:  #157a3a;
    --shadow-sm:   0 1px 2px rgba(15,30,61,.04);
    --shadow-lg:   0 2px 4px rgba(15,30,61,.04), 0 24px 48px rgba(15,30,61,.10);
    --radius-lg:   24px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }
  html, body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: -.01em;
    overflow-x: hidden;
  }

  /* ===== HERO - sfondo navy pieno ===== */
  .hero {
    position: relative;
    background: var(--navy);
    color: #ffffff;
    padding: 48px 24px 88px;
    overflow: hidden;
    min-height: 640px;
    contain: layout style;
  }

  /* Su touch device disabilito gli hover scale che causano scroll orizzontale */
  @media (hover: none) {
    .hero-btn-primary:hover,
    .hero-btn-ghost:hover,
    .business-cta-link:hover,
    .business-cta-inner:hover,
    .cta:hover,
    .help-cta-primary:hover {
      transform: none;
    }
  }

  @media (max-width: 860px) {
    .hero { min-height: 0; }
  }


  .hero-inner {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
  }

  .hero-topbar {
    display: flex;
    align-items: center;
    margin-bottom: 56px;
  }
  .hero-logo {
    display: block;
    width: 180px;
    height: auto;
  }

  .hero-logo-link {
    display: inline-block;
    transition: opacity .25s ease;
  }
  .hero-logo-link:hover { opacity: .75; }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .hero-text { max-width: 520px; }

  .hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(34px, 4.8vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 22px;
  }

  .hero-sub {
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 1.55;
    color: rgba(255,255,255,.72);
    margin-bottom: 32px;
    max-width: 460px;
  }

  .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -.005em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    isolation: isolate;
    transition:
      transform .4s cubic-bezier(.34,1.2,.64,1),
      box-shadow .4s cubic-bezier(.2,.8,.2,1),
      background-color .35s ease,
      border-color .35s ease;
  }
  /* Highlight superiore Liquid Glass - statico, niente shimmer animato */
  .hero-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.40) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
    z-index: 1;
    transition: opacity .4s ease;
  }
  .hero-btn > * { position: relative; z-index: 2; }

  /* PRIMARY - bianco solido */
  .hero-btn-primary {
    background: #ffffff;
    color: var(--navy) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.9),
      inset 0 -1px 0 rgba(43,54,80,.06),
      0 1px 2px rgba(0,0,0,.1),
      0 8px 24px rgba(0,0,0,.20);
  }
  .hero-btn-primary:hover {
    background: #ffffff;
    transform: scale(1.03);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,1),
      inset 0 -1px 0 rgba(43,54,80,.08),
      0 2px 6px rgba(0,0,0,.16),
      0 18px 40px rgba(0,0,0,.28);
  }
  .hero-btn-primary:hover::before {
    opacity: 1.4;
  }
  .hero-btn-primary:active { transform: scale(.98); transition-duration: .15s; }
  .hero-btn-primary svg { width: 14px; height: 14px; transition: transform .35s ease; }
  .hero-btn-primary:hover svg { transform: translateY(2px); }

  /* GHOST - Liquid Glass autentico su navy */
  .hero-btn-ghost {
    background: rgba(255,255,255,.08);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.20),
      inset 0 -1px 0 rgba(0,0,0,.10),
      0 6px 20px rgba(0,0,0,.18);
  }
  .hero-btn-ghost::before {
    background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 50%);
  }
  .hero-btn-ghost:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.32);
    transform: scale(1.03);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.32),
      inset 0 -1px 0 rgba(0,0,0,.10),
      0 10px 32px rgba(0,0,0,.26);
  }
  .hero-btn-ghost:hover::before {
    background: linear-gradient(180deg, rgba(255,255,255,.36) 0%, rgba(255,255,255,0) 55%);
  }
  .hero-btn-ghost:active { transform: scale(.98); transition-duration: .15s; }

  /* ===== Hero mockups (iPad + iPhone, statici, allineati) ===== */
  .hero-mockups {
    position: relative;
    width: 100%;
    max-width: 420px;
    justify-self: end;
    transform: translateX(40px);
  }
  .hero-mockups .mockup {
    display: block;
    height: auto;
    filter: drop-shadow(0 25px 40px rgba(0,0,0,.35)) drop-shadow(0 10px 18px rgba(0,0,0,.25));
  }
  /* iPad ancorato a sinistra */
  .mockup-tablet {
    position: relative;
    width: 72%;
    margin-left: 0;
    z-index: 1;
  }
  /* iPhone sovrapposto, leggermente piu sopra l'iPad (right positivo lo sposta dentro) */
  .mockup-phone {
    position: absolute;
    bottom: 0;
    right: 12%;
    width: 34%;
    z-index: 2;
  }


  /* Mockup fade-in solo quando l immagine e effettivamente caricata */
  .hero-mockups .mockup {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity .8s var(--ease-page-motion),
      transform .8s var(--ease-page-motion);
    transition-delay: var(--mockup-delay, 0s);
  }
  .hero-mockups .mockup.is-loaded {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-mockups .mockup { transition: none; opacity: 1; transform: none; }
  }

  @media (max-width: 860px) {
    .hero { padding: 36px 20px 64px; }
    .hero-mockups { transform: none; max-width: 360px; justify-self: center; }
    .hero-topbar { margin-bottom: 36px; justify-content: center; }
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 36px;
      text-align: center;
    }
    .hero-text { max-width: 100%; margin: 0 auto; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }

  }

  @media (max-width: 480px) {
    .hero h1 { font-size: clamp(28px, 9vw, 38px); }

    .hero-btn { padding: 10px 16px; font-size: 13px; gap: 6px; }
    .hero-actions { gap: 10px; }
    .cta { padding: 11px 16px; font-size: 13.5px; margin-bottom: 22px; }

  }

  /* ===== TOGGLE - sotto l'hero, su sfondo bianco con overlap ===== */
  #piano { scroll-margin-top: 32px; }

  .toggle-wrap {
    display: flex;
    justify-content: center;
    margin: -28px auto 0;
    position: relative;
    z-index: 3;
  }
  .toggle {
    display: flex;
    align-items: stretch;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    box-shadow: 0 4px 16px rgba(15,30,61,.08), 0 1px 2px rgba(15,30,61,.04);
    box-sizing: border-box;
    position: relative;
  }
  /* Slider indicator: width fisso = 50% del toggle interno, sposta con translateX */
  .toggle-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    border-radius: 999px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      inset 0 -1px 0 rgba(0,0,0,.18),
      0 2px 6px rgba(43,54,80,.24),
      0 6px 14px rgba(43,54,80,.20);
    transition: transform .35s cubic-bezier(.34,1.2,.64,1);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  /* Highlight superiore liquid */
  .toggle-indicator::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
  }
  /* Quando "mensile" attivo, slider si sposta del 100% verso destra */
  .toggle[data-mode="monthly"] .toggle-indicator {
    transform: translateX(100%);
  }
  .toggle button {
    appearance: none;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: color .3s ease;
    white-space: nowrap;
    letter-spacing: -.005em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    flex: 1;
  }
  .toggle button.active {
    color: #ffffff;
  }
  .badge-popular {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    background: var(--green);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1.4;
  }

  
/* ===== CARD ===== */
  .card-wrap {
    max-width: 460px;
    margin: 36px auto 0;
    padding: 18px 20px 12px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  @media (max-width: 600px) {
    .card-wrap { margin-top: 15px; }
  }


  @media (min-width: 761px) and (max-width: 920px) {
    .card { padding: 36px 24px 28px; }
    .price { font-size: 38px; }
    .price-block { min-height: 42px; }
    .plan-tag { font-size: 13.5px; min-height: 41px; }
    ul.benefits li { font-size: 13.5px; }
  }
  .card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px 36px 36px;
    box-shadow:
      0 1px 2px rgba(43,54,80,.06),
      0 12px 28px rgba(43,54,80,.10),
      0 0 0 1px rgba(43,54,80,.04);
    overflow: visible;
    transition: border-color .35s ease, box-shadow .4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
.card > * { position: relative; z-index: 1; }

  /* === Flip 3D vera (due facce) === */
  .card-wrap { perspective: 2400px; }
  .card {
    transform-style: preserve-3d;
    transition: transform .9s ease-in-out;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    /* Grid 1x1: le due facce occupano la stessa cella -> stessa altezza garantita */
    display: grid;
    grid-template-areas: "face";
  }
  .card.is-flipped {
    transform: rotateY(180deg);
  }
  .card.no-flip-anim { transition: none !important; }

  .face {
    grid-area: face;
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px 36px 36px;
    box-shadow:
      0 1px 2px rgba(43,54,80,.06),
      0 12px 28px rgba(43,54,80,.10),
      0 0 0 1px rgba(43,54,80,.04);
    display: flex;
    flex-direction: column;
  }
  .face-back {
    transform: rotateY(180deg) translateZ(0);
  }
  /* Fix rendering Safari iOS (iPhone 12 Pro ecc.): evita sfocatura/deformazione
     di bordi arrotondati e testo su layer 3D con backface-visibility.
     translate3d(0,0,0) forza il layer GPU senza spostare la card in Z
     (translateZ con prospettiva la schiacciava/deformava i bordi). */
  .face-front {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
  .face-back {
    -webkit-transform: rotateY(180deg) translate3d(0,0,0);
    transform: rotateY(180deg) translate3d(0,0,0);
  }
@keyframes cardGlow {
    0%, 100% {
      box-shadow:
        0 2px 4px rgba(43,54,80,.08),
        0 16px 36px rgba(43,54,80,.14),
        0 0 0 1px rgba(43,54,80,.05);
    }
    50% {
      box-shadow:
        0 2px 4px rgba(43,54,80,.10),
        0 18px 40px rgba(43,54,80,.16),
        0 0 24px rgba(43,54,80,.08),
        0 0 0 1px rgba(43,54,80,.07);
    }
  }

  .ribbon {
    position: absolute;
    top: -14px;
    right: 24px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1;
    padding: 9px 14px 6px;
    border-radius: 999px;
    box-shadow:
      0 2px 6px rgba(31,157,77,.30),
      0 1px 2px rgba(31,157,77,.20);
    pointer-events: none;
    white-space: nowrap;
  }

  .plan-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 28px;
    /* Altezza fissa per uniformare le card (logo Premium e Plus hanno proporzioni diverse) */
    height: 90px;
  }
  .benefit-extra {
    position: relative;
    padding-top: 14px;
    margin-top: 4px;
  }
  .benefit-extra::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    right: 0;
    height: 1px;
    background: var(--line-soft);
  }
  .benefit-extra .check {
    background: rgba(31,157,77,.12) !important;
  }
  .benefit-extra .check svg {
    color: var(--green) !important;
  }
  .plan-logo img {
    width: auto;
    max-width: 92%;
    max-height: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }
.plan-tag {
    text-align: center;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 26px;
    /* Riservo spazio per 2 righe cosi i prezzi e i CTA si allineano tra le card */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* === Prezzo === */
  .price-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    min-height: 48px;
  }
  .price {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -.035em;
    color: var(--navy);
    transition: opacity .25s ease, transform .25s ease;
  }
  .price-period {
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
  }
  .price-strike {
    text-align: center;
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 26px;
    min-height: 20px;
  }
  .price-strike .old {
    text-decoration: line-through;
    color: var(--muted-soft);
  }
  .price-strike strong {
    color: var(--success);
    font-weight: 600;
    margin-left: 6px;
  }

  .cta,
  .cta:link,
  .cta:visited {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    background: var(--navy);
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 999px;
    padding: 11px 18px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -.005em;
    cursor: pointer;
    isolation: isolate;
    overflow: hidden;
    transition:
      transform .4s cubic-bezier(.34,1.2,.64,1),
      box-shadow .4s cubic-bezier(.2,.8,.2,1),
      background .3s ease;
    margin-bottom: 28px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.14),
      inset 0 -1px 0 rgba(0,0,0,.14),
      0 6px 18px rgba(43,54,80,.22);
    box-sizing: border-box;
  }
  /* Highlight superiore discreto */
  .cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 0;
    transition: opacity .35s ease;
  }
  .cta > * { position: relative; z-index: 1; }
  .cta:hover {
    color: #ffffff;
    transform: scale(1.02);
    background: var(--navy-deep);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.20),
      inset 0 -1px 0 rgba(0,0,0,.18),
      0 10px 28px rgba(43,54,80,.30);
  }
  .cta:hover::before {
    background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 50%);
  }
  .cta:active {
    transform: scale(.98);
    transition-duration: .15s;
  }

  .divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 22px;
  }
  .divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line-soft);
  }

  ul.benefits {
    list-style: none;
    display: grid;
    gap: 14px;
  }
  ul.benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink);
    letter-spacing: -.005em;
  }
  ul.benefits .check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-tint);
    display: grid;
    place-items: center;
    margin-top: 1px;
  }
  ul.benefits svg {
    width: 11px;
    height: 11px;
    color: var(--navy);
  }
  ul.benefits strong { font-weight: 600; color: var(--navy); }

  .fineprint-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
  }
  /* ===== FOOTNOTE ===== */
  .fineprint {
    text-align: center;
    color: var(--muted);
    font-size: 8.5px;
    line-height: 1.65;
    margin: 18px auto 0;
    white-space: nowrap;
  }
  .fineprint a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(43,54,80,.30);
    padding-bottom: 1px;
    transition: border-color .2s ease;
  }
  .fineprint a:hover { border-bottom-color: var(--navy); }

  /* ===== FAQ ===== */
  .faq {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 96px;
  }
  .faq-title {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 38px);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--navy);
    margin-bottom: 36px;
  }
  .faq-list {
    display: flex;
    flex-direction: column;
  }
  .faq-item {
    border-top: 1px solid var(--line);
  }
  .faq-item:last-child {
    border-bottom: 1px solid var(--line);
  }
  .faq-question {
    width: 100%;
    appearance: none;
    background: transparent;
    border: none;
    font-family: inherit;
    text-align: left;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.005em;
    padding: 22px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color .2s ease;
  }
  .faq-question:hover { color: var(--navy-deep); }
  .faq-icon {
    flex-shrink: 0;
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(43,54,80,.04);
    border: 1px solid rgba(43,54,80,.10);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
            backdrop-filter: blur(14px) saturate(160%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.6),
      inset 0 -1px 0 rgba(43,54,80,.04),
      0 2px 6px rgba(43,54,80,.06);
    color: var(--navy);
    transition:
      transform .4s cubic-bezier(.34,1.2,.64,1),
      background .3s ease,
      border-color .3s ease,
      box-shadow .3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .faq-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
    z-index: 0;
  }
  /* Le due barre del +/x */
  .faq-icon .bar {
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform .4s cubic-bezier(.34,1.2,.64,1);
    z-index: 1;
  }
  .faq-icon .bar-h {
    width: 12px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .faq-icon .bar-v {
    width: 2px;
    height: 12px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .faq-question:hover .faq-icon {
    background: rgba(43,54,80,.08);
    border-color: rgba(43,54,80,.16);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.7),
      inset 0 -1px 0 rgba(43,54,80,.06),
      0 4px 12px rgba(43,54,80,.10);
  }
  /* Apertura: tutto ruota a + diventa x */
  .faq-item.is-open .faq-icon {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
    transform: rotate(45deg);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      inset 0 -1px 0 rgba(0,0,0,.12),
      0 4px 12px rgba(43,54,80,.22);
  }
  .faq-item.is-open .faq-icon::before {
    background: linear-gradient(180deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,0) 55%);
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
  }
  .faq-answer-inner {
    padding: 0 8px 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -.005em;
  }
  .faq-answer-inner strong { color: var(--ink); font-weight: 600; }
  .faq-answer-inner a {
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(43,54,80,.30);
    padding-bottom: 1px;
  }

  @media (max-width: 480px) {
    .faq { padding: 0 20px 72px; }
    .faq-title { margin-bottom: 24px; }
    .faq-question { font-size: 15px; padding: 18px 4px; }
    .faq-answer-inner { padding: 0 4px 20px; font-size: 14px; }
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 480px) {
    .hero { padding: 72px 20px 56px; }
    .hero h1 { font-size: clamp(22px, 7vw, 32px); }
    .card { padding: 40px 22px 26px; }
    .price { font-size: 38px; }
    .plan-logo img { max-width: 92%; }
    .toggle button { padding: 9px 16px; font-size: 13px; }
    .badge-popular { font-size: 9px; padding: 2px 6px; margin-left: 6px; }
    .ribbon { font-size: 9.5px; padding: 5px 10px; letter-spacing: 1px; top: 14px; right: 14px; }
  }

/* ============ ENTRY ANIMATIONS - replica di Framer Motion ============ */
  :root {
    /* PAGE_MOTION_EASE: stessa curva 'easeOut' di Framer di default */
    --ease-page-motion: cubic-bezier(.22, 1, .36, 1);
    /* Curva "spring-like" per gli elementi interattivi */
    --ease-spring: cubic-bezier(.34, 1.2, .64, 1);
  }

  /* === HERO ENTRY (item(delay) di Framer: opacity 0->1, y 14->0) === */
  .page-enter {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity .7s var(--ease-page-motion),
      transform .7s var(--ease-page-motion);
    transition-delay: var(--enter-delay, 0s);
  }
  body.is-mounted .page-enter {
    opacity: 1;
    transform: translateY(0);
  }

  /* === FAQ STAGGER (gridStagger) === */
  /* Elementi inizialmente nascosti, vengono rivelati dall observer */
  .stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity .65s var(--ease-page-motion),
      transform .65s var(--ease-page-motion);
    transition-delay: var(--stagger-delay, 0s);
  }
  .stagger-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* === CARD INNER STAGGER (logo, prezzo, CTA, divider, benefit) === */
  /* I figli della card entrano in sequenza dopo che la card stessa appare */
  .card-stagger-item {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity .55s var(--ease-page-motion),
      transform .55s var(--ease-page-motion);
    transition-delay: var(--card-delay, 0s);
  }
  body.is-mounted .card-stagger-item {
    opacity: 1;
    transform: translateY(0);
  }

  /* Reduced motion: rispetta preferenze accessibilita */
  @media (prefers-reduced-motion: reduce) {
    .page-enter, .stagger-item, .card-stagger-item {
      transition: none;
      opacity: 1;
      transform: none;
    }
  }



  /* ===== HELP CENTER CTA (hero card scuro) ===== */
  .help-cta {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px 96px;
  }
  .help-cta-card {
    position: relative;
    background:
      radial-gradient(1200px 600px at 85% -10%, rgba(74,86,128,.35), transparent 60%),
      radial-gradient(900px 500px at 10% 110%, rgba(74,86,128,.25), transparent 60%),
      var(--navy);
    border-radius: 28px;
    padding: 56px 56px 56px;
    overflow: hidden;
    box-shadow:
      0 1px 2px rgba(43,54,80,.10),
      0 18px 48px rgba(43,54,80,.22),
      0 0 0 1px rgba(43,54,80,.10);
  }

  .help-cta-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,.06), transparent 70%);
    pointer-events: none;
    border-radius: inherit;
  }
  .help-cta-glow { display: none; }
  .help-cta-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
  }
.help-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.1;
    letter-spacing: -.025em;
    color: #ffffff;
    margin-bottom: 14px;
  }
  .help-cta-desc {
    color: rgba(255,255,255,.7);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 460px;
  }
  .help-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .help-cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background:
      linear-gradient(180deg, #ffffff 0%, #f3f4f7 100%);
    color: var(--navy) !important;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -.005em;
    isolation: isolate;
    overflow: hidden;
    transition:
      transform .45s cubic-bezier(.34,1.2,.64,1),
      box-shadow .45s cubic-bezier(.2,.8,.2,1),
      background .35s ease;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.95),
      inset 0 -1px 0 rgba(43,54,80,.06),
      0 1px 2px rgba(0,0,0,.12),
      0 10px 28px rgba(0,0,0,.22);
  }
  /* Highlight superiore lucido */
  .help-cta-primary::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
    background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.15) 70%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 0;
    transition: opacity .35s ease;
  }
  .help-cta-primary > * { position: relative; z-index: 1; }
  .help-cta-primary:hover {
    transform: scale(1.03);
    background: linear-gradient(180deg, #ffffff 0%, #e9ebef 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,1),
      inset 0 -1px 0 rgba(43,54,80,.08),
      0 2px 4px rgba(0,0,0,.14),
      0 18px 40px rgba(0,0,0,.28);
  }
  .help-cta-primary:hover::before {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.25) 70%, rgba(255,255,255,0) 100%);
  }
  .help-cta-primary:active { transform: scale(.98); transition-duration: .15s; }
  .help-cta-primary svg {
    width: 14px;
    height: 14px;
    transition: transform .25s ease;
  }
  .help-cta-primary:hover svg { transform: translateX(3px); }

  @media (max-width: 600px) {
    .help-cta { padding: 0 20px 72px; }
    .help-cta-card { padding: 40px 28px; border-radius: 24px; }
    .help-cta-primary { width: 100%; justify-content: center; padding: 11px 16px; font-size: 13px; }
  }


  /* ===== BUSINESS CTA ===== */
  .business-cta {
    max-width: 720px;
    margin: 28px auto 72px;
    padding: 0 24px;
  }
  /* === Card business: liquid glass === */
  .business-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(255,255,255,.65);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 16px;
    padding: 18px 24px;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.9),
      inset 0 -1px 0 rgba(43,54,80,.04),
      0 1px 2px rgba(43,54,80,.04),
      0 8px 24px rgba(43,54,80,.08);
    transition:
      transform .4s cubic-bezier(.34,1.2,.64,1),
      box-shadow .4s cubic-bezier(.2,.8,.2,1),
      border-color .3s ease;
    isolation: isolate;
  }
  .business-cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 0;
  }
  .business-cta-inner > * { position: relative; z-index: 1; }
  .business-cta-inner:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.8);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,1),
      inset 0 -1px 0 rgba(43,54,80,.06),
      0 2px 4px rgba(43,54,80,.06),
      0 14px 36px rgba(43,54,80,.14);
  }
  .business-cta-text {
    flex: 1;
    min-width: 0;
  }

  /* === Eyebrow "BUSINESS": liquid pill === */
  .business-cta-eyebrow {
    position: relative;
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(43,54,80,.06);
    border: 1px solid rgba(43,54,80,.10);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    -webkit-backdrop-filter: blur(8px) saturate(160%);
            backdrop-filter: blur(8px) saturate(160%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.7),
      inset 0 -1px 0 rgba(43,54,80,.04);
  }
  .business-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--navy);
    margin: 0;
  }

  /* === Bottone "Vai all abbonamento business": liquid glass outline === */
  .business-cta-link {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy) !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(43,54,80,.20);
    background: rgba(255,255,255,.4);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
            backdrop-filter: blur(14px) saturate(160%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.7),
      inset 0 -1px 0 rgba(43,54,80,.04),
      0 2px 6px rgba(43,54,80,.06);
    transition:
      background .35s ease,
      color .25s ease,
      border-color .3s ease,
      transform .4s cubic-bezier(.34,1.2,.64,1),
      box-shadow .35s ease;
    white-space: nowrap;
    isolation: isolate;
    overflow: hidden;
  }
  .business-cta-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.40) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
    z-index: 0;
    transition: opacity .35s ease;
  }
  .business-cta-link > * { position: relative; z-index: 1; }
  .business-cta-link:hover {
    transform: scale(1.03);
    background: var(--navy);
    color: #ffffff !important;
    border-color: var(--navy);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      inset 0 -1px 0 rgba(0,0,0,.12),
      0 4px 10px rgba(43,54,80,.20),
      0 12px 28px rgba(43,54,80,.22);
  }
  .business-cta-link:hover::before {
    background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 55%);
  }
  .business-cta-link:active { transform: scale(.98); transition-duration: .15s; }
  .business-cta-link svg {
    width: 14px;
    height: 14px;
    transition: transform .25s ease;
  }
  .business-cta-link:hover svg { transform: translateX(2px); }


  /* Mobile: fineprint a capo + spacing ravvicinato */
  @media (max-width: 600px) {
    .fineprint {
      white-space: normal;
      font-size: 11px;
      max-width: 360px;
      margin-top: -4px;
      padding: 0 8px;
    }
    .business-cta {
      margin-top: 16px;
      margin-bottom: 56px;
    }
  }

  @media (max-width: 600px) {
    .business-cta-inner {
      flex-direction: column;
      align-items: stretch;
      text-align: left;
      gap: 18px;
      padding: 16px 22px 24px;
    }
    .business-cta-text { margin-bottom: 2px; }
    .business-cta-link { width: 100%; justify-content: center; }
  }



  .help-cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
  }
  .help-cta-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
  }
  .help-cta-visual {
    position: relative;
    z-index: 1;
    width: 240px;
    height: 240px;
    flex-shrink: 0;
    opacity: .85;
  }
  .help-cta-visual svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: helpVisualBreath 6s ease-in-out infinite;
  }
  @keyframes helpVisualBreath {
    0%, 100% { transform: scale(1);    opacity: .85; }
    50%      { transform: scale(1.04); opacity: 1; }
  }

  @media (max-width: 720px) {
    .help-cta-card {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .help-cta-visual {
      width: 160px;
      height: 160px;
      justify-self: center;
      order: -1;
    }
  }


  .help-cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
  }
  .help-cta-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
  }
  .help-cta-visual {
    position: relative;
    z-index: 1;
    width: 300px;
    flex-shrink: 0;
  }
  .help-cta-visual svg {
    width: 100%;
    height: auto;
    display: block;
  }
  .help-cta-visual .typing-dot:nth-of-type(1) { animation: typingDot 1.4s ease-in-out infinite; }
  .help-cta-visual .typing-dot:nth-of-type(2) { animation: typingDot 1.4s ease-in-out .2s infinite; }
  .help-cta-visual .typing-dot:nth-of-type(3) { animation: typingDot 1.4s ease-in-out .4s infinite; }
  @keyframes typingDot {
    0%, 60%, 100% { opacity: .35; }
    30%           { opacity: 1; }
  }

  @media (max-width: 720px) {
    .help-cta-card { grid-template-columns: 1fr; gap: 20px; }
    .help-cta-visual { width: 240px; justify-self: center; order: -1; }
  }


  /* FAQ word reveal */
  .faq-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .45s ease, transform .45s cubic-bezier(.2,.9,.3,1.2);
  }
  .faq-word.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .faq-word { transition: none; opacity: 1; transform: none; }
  }
/* didascalia delle foto nel testo */
@import "figcaption.css";

