/* ============================================================
   Marketing Landing — shared hero/comparison/steps/pricing/
   final-CTA components for the owner (/owner/list-your-property)
   and broker (/broker/join) landing pages.
   Theme tokens (--rightghar-*) come from auth.css (loaded
   globally via the head fragment).
   Classes keep the historic `ol-` prefix (this file started as
   owner-landing-only); it now just means "landing", not "owner".
   ============================================================ */

.marketing-landing {
    --ol-ink: #1a1a2e;            /* dark headings, matches auth-title */
    --ol-saffron: var(--rightghar-warning);
    --ol-saffron-soft: #fef3c7;
    --ol-saffron-text: #b45309;
    --ol-whatsapp: #25d366;
    --ol-surface: #ffffff;
    --ol-tint: #eef6f5;          /* soft primary-dark tint */
}

/* ---------- Typography ---------- */
.ol-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rightghar-primary-dark);
}

.ol-micro {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rightghar-primary-dark);
}

.ol-h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ol-ink);
}

.ol-h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ol-ink);
}

.ol-h2-sm { font-size: 1.65rem; }

.ol-h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ol-ink);
}

.ol-lead {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--rightghar-secondary);
}

.ol-narrow { max-width: 640px; }
.ol-tiny { font-size: 0.72rem; }

/* ---------- Hero ---------- */
.ol-hero { background: #f7f7f7; }

.ol-privacy-note {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--rightghar-secondary);
}

.ol-trust-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ol-ink);
}

/* WhatsApp CTA button — green, distinct from teal primary */
.ol-wa-btn {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--ol-whatsapp);
    --bs-btn-border-color: var(--ol-whatsapp);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1ebe5b;
    --bs-btn-hover-border-color: #1ebe5b;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1ebe5b;
    --bs-btn-active-border-color: #1ebe5b;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.ol-ghost-btn { font-weight: 600; }
.ol-text-whatsapp { color: var(--ol-whatsapp); }
.ol-text-saffron { color: var(--ol-saffron-text); }

/* ---------- WhatsApp mockup ---------- */
.ol-mockup-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.ol-wa-mockup {
    width: 340px;
    max-width: 100%;
    background: #075e54;
    border-radius: 18px;
    padding: 14px 14px 0;
    box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.22);
}

.ol-wa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px 12px;
    color: #fff;
}

.ol-wa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--ol-ink);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ol-wa-name { font-size: 0.875rem; font-weight: 600; }
.ol-wa-status { font-size: 0.7rem; color: rgba(255, 255, 255, 0.65); }

.ol-wa-body {
    background: #ece5dd;
    border-radius: 14px 14px 0 0;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 380px;
}

.ol-wa-day {
    align-self: center;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--rightghar-secondary);
}

.ol-wa-bubble {
    max-width: 82%;
    padding: 8px 10px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #0f172a;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.06);
    position: relative;
}

.ol-wa-in {
    align-self: flex-start;
    background: #fff;
    border-radius: 8px 8px 8px 2px;
}

.ol-wa-out {
    align-self: flex-end;
    background: #dcf8c6;
    border-radius: 8px 8px 2px 8px;
}

.ol-wa-list {
    padding-left: 18px;
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.5;
}

.ol-wa-time {
    display: block;
    margin-top: 4px;
    text-align: right;
    font-size: 0.65rem;
    color: #94a3b8;
}

.ol-wa-photos {
    display: flex;
    gap: 4px;
    padding: 8px;
}

.ol-ph {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    flex: none;
    position: relative;
    overflow: hidden;
    background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.32) 14px 15px);
}

.ol-ph-v1 { background-color: #e8d8b8; }
.ol-ph-v2 { background-color: #dcc9b0; }
.ol-ph-v3 { background-color: #e5d4c0; }

.ol-ph-more {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    flex: none;
    background: rgba(15, 23, 42, 0.5);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lead-preview card nested inside a WA bubble (broker hero) */
.ol-wa-lead-card {
    margin-top: 8px;
    background: var(--ol-tint);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
}

.ol-wa-lead-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ol-saffron), var(--ol-saffron-text));
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ol-wa-lead-note {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--rightghar-success);
}

.ol-wa-lead-name { font-size: 0.8rem; font-weight: 700; color: #0f172a; }
.ol-wa-lead-detail { font-size: 0.7rem; color: var(--rightghar-secondary); }

/* Floating badges around the mockup */
.ol-float-badge {
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.18);
}

.ol-float-badge-top { top: 0; left: 0; transform: rotate(-3deg); }
.ol-float-badge-bottom { bottom: 1.5rem; right: 0; transform: rotate(3deg); }

.ol-float-title { font-size: 0.85rem; font-weight: 700; color: var(--ol-ink); }
.ol-float-sub { font-size: 0.7rem; color: var(--rightghar-secondary); }

.ol-float-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ol-float-icon-success { background: #dcfce7; color: var(--rightghar-success); }

.ol-float-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ol-saffron), var(--ol-saffron-text));
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ol-float-avatar-ink { background: var(--ol-ink); }

