/* Call-to-action blocks: the tracker page band (Banner.cshtml) and setup block (Tracker.cshtml), and the end of blog articles
   (_ArticleCallToAction.cshtml). Everything lives under .pc with pc- prefixed classes; cta.js moves the map's speed and the search. */
.pc {
  --pc-g1: #4ca20b; --pc-g2: #2f7d0a; --pc-g3: #0b4f05; --pc-glow: 76,162,11;
  --pc-ink: #111511; --pc-muted: #5b665d; --pc-line: #dde2d9; --pc-card: #ffffff;
  --pc-stage: #f3f5f0; --pc-buy: #2f7d0a; --pc-buyink: #ffffff; --pc-buyhover: #276a08;
  --pc-map: #e9ede5; --pc-street: #ffffff; --pc-street2: #f7f8f5; --pc-edge: #d7ddd2; --pc-park: #d5e8c8; --pc-water: #cfe0ea;
  --pc-route: #2f7d0a; --pc-routebase: rgba(47,125,10,.25); --pc-fence: rgba(47,125,10,.55);
  --pc-chip: rgba(255,255,255,.92); --pc-chipink: #111511; --pc-shadow: 0 18px 50px rgba(20,40,10,.14), 0 2px 8px rgba(20,40,10,.08);
  --pc-display: "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  position: relative; color: var(--pc-ink); font-family: var(--pc-display);
}
[data-bs-theme="dark"] .pc {
  --pc-g1: #b9f27e; --pc-g2: #4ca20b; --pc-g3: #0f6b12;
  --pc-ink: #f3f6f1; --pc-muted: #9ba69d; --pc-line: #243026; --pc-card: #0b100c;
  --pc-stage: #050705; --pc-buy: #5cb81a; --pc-buyink: #061206; --pc-buyhover: #6fd024;
  --pc-map: #0d1410; --pc-street: #1b2620; --pc-street2: #131c17; --pc-edge: #0d1410; --pc-park: #11261a; --pc-water: #0f1d24;
  --pc-route: #b9f27e; --pc-routebase: rgba(185,242,126,.22); --pc-fence: rgba(185,242,126,.5);
  --pc-chip: rgba(10,16,12,.86); --pc-chipink: #f3f6f1; --pc-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.pc *, .pc *::before, .pc *::after { box-sizing: border-box; }
.pc p, .pc ul, .pc ol, .pc h2, .pc h3, .pc blockquote { margin: 0; padding: 0; }
.pc ul, .pc ol { list-style: none; }
.pc a { text-decoration: none; }

/* type */
.pc-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1.2 var(--pc-display); letter-spacing: .12em; text-transform: uppercase; color: var(--pc-g2); }
[data-bs-theme="dark"] .pc-eyebrow { color: var(--pc-g1); }
.pc-h1 { font: 300 clamp(34px, 1.6vw + 1.9vh + 12px, 60px)/1.04 var(--pc-display); letter-spacing: -.02em; margin-top: 14px; color: var(--pc-ink); }
.pc-h2 { font: 300 clamp(28px, 1.2vw + 16px, 40px)/1.08 var(--pc-display); letter-spacing: -.015em; color: var(--pc-ink); }
.pc-h1 b, .pc-h2 b { font-weight: 700; background: linear-gradient(100deg, var(--pc-g1), var(--pc-g2) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-sub { font: 400 clamp(16px, .3vw + 15px, 19px)/1.5 var(--pc-display); color: var(--pc-muted); margin-top: 14px; max-width: 34em; }
.pc-fine { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font: 600 14px/1.3 var(--pc-display); color: var(--pc-muted); }
.pc-fine li { display: inline-flex; align-items: center; gap: 7px; }
.pc-fine i { color: var(--pc-g2); }
[data-bs-theme="dark"] .pc-fine i { color: var(--pc-g1); }

/* buttons */
.pc-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.pc-ctas-tight { margin-top: 14px; }
.pc-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--pc-buy); color: var(--pc-buyink) !important; font: 700 17px/1.15 var(--pc-display); letter-spacing: .01em; box-shadow: 0 10px 30px rgba(var(--pc-glow), .35), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s, box-shadow .2s, background-color .2s; text-align: center; }
.pc-pill:hover, .pc-pill:focus-visible { background: var(--pc-buyhover); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(var(--pc-glow), .45), inset 0 1px 0 rgba(255,255,255,.25); }
.pc-pill .fa-arrow-right { transition: transform .2s; }
.pc-pill:hover .fa-arrow-right { transform: translateX(4px); }
.pc-pill.pc-ghost { background: transparent; color: var(--pc-ink) !important; box-shadow: inset 0 0 0 1.5px var(--pc-line); }
.pc-pill.pc-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--pc-g2); background: rgba(var(--pc-glow), .08); }
[data-bs-theme="dark"] .pc-pill.pc-ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.pc-pill.pc-wa { background: #1fa855; color: #fff !important; box-shadow: 0 10px 30px rgba(31,168,85,.35); }
.pc-pill.pc-wa:hover { background: #1b964b; }
.pc-pill.pc-wa .fa { font-size: 22px; }
.pc-link { font: 600 16px/1.2 var(--pc-display); color: var(--pc-g2) !important; display: inline-flex; align-items: center; gap: 6px; }
[data-bs-theme="dark"] .pc-link { color: var(--pc-g1) !important; }
.pc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pc a:focus-visible { outline: 3px solid rgba(var(--pc-glow), .6); outline-offset: 3px; }

/* live dot */
.pc-live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--pc-g2); flex: none; }
[data-bs-theme="dark"] .pc-live-dot { background: var(--pc-g1); }
.pc-live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid currentColor; color: var(--pc-g2); opacity: 0; animation: pc-ping 2s ease-out infinite; }
[data-bs-theme="dark"] .pc-live-dot::after { color: var(--pc-g1); }
@keyframes pc-ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }

