/* ═══════════════════════════════════════════════════════════════════
   landing.css  –  Public marketing / landing page styles
   Inspired by BluMortgage, BrokerEdge, MyBrokerPro
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
    --brand-blue:      #5B8DB8;
    --brand-blue-dark: #3D6E96;
    --brand-accent:    #D4956A;
    --text-dark:       #2D3748;
    --text-muted:      #718096;
    --bg-section:      #f5f7fa;
    --bg-dark:         #eef4fb;
    --radius:          12px;
    --shadow-sm:       0 2px 8px rgba(30,47,64,.05);
    --shadow-md:       0 8px 32px rgba(30,47,64,.09);
}

/* ── Reset / base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.landing-body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: #fff;
    margin: 0;
}

/* ── Navbar ─────────────────────────────────────────────────────── */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
    padding: 0 1.5rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-nav .brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-blue);
    text-decoration: none;
}
.lp-nav .brand span.dot { color: var(--brand-accent); }
.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lp-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}
.lp-nav-links a:hover { color: var(--brand-blue); }
.lp-nav-actions { display: flex; gap: .75rem; align-items: center; }
.btn-nav-login {
    font-size: .875rem;
    font-weight: 600;
    color: var(--brand-blue);
    background: transparent;
    border: 1.5px solid var(--brand-blue);
    border-radius: 8px;
    padding: .45rem 1.2rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.btn-nav-login:hover { background: var(--brand-blue); color: #fff; }
.btn-nav-cta {
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand-blue);
    border: none;
    border-radius: 8px;
    padding: .45rem 1.3rem;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.btn-nav-cta:hover { background: var(--brand-blue-dark); transform: translateY(-1px); }
/* mobile hamburger */
.lp-hamburger { display: none; background: none; border: none; cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────────────── */
.lp-hero {
    background: linear-gradient(135deg, #eef4fb 0%, #e6f0f8 55%, #dde9f5 100%);
    color: var(--text-dark);
    padding: 6rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #d0e2f0;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='rgba(91,141,184,.12)'/%3E%3C/svg%3E");
    opacity: .8;
}
.lp-hero .container { position: relative; z-index: 1; }
.lp-hero-badge {
    display: inline-block;
    background: rgba(212,149,106,.12);
    color: #B07345;
    border: 1px solid rgba(212,149,106,.35);
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .35rem 1rem;
    margin-bottom: 1.2rem;
}
.lp-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.lp-hero h1 em { font-style: normal; color: var(--brand-blue); }
.lp-hero p.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.lp-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--brand-blue);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: .9rem 2.2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 16px rgba(91,141,184,.28);
}
.btn-hero-primary:hover { background: var(--brand-blue-dark); transform: translateY(-2px); color: #fff; }
.btn-hero-secondary {
    background: transparent;
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 1rem;
    padding: .9rem 2.2rem;
    border-radius: 10px;
    border: 1.5px solid var(--brand-blue);
    text-decoration: none;
    transition: background .2s;
}
.btn-hero-secondary:hover { background: rgba(91,141,184,.08); }
.lp-hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.lp-hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-blue);
}
.lp-hero-stat span {
    font-size: .82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
/* hero dashboard mockup */
.lp-hero-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.1);
}
.lp-dashboard-mock {
    background: #1e293b;
    border-radius: 16px;
    padding: 1.25rem;
    font-family: monospace;
    font-size: .78rem;
    color: #94a3b8;
    min-height: 320px;
}
.mock-topbar {
    background: #0f172a;
    border-radius: 8px;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; margin-bottom: 1rem; }
