/* Landing page (login.php) — same theme as the web app (Inspinia): green #1ab394, navy #2f4050, Open Sans. */
:root {
    --lp-primary: #1ab394;
    --lp-primary-dark: #18a689;
    --lp-navy: #2f4050;
    --lp-navy-dark: #293846;
    --lp-blue: #1c84c6;
    --lp-text: #676a6c;
    --lp-heading: #2f4050;
    --lp-gray-bg: #f3f3f4;
    --lp-border: #e7eaec;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.landing {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--lp-text);
    background: #fff;
}
.landing h1, .landing h2, .landing h3, .landing h4 { color: var(--lp-heading); font-weight: 700; }
.landing a { color: var(--lp-primary); }
.landing a:hover { color: var(--lp-primary-dark); }
.landing section { scroll-margin-top: 72px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons (match Inspinia btn-primary / btn-white) */
.landing .btn { border-radius: 3px; font-weight: 600; }
.landing .btn-primary { background: var(--lp-primary); border-color: var(--lp-primary); color: #fff; }
.landing .btn-primary:hover, .landing .btn-primary:focus { background: var(--lp-primary-dark); border-color: var(--lp-primary-dark); color: #fff; }
.landing .btn-white { background: #fff; border: 1px solid var(--lp-border); color: inherit; }
.landing .btn-white:hover { border-color: #d2d2d2; color: inherit; }
.landing .btn-outline-light:hover { color: var(--lp-navy); }
.landing .btn-lg { padding: 12px 26px; font-size: 16px; }

/* Header */
.lp-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--lp-border); }
.lp-header .navbar { padding: 8px 0; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.lp-brand img { width: 46px; height: 46px; }
.lp-brand-name { display: block; font-weight: 700; font-size: 19px; color: var(--lp-navy); line-height: 1.1; letter-spacing: .5px; }
.lp-brand-name span { color: var(--lp-primary); }
.lp-brand-tag { display: block; font-size: 10px; letter-spacing: 1.5px; color: #999; font-weight: 600; }
.lp-header .nav-link { color: var(--lp-navy) !important; font-weight: 600; font-size: 14px; padding: 8px 11px !important; }
.lp-header .nav-link:hover { color: var(--lp-primary) !important; }
.lp-header .navbar-toggler { border: 1px solid var(--lp-border); padding: 6px 10px; color: var(--lp-navy); }

/* Hero */
.lp-hero { position: relative; background: var(--lp-navy); color: #fff; overflow: hidden; padding: 64px 0 72px; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/landing/fleet-tracking-hero.webp") center/cover no-repeat; opacity: .22; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(41,56,70,.97) 0%, rgba(47,64,80,.88) 55%, rgba(26,179,148,.35) 100%); }
.lp-hero > .container { position: relative; z-index: 1; }
.lp-hero h1 { color: #fff; font-size: 2.6rem; line-height: 1.2; margin-bottom: 18px; }
.lp-hero h1 .hl { color: var(--lp-primary); }
.lp-hero .lead { color: #dfe4e8; font-size: 1.08rem; max-width: 600px; }
.lp-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lp-primary); margin-bottom: 12px; }
.lp-hero .lp-eyebrow { background: rgba(26,179,148,.15); border: 1px solid rgba(26,179,148,.4); padding: 5px 12px; border-radius: 30px; }
.lp-stats { margin-top: 34px; }
.lp-stats .num { font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1.1; }
.lp-stats .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #aeb9c3; }

/* Login card */
.lp-login { background: #fff; color: var(--lp-text); border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.35); padding: 28px 28px 22px; max-width: 400px; margin-left: auto; }
.lp-login .logo-login { display: block; width: 210px; max-width: 100%; height: auto; margin: 0 auto 8px; }
.lp-login h2 { font-size: 1.15rem; text-align: center; margin-bottom: 18px; }
.lp-login label { font-size: 13px; font-weight: 600; color: var(--lp-navy); margin-bottom: 4px; }
.lp-login .form-control { border-radius: 3px; border-color: #e5e6e7; height: 42px; }
.lp-login .form-control:focus { border-color: var(--lp-primary); box-shadow: none; }
.lp-login .divider { text-align: center; font-size: 12px; color: #999; margin: 14px 0 10px; }
.lp-login .apps { display: flex; justify-content: center; gap: 14px; margin-top: 14px; font-size: 13px; }
.lp-login .apps a { color: var(--lp-navy); }

/* Trust bar */
.lp-trust { background: var(--lp-primary); color: #fff; padding: 14px 0; font-weight: 600; font-size: 14px; }
.lp-trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin: 0; padding: 0; list-style: none; }
.lp-trust a { color: #fff; text-decoration: underline; }

/* Sections */
.lp-section { padding: 80px 0; }
.lp-section.gray { background: var(--lp-gray-bg); }
.lp-section.dark { background: var(--lp-navy); color: #dfe4e8; }
.lp-section.dark h2, .lp-section.dark h3 { color: #fff; }
.lp-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lp-head h2 { font-size: 2rem; margin-bottom: 12px; }

.lp-card { background: #fff; border: 1px solid var(--lp-border); border-radius: 6px; padding: 26px; height: 100%; transition: box-shadow .2s, transform .2s; }
.lp-card:hover { box-shadow: 0 10px 28px rgba(47,64,80,.12); transform: translateY(-2px); }
.lp-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(26,179,148,.12); color: var(--lp-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.lp-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.lp-card p:last-child { margin-bottom: 0; }

/* Hardware */
.lp-hw-img { background: #111; border-radius: 6px; overflow: hidden; margin: 18px 0; }
.lp-hw-img img { width: 100%; height: auto; display: block; }
.lp-hw-img.light { background: #fff; }
.lp-badge { display: inline-block; background: rgba(26,179,148,.12); color: var(--lp-primary-dark); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 30px; margin: 0 6px 6px 0; }
.lp-spec { list-style: none; padding: 0; margin: 0 0 14px; }
.lp-spec li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--lp-border); }
.lp-spec li:last-child { border-bottom: 0; }
.lp-spec .fa { color: var(--lp-primary); font-size: 18px; width: 22px; text-align: center; margin-top: 3px; }
.lp-spec strong { display: block; color: var(--lp-navy); font-size: 14px; }
.lp-spec span { font-size: 14px; }

/* Installation */
.lp-photo { border-radius: 6px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.18); position: relative; }
.lp-photo img { width: 100%; height: auto; display: block; }
.lp-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-weight: 600; }
.lp-check { list-style: none; padding: 0; }
.lp-check li { padding-left: 32px; position: relative; margin-bottom: 14px; }
.lp-check li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px; color: #fff; background: var(--lp-primary); width: 22px; height: 22px; border-radius: 50%; font-size: 12px; text-align: center; line-height: 22px; }

/* Apps */
.lp-qr { background: #fff; border: 1px solid var(--lp-border); border-radius: 6px; padding: 10px; width: 150px; height: 150px; margin: 18px auto 10px; }
.lp-qr img { width: 100%; height: 100%; object-fit: contain; }
.lp-shots { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x mandatory; justify-content: center; }
.lp-shots figure { flex: 0 0 200px; margin: 0; scroll-snap-align: center; }
.lp-shots img { width: 200px; height: auto; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.lp-shots figcaption { text-align: center; font-size: 13px; margin-top: 8px; color: #aeb9c3; }

/* Pricing */
.lp-price { border: 1px solid var(--lp-border); border-radius: 6px; background: #fff; padding: 30px; height: 100%; display: flex; flex-direction: column; }
.lp-price.featured { border: 2px solid var(--lp-primary); box-shadow: 0 14px 34px rgba(26,179,148,.18); position: relative; }
.lp-price .ribbon { position: absolute; top: -13px; right: 20px; background: var(--lp-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 30px; }
.lp-price .amount { font-size: 2.3rem; font-weight: 700; color: var(--lp-navy); line-height: 1.1; margin: 14px 0 6px; }
.lp-price .free { color: var(--lp-primary-dark); font-weight: 600; font-size: 14px; }
.lp-price .renew { font-size: 14px; margin-bottom: 18px; }
.lp-price ul { flex: 1; }

/* FAQ */
.lp-faq details { background: #fff; border: 1px solid var(--lp-border); border-radius: 6px; margin-bottom: 12px; }
.lp-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--lp-navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "\f107"; font-family: FontAwesome; color: var(--lp-primary); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(180deg); }
.lp-faq .answer { padding: 0 20px 16px; }

/* Contact */
.lp-contact-info li { margin-bottom: 14px; display: flex; gap: 12px; align-items: flex-start; }
.lp-contact-info .fa { color: var(--lp-primary); font-size: 18px; width: 22px; text-align: center; margin-top: 3px; }
.lp-form .form-control { border-radius: 3px; border-color: #e5e6e7; }
.lp-form .form-control:focus { border-color: var(--lp-primary); box-shadow: none; }
.lp-form label { font-size: 13px; font-weight: 600; color: var(--lp-navy); }
.lp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.lp-footer { background: var(--lp-navy-dark); color: #aeb9c3; padding: 56px 0 24px; font-size: 14px; }
.lp-footer h2 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.lp-footer ul { list-style: none; padding: 0; }
.lp-footer li { margin-bottom: 8px; }
.lp-footer a { color: #aeb9c3; }
.lp-footer a:hover { color: #fff; }
.lp-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px; padding-top: 18px; font-size: 13px; }
.lp-social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); align-items: center; justify-content: center; margin-right: 8px; color: #fff; }
.lp-social a:hover { background: var(--lp-primary); }

.lp-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.lp-whatsapp:hover { transform: scale(1.06); }

@media (max-width: 991.98px) {
    .lp-hero { padding: 40px 0 48px; }
    .lp-hero h1 { font-size: 2rem; }
    .lp-login { margin: 36px auto 0; }
    .lp-section { padding: 56px 0; }
    .lp-head h2 { font-size: 1.6rem; }
    .lp-header .navbar-collapse { padding: 10px 0; }
}
@media (max-width: 575.98px) {
    .lp-hero h1 { font-size: 1.7rem; }
    .lp-stats .num { font-size: 1.4rem; }
    .lp-shots { justify-content: flex-start; }
}

/* ---------- 2026-11-30 b: high-impact hero, 4G LTE first, projects ---------- */
.lp-hero { min-height: calc(100vh - 66px); display: flex; align-items: center; padding: 56px 0 64px; }
.lp-hero > .container { width: 100%; }
.lp-hero h1 { font-size: 3.1rem; font-weight: 800; letter-spacing: -.5px; }
.lp-grad { background: linear-gradient(90deg, #1ab394 0%, #23c6c8 50%, #1c84c6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lp-4g-badge { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(26,179,148,.45); border-radius: 40px; padding: 5px 16px 5px 5px; margin-bottom: 20px; }
.lp-4g { background: linear-gradient(135deg, #1ab394, #1c84c6); color: #fff; font-weight: 800; font-size: 18px; letter-spacing: 1px; padding: 6px 16px; border-radius: 30px; box-shadow: 0 0 24px rgba(26,179,148,.55); }
.lp-4g-txt { color: #dfe4e8; font-size: 13px; font-weight: 600; letter-spacing: .3px; }
.lp-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1ab394; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(26,179,148,.7); animation: lpPing 1.8s infinite; }
@keyframes lpPing { 0% { box-shadow: 0 0 0 0 rgba(26,179,148,.7); } 70% { box-shadow: 0 0 0 10px rgba(26,179,148,0); } 100% { box-shadow: 0 0 0 0 rgba(26,179,148,0); } }

.lp-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-chips li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 30px; }
.lp-chips .fa { color: #1ab394; margin-right: 4px; }
.lp-glow { box-shadow: 0 8px 26px rgba(26,179,148,.45); }
.lp-login { box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(26,179,148,.25); }

/* radar rings behind the hero */
.lp-radar { position: absolute; z-index: 1; right: 8%; top: 50%; width: 0; height: 0; pointer-events: none; }
.lp-radar span { position: absolute; left: -300px; top: -300px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(26,179,148,.35); animation: lpRadar 6s linear infinite; opacity: 0; }
.lp-radar span:nth-child(2) { animation-delay: 2s; }
.lp-radar span:nth-child(3) { animation-delay: 4s; }
@keyframes lpRadar { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* entrance + scroll reveal (content stays visible without JS) */
.lp-in { animation: lpUp .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes lpUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.lp-js .lp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.lp-js .lp-reveal.lp-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .lp-in, .lp-radar span, .lp-live-dot { animation: none !important; }
    .lp-js .lp-reveal { opacity: 1; transform: none; transition: none; }
}

/* 4G spotlight */
.lp-4g-section { background: linear-gradient(180deg, #fff 0%, #f3f8f7 100%); }
.lp-kpi { border-left: 3px solid var(--lp-primary); padding: 4px 0 4px 14px; }
.lp-kpi .v { font-size: 2rem; font-weight: 800; color: var(--lp-navy); line-height: 1.1; }
.lp-kpi .t { font-size: 13px; }
.lp-device { position: relative; margin: 0; background: radial-gradient(circle at 50% 55%, rgba(26,179,148,.18), transparent 65%); border-radius: 8px; }
.lp-device img { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 30px rgba(0,0,0,.25)); }
.lp-device-tag { position: absolute; top: 8%; right: 6%; background: linear-gradient(135deg, #1ab394, #1c84c6); color: #fff; font-weight: 800; padding: 8px 16px; border-radius: 30px; box-shadow: 0 8px 22px rgba(26,179,148,.45); }

/* International projects */
.lp-project { background: #fff; border: 1px solid var(--lp-border); border-radius: 8px; overflow: hidden; height: 100%; transition: box-shadow .2s, transform .2s; }
.lp-project:hover { box-shadow: 0 14px 34px rgba(47,64,80,.15); transform: translateY(-3px); }
.lp-project figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #e8eef0; }
.lp-project img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.lp-project:hover img { transform: scale(1.05); }
.lp-project .body { padding: 20px 22px; }
.lp-project h3 { font-size: 1.15rem; }
.lp-project h3 .fa { color: var(--lp-primary); margin-right: 6px; }
.lp-project p { margin: 0; }

@media (max-width: 991.98px) {
    .lp-hero { min-height: 0; }
    .lp-hero h1 { font-size: 2.3rem; }
    .lp-radar { right: 50%; top: 30%; }
}
@media (max-width: 575.98px) {
    .lp-hero h1 { font-size: 1.9rem; }
    .lp-4g-txt { font-size: 12px; }
}

/* Continue with Google (2026-11-30) */
.landing .btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid #dadce0; color: #3c4043; font-weight: 600; height: 42px; }
.landing .btn-google:hover { background: #f8f9fa; border-color: #c6c9cc; color: #3c4043; }
.lp-or { display: flex; align-items: center; gap: 10px; color: #999; font-size: 12px; margin: 12px 0; }
.lp-or::before, .lp-or::after { content: ""; flex: 1; height: 1px; background: var(--lp-border); }

/* User guide (2026-11-30) */
.lp-guide-link { display: block; text-align: center; margin-top: 14px; padding: 9px 12px; border-radius: 4px; background: rgba(26,179,148,.08); border: 1px dashed rgba(26,179,148,.5); font-weight: 600; font-size: 14px; }
.lp-guide-link:hover { background: rgba(26,179,148,.15); text-decoration: none; }
.lp-guide-shots { display: flex; gap: 14px; justify-content: center; align-items: flex-end; }
.lp-guide-shots img { width: 31%; max-width: 190px; height: auto; border-radius: 14px; box-shadow: 0 12px 28px rgba(47,64,80,.25); }
.lp-guide-shots img:nth-child(2) { transform: translateY(-18px); }
.lp-guide-link a { font-weight: 700; }
/* "Continue with Apple" (2026-12-01), Apple's black button style */
.landing .btn-apple { display: flex; align-items: center; justify-content: center; gap: 10px; background: #000; border: 1px solid #000; color: #fff; font-weight: 600; height: 42px; margin-top: 8px; }
.landing .btn-apple:hover, .landing .btn-apple:focus { background: #1f1f1f; color: #fff; }
.landing .btn-apple .fa { font-size: 20px; }
