/* ==========================================================================
   MediCore HMS — Landing page styles
   Palette: Navy #03045e | Blue #a2d2ff | Accent Pink #ffafcc
   ========================================================================== */
:root {
    --navy: #03045e;
    --navy-2: #0a0c7a;
    --blue: #a2d2ff;
    --blue-soft: #eaf4ff;
    --accent: #ffafcc;
    --accent-dark: #ff85a8;
    --ink: #10143a;
    --muted: #5b6577;
    --paper: #ffffff;
    --cream: #f6f9ff;
    --border: #e4ecf7;
    --radius: 18px;
    --shadow-sm: 0 4px 14px rgba(3,4,94,.06);
    --shadow-md: 0 14px 40px rgba(3,4,94,.12);
    --shadow-lg: 0 30px 70px rgba(3,4,94,.22);
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter','Segoe UI',Roboto,Arial,sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.lp-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
    padding: 13px 24px; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}
.btn i { font-size: 17px; }
.btn-primary { background: var(--accent); color: var(--navy); box-shadow: 0 10px 24px rgba(255,133,168,.45); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(255,133,168,.55); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent-dark); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Navbar ---------- */
.lp-nav {
    position: sticky; top: 0; z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 12px; }
.lp-nav-extra { display: none; }
.lp-logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; color: var(--navy); min-width: 0; }
.lp-logo .mark {
    width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
    background: url("../../favicon.svg") center / cover no-repeat;
    color: transparent; font-size: 0; font-weight: 800; box-shadow: var(--shadow-sm);
}
.lp-logo small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .3px; }
.lp-links { display: flex; align-items: center; gap: 30px; }
.lp-links a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .15s; }
.lp-links a:hover, .lp-links a.is-on { color: var(--navy); }
.lp-nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lp-burger {
    display: none; background: none; border: 0; font-size: 26px; color: var(--navy);
    cursor: pointer; width: 44px; height: 44px; place-items: center; padding: 0;
}

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 500px at 78% 8%, rgba(255,175,204,.28), transparent 60%),
        radial-gradient(820px 560px at 6% 92%, rgba(162,210,255,.30), transparent 62%),
        linear-gradient(160deg, #03045e 0%, #070a6b 55%, #0a0c7a 100%);
}
#heroParticles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.lp-hero .lp-wrap { position: relative; z-index: 1; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 74px 0 88px; }
.lp-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lp-kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.lp-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.07; font-weight: 800; margin: 0 0 18px; letter-spacing: -.5px; }
.lp-hero h1 span { color: var(--accent); }
.lp-hero p.lead { font-size: 18px; color: rgba(255,255,255,.82); max-width: 540px; margin: 0 0 30px; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.lp-hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.lp-hero-stats .s strong { display: block; font-size: 30px; font-weight: 800; line-height: 1; }
.lp-hero-stats .s span { font-size: 13px; color: rgba(255,255,255,.66); }

/* Hero product preview (CSS mock dashboard) */
.lp-preview { position: relative; }
.lp-preview .glow { position: absolute; inset: -30px; background: radial-gradient(circle at 60% 40%, rgba(255,175,204,.35), transparent 65%); filter: blur(20px); z-index: 0; }
.mock {
    position: relative; z-index: 1; background: #fff; color: var(--ink);
    border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
    display: grid; grid-template-columns: 74px 1fr; min-height: 340px;
    transform: rotate(-1.4deg); transition: transform .4s ease;
}
.lp-preview:hover .mock { transform: rotate(0deg); }
.mock-side { background: var(--navy); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mock-side .dot { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.12); }
.mock-side .dot.active { background: var(--accent); }
.mock-main { padding: 16px 18px; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-top .ttl { font-weight: 800; font-size: 14px; color: var(--navy); }
.mock-top .pill { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis .k { background: var(--cream); border: 1px solid var(--border); border-radius: 11px; padding: 10px; }
.mock-kpis .k b { display: block; font-size: 17px; color: var(--navy); }
.mock-kpis .k small { font-size: 9.5px; color: var(--muted); }
.mock-chart { height: 96px; background: var(--cream); border: 1px solid var(--border); border-radius: 11px; padding: 12px; display: flex; align-items: flex-end; gap: 8px; }
.mock-chart i { flex: 1; background: linear-gradient(180deg, var(--accent), var(--accent-dark)); border-radius: 5px 5px 0 0; opacity: .9; }
.mock-float {
    position: absolute; z-index: 2; right: -18px; bottom: 26px; background: #fff; color: var(--ink);
    border-radius: 13px; box-shadow: var(--shadow-md); padding: 12px 15px; display: flex; align-items: center; gap: 11px;
    animation: floaty 4.5s ease-in-out infinite;
}
.mock-float .ic { width: 34px; height: 34px; border-radius: 9px; background: #dcfce7; color: #16a34a; display: grid; place-items: center; font-size: 17px; }
.mock-float b { font-size: 13px; } .mock-float small { display: block; font-size: 10.5px; color: var(--muted); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Logos / trust strip ---------- */
.lp-trust { background: var(--navy-2); color: rgba(255,255,255,.7); padding: 18px 0; }
.lp-trust .lp-wrap { display: flex; align-items: center; justify-content: center; gap: 14px 42px; flex-wrap: wrap; }
.lp-trust span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; opacity: .85; }
.lp-trust i { color: var(--accent); }

/* ---------- Sections ---------- */
.lp-section { padding: 84px 0; }
.lp-section.alt { background: var(--cream); }
.lp-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.lp-head .lp-kicker { color: var(--accent-dark); justify-content: center; }
.lp-head .lp-kicker::before { background: var(--accent-dark); }
.lp-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.5px; margin: 0 0 14px; color: var(--navy); }
.lp-head p { font-size: 17px; color: var(--muted); margin: 0; }

/* Features grid */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
    position: relative; overflow: hidden;
}
.feature-card::after { content:""; position:absolute; top:0; left:0; height:4px; width:100%; background: linear-gradient(90deg, var(--accent), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card .fic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; background: var(--blue-soft); color: var(--navy); }
.feature-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: var(--navy); }
.feature-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Highlight (image + text) */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.lp-split.reverse .lp-split-media { order: 2; }
.lp-split-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); min-height: 360px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.lp-split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; transition: transform .6s ease; }
.lp-split-media:hover img { transform: scale(1.06); }
.lp-split-media .badge-float { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm); }
.lp-split-media .badge-float i { color: var(--accent-dark); font-size: 20px; }
.lp-split-media .badge-float b { font-size: 13px; color: var(--navy); }
.lp-split-copy h2 { font-size: clamp(26px,3vw,36px); font-weight: 800; color: var(--navy); letter-spacing: -.5px; margin: 0 0 16px; }
.lp-split-copy p { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.lp-check { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 13px; }
.lp-check li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink); font-weight: 500; }
.lp-check li i { color: #16a34a; font-size: 19px; margin-top: 1px; }

/* Modules */
.lp-modules { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.module-tile {
    display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--border);
    border-radius: 14px; padding: 16px 16px; transition: transform .2s ease, box-shadow .2s ease;
}
.module-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.module-tile .mic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(162,210,255,.5), rgba(255,175,204,.5)); color: var(--navy); }
.module-tile b { font-size: 14.5px; color: var(--navy); display: block; }
.module-tile small { font-size: 12px; color: var(--muted); }

