/**
 * CSS per la Pagina Funnel - McFrancis
 * Design: Moderno, Pulito, Orientato alla Conversione
 * Font Primario: Inter
 */

/*--------------------------------------------------------------
# Variabili e Stili Globali
--------------------------------------------------------------*/
:root {
    --funnel-text-color: #000000;
    --funnel-primary-color: var(); /* Un viola vibrante che si abbina al gradiente */
    --funnel-primary-color: linear-gradient(90deg, rgb(106, 130, 251), rgb(252, 92, 125), rgb(251, 215, 134));
    --funnel-light-bg: rgba(255, 255, 255, 0.95);
    --funnel-card-bg: rgb(246 246 246);
    --funnel-border-color: rgba(255, 255, 255, 0.2);
    --funnel-input-bg: rgba(0, 0, 0, 0.1);
    --funnel-input-border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--funnel-text-color);
    line-height: 1.6;
    margin: 0;
}

/* Tipografia */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--funnel-text-color);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
}

/* Stili per le icone (placeholder, da implementare con SVG/Icon Font) */
ico {
    display: inline-block;
    width: 24px;
    height: 50px;
     /* Usa il colore del testo genitore */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    padding: 0;
}
/* Esempio: ico[facebook] { -webkit-mask-image: url(...); } */

/* Classe Alert per feedback di validazione */
.alert {
    animation: flashRed 0.6s ease-in-out 3;
    border-color: #dc3545 !important;
}

.checkbox-group.alert {
    animation: flashRedBg 0.6s ease-in-out 3;
}

.checkbox-group.alert .checkbox-label {
    color: #dc3545 !important;
}

@keyframes flashRed {
    0%, 100% {
        border-color: inherit;
        box-shadow: none;
    }
    50% {
        border-color: #dc3545;
        box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
    }
}

