/* ---------------------------------------------------------------
   Public landing page (index.php) – loaded only on that page
   --------------------------------------------------------------- */
.lp { --ink: #1e1033; --muted: #6b6280; --plum: #2e1065; --pink: #db2777; --soft-bg: #faf7ff; color: var(--ink); background: #fff; overflow-x: hidden; }
.lp h1, .lp h2, .lp h3, .lp h4, .lp .display-font { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; letter-spacing: -.02em; }
.lp .text-muted { color: var(--muted) !important; }
.lp section { scroll-margin-top: 72px; }
.grad-text { background: linear-gradient(90deg, #f0abfc, #fbcfe8 45%, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-dark { background: linear-gradient(90deg, var(--brand), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: .35rem .85rem; }

/* Nav */
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: 1rem 0; transition: background .25s, padding .25s, box-shadow .25s; }
.lp-nav .navbar-brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: #fff; display: flex; align-items: center; gap: .5rem; }
.lp-nav .brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #a855f7, var(--pink)); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; box-shadow: 0 6px 18px rgba(219, 39, 119, .35); }
.lp-nav .nav-link { color: rgba(255, 255, 255, .85); font-weight: 500; }
.lp-nav .nav-link:hover { color: #fff; }
.lp-nav.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: .55rem 0; box-shadow: 0 1px 0 rgba(30, 16, 51, .08), 0 8px 30px rgba(30, 16, 51, .06); }
.lp-nav.scrolled .navbar-brand { color: var(--ink); }
.lp-nav.scrolled .nav-link { color: var(--ink); }
.lp-nav.scrolled .nav-link:hover { color: var(--brand); }
.lp-nav.scrolled .navbar-toggler { filter: invert(1); }
.btn-glow { background: linear-gradient(135deg, var(--brand), var(--pink)); color: #fff; border: 0; font-weight: 600; box-shadow: 0 10px 25px -8px rgba(219, 39, 119, .6); transition: transform .15s, box-shadow .15s; }
.btn-glow:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(219, 39, 119, .7); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); font-weight: 500; }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
@media (max-width: 991.98px) {
  .lp-nav .navbar-collapse { background: #fff; border-radius: 16px; padding: .75rem 1rem 1rem; margin-top: .75rem; box-shadow: 0 20px 40px rgba(30, 16, 51, .18); }
  .lp-nav .navbar-collapse .nav-link { color: var(--ink); }
}

/* Hero */
.lp-hero { position: relative; color: #fff; padding: 8.5rem 0 9rem; background: radial-gradient(60rem 40rem at 85% -10%, rgba(219, 39, 119, .55), transparent 60%), radial-gradient(50rem 35rem at -10% 30%, rgba(168, 85, 247, .55), transparent 60%), linear-gradient(160deg, #1e0b3d 0%, #2e1065 45%, #4c1d95 100%); isolation: isolate; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.lp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: #fff; clip-path: ellipse(75% 100% at 50% 100%); }
.lp-hero h1 { font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; }
.lp-hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.15rem; max-width: 34rem; }
.hero-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem .35rem .4rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; backdrop-filter: blur(6px); }
.hero-chip b { background: #fff; color: var(--brand-dark); border-radius: 999px; padding: .1rem .55rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.hero-checks { color: rgba(255, 255, 255, .75); font-size: .9rem; }
.hero-checks i { color: #86efac; }

/* Hero mockups */
.mock-stage { position: relative; min-height: 470px; }
.mock-dash { position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 1.25rem; box-shadow: 0 40px 80px -20px rgba(10, 0, 30, .55), 0 0 0 1px rgba(255, 255, 255, .5); max-width: 440px; margin-left: auto; }
.mock-dash .bar { display: flex; gap: 6px; margin-bottom: 1rem; }
.mock-dash .bar span { width: 10px; height: 10px; border-radius: 50%; background: #e9e3f5; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.mock-kpis div { background: var(--soft-bg); border-radius: 12px; padding: .6rem .7rem; }
.mock-kpis small { display: block; color: var(--muted); font-size: .7rem; }
.mock-kpis b { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; }
.mock-row { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; border-top: 1px solid #f1edf8; }
.mock-row .who { flex: 1; min-width: 0; }
.mock-row .who div:first-child { font-weight: 600; font-size: .92rem; }
.mock-row .who div:last-child { font-size: .78rem; color: var(--muted); }
.st { font-size: .7rem; font-weight: 600; padding: .25rem .55rem; border-radius: 999px; white-space: nowrap; }
.st-way { background: #fef3c7; color: #92400e; }
.st-in { background: #dcfce7; color: #166534; }
.st-book { background: var(--brand-soft); color: var(--brand-dark); }
.mock-phone { position: absolute; left: -10px; bottom: -40px; width: 200px; background: #120726; border-radius: 30px; padding: 9px; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .6); }
.mock-phone .screen { background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; }
.mock-phone .top { background: linear-gradient(135deg, var(--brand), var(--pink)); color: #fff; padding: 1.1rem .8rem .8rem; font-size: .72rem; }
.mock-phone .top b { display: block; font-size: .95rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.mock-map { height: 92px; position: relative; background: linear-gradient(135deg, #ecfdf5, #eff6ff); }
.mock-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-phone .body { padding: .7rem .8rem .9rem; font-size: .72rem; }
.mock-phone .go { display: block; text-align: center; background: var(--brand); color: #fff; border-radius: 10px; padding: .45rem; font-weight: 600; margin-top: .6rem; }
.float-chip { position: absolute; display: flex; align-items: center; gap: .55rem; background: #fff; color: var(--ink); border-radius: 14px; padding: .6rem .85rem; font-size: .8rem; box-shadow: 0 20px 40px -12px rgba(10, 0, 30, .45); }
.float-chip .ic { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.float-chip small { display: block; color: var(--muted); font-size: .7rem; }
.chip-pay { top: -22px; left: 10px; }
.chip-pay .ic { background: #dcfce7; color: #16a34a; }
.chip-book { right: -18px; bottom: 40px; }
.chip-book .ic { background: #fce7f3; color: var(--pink); }
@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: floaty 6s ease-in-out infinite; }
  .float-b { animation: floaty 7s ease-in-out -2s infinite; }
  .float-c { animation: floaty 8s ease-in-out -4s infinite; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 991.98px) {
  .lp-hero { padding: 7rem 0 7rem; }
  .mock-stage { min-height: 0; margin-top: 1rem; }
  .mock-dash { margin: 0 auto; }
  .mock-phone, .chip-book { display: none; }
  .chip-pay { top: -18px; left: 0; }
}

/* Highlights strip */
.highlights { margin-top: -2.5rem; position: relative; z-index: 2; }
.highlights .inner { background: #fff; border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(46, 16, 101, .25), 0 0 0 1px #f1edf8; padding: 1.4rem 1rem; }
.hl { display: flex; align-items: center; gap: .8rem; padding: .4rem .8rem; }
.hl i { font-size: 1.4rem; color: var(--brand); }
.hl b { display: block; font-size: .95rem; }
.hl small { color: var(--muted); }

/* Section headings */
.sec-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.sec-head h2 { font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .8rem 0 .6rem; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Three apps */
.app-card { position: relative; border-radius: 22px; padding: 2rem 1.6rem; height: 100%; color: #fff; overflow: hidden; transition: transform .2s; }
.app-card:hover { transform: translateY(-6px); }
.app-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -70px; background: rgba(255, 255, 255, .12); }
.app-card .ic { width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem; }
.app-card h3 { font-weight: 800; font-size: 1.4rem; }
.app-card p { color: rgba(255, 255, 255, .82); }
.app-card ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; font-size: .92rem; }
.app-card li { padding: .25rem 0; }
.app-card li i { margin-right: .45rem; }
.app-card a.more { color: #fff; font-weight: 600; text-decoration: none; }
.app-card a.more:hover { text-decoration: underline; }
.app-admin { background: linear-gradient(150deg, #6d28d9, #4c1d95); }
.app-staff { background: linear-gradient(150deg, #db2777, #9d174d); }
.app-cust { background: linear-gradient(150deg, #0891b2, #155e75); }

/* Features */
.lp-features { background: var(--soft-bg); }
.feat { background: #fff; border-radius: 18px; padding: 1.6rem; height: 100%; border: 1px solid #efe9fa; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(76, 29, 149, .4); border-color: #ddd0f7; }
.feat .ic { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--pink)); margin-bottom: 1rem; box-shadow: 0 10px 20px -8px rgba(124, 58, 237, .55); }
.feat h3 { font-size: 1.1rem; font-weight: 700; }
.feat p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Home visit spotlight */
.visit-card { background: #fff; border-radius: 22px; padding: 1.6rem; box-shadow: 0 30px 60px -30px rgba(46, 16, 101, .35), 0 0 0 1px #f1edf8; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--brand), var(--pink)); opacity: .25; }
.timeline li { position: relative; display: flex; gap: 1rem; padding: .7rem 0; }
.timeline .dot { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); position: relative; z-index: 1; }
.timeline .done .dot { background: var(--brand); color: #fff; }
.timeline b { display: block; font-size: .95rem; }
.timeline small { color: var(--muted); }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: .7rem; padding: .45rem 0; }
.check-list i { color: var(--brand); font-size: 1.15rem; line-height: 1.3; }

/* Steps */
.step-card { text-align: center; padding: 1rem 1.5rem; }
.step-num { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--brand); background: var(--brand-soft); transform: rotate(-6deg); }
.step-card h3 { font-weight: 700; font-size: 1.15rem; }
@media (min-width: 768px) {
  .steps .col-md-4:not(:last-child) .step-card { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12'%3E%3Cpath d='M0 6h112' stroke='%23c4b5fd' stroke-width='2' stroke-dasharray='6 6'/%3E%3Cpath d='M108 1l6 5-6 5' fill='none' stroke='%23c4b5fd' stroke-width='2'/%3E%3C/svg%3E") no-repeat calc(100% + 60px) 26px; }
}

/* Pricing */
.lp-pricing { background: var(--soft-bg); }
.plan { position: relative; background: #fff; border-radius: 22px; padding: 2rem 1.6rem; height: 100%; display: flex; flex-direction: column; border: 1px solid #efe9fa; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(76, 29, 149, .45); }
.plan.popular { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand), var(--pink)) border-box; box-shadow: 0 30px 60px -30px rgba(219, 39, 119, .5); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--pink)); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem 1rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-weight: 800; font-size: 1.3rem; }
.plan .amt { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1; }
.plan .amt span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0; font-size: .9rem; }
.plan li { display: flex; gap: .55rem; padding: .3rem 0; }
.plan li i { line-height: 1.4; }
.plan li.off { color: #b3abc2; text-decoration: line-through; }

/* FAQ */
.lp-faq .accordion-item { border: 1px solid #efe9fa; border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden; }
.lp-faq .accordion-button { font-weight: 600; padding: 1.1rem 1.25rem; }
.lp-faq .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-dark); box-shadow: none; }
.lp-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(124, 58, 237, .2); }

/* CTA + footer */
.cta-band { position: relative; border-radius: 28px; padding: 3.5rem 2rem; color: #fff; text-align: center; overflow: hidden; background: radial-gradient(30rem 20rem at 90% 0, rgba(219, 39, 119, .7), transparent 60%), linear-gradient(135deg, #2e1065, #6d28d9); }
.cta-band h2 { font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.cta-band p { color: rgba(255, 255, 255, .8); }
.lp-footer { background: #140a26; color: rgba(255, 255, 255, .65); padding: 3.5rem 0 2rem; font-size: .92rem; }
.lp-footer h4 { font-family: 'Inter', sans-serif; letter-spacing: 0; color: #fff; font-size: .85rem; font-weight: 600; text-transform: uppercase; margin-bottom: 1rem; }
.lp-footer a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.lp-footer a:hover { color: #fff; }
.lp-footer ul { list-style: none; padding: 0; }
.lp-footer li { padding: .25rem 0; }
.lp-footer .brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: #fff; font-size: 1.2rem; }
.lp-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem; }

/* Scroll reveal (content stays visible if JS is off) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