/* ---------- Problem / Solution ---------- */
.ol-problem-item {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 18px 20px;
    font-weight: 500;
    color: #0f172a;
}

.ol-mark {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.ol-mark-lg { width: 38px; height: 38px; font-size: 1rem; }
.ol-mark-cross { background: #fee2e2; color: var(--rightghar-danger); }
.ol-mark-check { background: #dcfce7; color: var(--rightghar-success); }
.ol-mark-info { background: #fff; color: var(--ol-saffron-text); border: 1px solid #fde68a; }

.ol-solution-card {
    background: var(--ol-tint);
    border-radius: 20px;
    padding: 2.25rem;
    color: #0f172a;
}

.ol-solution-footer { border-top: 1px solid rgba(35, 125, 135, 0.18); }

.ol-avatar-stack { display: inline-flex; align-items: center; }

.ol-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ol-tint);
}

.ol-avatar:not(:first-child) { margin-left: -8px; }
.ol-avatar-1 { background: linear-gradient(135deg, var(--ol-saffron), var(--ol-saffron-text)); }
.ol-avatar-2 { background: var(--ol-ink); }
.ol-avatar-3 { background: linear-gradient(135deg, var(--rightghar-secondary), var(--ol-ink)); }
.ol-avatar-more { background: #fff; color: var(--ol-ink); }

/* ---------- How it works ---------- */
.ol-step {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ol-step:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.ol-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ol-ink);
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ol-step-num-accent { background: var(--ol-saffron); }

.ol-step-title { font-size: 1.05rem; font-weight: 700; color: var(--ol-ink); }

/* ---------- Verified explainer ---------- */
.ol-verified-icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ol-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.ol-verified-tile {
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
}

.ol-verified-tile-icon {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--rightghar-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.ol-sample-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
}

.ol-sample-avatar {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ol-saffron), var(--ol-saffron-text));
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ol-sample-tag { align-self: flex-start; }

.ol-badge-indigo {
    background: var(--ol-ink);
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
}

/* ---------- Demand cards ---------- */
.ol-demand-card {
    background: var(--ol-saffron-soft);
    border-radius: 14px;
    padding: 18px 20px;
}

.ol-demand-count { flex: none; text-align: left; }
.ol-demand-count > span:first-child {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ol-ink);
}

.ol-demand-name {
    margin-top: 2px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ol-saffron-text);
}

.ol-badge-hot {
    background: var(--ol-saffron-soft);
    color: var(--ol-saffron-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.ol-hot-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ol-saffron-text);
}

/* ---------- Pricing ---------- */
.ol-price-card { border: 1px solid #e9ecef; border-radius: 16px; }
.ol-price-card-featured { border: 2px solid var(--ol-ink); }
.ol-price-card-optional { background: var(--ol-saffron-soft); border-color: #fde68a; }

.ol-price {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ol-ink);
    margin-bottom: 0.5rem;
}

.ol-price-sm { font-size: 1.35rem; }

/* ---------- Broker ---------- */
.ol-broker-card {
    background: var(--ol-tint);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
}

.ol-broker-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    color: var(--ol-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.ol-broker-icon-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1rem;
}

/* ---------- Final CTA ---------- */
.ol-final-cta { background: var(--ol-ink); }

.ol-final-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ol-final-glow-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 222, 182, 0.22) 0%, transparent 70%);
}

.ol-final-glow-2 {
    bottom: -120px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 222, 182, 0.12) 0%, transparent 70%);
}

.ol-final-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rightghar-primary);
}

.ol-final-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}

.ol-final-sub {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.ol-final-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.ol-final-ghost:hover {
    color: var(--ol-ink);
    background: #fff;
}

/* ---------- Mobile sticky bottom CTA ---------- */
.ol-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;                 /* above content, below consent banner (1500) & modal (2001) */
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px -8px rgba(15, 23, 42, 0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ol-h1 { font-size: 2.1rem; }
    .ol-h2 { font-size: 1.6rem; }
    .ol-final-title { font-size: 1.9rem; }
    /* Room so the fixed CTA bar never overlaps the footer / last section */
    .marketing-landing { padding-bottom: 84px; }
}

@media (max-width: 575.98px) {
    .ol-h1 { font-size: 1.75rem; }
    .ol-solution-card,
    .ol-broker-card { padding: 1.5rem; }
    .ol-float-badge { padding: 9px 11px; }
    .ol-float-title { font-size: 0.78rem; }
}