/* stage with glow */
.pc-a { background: var(--pc-stage); overflow: hidden; isolation: isolate; }
.pc-a .pc-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(60% 90% at 78% 40%, rgba(var(--pc-glow), .22), transparent 70%),
  radial-gradient(40% 60% at 8% 100%, rgba(var(--pc-glow), .10), transparent 70%); }
[data-bs-theme="dark"] .pc-a .pc-glow { background:
  radial-gradient(60% 90% at 78% 40%, rgba(var(--pc-glow), .30), transparent 70%),
  radial-gradient(40% 60% at 8% 100%, rgba(var(--pc-glow), .14), transparent 70%); }
.pc-word { position: absolute; z-index: -1; right: -2vw; bottom: -.18em; font: 900 clamp(120px, 17vw, 300px)/1 var(--pc-display); letter-spacing: -.04em; color: var(--pc-ink); opacity: .045; white-space: nowrap; pointer-events: none; user-select: none; }

/* band: the layout's "band" section, between the title bar and .content, so it spans the whole window */
.pc-band { border-bottom: 1px solid var(--pc-line); }
.pc-band-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding-block: clamp(24px, 1.6vw + 1.2vh, 52px); }
.pc-a.pc-band { border-bottom-color: rgba(var(--pc-glow), .18); }
.pc-stage { position: relative; height: clamp(220px, 11vw + 7vh, 320px); }
.pc-stage .pc-map { position: absolute; inset: 0 0 0 9%; }
.pc-device { position: absolute; left: -2%; bottom: -6%; width: clamp(110px, 10vw, 170px); height: auto; filter: drop-shadow(0 22px 26px rgba(0,0,0,.28)) drop-shadow(0 0 22px rgba(var(--pc-glow), .25)); animation: pc-float 6s ease-in-out infinite; }
@keyframes pc-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }

