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

/* === Hide Odoo chrome on advisor pages (keep livechat visible) === */
.wa-page #wrapwrap > header,
.wa-page #wrapwrap > footer { 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: 2.5rem 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: 0; }
.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: 0; }
.wa-disclaimer strong { font-weight: 500; }

/* === Landing: Hero section === */
.wa-section-hero { background: #F0F4FA; border-radius: 16px 16px 0 0; }
.wa-section-hero .wa-container { padding-bottom: 2rem; }

/* === Landing: Proof cards === */
.wa-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.wa-proof-item { text-align: center; padding: 1.25rem; border-radius: 12px; }
.wa-proof-number { font-size: 32px; font-weight: 500; margin-bottom: 4px; }
.wa-proof-label { font-size: 13px; }
.wa-proof-blue { background: #EFF6FF; }
.wa-proof-blue .wa-proof-number, .wa-proof-blue .wa-proof-label { color: #1E3A8A; }
.wa-proof-green { background: #ECFDF5; }
.wa-proof-green .wa-proof-number, .wa-proof-green .wa-proof-label { color: #047857; }
.wa-proof-purple { background: #FAF5FF; }
.wa-proof-purple .wa-proof-number, .wa-proof-purple .wa-proof-label { color: #6B21A8; }

/* === Landing: Steps section === */
.wa-section-steps { background: #FAF7F0; }
.wa-section-eyebrow { font-size: 11px; color: #92400E; letter-spacing: 0.15em; font-weight: 500; margin-bottom: 0.5rem; }
.wa-section-title { font-size: 22px; font-weight: 500; margin-bottom: 1.25rem; color: #1A1A1A; }
.wa-steps-cards { display: flex; flex-direction: column; gap: 10px; }
.wa-step-card { background: white; border: 0.5px solid #E5E0D5; border-radius: 10px; padding: 16px 20px; font-size: 15px; color: #444; display: flex; gap: 12px; align-items: center; }
.wa-step-num { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.wa-step-orange { background: #FFEDD5; color: #C2410C; }
.wa-step-blue { background: #DBEAFE; color: #1E3A8A; }
.wa-step-green { background: #D1FAE5; color: #047857; }

/* === Landing: Final CTA section === */
.wa-section-cta-final { background: linear-gradient(135deg, #1E3A8A 0%, #3730A3 100%); border-radius: 0 0 16px 16px; }
.wa-section-cta-final .wa-container { padding: 2.5rem 2rem; }
.wa-cta-final-title { font-size: 22px; font-weight: 500; color: white; margin-bottom: 0.5rem; }
.wa-cta-final-sub { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.wa-btn-white { background: white !important; color: #1E3A8A !important; }
.wa-btn-white:hover { background: #F0F4FA !important; color: #1E3A8A !important; }

/* === 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 box (result page + inline) === */
.wa-cta-box { background: linear-gradient(135deg, #1E3A8A 0%, #3730A3 100%); 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; }

/* === 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: 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 { grid-template-columns: 1fr; gap: 8px; }
    .wa-proof-number { font-size: 24px; }
    .wa-cta-final-title { font-size: 19px; }
    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; }
}
