/* 
 * conversion-hardener.css
 * Advanced CRO and SXO Layout Enhancements
 */

/* 1. Reading Progress Bar (SXO) */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, #086ad8, #12DCA2);
    z-index: 999999;
    transition: width 0.1s ease;
}

/* 2. Lead Capture Shield (CRO) */
#lead-capture-shield {
    position: fixed;
    bottom: 30px;
    right: -400px; /* Hidden by default */
    width: 350px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-radius: 16px;
    z-index: 99999;
    padding: 25px;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(8, 106, 216, 0.1);
}

#lead-capture-shield.active {
    right: 30px;
}

#lead-capture-shield .close-shield {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
    color: #7a8aab;
}

#lead-capture-shield h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #001d23;
}

#lead-capture-shield p {
    font-size: 14px;
    color: #7a8aab;
    margin-bottom: 20px;
}

.shield-btn {
    display: block;
    width: 100%;
    background: #086ad8;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.shield-btn:hover {
    background: #001d23;
    color: #fff;
}

@media (max-width: 575px) {
    #lead-capture-shield {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: -500px;
    }
    #lead-capture-shield.active {
        bottom: 20px;
    }
}