/* the live map card */
.pc-map { position: relative; border-radius: 22px; overflow: hidden; background: var(--pc-map); box-shadow: var(--pc-shadow); }
.pc-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pc-map-bg { fill: var(--pc-map); }
.pc-map-park { fill: var(--pc-park); }
.pc-map-water { fill: none; stroke: var(--pc-water); stroke-width: 14; stroke-linecap: round; }
.pc-map-streets path { stroke: var(--pc-street); stroke-width: 9; fill: none; }
.pc-map-minor path { stroke: var(--pc-street2); stroke-width: 4; fill: none; }
[data-bs-theme="light"] .pc-map-streets { filter: drop-shadow(0 0 .6px var(--pc-edge)); }
.pc-fence { fill: rgba(var(--pc-glow), .08); stroke: var(--pc-fence); stroke-width: 1.5; stroke-dasharray: 4 4; }
.pc-fence-label { font: 700 11px var(--pc-display); fill: var(--pc-muted); text-anchor: middle; }
.pc-route-base { fill: none; stroke: var(--pc-routebase); stroke-width: 5; stroke-linecap: round; }
.pc-route-done { fill: none; stroke: var(--pc-route); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: pc-draw 12s linear infinite; }
@keyframes pc-draw { 0%, 6% { stroke-dashoffset: 1; } 90%, 100% { stroke-dashoffset: 0; } }
.pc-marker-dot { fill: var(--pc-g2); stroke: #fff; stroke-width: 2.5; }
[data-bs-theme="dark"] .pc-marker-dot { fill: #5cb81a; stroke: #0b100c; }
.pc-marker-arrow { fill: #fff; }
.pc-marker-pulse { fill: rgba(var(--pc-glow), .35); animation: pc-mpulse 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pc-mpulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.pc-map-chip { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; background: var(--pc-chip); color: var(--pc-chipink); font: 600 14px/1 var(--pc-display); box-shadow: 0 6px 18px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.pc-map-chip b { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-speed { flex: none; font-variant-numeric: tabular-nums; color: var(--pc-muted); min-width: 4.6em; }
.pc-toasts { position: absolute; right: 12px; top: 12px; width: min(250px, 62%); height: 70px; }
.pc-toast { position: absolute; inset: 0 0 auto 0; display: flex; gap: 11px; align-items: center; padding: 11px 13px; border-radius: 14px; background: var(--pc-chip); color: var(--pc-chipink); box-shadow: 0 10px 26px rgba(0,0,0,.22); backdrop-filter: blur(8px); opacity: 0; transform: translateY(-12px) scale(.97); animation: 12s ease infinite both; }
.pc-toast > i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--pc-glow), .16); color: var(--pc-g2); font-size: 17px; }
[data-bs-theme="dark"] .pc-toast > i { color: var(--pc-g1); }
.pc-toast.warn > i { background: rgba(245,165,36,.18); color: #d98a00; }
[data-bs-theme="dark"] .pc-toast.warn > i { color: #f5a524; }
.pc-toast b { display: block; font: 700 14px/1.2 var(--pc-display); }
.pc-toast small { display: block; font: 400 12px/1.3 var(--pc-display); color: var(--pc-muted); }
.pc-toast.t1 { animation-name: pc-t1; } .pc-toast.t2 { animation-name: pc-t2; } .pc-toast.t3 { animation-name: pc-t3; }
@keyframes pc-t1 { 0%, 12% { opacity: 0; transform: translateY(-12px) scale(.97); } 15%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes pc-t2 { 0%, 42% { opacity: 0; transform: translateY(-12px) scale(.97); } 45%, 62% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes pc-t3 { 0%, 88% { opacity: 0; transform: translateY(-12px) scale(.97); } 91%, 99% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* setup block (inside the "Set up" panel) */
.pc-setup.pc-a { border-radius: 18px; margin: 14px; }
.pc-setup-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3.5vw, 56px); align-items: center; padding: clamp(20px, 3vw, 44px); }
.pc-setup-visual { position: relative; }
.pc-setup-map .pc-map { height: clamp(220px, 18vw, 290px); }
.pc-lock { position: relative; border-radius: 18px; padding: 16px; background: var(--pc-card); box-shadow: var(--pc-shadow); display: grid; gap: 10px; }
.pc-lock-bar { display: flex; gap: 8px; }
.pc-lock-bar > span { flex: 1; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--pc-line); font: 600 13px/1 var(--pc-display); color: var(--pc-muted); display: flex; gap: 8px; align-items: center; }
.pc-lock-bar > span > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-lock-bar > span::after { content: "\f107"; font-family: FontAwesome, "Font Awesome 7 Free"; font-weight: 900; margin-left: auto; }
.pc-cmd { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 11px 13px; border-radius: 12px; background: rgba(var(--pc-glow), .07); border: 1px solid rgba(var(--pc-glow), .16); }
.pc-cmd small { grid-column: 1 / -1; font: 700 12px/1 var(--pc-display); letter-spacing: .04em; color: var(--pc-g2); text-transform: uppercase; }
[data-bs-theme="dark"] .pc-cmd small { color: var(--pc-g1); }
/* blurred command drawn without text, so no made-up command is ever indexed */
.pc-code { display: block; height: 11px; width: var(--w, 80%); border-radius: 6px; color: var(--pc-ink); opacity: .5; filter: blur(2.5px);
  background: repeating-linear-gradient(90deg, currentColor 0 52px, transparent 52px 62px, currentColor 62px 96px, transparent 96px 106px, currentColor 106px 170px, transparent 170px 180px); }
.pc-cmd > i { color: var(--pc-muted); opacity: .6; }
.pc-lock-badge { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--pc-ink); color: var(--pc-card); font: 700 15px/1 var(--pc-display); white-space: nowrap; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.pc-lock-badge i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pc-g2); color: #fff; font-size: 14px; animation: pc-wiggle 4s ease-in-out infinite; }
[data-bs-theme="dark"] .pc-lock-badge { background: #f3f6f1; color: #0b100c; }
@keyframes pc-wiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 95% { transform: rotate(-6deg); } }

/* blog block */
.pc-blog.pc-a { border-radius: 22px; padding: clamp(22px, 3vw, 40px); }
/* the search list must be able to leave the card: the card itself does not clip, its glow and map do */
.pc-blog { z-index: 2; }
.pc-blog.pc-a { overflow: visible; }
.pc-blog.pc-a .pc-glow { border-radius: inherit; }
.pc-blog-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.pc-blog .pc-h2 { margin-top: 12px; }
.pc-blog-visual .pc-map { height: 220px; }
.pc-blog-visual .pc-toasts { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; }

/* WhatsApp chat mock */
.pc-chat { border-radius: 18px; overflow: hidden; box-shadow: var(--pc-shadow); background: #efeae2; font-family: "Segoe UI", system-ui, sans-serif; }
[data-bs-theme="dark"] .pc-chat { background: #0b141a; }
.pc-chat-head { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: #075e54; color: #fff; }
[data-bs-theme="dark"] .pc-chat-head { background: #202c33; }
.pc-chat-head b { display: block; font-size: 14px; } .pc-chat-head small { display: block; font-size: 11.5px; opacity: .8; }
.pc-chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.pc-chat-avatar img { width: 22px; height: 22px; }
.pc-chat-body { padding: 18px 14px 10px; min-height: 150px; display: flex; align-items: flex-end; justify-content: flex-end; }
.pc-bubble { position: relative; max-width: 92%; padding: 9px 11px 7px; border-radius: 10px 0 10px 10px; background: #d9fdd3; color: #111b21; font-size: 14px; line-height: 1.38; box-shadow: 0 1px 1px rgba(0,0,0,.12); animation: pc-bubble 7s ease infinite both; transform-origin: right top; }
[data-bs-theme="dark"] .pc-bubble { background: #005c4b; color: #e9edef; }
.pc-bubble small { display: block; text-align: right; font-size: 11px; opacity: .65; margin-top: 3px; }
@keyframes pc-bubble { 0%, 6% { opacity: 0; transform: translateY(10px) scale(.96); } 12%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.pc-chat-input { margin: 0 10px 10px; padding: 10px 14px; border-radius: 999px; background: #fff; color: #8696a0; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
[data-bs-theme="dark"] .pc-chat-input { background: #2a3942; }
.pc-chat-input i { width: 32px; height: 32px; margin: -6px -8px -6px 0; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; animation: pc-send 7s ease infinite; }
@keyframes pc-send { 0%, 70% { transform: scale(1); box-shadow: 0 0 0 0 rgba(31,168,85,.5); } 76% { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(31,168,85,0); } 82%, 100% { transform: scale(1); } }

/* compatibility search */
.pc-search { position: relative; margin-top: 22px; max-width: 560px; }
.pc-search > i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--pc-muted); font-size: 18px; pointer-events: none; }
.pc-search input { width: 100%; height: 58px; padding: 0 20px 0 52px; border-radius: 999px; border: 1.5px solid var(--pc-line); background: var(--pc-card); color: var(--pc-ink); font: 400 18px var(--pc-display); outline: none; box-shadow: 0 8px 24px rgba(0,0,0,.06); transition: border-color .2s, box-shadow .2s; }
.pc-search input:focus { border-color: var(--pc-g2); box-shadow: 0 0 0 4px rgba(var(--pc-glow), .18); }
.pc-search input::placeholder { color: var(--pc-muted); opacity: .8; }
.pc-results { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 8px); max-height: 300px; overflow: auto; padding: 6px !important; border-radius: 16px; background: var(--pc-card); border: 1px solid var(--pc-line); box-shadow: var(--pc-shadow); }
.pc-results li a, .pc-results li.pc-none { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--pc-ink) !important; font: 600 16px/1.2 var(--pc-display); }
.pc-results li a:hover, .pc-results li a.on { background: rgba(var(--pc-glow), .1); }
.pc-results li a > span { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(var(--pc-glow), .14); color: var(--pc-g2); font: 700 12.5px/1 var(--pc-display); }
[data-bs-theme="dark"] .pc-results li a > span { color: var(--pc-g1); }
.pc-results li.pc-none { display: block; color: var(--pc-muted) !important; font-weight: 400; }
.pc-results li.pc-none a { display: inline; padding: 0; color: var(--pc-g2) !important; font-weight: 600; }

/* small screens */
@media (max-width: 991.98px) {
  .pc-band-grid { grid-template-columns: 1fr; }
  .pc-stage { height: 230px; }
  .pc-setup-grid { grid-template-columns: 1fr; }
  .pc-setup-grid .pc-copy { order: -1; }
}
@media (max-width: 767.98px) {
  .pc-blog-grid { grid-template-columns: 1fr; }
  .pc-blog-visual { order: 2; }
}
@media (max-width: 575.98px) {
  .pc-pill { width: 100%; }
  .pc-ctas { gap: 10px; }
  .pc-ctas .pc-link { margin-inline: auto; padding: 6px 0; }
  .pc-a .pc-band-grid { padding-block: 26px 22px; }
  .pc-band .pc-sub { font-size: 16px; }
  .pc-stage { height: 190px; }
  .pc-stage .pc-map { inset: 0; }
  .pc-band .pc-device { display: none; }
  .pc-toasts { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; }
  .pc-band .pc-pill.pc-ghost { min-height: 44px; box-shadow: none; font-size: 16px; }
  .pc-band-grid { gap: 18px; }
  .pc-fine { gap: 6px 14px; font-size: 13.5px; }
  .pc-setup.pc-a { margin: 10px; }
  .pc-lock-badge { font-size: 14px; }
  .pc-lock-bar > span { min-width: 0; padding-inline: 10px; }
  .pc-lock-bar > span > i { display: none; }
  .pc-word { font-size: 120px; bottom: auto; top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc *, .pc *::before, .pc *::after { animation: none !important; transition: none !important; }
  .pc-route-done { stroke-dashoffset: .45; }
  .pc-toast.t2 { opacity: 1; transform: none; }
}
