/* JLC home page (views/home.php). Uses the colours of assets/css/style.css */
body.guest { background: var(--bg); }
.lp { overflow-x: hidden; }
.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.lp h1, .lp h2, .lp h3 { letter-spacing: -.025em; }

/* top bar */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 244, 242, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s ease; }
.lp-nav.scrolled { box-shadow: 0 8px 30px rgba(28, 26, 25, .07); }
.lp-nav-in { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.lp-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.lp-brand:hover { color: var(--ink); }
.lp-brand.light { color: #fff; }
.lp-brand.light .brandmark { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22); }
.lp-links { display: flex; gap: .3rem; margin: 0 auto; }
.lp-links a { color: #5C5752; font-weight: 600; font-size: .92rem; padding: .45rem .85rem; border-radius: 99px; transition: background .2s ease, color .2s ease; }
.lp-links a:hover { background: #fff; color: var(--ink); }
.lp-actions { display: flex; gap: .5rem; }
@media (max-width: 767.98px) { .lp-links { display: none; } .lp-actions { margin-left: auto; } .lp-nav-in { height: 64px; } }

/* 1. hero */
.lp-hero { padding: 56px 0 40px; position: relative; }
.lp-hero::before { content: ""; position: absolute; right: -200px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .16), rgba(255, 90, 31, 0) 68%); pointer-events: none; }
.lp-hero .lp-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.lp-hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.lp-pill { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border-radius: 99px; padding: .4rem .95rem; font-size: .82rem; font-weight: 600; color: #5C5752; box-shadow: 0 2px 10px rgba(28, 26, 25, .05); }
.lp-pill i { color: var(--accent); }
.lp-hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; line-height: 1.05; margin: 1.2rem 0 1rem; }
.lp-hero h1 span { color: var(--accent); }
.lp-hero-text > p { font-size: clamp(1rem, 1.6vw, 1.15rem); color: #5C5752; max-width: 620px; margin: 0 auto; line-height: 1.6; }
.lp-cta { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; margin-top: 1.8rem; }
.lp-trust { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap; color: #5C5752; font-size: .88rem; font-weight: 600; }
.lp-trust i { color: #1E8A4C; margin-right: .3rem; }
.lp-shot { position: relative; max-width: 1080px; margin: 0 auto; width: 100%; }
.lp-browser { background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 40px 80px rgba(28, 26, 25, .14), 0 2px 6px rgba(28, 26, 25, .05); }
.lp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 10px; }
.lp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E4E2DE; }
.lp-browser-bar i:first-child { background: #FF8A4C; }
.lp-browser-bar span { margin-left: 10px; font-size: .74rem; color: var(--mute); background: var(--soft); border-radius: 99px; padding: .2rem .9rem; }
.lp-browser img { display: block; width: 100%; height: auto; border-radius: 12px; }
.lp-float { position: absolute; display: flex; align-items: center; gap: .65rem; background: #fff; border-radius: 16px; padding: .7rem 1rem; box-shadow: 0 18px 40px rgba(28, 26, 25, .14); animation: lp-bob 5s ease-in-out infinite; }
.lp-float i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1rem; }
.lp-float small { display: block; font-size: .72rem; color: var(--mute); }
.lp-float b { display: block; font-size: .9rem; }
.lp-float-a { left: -26px; top: 22%; }
.lp-float-b { right: -22px; bottom: 16%; animation-delay: -2.5s; }
.lp-float-b i { background: #E3F5EA; color: #1E8A4C; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 991.98px) { .lp-float { display: none; } }

/* sections */
.lp-section { padding: 90px 0; }
.lp-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.lp-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.lp-kicker.light { color: #FFB496; }
.lp-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; margin: 0 0 .7rem; }
.lp-head p { color: #5C5752; font-size: 1.05rem; margin: 0; }

/* 2. features */
.lp-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-feature { background: #fff; border-radius: 22px; padding: 1.5rem 1.35rem; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }
.lp-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28, 26, 25, .08); }
.lp-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 1rem; transition: background .3s ease, color .3s ease; }
.lp-feature:hover .lp-ic { background: var(--accent); color: #fff; }
.lp-feature h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .45rem; }
.lp-feature p { color: #5C5752; font-size: .9rem; margin: 0; line-height: 1.55; }
.lp-steps { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 36px; flex-wrap: wrap; }
.lp-steps > div { display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 99px; padding: .5rem 1.2rem .5rem .5rem; font-size: .92rem; color: #5C5752; }
.lp-steps b { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.lp-steps strong { color: var(--ink); }
.lp-steps > i { color: var(--mute); }
@media (max-width: 1099.98px) { .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .lp-features { grid-template-columns: 1fr; } .lp-steps > i { display: none; } .lp-section { padding: 64px 0; } }

/* 3. pricing */
.lp-pricing { background: #fff; border-radius: 40px; margin: 0 14px; }
.lp-billing { display: inline-flex; background: var(--soft); border-radius: 99px; padding: 4px; margin-top: 1.4rem; }
.lp-billing button { border: 0; background: none; border-radius: 99px; padding: .5rem 1.1rem; font-weight: 600; font-size: .9rem; color: #5C5752; transition: background .25s ease, color .25s ease; }
.lp-billing button.on { background: var(--ink); color: #fff; }
.lp-billing em { font-style: normal; font-size: .72rem; background: var(--accent-soft); color: var(--accent-2); border-radius: 99px; padding: .12rem .5rem; margin-left: .3rem; }
.lp-billing button.on em { background: var(--accent); color: #fff; }
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.lp-plan { position: relative; background: var(--bg); border-radius: 26px; padding: 1.9rem 1.6rem; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }
.lp-plan:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(28, 26, 25, .09); }
.lp-plan.popular { background: var(--dark); color: #fff; box-shadow: 0 30px 60px rgba(58, 36, 24, .3); }
.lp-plan.popular .lp-tag, .lp-plan.popular .per, .lp-plan.popular .lp-billed { color: rgba(255, 255, 255, .7); }
.lp-plan.popular li { color: rgba(255, 255, 255, .9); }
.lp-plan.popular .lp-users { background: rgba(255, 255, 255, .1); color: #fff; }
.lp-badge { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 99px; padding: .25rem .7rem; }
.lp-plan h3 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.lp-tag { color: #5C5752; font-size: .9rem; margin: .25rem 0 1.2rem; }
.lp-price { display: flex; align-items: baseline; gap: .35rem; }
.lp-price b { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.lp-price .per, .lp-price > span { color: #5C5752; font-weight: 600; }
.lp-billed { font-size: .8rem; color: var(--mute); margin: .45rem 0 0; min-height: 1.2em; }
.lp-users { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border-radius: 99px; padding: .35rem .8rem; font-size: .84rem; font-weight: 700; margin: 1.1rem 0 1rem; align-self: flex-start; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .55rem; flex: 1; }
.lp-plan li { display: flex; gap: .55rem; font-size: .9rem; color: #3E3A37; }
.lp-plan li i { color: var(--accent); font-size: 1rem; line-height: 1.3; }
.lp-plan.popular .btn-primary { box-shadow: 0 10px 24px rgba(255, 90, 31, .4); }
.lp-note { text-align: center; color: var(--mute); font-size: .86rem; margin: 26px 0 0; }
.lp-note a { color: var(--accent); font-weight: 600; }
.lp-price .amt { display: inline-block; transition: transform .25s ease, opacity .25s ease; }
.lp-price.flip .amt { transform: translateY(-6px); opacity: 0; }
@media (max-width: 991.98px) { .lp-plans { grid-template-columns: 1fr; max-width: 460px; } .lp-pricing { border-radius: 28px; margin: 0 8px; } }

/* 4. contact + footer */
.lp-contact { background: var(--dark); color: #fff; border-radius: 32px; padding: 3rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; position: relative; overflow: hidden; }
.lp-contact::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .45), rgba(255, 90, 31, 0) 70%); pointer-events: none; }
.lp-contact h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; margin: 0 0 .8rem; }
.lp-contact p { color: rgba(255, 255, 255, .75); margin: 0; line-height: 1.6; }
.lp-contact-cards { display: grid; gap: 10px; position: relative; z-index: 1; }
.lp-contact-cards a { display: flex; align-items: center; gap: .9rem; background: rgba(255, 255, 255, .08); border-radius: 18px; padding: .9rem 1.1rem; color: #fff; transition: background .25s ease, transform .25s ease; }
.lp-contact-cards a:hover { background: rgba(255, 255, 255, .14); transform: translateX(4px); color: #fff; }
.lp-contact-cards i { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto; }
.lp-contact-cards small { display: block; color: rgba(255, 255, 255, .65); font-size: .76rem; }
.lp-contact-cards b { display: block; font-size: .98rem; word-break: break-word; }
@media (max-width: 860px) { .lp-contact { grid-template-columns: 1fr; padding: 2rem 1.4rem; border-radius: 24px; } }
.lp-foot { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 28px 0; margin-top: 10px; }
.lp-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.lp-powered { display: flex; align-items: center; gap: .6rem; color: #fff; font-size: .9rem; }
.lp-powered span { color: rgba(255, 255, 255, .6); }
.lp-powered img { height: 34px; width: auto; }
.lp-powered:hover { color: #fff; opacity: .9; }
.lp-copy { font-size: .82rem; }
@media (max-width: 767.98px) { .lp-foot-in { flex-direction: column; text-align: center; } }

/* scroll reveal (only when animations are on) */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .reveal.in { opacity: 1; transform: none; }
html { scroll-behavior: smooth; }
#features, #pricing, #contact { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-float { animation: none; } }

/* product name with its tagline */
.lp-brand-txt { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.2rem; letter-spacing: -.01em; }
.lp-brand-txt small { font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-top: 2px; }
.lp-brand.light .lp-brand-txt small { color: rgba(255, 255, 255, .55); }
.lp-brand .brandmark { width: 38px; height: 38px; border-radius: 11px; }

/* "Book a meeting" pop-up */
.book-modal .modal-content { border: 0; border-radius: 24px; overflow: hidden; }
.book-modal .modal-header { align-items: flex-start; padding: 1.4rem 1.6rem 1rem; border: 0; }
.book-modal .modal-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin: .2rem 0 .2rem; }
.book-modal .modal-body { padding: .4rem 1.6rem 1rem; }
.book-modal .modal-footer { padding: 1rem 1.6rem 1.3rem; border-top: 1px solid rgba(0, 0, 0, .06); }
.book-modal .form-label { font-weight: 600; font-size: .86rem; }
.book-modal .req { color: var(--accent); }
.book-ways { display: flex; flex-wrap: wrap; gap: 6px; }
.book-ways .btn { border-radius: 99px; }
.book-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-ok { text-align: center; padding: 2rem 1rem 1.5rem; }
.book-ok > i { font-size: 3rem; color: #1F9D55; display: block; margin-bottom: .4rem; }
.book-ok h3 { font-weight: 800; font-size: 1.4rem; }
.book-ok p { color: #5C5752; max-width: 420px; margin: 0 auto 1.2rem; }
@media (max-width: 575.98px) { .book-modal .modal-content { border-radius: 0; } }
