        :root {
            --primary: #097bc0;
            --primary-dark: #0a5a8a;
            --secondary: #2b4a72;
            --accent: #4fc3f7;
            --light: #fafbfc;
            --white: #ffffff;
            --text-dark: #1a2332;
            --text-light: #64748b;
            --border: #e2e8f0;
            --success: #10b981;
            --warning: #f59e0b;
            --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
            --radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--light);
            overflow-x: hidden;
        }

        /* ✅ NASCONDE Area Soci mobile su desktop */
        .page-header {
            background: var(--gradient);
            color: white;
            padding: clamp(120px, 25vw, 140px) clamp(1rem, 4vw, 2rem) clamp(80px, 15vw, 100px);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .page-header-content {
            max-width: clamp(320px, 90vw, 1200px);
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .page-header h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.5rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: clamp(1rem, 3vw, 1.5rem);
            line-height: 1.2;
        }

        .page-header p {
            font-size: clamp(1.1rem, 2.5vw, 1.3rem);
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        .main-content {
            margin-top: 100px;
            max-width: 100%;
        }

        .form-container {
            max-width: 960px;
            margin: 2rem auto;
            padding: 1.5rem;
            border: 1px solid var(--border);
            border-radius: 16px;
            background: var(--white);
            box-shadow: var(--shadow-lg);
        }

        .form-header img {
            height: 54px;
            display: block;
            margin: 0 0 1rem 0;
        }

        .form-title {
            margin: 0.25rem 0 0;
            color: var(--text-dark);
            font-size: 1.75rem;
            font-weight: 700;
        }

        .form-subtitle {
            color: var(--text-light);
            margin: 0.25rem 0 1rem;
            font-weight: 500;
        }

        .alert {
            padding: 0.9rem 1rem;
            border-radius: 10px;
            margin-bottom: 1rem;
            font-weight: 500;
        }

        .alert-info {
            color: var(--text-dark);
            background: #e0f2fe;
            border-left: 4px solid var(--primary);
        }

        .alert-warning {
            color: #991b1b;
            background: #fef2f2;
            border: 1px solid #fca5a5;
        }

        .message {
            display: none;
            margin: 0.9rem 0;
            padding: 0.9rem 1rem;
            border-radius: 10px;
            font-weight: 600;
        }

        .message.success {
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #6ee7b7;
        }

        .message.error {
            background: #fef2f2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }

        .form {
            display: grid;
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-row {
            display: grid;
            gap: 1rem;
        }

        .form-row-2 {
            grid-template-columns: 1fr 1fr;
        }

        .form-row-3 {
            grid-template-columns: 1fr 1fr 1fr;
        }

        label {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        input, select, textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
            background: white;
            font-family: inherit;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(9, 123, 192, 0.1);
        }

        textarea {
            resize: vertical;
            min-height: 100px;
        }

        fieldset {
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1rem;
            margin: 0;
        }

        legend {
            font-weight: 700;
            padding: 0 0.5rem;
            color: var(--text-dark);
        }

        .radio-group, .checkbox-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .radio-item, .checkbox-item {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            margin: 0.25rem 0;
        }

        input[type="radio"], input[type="checkbox"] {
            width: auto;
            margin: 0;
            margin-top: 0.1rem;
            flex-shrink: 0;
        }

        .content-box {
            display: none;
            margin-top: 0.75rem;
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: #f8fafc;
        }

        .payment-info p {
            margin-bottom: 0.5rem;
        }

        .payment-link {
            display: inline-block;
            background: var(--text-dark);
            color: white;
            padding: 0.6rem 1rem;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 0.5rem;
            transition: var(--transition);
        }

        .payment-link:hover {
            background: var(--primary);
            transform: translateY(-2px);
        }

        .stripe-button {
            display: inline-block;
            background: var(--gradient);
            color: white;
            padding: 0.8rem 1.4rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            transition: var(--transition);
        }

        .stripe-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .qr-image {
            margin-top: 0.75rem;
        }

        .qr-image img {
            width: 200px;
            border: 1px solid var(--border);
            padding: 0.25rem;
            border-radius: 8px;
        }

        .submit-button {
            background: var(--gradient);
            color: white;
            padding: 0.9rem 1.4rem;
            border: none;
            border-radius: 10px;
            font-weight: 700;
            cursor: pointer;
            font-size: 1rem;
            transition: var(--transition);
            margin-top: 1rem;
        }

        .submit-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .submit-button:disabled {
            background: #9ca3af;
            cursor: not-allowed;
            transform: none;
        }

        a {
            color: var(--primary);
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        footer {
            background: var(--text-dark);
            color: white;
            padding: 3rem 1.5rem 1rem;
            margin-top: 4rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: var(--accent);
        }

        .footer-section a {
            color: white;
            text-decoration: none;
            opacity: 0.8;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .footer-section a:hover {
            opacity: 1;
            color: var(--accent);
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 2rem;
            padding-top: 1rem;
            text-align: center;
            opacity: 0.6;
            font-size: 0.9rem;
        }

        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--primary);
            color: white;
            width: 50px;
            height: 50px;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: var(--transition);
            z-index: 1000;
        }

        .back-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .go-to-form {
            position: fixed;
            bottom: 2rem;
            left: 2rem;
            background: var(--primary);
            color: white;
            width: 50px;
            height: 50px;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: var(--transition);
            z-index: 1000;
        }

        .go-to-form:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .info-box {
            background: #f1f5f9;
            border-left: 4px solid var(--accent);
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            font-size: 0.95rem;
        }

        .value-section {
            max-width: 1200px;
            margin: 3rem auto;
            padding: 0 1.5rem;
        }

        .value-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .value-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 5vw, 2.75rem);
            color: var(--text-dark);
            margin-bottom: 1rem;
        }

        .value-header p {
            font-size: clamp(1.1rem, 2.5vw, 1.25rem);
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
        }

        .value-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .value-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.75rem;
            transition: var(--transition);
        }

        .value-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary);
        }

        .value-card-icon {
            width: 50px;
            height: 50px;
            background: var(--gradient);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }

        .value-card-icon i {
            font-size: 1.5rem;
            color: white;
        }

        .value-card h3 {
            font-size: 1.25rem;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
        }

        .value-card ul {
            list-style: none;
            padding: 0;
        }

        .value-card ul li {
            padding: 0.4rem 0;
            color: var(--text-light);
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .value-card ul li i {
            color: var(--primary);
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

        .roi-box {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border: 2px solid var(--primary);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            margin: 2rem 0;
        }

        .roi-box h3 {
            font-size: 1.5rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
        }

        .roi-box .price {
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary);
            margin: 1rem 0;
        }

        .roi-box .price-detail {
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }

        .roi-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }

        .roi-stat {
            background: white;
            padding: 1.25rem;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }

        .roi-stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .roi-stat-label {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        .signature-container {
            border: 2px solid #cbd5e1;
            border-radius: 8px;
            overflow: hidden;
            background: white;
        }

        #sigpad {
            display: block;
            cursor: crosshair;
            width: 100%;
            max-width: 500px;
            touch-action: none;
        }

        .signature-controls {
            padding: 0.75rem;
            background: #f8fafc;
            border-top: 1px solid #cbd5e1;
            text-align: center;
        }

        .clear-signature {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 6px;
            background: #e2e8f0;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .clear-signature:hover {
            background: #cbd5e1;
        }

        .faq-container {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .faq-item {
            background: white;
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            box-shadow: var(--shadow);
        }

        .faq-question {
            width: 100%;
            padding: 1.25rem 1.5rem;
            background: white;
            border: none;
            text-align: left;
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            background: #f8fafc;
        }

        .faq-question span {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .faq-icon {
            color: var(--primary);
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 1.5rem;
        }

        .faq-item.active .faq-answer {
            max-height: 1000px;
            padding: 0 1.5rem 1.5rem;
        }

        .faq-answer p {
            color: var(--text-light);
            line-height: 1.7;
            margin-bottom: 0.75rem;
        }

        .faq-answer ul {
            list-style: none;
            padding-left: 1rem;
        }

        .faq-answer ul li {
            padding: 0.25rem 0;
            color: var(--text-light);
            position: relative;
            padding-left: 1.5rem;
        }

        .faq-answer ul li::before {
            content: "→";
            color: var(--primary);
            position: absolute;
            left: 0;
        }

        .hidden {
            display: none;
        }
/* Partnership comparison grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr; /* Una colonna su mobile */
        gap: 1.5rem;
    }
}
        /* ✅ MEDIA QUERY MOBILE - VERSIONE CORRETTA */
        @media (max-width: 768px) {
            /* ✅ NASCONDI pulsante desktop su mobile */
            /* ✅ MOSTRA Area Soci nel menu mobile */
            /* ✅ STILE pulsante Area Soci mobile */
            .form-row-2, .form-row-3 {
                grid-template-columns: 1fr;
            }

            .roi-stats {
                grid-template-columns: 1fr;
            }

            .roi-box .price {
                font-size: 2.5rem;
            }

            #sigpad {
                height: 150px;
            }

            .value-section,
            .form-container {
                padding: 1rem;
            }

            .back-to-top,
            .go-to-form {
                width: 45px;
                height: 45px;
                bottom: 1.5rem;
            }

            .back-to-top {
                right: 1.5rem;
            }

            .go-to-form {
                left: 1.5rem;
            }
}

        @media (max-width: 480px) {
            .form-container {
                border-radius: 12px;
                margin: 0.5rem;
            }

            .form-title {
                font-size: 1.3rem;
            }
}
    
