section.nospace{padding-top:0 !important}

/* Barra de progreso inline */
.progress-container-inline {
    display: none;
    padding: 40px;
    background: #EBE9E3;
    border-radius: 5px;
    margin-top: 20px;
}

.progress-container-inline.active {
    display: block;
}

.progress-header {
    text-align: center;
    margin-bottom: 30px;
}

.progress-title {
    font-family: "Zilla Slab", serif;
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}

.progress-subtitle {
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    color: #222222;
}

.progress-bar-wrapper {
    width: 100%;
    background: rgba(189, 180, 163, 0.3);
    border-radius: 10px;
    height: 50px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    border: 2px solid #BDB4A3;
}

.progress-bar-fill {
    height: 100%;
    background: #C5ED55;
    border-radius: 8px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 0;
}

.progress-percent-text {
    font-family: "Zilla Slab", serif;
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #222;
}

.progress-message-text {
    color: #222;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    text-align: center;
    min-height: 24px;
    font-weight: 500;
}

.spinner-small {
    width: 30px;
    height: 30px;
    margin: 0 auto 20px;
    border: 4px solid rgba(197, 237, 85, 0.3);
    border-top: 4px solid #C5ED55;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilo Google PSI para los círculos */
.psi-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.psi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.psi-circle {
    width: 120px;
    height: 120px;
    margin: 0 0 16px 0;
    position: relative;
}

.psi-circle svg {
    transform: rotate(-90deg);
}

.psi-circle-bg {
    fill: none;
    stroke: #e9e7e8;
    stroke-width: 8;
}

.psi-circle-progress {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.psi-score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Zilla Slab", serif;
    font-size: 32px;
    font-weight: 600;
    color: #222;
}

.psi-title {
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.psi-link {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.psi-link:hover {
    text-decoration: underline;
}

/* Colores según score */
.score-good { stroke: #C5ED55; }
.score-average { stroke: #ffa400; }
.score-poor { stroke: #ff4e42; }

/* Iconos */
.psi-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    display: inline-block;
}

.icon-performance { color: #16d091; }
.icon-accessibility { color: #ff6a33; }
.icon-seo { color: #5968f2; }
.icon-ux { color: #ffab00; }
.icon-autoridad { color: #9c27b0; }
.icon-security { color: #e91e63; }  /* NUEVO: Color rosa/magenta para seguridad */

/* Secciones de Prioridades y Puntos Fuertes */
.priority-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid #ff4e42;
}

.priority-card.warning {
    border-left-color: #ffa400;
}
.warning{
    color: #ffa400;
}
.priority-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.priority-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.priority-icon.red {
    background: #ffe6e6;
}

.priority-icon.orange {
    background: #fff4e6;
}

.priority-title {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.priority-score {
}

.red { color: #ff4e42; }
.priority-score.orange { color: #ffa400; }

.priority-description {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
    padding-left: 52px;
}


.priority-actions h6 {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.priority-actions ul {
    margin: 0;
    padding-left: 20px;
}

.priority-actions li {
    font-family: "Outfit", sans-serif;
    margin-bottom: 10px;
}

/* Puntos Fuertes */
.strength-card {
    background: #e8f5e9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid #C5ED55;
}
.strength{
    color: #C5ED55;
}
.strength-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #c8e6c9;
}
.strength-score {
    color: #C5ED55;
}
.strength-list li{
    margin-bottom: 10px;
}
/* Lead Capture Card */
.lead-capture-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.lead-capture-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lead-capture-content {
    position: relative;
    z-index: 1;
}

.lead-capture-title {
    font-family: "Zilla Slab", serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
}

.lead-capture-subtitle {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    text-align: center;
}

.lead-capture-form {
    max-width: 1000px;
    margin: 0 auto;
}

.lead-input {
    height: 54px;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lead-input:focus {
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.lead-input::placeholder {
    color: #999;
}

.btn-lead {
    height: 54px;
    background: #C5ED55;
    border: none;
    border-radius: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    padding: 0 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(197, 237, 85, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-lead:hover {
    background: #b3d64d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 237, 85, 0.4);
}

.btn-lead i {
    font-size: 18px;
}

.lead-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-check .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    margin-top: 0;
}

.lead-check .form-check-input:checked {
    background-color: #C5ED55;
    border-color: #C5ED55;
}

.lead-check .form-check-label {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 8px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .lead-capture-card {
        padding: 32px 24px;
    }
    
    .lead-capture-title {
        font-size: 24px;
    }
    
    .lead-capture-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .btn-lead {
        font-size: 14px;
        padding: 0 16px;
    }
    
    .btn-lead .me-2 {
        margin-right: 0.25rem !important;
    }
}

/* Final CTA Card */
.final-cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.final-cta-card::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.final-cta-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}


.final-cta-form-wrapper {
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.final-capture-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group-final {
    margin-bottom: 24px;
}

.final-label {
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    display: block;
}

.final-input {
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 16px;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
    width: 100%;
}

.final-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.final-input::placeholder {
    color: #999;
}

.final-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.final-check .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    background: #fff;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.final-check .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.final-check-label {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.btn-final {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    padding: 0 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.btn-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.5);
}

.btn-final i {
    font-size: 20px;
}

/* Features Grid */
.final-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.final-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.final-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.final-feature-icon i {
    font-size: 22px;
    color: #fff;
}

.final-feature-text h6 {
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.final-feature-text p {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .final-cta-card {
        padding: 40px 24px;
    }
    
    .final-cta-title {
        font-size: 26px;
    }
    
    .final-cta-title br {
        display: none;
    }
    
    .final-cta-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .final-cta-subtitle br {
        display: none;
    }
    
    .final-cta-form-wrapper {
        padding: 28px 20px;
    }
    
    .btn-final {
        font-size: 16px;
    }
    
    .final-features {
        grid-template-columns: 1fr;
    }
    
.lead-success-message {
    background-color: #EBE9E3;
    color: #222222;
    border-radius: 8px;
    padding: 20px;
    font-family: "Outfit", sans-serif;
}

.lead-success-message i {
    color: #C5ED55;
    font-size: 20px;
}        

/* Badge de plugin detectado */
.plugin-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.plugin-badge i {
    margin-right: 6px;
}

.plugin-badge-success {
    background: linear-gradient(135deg, #C5ED55 0%, #08a858 100%);
    box-shadow: 0 2px 8px rgba(12, 206, 107, 0.3);
}

.plugin-badge-warning {
    background: linear-gradient(135deg, #ffa400 0%, #ff8800 100%);
    box-shadow: 0 2px 8px rgba(255, 164, 0, 0.3);
}

/* Info de herramientas detectadas */
.detected-tools-info {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-left: 3px solid #667eea;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.detected-tools-info i {
    color: #667eea;
    margin-right: 6px;
}

.plugin-info-box {
    margin-top: 8px;
    padding: 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.plugin-info-box strong {
    color: #667eea;
    font-weight: 600;
}

}



.form_fields_custom_hp{
    position:absolute;left:-9999px;width:1px;height:1px;
}


.lead-already-completed {
        text-align: center;
        padding: 3rem 2rem;
        background: linear-gradient(135deg, rgba(197, 237, 85, 0.1) 0%, rgba(197, 237, 85, 0.05) 100%);
        border-radius: 12px;
        border: 2px solid #C5ED55;
    }
    
    .completed-icon {
        font-size: 4rem;
        color: #C5ED55;
        margin-bottom: 1.5rem;
        animation: checkPop 0.6s ease-out;
    }
    
    @keyframes checkPop {
        0% { transform: scale(0); opacity: 0; }
        50% { transform: scale(1.1); }
        100% { transform: scale(1); opacity: 1; }
    }
    
    .completed-title {
        font-family: 'Zilla Slab', serif;
        font-size: 1.75rem;
        font-weight: 600;
        color: #222;
        margin-bottom: 1rem;
    }
    
    .completed-message {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .completed-message strong {
        color: #222;
    }
    
    .completed-info {
        display: inline-flex;
        align-items: center;
        background: white;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        font-size: 0.95rem;
        color: #666;
        margin-top: 1rem;
    }
    
    .completed-info i {
        color: #C5ED55;
        font-size: 1.2rem;
    }
    
    .completed-action {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0,0,0,0.1);
    }