/* KHFP Lead Funnel Styles v1.2 */

.khfp-hp { opacity:0; position:absolute; top:0; left:0; height:0; width:0; z-index:-1; }

/* Mini Lead Capture */
.khfp-mini-lead {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin: 40px 0;
    color: #fff !important;
}
.khfp-mini-icon { font-size: 48px; margin-bottom: 12px; }
.khfp-mini-lead h3 { 
    font-size: 24px; 
    margin: 0 0 8px; 
    font-weight: 700; 
    color: #fff !important;
    font-style: normal !important;
}
.khfp-mini-lead p { 
    opacity: 0.9; 
    margin: 0 0 20px; 
    color: #fff !important;
}
.khfp-mini-fields {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}
.khfp-mini-fields input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
}
.khfp-mini-fields button {
    background: #ed8936;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.khfp-mini-fields button:hover { background: #dd6b20; }
.khfp-mini-ok {
    background: rgba(72, 187, 120, 0.2);
    padding: 16px;
    border-radius: 8px;
    color: #68d391 !important;
    font-weight: 600;
}

/* Lead Magnet Form */
.khfp-lead-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.khfp-lead-hero {
    text-align: center;
    margin-bottom: 40px;
}
.khfp-lead-badge {
    display: inline-block;
    background: #ed8936;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.khfp-lead-hero h1 {
    font-size: 36px;
    color: #1a202c;
    margin: 0 0 12px;
    line-height: 1.2;
}
.khfp-lead-sub {
    font-size: 18px;
    color: #4a5568;
    margin: 0;
}
.khfp-lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 768px) {
    .khfp-lead-grid { grid-template-columns: 1fr; }
    .khfp-mini-fields { flex-direction: column; }
}
.khfp-lead-benefits h3 {
    font-size: 20px;
    color: #1a202c;
    margin: 0 0 16px;
}
.khfp-lead-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.khfp-lead-benefits li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
    color: #2d3748;
}
.khfp-lead-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #718096;
    font-size: 14px;
}
.khfp-lead-form-wrap {
    background: #f7fafc;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
}
.khfp-lead-form, .khfp-quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.khfp-field label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
    font-size: 14px;
}
.khfp-field input, .khfp-field select, .khfp-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.khfp-field input:focus, .khfp-field select:focus, .khfp-field textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}
.khfp-btn-primary {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}
.khfp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.4);
}
.khfp-btn-secondary {
    background: #fff;
    color: #2d3748;
    border: 2px solid #e2e8f0;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.khfp-btn-secondary:hover { border-color: #cbd5e0; }
.khfp-privacy {
    text-align: center;
    color: #718096;
    font-size: 13px;
    margin: 0;
}
.khfp-lead-ok, .khfp-quote-ok {
    text-align: center;
    padding: 40px 20px;
}
.khfp-ok-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}
.khfp-lead-ok h3, .khfp-quote-ok h2 {
    color: #1a202c;
    margin: 0 0 12px;
}
.khfp-lead-ok p, .khfp-quote-ok p {
    color: #4a5568;
    margin: 0 0 20px;
}

/* Quote Form */
.khfp-quote-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}
.khfp-quote-hero {
    text-align: center;
    margin-bottom: 40px;
}
.khfp-quote-hero h1 {
    font-size: 36px;
    color: #1a202c;
    margin: 0 0 12px;
}
.khfp-quote-sub {
    font-size: 18px;
    color: #4a5568;
    margin: 0 0 20px;
}
.khfp-quote-benefits {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: #38a169;
    font-weight: 500;
}
.khfp-quote-form {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}
.khfp-quote-step h3 {
    font-size: 20px;
    color: #1a202c;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}
.khfp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (max-width: 600px) {
    .khfp-row { grid-template-columns: 1fr; }
}
.khfp-step-btns {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.khfp-step-btns .khfp-btn-secondary { flex: 0 0 auto; }
.khfp-step-btns .khfp-btn-primary { flex: 1; }

/* Progress indicator */
.khfp-quote-form::before {
    content: '';
    display: block;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-bottom: 32px;
}
.khfp-quote-form[data-step="1"]::before { 
    background: linear-gradient(90deg, #ed8936 33%, #e2e8f0 33%);
}
.khfp-quote-form[data-step="2"]::before { 
    background: linear-gradient(90deg, #ed8936 66%, #e2e8f0 66%);
}
.khfp-quote-form[data-step="3"]::before { 
    background: #ed8936;
}

.khfp-ok-sub {
    color: #718096;
    font-size: 14px;
}

/* Sidebar Contact Form */
.khfp-sidebar-form {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    border-radius: 12px;
    padding: 20px;
    color: #fff;
}
.khfp-sidebar-form h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
}
.khfp-sidebar-plan {
    font-size: 13px;
    margin: 0 0 15px;
    opacity: 0.95;
    color: #fff !important;
}
.khfp-sidebar-plan strong {
    color: #fff !important;
}
.khfp-sb-form input,
.khfp-sb-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.khfp-sb-form input:focus,
.khfp-sb-form textarea:focus {
    outline: 2px solid #68d391;
}
.khfp-sb-form textarea {
    resize: vertical;
    min-height: 50px;
}
.khfp-sb-form button {
    width: 100%;
    background: #fff;
    color: #2f855a;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.khfp-sb-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.khfp-sb-ok {
    text-align: center;
    padding: 15px 0;
}
.khfp-sb-ok p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff !important;
}
