/* QR-Entra - stili pagina Gestione Presenze Ospiti.
   Estratti dal blocco <style> inline di registro-presenze.html per abilitare la
   CSP style-src 'self' (senza 'unsafe-inline'). Contenuto invariato. */
.product-hero {
    padding: 80px 60px 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

.product-hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.product-hero-visual {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-detail:nth-child(even) {
    direction: rtl;
}

.feature-detail:nth-child(even) > * {
    direction: ltr;
}

.feature-visual {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
}

.feature-visual img {
    max-width: 100%;
    max-height: 460px;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: block;
}

.feature-visual img.feature-icon-img {
    max-height: 128px;
    box-shadow: none;
    border-radius: 0;
}

.feature-content h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.workflow-section {
    background: var(--primary-light);
    padding: 80px 60px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.workflow-steps {
    max-width: 1000px;
    margin: 0 auto;
}

.workflow-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--surface);
    border-radius: 8px;
}

.workflow-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.workflow-step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.workflow-step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-hero {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .product-hero-content h1 {
        font-size: 36px;
    }

    .feature-detail {
        grid-template-columns: 1fr;
    }

    .feature-detail:nth-child(even) {
        direction: ltr;
    }
}

/* registro-presenze.html - larghezze delle righe scheletro del phone-mockup:
   erano style="width: NN%" inline su .form-line. .form-line non imposta width,
   quindi queste classi sono l'unica sorgente (resa identica). */
.form-line.w-60 { width: 60%; }
.form-line.w-80 { width: 80%; }
.form-line.w-70 { width: 70%; }
.form-line.w-90 { width: 90%; }
.form-line.w-50 { width: 50%; }