/* Roles */
.lp-roles { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.role-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-align: center; transition: transform .2s, box-shadow .2s; }
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.role-card .ric { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-size: 26px; background: var(--navy); color: var(--accent); }
.role-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--navy); font-weight: 800; }
.role-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* Pricing */
.lp-pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.plan {
    background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.featured { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); position: relative; }
.plan.featured .plan-name, .plan.featured .price b { color: #fff; }
.plan .tag { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--navy); margin-bottom: 14px; }
.plan-name { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.plan .desc { font-size: 13.5px; opacity: .8; margin-bottom: 18px; }
.plan .price { margin-bottom: 20px; }
.plan .price b { font-size: 40px; font-weight: 800; color: var(--navy); }
.plan .price span { font-size: 14px; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.plan ul li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.plan ul li i { color: #16a34a; } .plan.featured ul li i { color: var(--accent); }
.plan .btn { margin-top: auto; width: 100%; }

/* CTA band */
.lp-cta-band { padding: 30px 0; }
.lp-cta-inner {
    position: relative; overflow: hidden; border-radius: 26px; padding: 56px; text-align: center; color: #fff;
    background: radial-gradient(700px 300px at 80% 0%, rgba(255,175,204,.35), transparent 60%), linear-gradient(150deg, var(--navy), var(--navy-2));
    box-shadow: var(--shadow-lg);
}
.lp-cta-inner h2 { font-size: clamp(26px,3.2vw,38px); font-weight: 800; margin: 0 0 12px; letter-spacing: -.5px; }
.lp-cta-inner p { color: rgba(255,255,255,.82); font-size: 17px; margin: 0 0 26px; }
.lp-cta-inner .lp-hero-actions { justify-content: center; margin-bottom: 0; }

/* Footer */
.lp-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 56px 0 26px; }
.lp-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.lp-footer h5 { color: #fff; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 16px; }
.lp-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-footer a:hover { color: var(--accent); }
.lp-footer .lp-logo { color: #fff; margin-bottom: 14px; }
.lp-footer .lp-logo .mark { box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.lp-footer .lp-logo small { color: rgba(255,255,255,.6); }
.lp-footer .about { font-size: 14px; max-width: 320px; }
.lp-foot-bottom {
    border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 8px 24px; font-size: 13px; line-height: 1.6;
}
.lp-foot-copy { margin-right: auto; }
.lp-foot-credit { margin-left: auto; text-align: right; }

/* Sign up / licence */
.lp-signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.lp-signup-info h2 { font-size: clamp(26px,3vw,38px); font-weight: 800; color: var(--navy); letter-spacing: -.5px; margin: 0 0 14px; }
.lp-signup-info > p { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.lp-signup-trust { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.lp-signup-trust i { color: #16a34a; margin-right: 6px; }
.lp-signup-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-md); overflow: visible; }
.lp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.lp-field { display: flex; flex-direction: column; }
.lp-field label { font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.lp-field input, .lp-field select {
    width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px;
    font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.lp-field input::placeholder { color: #aab4c4; }
.lp-field input:focus, .lp-field select:focus { outline: none; border-color: var(--accent-dark); box-shadow: 0 0 0 4px rgba(255,175,204,.25); }
.lp-pw { position: relative; }
.lp-pw input { padding-right: 44px; }
.lp-pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 6px; display: flex; border-radius: 8px; }
.lp-pw-toggle:hover { color: var(--accent-dark); }
.lp-hint { display: block; font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.lp-signup-btn { width: 100%; margin-top: 16px; padding: 15px; font-size: 16px; }
.lp-signup-foot { text-align: center; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.lp-signup-foot a { color: var(--accent-dark); font-weight: 700; }
.lp-alert { border-radius: 12px; padding: 12px 15px; font-size: 14px; margin-bottom: 18px; font-weight: 500; }
.lp-alert.ok { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.lp-alert.err { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
    .lp-links { display: none; }
    .lp-nav-desk { display: none !important; }
    .lp-burger { display: grid; }
    .lp-links.open {
        display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border); padding: 18px 20px 22px; gap: 14px;
        box-shadow: var(--shadow-md); z-index: 60;
    }
    .lp-links.open .lp-nav-extra {
        display: inline-flex; align-items: center; justify-content: center;
        margin-top: 4px;
    }
    .lp-nav-extra-cta {
        background: var(--accent); color: var(--navy) !important;
        border-radius: 999px; padding: 12px 18px; font-weight: 800;
    }
}
@media (max-width: 991px) {
    .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 54px 0 64px; }
    .lp-preview { max-width: 480px; margin: 0 auto; }
    .lp-features { grid-template-columns: repeat(2, 1fr); }
    .lp-modules { grid-template-columns: repeat(2,1fr); }
    .lp-roles { grid-template-columns: repeat(2,1fr); }
    .lp-split { grid-template-columns: 1fr; gap: 34px; }
    .lp-split.reverse .lp-split-media { order: 0; }
    .lp-pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .lp-footer-grid { grid-template-columns: 1fr 1fr; }
    .lp-signup { grid-template-columns: 1fr; gap: 30px; }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-hero-actions { justify-content: flex-start; }
}
@media (max-width: 767px) {
    .lp-section { padding: 60px 0; }
    .lp-cta-inner { padding: 40px 20px; }
    .lp-features, .lp-modules, .lp-roles { grid-template-columns: 1fr; }
    .lp-footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .lp-hero h1 { font-size: 32px; }
    .lp-hero-actions { flex-direction: column; align-items: stretch; }
    .lp-hero-actions .btn { flex: 1 1 auto; width: 100%; white-space: normal; }
    .lp-form-grid { grid-template-columns: 1fr; }
    .lp-signup-card { padding: 22px 16px; }
    .lp-cta-inner .lp-hero-actions { align-items: stretch; }
}
@media (max-width: 480px) {
    .lp-wrap { padding: 0 16px; }
    .lp-logo small { display: none; }
    .lp-logo { font-size: 16px; }
    .lp-logo .mark { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
}
.lp-field textarea {
    width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px;
    font-size: 15px; font-family: inherit; color: var(--ink); resize: vertical; min-height: 88px;
}
.lp-field textarea:focus { outline: none; border-color: var(--accent-dark); box-shadow: 0 0 0 4px rgba(255,175,204,.25); }
.lp-hp { position: absolute !important; left: -9999px !important; height: 0 !important; width: 0 !important; opacity: 0; }
.lp-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink); margin: 14px 0 4px; }
.lp-consent input { margin-top: 3px; }
.lp-success { text-align: center; padding: 12px 4px 4px; }
.lp-success h3 { color: var(--navy); font-size: 26px; margin: 0 0 10px; }
.lp-success p { color: var(--muted); }
.lp-reqid { font-size: 15px; color: var(--navy) !important; }
.lp-success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.lp-modal { position: fixed; inset: 0; z-index: 80; overflow-y: auto; overflow-x: hidden; padding: 24px 16px 40px; display: block; }
.lp-modal[hidden] { display: none !important; }
.lp-modal-backdrop { position: fixed; inset: 0; background: rgba(3,4,94,.55); }
.lp-modal-card { position: relative; z-index: 1; background: #fff; border-radius: 22px; padding: 28px 28px 24px; width: min(780px, 100%); margin: 24px auto; max-height: none; overflow: visible; box-shadow: var(--shadow-lg); }
.lp-modal-x { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.lp-modal-lead { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.lp-modal-card h2 { color: var(--navy); font-size: 26px; margin: 6px 0 10px; }

/* Demo workspace */
.demo-page { background: var(--cream); min-height: 100vh; }
.demo-hero { padding: 48px 0 28px; text-align: center; }
.demo-hero h1 { color: var(--navy); font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.demo-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 64px; }
.demo-role {
    background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-align: left;
    cursor: pointer; width: 100%; font-family: inherit; transition: transform .2s, box-shadow .2s;
}
.demo-role:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.demo-role .ric { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--accent); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.demo-role h3 { margin: 0 0 6px; color: var(--navy); font-size: 17px; }
.demo-role p { margin: 0; color: var(--muted); font-size: 13px; }
.demo-note { text-align: center; color: var(--muted); font-size: 13px; padding-bottom: 40px; }
.demo-err { max-width: 640px; margin: 12px auto 0; }
.lp-form-page { padding: 0 0 72px; }
.lp-form-page .lp-signup-card { max-width: 860px; margin: 0 auto; }
.demo-page .lp-nav { position: sticky; top: 0; background: #fff; }
.demo-page .lp-hero-actions .btn { flex: none; }
a.feature-card { display: block; color: inherit; }
.lp-home-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 991px) {
    .lp-home-paths { grid-template-columns: 1fr; }
}

/* ---------- Home: richer sections ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-step {
    background: #fff; border: 1px solid var(--border); border-radius: 18px;
    padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative;
}
.lp-step .num {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: var(--navy); color: var(--accent); font-weight: 800; font-size: 14px; margin-bottom: 16px;
}
.lp-step h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); font-weight: 800; }
.lp-step p { margin: 0; font-size: 14px; color: var(--muted); }
.lp-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-story-card {
    background: #fff; border: 1px solid var(--border); border-radius: 20px;
    overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lp-story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.lp-story-card .pic { position: relative; height: 200px; overflow: hidden; background: var(--navy); }
.lp-story-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lp-story-card:hover .pic img { transform: scale(1.06); }
.lp-story-card .pic span {
    position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.94);
    color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .6px;
    text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.lp-story-card .body { padding: 22px 22px 24px; }
.lp-story-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); font-weight: 800; }
.lp-story-card p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.lp-story-card .more { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.lp-outcomes {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.lp-outcome {
    background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px;
}
.lp-outcome strong { display: block; font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.lp-outcome b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.lp-outcome span { font-size: 13.5px; color: var(--muted); }
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.lp-faq details {
    background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px;
}
.lp-faq summary {
    cursor: pointer; font-weight: 800; color: var(--navy); font-size: 16px; padding: 16px 0;
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 22px; color: var(--accent-dark); font-weight: 600; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.lp-section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); margin-top: 28px; }
.lp-head .lp-section-link { margin-top: 16px; }
.feature-card .more { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
@media (max-width: 991px) {
    .lp-steps { grid-template-columns: repeat(2, 1fr); }
    .lp-story { grid-template-columns: 1fr; }
    .lp-outcomes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .lp-steps, .lp-outcomes { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .demo-grid { grid-template-columns: 1fr; }
    .lp-modal-card { padding: 22px 16px; }
    .demo-page .lp-hero-actions .btn { flex: 1 1 auto; width: 100%; }
}