@keyframes flashRedBg {
    0%, 100% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(220, 53, 69, 0.1);
    }
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.funnel-header {
    padding: 20px 0;
}
.header-logo{
    position:fixed;
    right:10px;
    bottom:10px
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.header-logo .logo {
    height: 50px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgb(255 255 255 / 90%);
    cursor: pointer;
}

.social-links a {
    color: var(--funnel-text-color);
    margin: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

/*--------------------------------------------------------------
# Funnel Management Styles
--------------------------------------------------------------*/
.funnel-management {
    padding: 0;
    background: transparent;
}

.funnel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.funnel-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.funnel-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.funnel-links {
    display: flex;
    gap: 10px;
}

.date-range-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range-controls label {
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.date-input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Analytics Summary - seguendo il pattern di analytics visite */
.analytics-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.analytics-summary .stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.analytics-summary .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.analytics-summary .stat-card h4 {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analytics-summary .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.analytics-summary .stat-subtitle {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    text-align: center;
    margin: 0;
    min-height: fit-content;
}

.avatar-card {
    width: 100%;
    max-width: 1000px;
    padding: 15px;
    border-radius: 24px;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 60px;
    cursor: pointer;
    height: fit-content;
    position: relative;
    display: block;
}
.avatar-card h3{
    text-align:center;
    width: 100%;
    display: block;
    max-width: -webkit-fill-available;
    animation: fadeIn 4s ease;
}
.avatar-card:hover {
}

.avatar-image {
    margin-bottom: 20px;
    margin-top: 35px;
}

.avatar-image ico {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /* Stile Placeholder per l'avatar */
}

.clickbait-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
    background: linear-gradient(90deg, #1d1d1f, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clickbait-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--funnel-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 3s ease;
}

.cta-badge {background-color: #0051FF;color: #FFFFFF;border: none;padding: 14px 32px; /* Leggermente piÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ grande per piÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ peso visivo */border-radius: 50px;font-weight: 700; /* Grassetto per il comando */letter-spacing: 0.5px;cursor: pointer;box-shadow: 0 4px 15px rgba(0, 81, 255, 0.25); /* Glow sottile */transition: all 0.2s ease-out;width: fit-content;margin: 0 auto;margin-top: 40px;transition: all 0.3s ease;animation: fadeIn 3s ease, pulse-cta 2s infinite;}


.cta-badge span {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    font-weight: 500;
    cursor: pointer;
}


/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
.blog-section {
    padding: 60px 20px;
    background-color: var(--funnel-light-bg);
    color: #1d1d1f;
}

.blog-content {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-header h2, .blog-header p {
    color: #1d1d1f;
    margin-bottom: 10px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.articles-grid .article-card{
    padding:0
}
.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-title {
    font-size: 20px;
    margin-bottom: 10px;
}
.article-title a {
    color: #1d1d1f;
}

.article-excerpt {
    font-size: 15px;
    color: #6e6e73;
    margin-bottom: 20px;
}

.article-date {
    font-size: 13px;
    color: #86868b;
    font-weight: 500;
}

.loading-indicator, .end-indicator {
    text-align: center;
    padding: 40px 0;
    color: #6e6e73;
}


/*--------------------------------------------------------------
# Data Modal
--------------------------------------------------------------*/
.data-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    margin: 5% auto;
    max-width: 700px;
    width: 95%;
}

.modal-content {
    background-color: #fff;
    color: #1d1d1f;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-title {
    font-size: 22px;
    color: #1d1d1f;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #86868b;
    cursor: pointer;
}

.modal-body {
    padding: 30px 40px;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f5f5f7;
    color: #86868b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
}
.step-number.active {
    background: var(--funnel-primary-color);
    color: #fff;
    background-size: 100px;
    background-position: 100%;
}
.step-number.completed {
    background: var(--brand-signature-blue);
    color: #fff;
}
.step-line {
    height: 2px;
    width: 50px;
    background: #e5e5e5;
    transition: background-color 0.3s ease;
}
.step-line.completed {
    background: var(--brand-signature-blue);
}

.step-header {
    text-align: center;
    margin-bottom: 30px;
}
.step-title { color: #1d1d1f; }
.step-description {color: #6e6e73;line-height: 1.2;margin-top: 10px;}


/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.form-group {
    flex: 1;
    width: 100%;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f5f5f7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--funnel-primary-color);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

.was-validated .form-input:invalid {
    border-color: #dc3545;
}
.error-message {
    display: none;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}
.was-validated .form-input:invalid ~ .error-message {
    display: block;
}

.privacy-section {margin-top: 25px;display: flex;}

.checkbox-group{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.checkbox-group input{
    width: 50px;
    height: 50px;
    margin-right: 20px;
}
.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Button Styles */
.button {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.button.primary ico{
    height:fit-content;
    filter: invert(1);
    -webkit-filter: invert(1);
}
.button.primary {
    background: var(--link-color);
    color: #fff;
}
.button.primary:after {
    content: "";
    margin-left: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}
.button.primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.button.primary:hover:after {
    transform: translateX(3px);
}
.button.success {
    background: var(--link-color);
    color: #fff;
}
.button.success:after {
    content: "";
    margin-left: 8px;
}
.button.outline {
    background: transparent;
    color: #6e6e73;
    box-shadow: inset 0 0 0 1px #d2d2d7;
}
.button.outline:hover {
    background: #f5f5f7;
    color: #1d1d1f;
}

/* Step 2 Specific Styles */
.additional-form .form-row {
    display: flex;
    gap: 20px;
}
.additional-form .form-row{
    margin-bottom:0;
}
.additional-form .form-group {
    margin-bottom: 10px;
}

.additional-form .form-group:only-child {
    flex: none;
    width: 100%;
}

.additional-form .form-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.additional-form .button {
    width: 100%;
    /* max-width: 400px; */
    font-size: 16px;
    font-weight: 800;
}

.additional-form .button.success {
    order: 1;
}

.additional-form .button.outline {
    order: 2;
    font-size: 14px;
    padding: 10px 20px;
}

/* Success Step */
.success-step {
    text-align: center;
}
.success-animation ico {
    width: 80px;
    height: 80px;
    color: var(--funnel-success-color);
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Funnel Table and Filters
--------------------------------------------------------------*/
/* Filtri - UI migliorata */
.funnel-filters {
    margin-bottom: 25px;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.funnel-filters .filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.funnel-filters .filters-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.funnel-filters .filters-header h4 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.funnel-filters .filter-actions {
    display: flex;
    gap: 10px;
}

.funnel-filters .filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.funnel-filters .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.funnel-filters .filter-group.search-group {
    grid-column: span 2;
    min-width: 300px;
}

.funnel-filters .filter-group label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.funnel-filters .filter-group label i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.funnel-filters .filter-select,
.funnel-filters .search-input {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.funnel-filters .filter-select:focus,
.funnel-filters .search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.funnel-filters .search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.funnel-filters .search-input {
    flex: 1;
    padding-right: 45px;
}

.funnel-filters .search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.funnel-filters .search-input:not(:placeholder-shown) + .search-clear {
    opacity: 1;
    pointer-events: auto;
}

.funnel-filters .search-clear:hover {
    background: var(--danger-color);
    color: white;
}

.funnel-filters .btn-primary,
.funnel-filters .btn-secondary {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.funnel-filters .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.funnel-filters .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.funnel-filters .btn-secondary {
    background: var(--card-bg);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.funnel-filters .btn-secondary:hover {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .funnel-filters .filters-row {
        grid-template-columns: 1fr;
    }
    
    .funnel-filters .filter-group.search-group {
        grid-column: span 1;
        min-width: auto;
    }
    
    .funnel-filters .filters-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .funnel-filters .filter-actions {
        justify-content: center;
    }
}

/* Tabella - seguendo il pattern di user management */
.funnel-table {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.funnel-table table {
    width: 100%;
    border-collapse: collapse;
}

.funnel-table th,
.funnel-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.funnel-table th {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.funnel-table td {
    color: var(--text-primary);
    font-size: 0.9rem;
    vertical-align: middle;
}

.funnel-table tbody tr {
    transition: background-color 0.2s ease;
}

.funnel-table tbody tr:hover {
    background: var(--hover-bg);
}

.funnel-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-badge.viewed {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-badge.not-viewed {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.status-badge.booked {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-badge.not-booked {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-btn {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.action-btn.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* Paginazione - seguendo il pattern di user management */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-select {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Stili per le tendenze */
.trend-up {
    color: #10b981;
    font-weight: 600;
}

.trend-down {
    color: #ef4444;
    font-weight: 600;
}

.trend-stable {
    color: #6b7280;
    font-weight: 600;
}

/* Badge di stato per appuntamenti */
.status-success {
    background-color: #d1fae5;
    color: #065f46;
}

.status-secondary {
    background-color: #f3f4f6;
    color: #6b7280;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .form-group input, .form-group select, .form-group textarea{
        padding:10px;
        font-size: 16px;
    }
    .checkbox-label{
        font-size: 11px;
    }
    .modal-title{
        font-size:16px;
    }
    .cta-badge {
        font-size:13px;
    }
    .modal-container {
        margin: 10px auto;
        width: 98%;
    }
    
    /* Step 2 Mobile Styles */
    .additional-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .additional-form .form-group {
        flex: none;
        width: 100%;
    }
    
    .additional-form .button {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .additional-form .button.outline {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    .modal-body {
        padding: 15px 20px;
    }
    .form-row {
        flex-direction: column;
        margin-bottom: 15px;
    }
    .form-group {
        margin-bottom: 0;
    }
    .step-header {
        margin-bottom: 20px;
    }
    .step-title {
        font-size: 16px;
    }
    .step-description {
        font-size: 11px;
    }
    .form-input, .form-select, .form-textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    .form-actions {
        margin-top: 20px;
        flex-direction: column;
        gap: 10px;
    }
    .button {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }
    .privacy-section {
        margin-top: 15px;
    }
    .checkbox-group {
        align-items: flex-start;
        display: flex;
    }
    .checkbox-group input {
        width: 50px;
        height: -webkit-fill-available;
        margin-right: 10px;
        /* margin-bottom: 5px; */
    }

    .hero-section{
        display: flex;
        justify-content: flex-start;
        min-height: fit-content;
    }
    .blog-section{
        padding-top:10px;
    }
    
    /* Layout mobile per articles-grid */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        height: 120px;
        border-radius: 12px;
        min-height: fit-content;
    }
    
    .article-image {
        width: 120px;
        min-height: 120px;
        height: -webkit-fill-available;
        flex-shrink: 0;
        border-radius: 12px 0 0 12px;
    }
    
    .article-content {
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
    }
    
    .article-title {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .article-date {
        font-size: 12px;
        margin-top: auto;
    }
}


@keyframes fadeIn {
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}

@keyframes pulse-cta {
    0% { box-shadow: 0 0 0 0 rgba(0, 87, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 87, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 87, 255, 0); }
}

/* Icona Arrow */
ico[arrow] {
    background-image: url('./ico/arrow.svg');
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-left: 8px;
}