/* ============================================
   CONVERSION BOOST — SEO/GEO/AEO Enhancements
   Added to all landing pages for lead capture
   ============================================ */

/* === Quick Answer Box (Featured Snippet Bait) === */
.lp-quick-answer {
    background: linear-gradient(135deg, var(--brand-light) 0%, #E0F8F0 100%);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    padding: 24px 28px;
    margin-bottom: 40px;
    position: relative;
}

.lp-quick-answer::before {
    content: 'Quick Answer';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--brand);
    color: var(--white);
    padding: 3px 14px;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Outfit', sans-serif;
}

.lp-quick-answer p {
    font-size: 1.05rem;
    color: var(--slate-800);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.lp-quick-answer strong {
    color: var(--brand-dark);
}

/* === ROI Calculator === */
.lp-roi-calc {
    background: var(--white);
    border: 2px solid var(--brand);
    border-radius: var(--r-xl);
    padding: 36px;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

.lp-roi-calc::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--green));
}

.lp-roi-calc h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-roi-calc h3 i {
    color: var(--brand);
}

.lp-roi-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.lp-roi-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-600);
    margin-bottom: 6px;
}

.lp-roi-field input,
.lp-roi-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--r-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: border-color 0.2s;
}

.lp-roi-field input:focus,
.lp-roi-field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.lp-roi-result {
    background: var(--slate-900);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.lp-roi-stat .number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 6px;
}

.lp-roi-stat .label {
    font-size: 0.82rem;
    color: var(--slate-400);
    font-weight: 500;
}

/* === Social Proof Counter === */
.lp-social-proof-bar {
    background: var(--slate-900);
    padding: 14px 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--slate-300);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}

.lp-social-proof-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--green), var(--brand));
    background-size: 200% 100%;
    animation: shimmerBar 3s ease-in-out infinite;
}

@keyframes shimmerBar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.lp-social-proof-bar strong {
    color: var(--brand);
    font-weight: 700;
}

.lp-social-proof-bar i {
    color: var(--green);
    margin-right: 6px;
    font-size: 0.75rem;
}

/* === Price Comparison Mini Widget === */
.lp-price-compare {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-xl);
    padding: 32px;
    margin: 48px 0;
}

.lp-price-compare h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.lp-price-pills {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.lp-price-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: var(--r-lg);
    border: 1.5px solid var(--slate-200);
    background: var(--white);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.lp-price-pill.winner {
    border-color: var(--brand);
    background: var(--brand-light);
    box-shadow: 0 4px 16px rgba(0, 174, 239, 0.15);
}

.lp-price-pill .name {
    font-weight: 600;
    color: var(--slate-800);
}

.lp-price-pill .price {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
}

.lp-price-pill.winner .price {
    color: var(--brand);
}

.lp-price-pill .price.strikethrough {
    text-decoration: line-through;
    color: var(--slate-400);
    font-weight: 500;
    font-size: 0.9rem;
}

.lp-price-pill .savings {
    background: var(--green-light);
    color: #059669;
    padding: 2px 10px;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 700;
}

/* === Exit Intent Popup === */
.lp-exit-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lp-exit-popup.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lp-exit-card {
    background: var(--white);
    border-radius: var(--r-2xl);
    padding: 48px 40px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.lp-exit-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border: none;
    background: var(--slate-100);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lp-exit-close:hover {
    background: var(--slate-200);
    color: var(--slate-800);
}

.lp-exit-card h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.lp-exit-card p {
    color: var(--slate-500);
    font-size: 1rem;
    margin-bottom: 28px;
}

.lp-exit-card .lp-btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}

.lp-exit-card .lp-exit-dismiss {
    display: block;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--slate-400);
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
}

/* === Related Pages Grid === */
.lp-related {
    padding: 64px 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
}

.lp-related h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 32px;
}

.lp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lp-related-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    color: var(--slate-700);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.lp-related-link:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.lp-related-link i {
    color: var(--brand);
    font-size: 0.8rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .lp-roi-inputs { grid-template-columns: 1fr; }
    .lp-roi-result { grid-template-columns: 1fr; gap: 16px; }
    .lp-price-pills { flex-direction: column; }
    .lp-related-grid { grid-template-columns: 1fr 1fr; }
    .lp-roi-calc { padding: 24px; }
}
