
  :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, 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;
  }

  /* ===== HERO - sfondo navy pieno ===== */
  .hero {
    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);
    color: #ffffff;
    padding: 96px 24px 72px;
    text-align: center;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,.06), transparent 70%);
    pointer-events: none;
  }
  .hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

  .hero-logo {
    display: block;
    margin: 0 auto 32px;
    max-width: 380px;
    width: 70%;
    height: auto;
  }
  @media (max-width: 480px) {
    .hero-logo { max-width: 280px; width: 80%; margin-bottom: 24px; }
  }
  .hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(30px, 4.4vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 20px;
    white-space: nowrap;
  }
  .hero h1 .light {
    font-weight: 800;
    color: #ffffff;
  }
  .hero p {
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.6;
    color: rgba(255,255,255,.72);
    max-width: 560px;
    margin: 0 auto;
    letter-spacing: 0;
  }

  /* ===== TOGGLE - sotto l'hero, su sfondo bianco con overlap ===== */
  .toggle-wrap {
    display: flex;
    justify-content: center;
    margin: -28px auto 0;
    position: relative;
    z-index: 3;
  }
  .toggle {
    display: inline-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;
  }
  .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 .25s ease, background .25s ease, box-shadow .25s ease;
    white-space: nowrap;
    letter-spacing: -.005em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
  }
  .toggle button.active {
    color: #ffffff;
    background: var(--navy);
    box-shadow: 0 2px 8px rgba(43,54,80,.22);
  }
  .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: 0 20px 96px;
  }
  .card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 64px 36px 36px;
    box-shadow:
      0 2px 4px rgba(43,54,80,.10),
      0 12px 32px rgba(43,54,80,.20),
      0 24px 64px rgba(43,54,80,.18),
      0 0 0 1px rgba(43,54,80,.06);
    overflow: hidden;
    transition: border-color .35s ease, box-shadow .4s ease;
    animation: cardGlow 4s ease-in-out infinite;
  }
  .card.is-yearly {
    border-color: rgba(43,54,80,.22);
  }
  .card > * { position: relative; z-index: 1; }

  @keyframes cardGlow {
    0%, 100% {
      box-shadow:
        0 2px 4px rgba(43,54,80,.10),
        0 12px 32px rgba(43,54,80,.20),
        0 24px 64px rgba(43,54,80,.18),
        0 0 0 1px rgba(43,54,80,.06);
    }
    50% {
      box-shadow:
        0 2px 4px rgba(43,54,80,.12),
        0 16px 40px rgba(43,54,80,.28),
        0 32px 80px rgba(43,54,80,.26),
        0 0 60px rgba(43,54,80,.18),
        0 0 0 1px rgba(43,54,80,.10);
    }
  }

  .ribbon {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 2;
    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 0 0 0 rgba(31,157,77,.55),
      0 2px 8px rgba(31,157,77,.42),
      0 0 24px rgba(31,157,77,.35);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .3s ease, transform .35s ease;
    pointer-events: none;
    white-space: nowrap;
  }
  .card.is-yearly .ribbon {
    opacity: 1;
    transform: translateY(0);
    animation: ribbonGlow 2.4s ease-in-out infinite;
  }
  @keyframes ribbonGlow {
    0%, 100% {
      box-shadow:
        0 0 0 0 rgba(31,157,77,.55),
        0 2px 8px rgba(31,157,77,.42),
        0 0 18px rgba(31,157,77,.30);
    }
    50% {
      box-shadow:
        0 0 0 6px rgba(31,157,77,0),
        0 2px 12px rgba(31,157,77,.55),
        0 0 32px rgba(31,157,77,.55);
    }
  }

  .plan-logo {
    display: flex;
    justify-content: center;
    margin: 0 0 28px;
  }
  .plan-logo img {
    width: 92%;
    max-width: 92%;
    height: auto;
    display: block;
  }

  .plan-tag {
    text-align: center;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 26px;
  }

  /* === Prezzo === */
  .price-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
    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;
  }

  .price.swap { animation: priceSwap .35s ease; }
  @keyframes priceSwap {
    0%   { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .cta,
  .cta:link,
  .cta:visited {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--navy);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 999px;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -.005em;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    margin-bottom: 28px;
    box-shadow: 0 1px 2px rgba(43,54,80,.10), 0 4px 12px rgba(43,54,80,.14);
    box-sizing: border-box;
  }
  .cta:hover { background: var(--navy-deep); color: #ffffff; box-shadow: 0 2px 4px rgba(43,54,80,.14), 0 8px 20px rgba(43,54,80,.20); }
  .cta:active { transform: translateY(1px); }

  .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); }

  /* ===== FOOTNOTE ===== */
  .fineprint {
    text-align: center;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.65;
    max-width: 440px;
    margin: 24px auto 0;
  }
  .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;
    width: 22px;
    height: 22px;
    color: var(--muted);
    transition: transform .35s cubic-bezier(.4,0,.2,1), color .2s ease;
  }
  .faq-item.is-open .faq-icon {
    transform: rotate(180deg);
    color: var(--navy);
  }
  .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: 56px 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 animation */
  .fade-up {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .d1 { animation-delay: .05s; }
  .d2 { animation-delay: .18s; }
  .d3 { animation-delay: .32s; }
  .d4 { animation-delay: .46s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

