 :root {
     --bg: #0f172a;
     --bg-soft: #f8fafc;
     --primary: #f97316;
     --primary-soft: #ffedd5;
     --text-main: #0f172a;
     --text-muted: #6b7280;
     --card: #ffffff;
     --radius-lg: 18px;
     --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
 }

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

 body {
     font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
     color: var(--text-main);
     background: #ffffff;
     line-height: 1.6;
 }

 a {
     color: inherit;
     text-decoration: none;
 }

 img {
     max-width: 100%;
     height: auto;
     display: block;
 }

 .page {
     min-height: 100vh;
     display: flex;
     flex-direction: column;
 }

 .container {
     width: 100%;
     max-width: 1120px;
     margin: 0 auto;
     padding: 0 16px;
 }

 /* NAVBAR */
 .navbar {
     position: sticky;
     top: 0;
     z-index: 50;
     background: rgba(15, 23, 42, 0.95);
     backdrop-filter: blur(10px);
     color: #f9fafb;
 }

 .navbar-inner {
     display: grid;
     grid-template-columns: minmax(260px, 1fr) minmax(auto, 520px) 64px;
     align-items: center;
     gap: 24px;
     padding: 10px 16px;
 }

 .nav-brand {
     display: flex;
     align-items: center;
     gap: 10px;
     font-weight: 600;
     font-size: 15px;
     min-width: 0;
 }

 .nav-brand span {
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .nav-logo {
     width: 42px;
     height: 42px;
     border-radius: 12px;
     object-fit: cover;
     display: block;
     flex: 0 0 auto;
     background: #ffffff;
     box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

 .nav-links {
     display: flex;
     align-items: center;
     justify-content: center;
     justify-self: center;
     gap: 18px;
     font-size: 14px;
     flex-wrap: nowrap;
     white-space: nowrap;
 }

 .nav-links a {
     opacity: 0.9;
 }

 .nav-links a:hover {
     opacity: 1;
     text-decoration: underline;
 }

 .lang-switch {
     display: flex;
     gap: 8px;
     align-items: center;
     justify-content: flex-end;
     min-width: 64px;
     font-size: 13px;
     opacity: 0.85;
     white-space: nowrap;
 }

 .lang-switch a:hover {
     text-decoration: underline;
 }

 @media (max-width: 880px) {
     .navbar-inner {
         grid-template-columns: 1fr;
         align-items: flex-start;
         gap: 8px;
     }

     .nav-links {
         justify-content: flex-start;
         justify-self: flex-start;
         flex-wrap: wrap;
         gap: 12px;
         white-space: normal;
     }

     .lang-switch {
         justify-content: flex-start;
         min-width: 0;
     }

     .ios-hero-grid {
         grid-template-columns: minmax(0, 1fr);
     }

     .ios-grid-two {
         grid-template-columns: minmax(0, 1fr);
     }
 }

 /* HERO */
 .hero {
     background: radial-gradient(circle at top left, #0ea5e9, var(--bg));
     color: #f9fafb;
     padding: 42px 0 34px;
 }

 .hero-grid {
     display: grid;
     grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
     gap: 32px;
     align-items: center;
 }

 .hero-badges {
     font-size: 13px;
     text-transform: uppercase;
     letter-spacing: 0.06em;
     margin-bottom: 10px;
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 4px 10px;
     border-radius: 999px;
     background: rgba(15, 23, 42, 0.5);
 }

 .hero-badges span {
     padding: 2px 8px;
     border-radius: 999px;
     background: rgba(15, 23, 42, 0.7);
 }

 .hero-title {
     font-size: clamp(30px, 4vw, 40px);
     line-height: 1.1;
     margin-bottom: 14px;
 }

 .hero-sub {
     font-size: 17px;
     max-width: 560px;
     opacity: 0.95;
     margin-bottom: 18px;
 }

 .hero-store-buttons {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
     align-items: center;
 }

 .store-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 8px 14px;
     border-radius: 999px;
     background: #111827;
     color: #f9fafb;
     font-size: 14px;
     font-weight: 500;
     gap: 10px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
 }

 .store-btn span {
     font-size: 11px;
     display: block;
     line-height: 1.2;
     opacity: 0.85;
 }

 .store-logo {
     width: 20px;
     height: 20px;
     border-radius: 6px;
     background: #0ea5e9;
 }

 .store-btn.appstore .store-logo {
     background: #f97316;
 }

 .hero-note {
     font-size: 13px;
     opacity: 0.85;
     margin-top: 10px;
 }

 .hero-card {
     background: rgba(15, 23, 42, 0.85);
     border-radius: var(--radius-lg);
     padding: 18px 18px 16px;
     box-shadow: var(--shadow-soft);
 }

 .hero-card h3 {
     font-size: 15px;
     margin-bottom: 6px;
     color: #e5e7eb;
 }

 .hero-card p {
     font-size: 14px;
     opacity: 0.9;
 }

 .hero-tags {
     margin-top: 12px;
     display: flex;
     flex-wrap: wrap;
     gap: 6px;
 }

 .hero-tag {
     font-size: 11px;
     padding: 4px 8px;
     border-radius: 999px;
     background: rgba(15, 23, 42, 0.75);
     border: 1px solid rgba(148, 163, 184, 0.4);
 }

 /* SEZIONI */
 section {
     padding: 40px 0;
 }

 .section-title {
     font-size: 24px;
     margin-bottom: 10px;
 }

 .section-sub {
     font-size: 15px;
     color: var(--text-muted);
     max-width: 680px;
 }

 /* PROBLEMA */
 .problem-grid {
     margin-top: 20px;
     display: grid;
     grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
     gap: 18px;
     align-items: start;
 }

 .problem-card {
     background: var(--card);
     border-radius: var(--radius-lg);
     padding: 18px;
     border: 1px solid #e5e7eb;
     box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
 }

 .problem-list {
     margin-top: 10px;
     color: var(--text-muted);
     font-size: 14px;
     display: grid;
     gap: 8px;
     list-style: none;
 }

 .problem-list li::before {
     content: "•";
     margin-right: 8px;
     color: var(--primary);
     font-weight: 700;
 }

 .problem-aside {
     background: var(--primary-soft);
     border-radius: var(--radius-lg);
     padding: 16px;
     font-size: 13px;
 }

 .problem-aside strong {
     display: block;
     margin-bottom: 6px;
 }

 /* SOLUZIONE / PILASTRI */
 .features-grid {
     margin-top: 26px;
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 18px;
 }

 .feature-card {
     background: var(--card);
     border-radius: var(--radius-lg);
     padding: 18px 18px 16px;
     box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
     border: 1px solid #e5e7eb;
 }

 .feature-label {
     font-size: 11px;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: var(--primary);
     margin-bottom: 4px;
 }

 .feature-card h3 {
     font-size: 16px;
     margin-bottom: 8px;
 }

 .feature-card p {
     font-size: 14px;
     color: var(--text-muted);
 }

 .feature-meta {
     margin-top: 10px;
     font-size: 12px;
     color: var(--text-muted);
 }

 /* PIANI */
 .pricing-section {
     background: var(--bg-soft);
 }

 .pricing-grid {
     margin-top: 26px;
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 18px;
 }

 .pricing-card {
     background: var(--card);
     border-radius: var(--radius-lg);
     padding: 20px 18px 18px;
     box-shadow: 0 18px 40px rgba(148, 163, 184, 0.18);
     border: 1px solid #e5e7eb;
     position: relative;
 }

 .pricing-card.highlight {
     border-color: var(--primary);
     box-shadow: 0 24px 60px rgba(249, 115, 22, 0.20);
 }

 .pricing-badge {
     position: absolute;
     top: 12px;
     right: 14px;
     font-size: 10px;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     background: var(--primary-soft);
     color: var(--primary);
     padding: 4px 8px;
     border-radius: 999px;
     font-weight: 600;
 }

 .pricing-name {
     font-size: 16px;
     font-weight: 600;
     margin-bottom: 4px;
 }

 .pricing-note {
     font-size: 12px;
     color: var(--text-muted);
     margin-bottom: 10px;
 }

 .pricing-price {
     font-size: 22px;
     font-weight: 700;
     margin-bottom: 2px;
 }

 .pricing-period {
     font-size: 12px;
     color: var(--text-muted);
     margin-bottom: 12px;
 }

 .pricing-list {
     list-style: none;
     font-size: 13px;
     color: var(--text-muted);
     display: grid;
     gap: 6px;
     margin-bottom: 14px;
 }

 .pricing-list li::before {
     content: "✔";
     margin-right: 6px;
     color: var(--primary);
     font-size: 11px;
 }

 .pricing-cta {
     font-size: 13px;
     font-weight: 500;
     padding: 7px 10px;
     border-radius: 999px;
     border: 1px solid #e5e7eb;
     text-align: center;
 }

 .pricing-card.highlight .pricing-cta {
     border-color: var(--primary);
     background: var(--primary-soft);
     color: var(--primary);
 }

 /* BLOCCO DESTINATARI */
.audience-block {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
}

.audience-block h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.audience-block > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.audience-card {
    border-radius: 16px;
    padding: 14px;
    background: var(--bg-soft);
    border: 1px solid #e5e7eb;
}

.audience-card h4 {
    font-size: 15px;
    margin: 4px 0 6px;
}

.audience-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

 /* FAQ */
 .faq-grid {
     margin-top: 22px;
     display: grid;
     grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
     gap: 24px;
     align-items: flex-start;
 }

 details {
     border-radius: 14px;
     border: 1px solid #e5e7eb;
     padding: 10px 12px;
     background: #ffffff;
     margin-bottom: 8px;
 }

 summary {
     cursor: pointer;
     list-style: none;
     font-size: 14px;
     font-weight: 500;
 }

 summary::-webkit-details-marker {
     display: none;
 }

 summary::after {
     content: "＋";
     float: right;
     font-size: 14px;
     color: var(--text-muted);
 }

 details[open] summary::after {
     content: "−";
 }

 details p {
     margin-top: 6px;
     font-size: 13px;
     color: var(--text-muted);
 }

 .faq-card {
     background: var(--primary-soft);
     border-radius: var(--radius-lg);
     padding: 14px 14px 12px;
     font-size: 13px;
 }

 .faq-card strong {
     display: block;
     margin-bottom: 6px;
 }

 /* FOOTER */
 .contact-section {
     background: #0b1120;
     color: #e5e7eb;
     padding: 26px 0 22px;
     margin-top: 24px;
 }

 .contact-inner {
     display: flex;
     flex-direction: column;
     gap: 10px;
     font-size: 13px;
 }

 .contact-row {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     align-items: center;
     justify-content: space-between;
 }

 .social {
     display: flex;
     gap: 8px;
 }

 .social a {
     width: 36px;
     height: 36px;
     border-radius: 999px;
     background: rgba(15, 23, 42, 0.8);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 14px;
 }

 .legal {
     font-size: 11px;
     color: #9ca3af;
     margin-top: 4px;
 }

 .legal-links {
     font-size: 11px;
     color: #9ca3af;
     margin-top: 2px;
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
 }

 .legal-links a {
     text-decoration: underline;
 }

 /* PAGINE TESTUALI: Come aiuta / How it helps */
 .content-page {
     padding: 34px 0;
 }

 .content-card {
     max-width: 980px;
     margin: 0 auto;
     background: var(--card);
     border-radius: var(--radius-lg);
     padding: 22px 18px;
     border: 1px solid #e5e7eb;
     box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
 }

 .content-card h2 {
     font-size: 22px;
     margin: 22px 0 10px;
     line-height: 1.25;
 }

 .content-card p {
     margin: 10px 0;
     color: #111827;
     font-size: 15px;
 }

 .content-card .muted {
     color: var(--text-muted);
 }

 .content-card .divider {
     height: 1px;
     background: #e5e7eb;
     margin: 18px 0;
 }

 .content-card ul,
 .content-card ul.bullets {
     margin: 10px 0 10px 18px;
     padding-left: 18px;
     color: #111827;
     font-size: 15px;
 }

 .content-card li {
     margin: 6px 0;
 }

 .content-card details {
     border-radius: 14px;
     border: 1px solid #e5e7eb;
     padding: 10px 12px;
     background: #ffffff;
     margin: 10px 0;
 }

 .content-card summary {
     cursor: pointer;
     font-weight: 600;
     list-style: none;
 }

 .content-card summary::-webkit-details-marker {
     display: none;
 }

 .content-card summary::after {
     content: "＋";
     float: right;
     font-size: 14px;
     color: var(--text-muted);
 }

 .content-card details[open] summary::after {
     content: "−";
 }

 .content-card details p {
     margin-top: 8px;
     color: var(--text-muted);
     font-size: 13px;
     line-height: 1.6;
 }

 .cta {
     margin-top: 18px;
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
     align-items: center;
 }

 .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 10px 14px;
     border-radius: 999px;
     background: #111827;
     color: #f9fafb;
     font-size: 14px;
     font-weight: 600;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
     border: 1px solid rgba(255, 255, 255, 0.08);
 }

 .btn:hover {
     transform: translateY(-1px);
 }

 .cta-note {
     font-size: 13px;
     color: var(--text-muted);
     margin-top: 10px;
 }

 .store-badge {
     height: 40px;
     width: auto;
     display: block;
 }

 /* PAGINA COME FUNZIONA */
 .tutorial-hero .hero-sub {
     max-width: 690px;
 }

 .tutorial-hero-card {
     max-width: 420px;
     justify-self: end;
 }

 .tutorial-steps {
     display: grid;
     gap: 16px;
 }

 .tutorial-step {
     display: grid;
     grid-template-columns: 48px minmax(0, 1fr);
     gap: 16px;
     padding: 20px;
     border: 1px solid #e5e7eb;
     border-radius: var(--radius-lg);
     background: var(--card);
     box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
 }

 .tutorial-step-number {
     width: 48px;
     height: 48px;
     border-radius: 14px;
     display: grid;
     place-items: center;
     color: #ffffff;
     background: var(--primary);
     font-size: 20px;
     line-height: 1;
     font-weight: 700;
 }

 .tutorial-step h2 {
     font-size: 20px;
     line-height: 1.3;
     margin-bottom: 8px;
 }

 .tutorial-step p {
     font-size: 15px;
     color: #111827;
 }

 .tutorial-list {
     margin-top: 10px;
     padding-left: 18px;
     display: grid;
     gap: 6px;
     color: var(--text-muted);
     font-size: 14px;
 }

 .tutorial-note {
     margin-top: 12px;
     padding: 10px 12px;
     border-left: 4px solid var(--primary);
     border-radius: 12px;
     background: var(--primary-soft);
 }

 .tutorial-note strong {
     color: var(--text-main);
 }

 .tutorial-role-section {
     padding: 14px 0 4px;
 }

 .tutorial-role-header {
     max-width: 760px;
 }

 .tutorial-role-header h2 {
     font-size: 22px;
     line-height: 1.3;
     margin: 4px 0 8px;
 }

 .tutorial-role-header p {
     font-size: 15px;
     color: var(--text-muted);
 }

 .tutorial-card-grid {
     margin-top: 16px;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 14px;
 }

 .tutorial-ai-microcopy {
     padding: 14px 16px;
     border-radius: var(--radius-lg);
     background: var(--primary-soft);
     color: #111827;
     font-size: 14px;
 }

 .tutorial-faq {
     margin-top: 22px;
 }

 .tutorial-faq-card {
     align-self: start;
 }

 .tutorial-download {
     padding-top: 34px;
 }

 .tutorial-store-buttons {
     margin-top: 18px;
 }

 /* PAGINE SUPPORTO iOS */
 .ios-support-page .hero-sub {
     max-width: 660px;
 }

 .ios-hero {
     position: relative;
     overflow: hidden;
 }

 .ios-hero::after {
     content: "";
     position: absolute;
     right: -120px;
     top: -120px;
     width: 320px;
     height: 320px;
     border-radius: 999px;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
     pointer-events: none;
 }

 .ios-hero-grid {
     display: grid;
     grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
     gap: 28px;
     align-items: center;
     position: relative;
     z-index: 1;
 }

 .ios-hero-panel {
     background: rgba(255, 255, 255, 0.10);
     border: 1px solid rgba(255, 255, 255, 0.18);
     border-radius: 28px;
     padding: 22px 20px;
     backdrop-filter: blur(14px);
     box-shadow: var(--shadow-soft);
 }

 .ios-hero-panel h3 {
     font-size: 18px;
     margin-bottom: 8px;
     color: #f9fafb;
 }

 .ios-hero-panel p {
     font-size: 14px;
     color: rgba(249, 250, 251, 0.88);
     margin-bottom: 12px;
 }

 .ios-device-dot {
     width: 42px;
     height: 42px;
     border-radius: 14px;
     margin-bottom: 14px;
     background:
         radial-gradient(circle at 32% 28%, #ffffff, rgba(255, 255, 255, 0.2) 30%, transparent 31%),
         linear-gradient(135deg, #f97316, #0ea5e9);
     box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
 }

 .ios-mail-link {
     display: inline-flex;
     margin-top: 4px;
     padding: 8px 12px;
     border-radius: 999px;
     background: rgba(15, 23, 42, 0.65);
     color: #f9fafb;
     font-size: 13px;
     font-weight: 600;
 }

 .ios-mail-link:hover {
     text-decoration: underline;
 }

 .ios-grid-two {
     margin-top: 24px;
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 18px;
 }

 .ios-card {
     border-radius: 24px;
 }

 .ios-list {
     margin-top: 12px;
     color: var(--text-muted);
     font-size: 14px;
     display: grid;
     gap: 8px;
     list-style: none;
 }

 .ios-list li::before {
     content: "•";
     margin-right: 8px;
     color: var(--primary);
     font-weight: 700;
 }

 .ios-callout {
     margin-top: 24px;
     background: var(--primary-soft);
     border-radius: 24px;
     padding: 18px;
     font-size: 14px;
     color: #111827;
 }

 .ios-callout strong {
     display: block;
     margin-bottom: 6px;
 }

 .ios-callout p {
     color: #111827;
     font-size: 14px;
 }

 /* RESPONSIVE */
 @media (max-width: 880px) {
     .hero-grid {
         grid-template-columns: minmax(0, 1fr);
     }

     .hero {
         padding-top: 28px;
     }

     .hero-card {
         margin-top: 4px;
     }

     .features-grid {
         grid-template-columns: minmax(0, 1fr);
     }

     .pricing-grid {
         grid-template-columns: minmax(0, 1fr);
     }

     .faq-grid {
         grid-template-columns: minmax(0, 1fr);
     }

     .problem-grid {
         grid-template-columns: minmax(0, 1fr);
     }

     .audience-grid {
    grid-template-columns: minmax(0, 1fr);
}

     .tutorial-hero-card {
         max-width: none;
         justify-self: stretch;
     }

 }

 @media (max-width: 480px) {
     .hero-store-buttons {
         flex-direction: column;
         align-items: flex-start;
     }

     section {
         padding: 30px 0;
     }

     .store-badge {
         height: 34px;
     }

     .tutorial-step {
         grid-template-columns: minmax(0, 1fr);
         gap: 12px;
         padding: 16px;
     }

     .tutorial-step-number {
         width: 40px;
         height: 40px;
         border-radius: 12px;
         font-size: 18px;
     }
 }

 /* Social icons footer */
 .social.official-social {
     display: flex;
     gap: 16px;
     align-items: center;
     justify-content: center;
     margin-top: 16px;
 }

 .social.official-social img {
     width: 36px;
     height: 36px;
     object-fit: contain;
     opacity: 0.9;
     transition: opacity 0.2s ease, transform 0.2s ease;
 }

 .social.official-social a:hover img {
     opacity: 1;
     transform: scale(1.08);
 }

 @media (max-width: 480px) {
     .social a {
         width: 32px;
         height: 32px;
     }

     .social.official-social img {
         width: 32px;
         height: 32px;
     }
 }

 /* Official store badges (hero) */
 .hero-store-buttons.official-badges {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
     align-items: center;
 }

 .hero-store-buttons.official-badges .store-badge {
     height: 40px;
     width: auto;
     display: block;
 }

 @media (max-width: 480px) {
     .hero-store-buttons.official-badges .store-badge {
         height: 34px;
     }
 }