.mock-kpi {
    background: #0f172a;
    border-radius: 8px;
    padding: .75rem;
    text-align: center;
}
.mock-kpi .val { font-size: 1.1rem; font-weight: 700; color: #e2e8f0; }
.mock-kpi .lbl { font-size: .65rem; color: #64748b; margin-top: .15rem; }
.mock-pipeline { display: flex; gap: .5rem; }
.mock-col {
    flex: 1;
    background: #0f172a;
    border-radius: 8px;
    padding: .6rem;
}
.mock-col-hdr {
    font-size: .65rem;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .4rem;
}
.mock-card {
    background: #1e293b;
    border-radius: 6px;
    padding: .5rem;
    margin-bottom: .4rem;
    border-left: 3px solid #3b82f6;
    font-size: .65rem;
}

/* ── Logo strip ─────────────────────────────────────────────────── */
.lp-logos {
    background: var(--bg-section);
    padding: 2.5rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.lp-logos p {
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.lp-logo-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.lp-logo-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: .04em;
}
.lp-logo-item i { font-size: 1.3rem; color: #d1d5db; }

/* ── Section shared ─────────────────────────────────────────────── */
.lp-section { padding: 5.5rem 1.5rem; }
.lp-section-alt { background: var(--bg-section); }
.lp-section-dark { background: #eef4fb; color: var(--text-dark); }
.section-tag {
    display: inline-block;
    background: rgba(26,86,219,.1);
    color: var(--brand-blue);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 50px;
    margin-bottom: .9rem;
}
.lp-section-dark .section-tag { background: rgba(91,141,184,.12); color: var(--brand-blue); }
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}
.lp-section-dark .section-sub { color: var(--text-muted); }

/* ── Feature cards ──────────────────────────────────────────────── */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}
.feature-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── How it works steps ─────────────────────────────────────────── */
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
}
.step-card h5 { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.step-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Testimonials ───────────────────────────────────────────────── */
.testimonial-card {
    background: #fff;
    border: 1px solid #d8e8f5;
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: #c8974a; font-size: .9rem; margin-bottom: .8rem; }
.testimonial-card p { font-size: .95rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 1.2rem; }
.testimonial-card .author strong { font-size: .9rem; color: var(--text-dark); }
.testimonial-card .author span { font-size: .8rem; color: var(--text-muted); display: block; }

/* ── Pricing cards ──────────────────────────────────────────────── */
.pricing-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1.5px solid #e5e7eb;
    padding: 2.25rem;
    height: 100%;
    transition: box-shadow .25s;
}
.pricing-card.popular {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(26,86,219,.08), var(--shadow-md);
}
.pricing-badge {
    display: inline-block;
    background: var(--brand-blue);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .25rem .8rem;
    border-radius: 50px;
    margin-bottom: .9rem;
}
.pricing-card .price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: .25rem;
}
.pricing-card .price sup { font-size: 1.1rem; vertical-align: super; }
.pricing-card .price sub { font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.pricing-card .plan-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .88rem;
    color: var(--text-dark);
    padding: .35rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.pricing-features li:last-child { border: none; }
.pricing-features li i { color: #16a34a; flex-shrink: 0; margin-top: .05rem; }
.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: .85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.btn-pricing-outline {
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
}
.btn-pricing-outline:hover { background: var(--brand-blue); color: #fff; }
.btn-pricing-solid {
    background: var(--brand-blue);
    color: #fff;
    border: none;
}
.btn-pricing-solid:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }

/* ── CTA banner ─────────────────────────────────────────────────── */
.lp-cta {
    background: linear-gradient(135deg, #dce9f7 0%, #e8f2fb 100%);
    padding: 5rem 1.5rem;
    text-align: center;
    color: var(--text-dark);
    border-top: 1px solid #c8ddf0;
    border-bottom: 1px solid #c8ddf0;
}
.lp-cta h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.lp-cta p { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto 2rem; }
.lp-cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────── */
.lp-footer {
    background: #1e2d3d;
    color: rgba(255,255,255,.55);
    padding: 3.5rem 1.5rem 2rem;
    font-size: .875rem;
}
.lp-footer .footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e8f1f8;
    text-decoration: none;
    display: inline-block;
    margin-bottom: .6rem;
}
.lp-footer .footer-brand span { color: #b8cfe0; }
.lp-footer h6 { color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.lp-footer ul { list-style: none; padding: 0; margin: 0; }
.lp-footer ul li { margin-bottom: .45rem; }
.lp-footer ul li a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.lp-footer ul li a:hover { color: #e8f1f8; }
.lp-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .8rem;
}
.lp-footer .footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.lp-footer .footer-bottom a:hover { color: #e8f1f8; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .lp-nav-links, .lp-nav-actions { display: none; }
    .lp-hamburger { display: block; }
    .lp-nav-mobile.open { display: flex; flex-direction: column; }
}
@media (max-width: 768px) {
    .lp-hero { padding: 4rem 1rem 3rem; }
    .lp-hero-stats { gap: 1.5rem; }
    .mock-kpi-row { grid-template-columns: repeat(2,1fr); }
    .mock-pipeline { display: none; }
}
