/* Wisns Advisor — all classes prefixed wa- to avoid collisions */

/* === Hide Odoo chrome on advisor pages === */
.wa-page #wrapwrap > header,
.wa-page #wrapwrap > footer,
.wa-page .o_livechat_button { display: none !important; }
.wa-page #wrapwrap { padding-top: 0 !important; }
.wa-page #wrapwrap > main { padding: 0 !important; }

/* === Base === */
.wa-container { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem; font-family: -apple-system, "Segoe UI", "Noto Sans Hebrew", sans-serif; color: #1A1A1A; line-height: 1.6; -webkit-font-smoothing: antialiased; direction: rtl; }

/* === Typography === */
.wa-title { font-size: 38px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; }
.wa-accent { color: #1E3A8A; }
.wa-lead { font-size: 17px; color: #555; margin-bottom: 2rem; }
.wa-eyebrow { font-size: 11px; color: #1E3A8A; letter-spacing: 0.15em; font-weight: 500; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 8px; }
.wa-eyebrow::before { content: ''; width: 6px; height: 6px; background: #1E3A8A; border-radius: 50%; }

/* === Disclaimer === */
.wa-disclaimer { background: #FEF3C7; border: 1px solid #F59E0B; border-radius: 8px; padding: 14px 18px; font-size: 13px; color: #78350F; line-height: 1.7; margin-bottom: 2.5rem; }
.wa-disclaimer strong { font-weight: 500; }

/* === Progress bar === */
.wa-progress { height: 3px; background: #E5E5E0; border-radius: 999px; overflow: hidden; margin-bottom: 2rem; }
.wa-progress-bar { height: 100%; background: #1E3A8A; transition: width 0.4s; }
.wa-step-meta { display: flex; justify-content: space-between; font-size: 12px; color: #888; margin-bottom: 8px; }

/* === Quiz === */
.wa-question { font-size: 22px; font-weight: 500; line-height: 1.4; margin-bottom: 8px; }
.wa-hint { font-size: 13px; color: #888; margin-bottom: 1.5rem; }
.wa-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 2rem; }
.wa-option { padding: 14px 16px; border: 1px solid #D4D4D0; background: white; border-radius: 8px; cursor: pointer; font-size: 15px; font-family: inherit; text-align: right; transition: all 0.15s; }
.wa-option:hover { border-color: #1E3A8A; }
.wa-option.selected { border-color: #1E3A8A; background: #EFF6FF; }

/* === Navigation === */
.wa-nav { display: flex; justify-content: space-between; gap: 12px; }
.wa-btn-primary { background: #1E3A8A; color: white; border: none; padding: 12px 24px; font-size: 15px; font-weight: 500; border-radius: 8px; cursor: pointer; font-family: inherit; text-decoration: none; display: inline-block; text-align: center; }
.wa-btn-primary:hover { background: #1a3278; color: white; text-decoration: none; }
.wa-btn-primary:disabled { background: #999; cursor: not-allowed; }
.wa-btn-secondary { background: transparent; color: #555; border: 1px solid #D4D4D0; padding: 12px 20px; font-size: 15px; border-radius: 8px; cursor: pointer; font-family: inherit; }

/* === Result === */
.wa-result-intro { font-size: 13px; color: #888; margin-bottom: 8px; }
.wa-result-name { font-size: 36px; font-weight: 500; color: #1E3A8A; letter-spacing: -0.02em; margin-bottom: 6px; }
.wa-result-price { font-size: 14px; color: #666; margin-bottom: 1.5rem; }
.wa-result-why { background: white; border: 1px solid #E5E5E0; border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.wa-result-why h3 { font-size: 13px; font-weight: 500; color: #888; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.wa-reason-list { list-style: none; padding: 0; margin: 0; }
.wa-reason-list li { padding: 8px 0; font-size: 14px; color: #333; border-bottom: 1px solid #F0EFEA; display: flex; gap: 10px; align-items: flex-start; }
.wa-reason-list li:last-child { border-bottom: none; }
.wa-reason-list li::before { content: '\25CF'; color: #1E3A8A; font-size: 10px; margin-top: 5px; flex-shrink: 0; }
.wa-eliminated { background: #F9FAFB; border: 1px solid #E5E5E0; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.wa-eliminated h3 { font-size: 13px; font-weight: 500; color: #888; margin-bottom: 8px; }
.wa-eliminated ul { list-style: none; padding: 0; margin: 0; }
.wa-eliminated li { font-size: 13px; color: #666; padding: 4px 0; }
.wa-eliminated strong { color: #333; font-weight: 500; }

/* === CTA === */
.wa-cta-box { background: #1E3A8A; border-radius: 12px; padding: 1.5rem; color: white; margin-bottom: 1rem; }
.wa-cta-box h3 { font-size: 18px; margin-bottom: 6px; font-weight: 500; }
.wa-cta-box p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.wa-cta-box .wa-btn-primary { background: white; color: #1E3A8A; }
.wa-cta-box .wa-btn-primary:hover { background: #f0f0f0; }

/* === Contact form inside CTA === */
.wa-input { display: block; width: 100%; padding: 10px 14px; margin-bottom: 0.5rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; font-size: 15px; font-family: inherit; background: rgba(255,255,255,0.1); color: white; box-sizing: border-box; }
.wa-input::placeholder { color: rgba(255,255,255,0.5); }
.wa-input:focus { outline: none; border-color: white; background: rgba(255,255,255,0.15); }
.wa-cf-note { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.wa-cf-error { color: #FCA5A5; font-size: 13px; margin-top: 0.5rem; }

/* === Footer === */
.wa-footer-text { font-size: 11px; color: #999; text-align: center; padding-top: 1rem; line-height: 1.6; }

/* === Landing page specifics === */
.wa-proof { display: flex; gap: 2rem; margin: 2rem 0; flex-wrap: wrap; }
.wa-proof-item { text-align: center; flex: 1; min-width: 120px; }
.wa-proof-number { font-size: 32px; font-weight: 500; color: #1E3A8A; }
.wa-proof-label { font-size: 13px; color: #888; }
.wa-steps { margin: 2rem 0; }
.wa-steps li { font-size: 15px; padding: 8px 0; color: #444; list-style: none; display: flex; gap: 10px; }
.wa-steps li .wa-step-num { background: #1E3A8A; color: white; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }

/* === Site Footer — !important to override Odoo Bootstrap === */
footer.wa-site-footer {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #F5F5F0 !important;
    border-top: 1px solid #E5E5E0 !important;
    padding: 2.5rem 1.5rem !important;
    margin: 3rem 0 0 0 !important;
    direction: rtl !important;
    text-align: center !important;
    font-family: -apple-system, "Segoe UI", "Noto Sans Hebrew", sans-serif !important;
    float: none !important;
    position: relative !important;
    clear: both !important;
}
footer.wa-site-footer * { box-sizing: border-box !important; }
footer.wa-site-footer .wa-site-footer-inner {
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
footer.wa-site-footer .wa-site-footer-brand {
    font-size: 13px !important;
    color: #666 !important;
    margin-bottom: 0.75rem !important;
    font-weight: 400 !important;
    text-align: center !important;
}
footer.wa-site-footer .wa-site-footer-brand a {
    color: #1E3A8A !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
footer.wa-site-footer .wa-site-footer-brand a:hover { text-decoration: underline !important; }
footer.wa-site-footer .wa-site-footer-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    font-size: 13px !important;
    margin-bottom: 0.75rem !important;
    padding: 0 !important;
    list-style: none !important;
}
footer.wa-site-footer .wa-site-footer-links a {
    color: #555 !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}
footer.wa-site-footer .wa-site-footer-links a:hover {
    color: #1E3A8A !important;
    text-decoration: underline !important;
}
footer.wa-site-footer .wa-site-footer-links .wa-sep { color: #CCC !important; user-select: none !important; }
footer.wa-site-footer .wa-site-footer-copy {
    font-size: 12px !important;
    color: #999 !important;
    font-weight: 400 !important;
    text-align: center !important;
}

/* === Responsive === */
@media (max-width: 640px) {
    .wa-container { padding: 2rem 1.25rem; }
    .wa-title { font-size: 28px; }
    .wa-question { font-size: 19px; }
    .wa-result-name { font-size: 28px; }
    .wa-proof { gap: 1rem; }
    .wa-proof-number { font-size: 24px; }
    footer.wa-site-footer .wa-site-footer-links {
        flex-direction: column !important;
        gap: 0.4rem !important;
    }
    footer.wa-site-footer .wa-site-footer-links .wa-sep { display: none !important; }
}
