1import{c as k,r as i,j as e,L as l,A as f,M as le,T as Z,B as A,W as z,F as D,S as v,e as V,a as K,P as B,b as W,d as oe,f as be,g as ie,h as ce,U as de,i as ve,k as r,l as _,Q as je,C as Ne,R as ye,m as xe,Z as we,n as ke}from"./index-DbJx4_xt.js";import{L as Se,a as Ee}from"./lock-CWRGkAlN.js";import{T as Ie}from"./trending-up-CWT19iLF.js";import{C as me}from"./calculator-CzcVZusn.js";import{B as ue}from"./badge-check-QtXRInMo.js";const Ce=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Q=k("arrow-up-right",Ce);const Le=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],he=k("chevron-down",Le);const Ae=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]],pe=k("compass",Ae);const ze=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],De=k("gauge",ze);const Fe=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]],Re=k("gift",Fe);const Ue=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],X=k("headphones",Ue);const Qe=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]],J=k("receipt",Qe),Be="/__l5e/assets-v1/403ee471-0e84-46ea-8c5f-b5d4356c7b35/highway.png",_e={url:Be},Pe="/__l5e/assets-v1/02be80e2-5f84-44c7-8bc3-1b02b72cc06c/trucker-tools.png",Te={url:Pe},Me="/__l5e/assets-v1/732267d5-ad18-43bf-8b1c-9caf330a5745/wex.png",$e={url:Me},He="/__l5e/assets-v1/3843832a-402d-40a7-b831-0abb352db569/otr-solutions.png",Oe={url:He},qe="/__l5e/assets-v1/b4d6200a-85ed-424b-a14f-e04062ac4e30/atob.png",Ge={url:qe},Ye="/__l5e/assets-v1/c537dbff-acad-49c7-bfb9-81a5bade6eff/rok-financial.png",Ze={url:Ye},Ve="/__l5e/assets-v1/ca0b958c-f81a-4970-b4bc-d99f1e1467d7/smart-truck.png",Ke={url:Ve},We="/__l5e/assets-v1/562b23e1-62e3-4fc6-969e-b93ec8482db3/rndhub.png",Xe={url:We},Je="/assets/hero-truck-C9moL-NK.jpg",ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAGzklEQVR4AeydvYucVRSHz91lQ1wXrAS1M4qNhUUquyCIiIiVhWm0kOQfiEiKZVd0g3+AFgoRAkY7O2tF0W4bsQgkYBcRhIDGbYbk+m4+hkyy83Fn7sc59zzD3MzM+94595zn92y6ZdeEBwQ6IoDQHYXJKCIIjQVdEUDoruJkGITGga4IIHRXcc4axsc9hPaRs5spEdpN1D4GRWgfObuZEqHdRO1jUIT2kbObKRFaRNyk7WBQhHYQsqcREdpT2g5mRWgHIXsaEaE9pe1gVoR2ELKnEecI7QkFs/ZAAKF7SJEZxgQQeoyCNz0QQOgeUmSGMQGEHqMY3pyJG3ImbrIKM3gvHh9oF3ki9BhrDJvH5d3Hj8n3LlfNubfkUykkNUKPhRZZi/JsFDnFKstgQP6SHCvzC9oIPdDl2Q8BhO4nSyYZCCD0AIFnPwQQup8smWQggNADhDlPbhsigNCGwqLV+QQQej4jdhgigNCGwqLV+QQQej4jdhgigNCGwqLV+QRWE3p+fXZAoCoBhK6Km8NKE0Do0oSpX5UAQlfFzWGlCSB0acLUr0oAoavitnuYlc4R2kpS9LkQAYReCBObrBBAaCtJ0edCBBB6IUxsskIAoa0kRZ8LEUDohTDN2sQ9TQQQWlMa9LIyAYReGSEFNBFAaE1p0MvKBBB6ZYQU0EQAoTWlQS8rEygq9MrdUQACiQQQOhEY23UTQGjd+dBdIgGETgTGdt0EEFp3PnSXSAChE4Gx/UgCai4itJooaCQHAYTOQZEaagggtJooaCQHAYTOQZEaagggtJooaCQHAYTOQXFWDe5VJYDQVXFzWGkCCF2aMPWrEkDoqrg5rDSBYkLHKMHS2t39KNyFHYcXS2tol+eYQBGh4xcnNw4uP/f+f98+v2dlnXvh609eu/nBqdHvX4mldfuv/cOfvnGg3t8UEVqe+XMjrIfTQeL5GUvVPYnx/InRDy+Prnwjltatv3+7LYLT93+Qywh9vzqvEKhMAKErA+e4sgQQuixfqlcmgNCVgXNcWQIIXZYv1e8QqPcPQtdjzUkVCCB0BcgcUY8AQtdjzUkVCCB0BcgcUY8AQtdjzUkVCCB0BcizjuBeXgIInZcn1RoTQOjGAXB8XgIInZcn1RoTQOjGAXB8XgIInZcn1RoTUCx0YzIcb5IAQpuMjaanEUDoaWS4bpIAQpuMjaanEUDoaWS4bpIAQpuMrbOmM46D0BlhUqo9AYRunwEdZCSA0BlhUqo9AYRunwEdZCSA0BlhUqo9AYRun8GsDriXSAChE4GxXTcBhNadD90lEkDoRGBs100AoXXnQ3eJBBA6ERjbdROwK7RurnTXiABCNwLPsWUIIHQZrlRtRAChG4Hn2DIEELoMV6o2IoDQjcBz7OIEUnYidAot9qongNDqI6LBFAIInUKLveoJILT6iGgwhUAZoa8/PYpRLous7VlZUcKFF58a/fLhq//csrTeOnHl17UYLwxB7llZd92QUYqoi+4dGCy6dfF94ez+aPP0tYub71zdtrK2rl7bfvvkwU/br99Yt7NurF965bufzz358fbNz8TMOvhcLsqXwY7Qh+oHkRiCnSU7EmV4DH2LpSXDf0k7O7tD78HYkiKPAUeRuhSFQBMCCN0EO4eWIoDQpchStwkBhG6CnUNLEehW6FLAqKubAELrzofuEgkgdCIwtusmgNC686G7RAIInQiM7boJILTufOhuPoGJHQg9gYMP1gkgtPUE6X+CAEJP4OCDdQIIbT1B+p8ggNATOPhgnQBCW09
1wVv8O7yG0w9B7Hhmhe07X4WwI7TD0nkdG6J7TdTgbQjsMveeRvQrdc6auZ0No1/H3NzxC95ep64kQ2nX8/Q2P0P1l6noihHYdf3/DPyp0fzMykSMCCO0obA+jIrSHlB3NiNCOwvYwKkJ7SNnRjAjtKOyHR+3xM0L3mKrjmRDacfg9jo7QPabqeCaEdhx+j6MjdI+pOp4JoY8Mn4tWCSC01eTo+0gCCH0kFi5aJYDQVpOj7yMJIPSDWKL8EUL40dKSoec7f8v5wTkcv0foe+GHIHHz3ycuPbZ18IalddhzkEHre3N4f0kWumdg4ez+KLx5/cDUGnruOZPU2RA6lRj7VRNAaNXx0FwqAYROJcZ+1QQQWnU8NJdKAKFTifnZb3JShDYZG01PI4DQ08hw3SQBhDYZG01PI4DQ08hw3SQBhDYZG01PI4DQ08jMus49tQQQWm00NLYMAYRehhrfUUsAodVGQ2PLEEDoZajxHbUEEFptNDS2DIHcQi/TA9+BQDYCCJ0NJYU0EEBoDSnQQzYCCJ0NJYU0EPgfAAD//0UblDkAAAAGSURBVAMAzt4lw015qYwAAAAASUVORK5CYII=",te=[{id:"van",label:"Dry Van",rate:3.35,desc:"Up to 45,000 lb · 53 ft enclosed"},{id:"flat",label:"Flatbed",rate:4.24,desc:"Up to 48,000 lb · 53 ft open deck"},{id:"reef",label:"Reefer",rate:3.95,desc:"Up to 45,000 lb · temp-controlled"},{id:"cone",label:"Conestoga",rate:4.4,desc:"Up to 45,000 lb · rolling tarp"},{id:"step",label:"Step Deck",rate:4.28,desc:"Up to 48,000 lb · tall freight"},{id:"rgn",label:"RGN",rate:5.26,desc:"Up to 48,000 lb · heavy equipment"}],$=20,ge="eldhub.rate-calc.v1",H=t=>t.toLocaleString("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}),fe=()=>new Date().toISOString().slice(0,10);function et(){if(typeof window>"u")return 0;try{const t=localStorage.getItem(ge);if(!t)return 0;const s=JSON.parse(t);return s.date===fe()?s.count:0}catch{return 0}}function tt(t){if(!(typeof window>"u"))try{localStorage.setItem(ge,JSON.stringify({date:fe(),count:t}))}catch{}}async function se(t){const s=t.trim();if(!/^\d{5}$/.test(s))throw new Error("Enter a valid 5-digit US ZIP");const a=await fetch(`https://api.zippopotam.us/us/${s}`);if(!a.ok)throw new Error(`ZIP ${s} not found`);const o=(await a.json()).places[0];return{lat:parseFloat(o.latitude),lng:parseFloat(o.longitude),place:`${o["place name"]}, ${o.state}`}}function st(t,s){const n=p=>p*Math.PI/180,o=n(s.lat-t.lat),m=n(s.lng-t.lng),c=n(t.lat),h=n(s.lat),u=Math.sin(o/2)**2+Math.cos(c)*Math.cos(h)*Math.sin(m/2)**2;return Math.round(2*3958.8*Math.asin(Math.sqrt(u))*1.18)}function rt(){const[t,s]=i.useState(""),[a,n]=i.useState(""),[o,m]=i.useState("van"),[c,h]=i.useState(!1),[u,p]=i.useState(null),[d,P]=i.useState(null),[S,F]=i.useState(0);i.useEffect(()=>{F(et())},[]);const x=Math.max(0,$-S),y=i.useMemo(()=>te.find(g=>g.id===o),[o]);async function T(g){if(g.preventDefault(),p(null),x<=0){p("Daily free limit reached. Upgrade for unlimited quotes.");return}h(!0);try{const[b,M]=await Promise.all([se(t),se(a)]),j=st(b,M);if(j<1)throw new Error("Origin and destination are the same");const R=j*y.rate,C=j*.55,L=R+C;P({miles:j,origin:b.place,destination:M.place,equip:y,linehaul:R,fsc:C,total:L,rpm:L/j});const U=S+1;F(U),tt(U)}catch(b){p(b instanceof Error?b.message:"Could not calculate rate")}finally{h(!1)}}return e.jsxs("div",{id:"rate-calculator",className:"relative",children:[e.jsx("div",{className:"absolute inset-x-0 -top-24 h-48 bg-glow blur-2xl","aria-hidden":!0}),e.jsxs("div",{className:"relative grid gap-6 rounded-3xl border border-border bg-card p-5 shadow-elegant sm:p-6 md:p-8 2xl:grid-cols-[1.1fr_1fr]",children:[e.jsxs("form",{onSubmit:T,className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-border bg-secondary px-3 py-1 text-xs font-semibold uppercase tracking-wider text-primary",children:[e.jsx("span",{className:"size-1.5 rounded-full bg-accent"})," Live FTL Rate Calculator"]}),e.jsx("h2",{className:"mt-3 text-2xl font-bold leading-tight text-foreground sm:text-4xl",children:"What's this lane really paying?"}),e.jsxs("p",{className:"mt-2 text-muted-foreground",children:["Real-time spot-market rates by lane and equipment."," ",e.jsxs("span",{className:"font-semibold text-foreground",children:[$," free quotes per day."]})]}),e.jsxs("a",{href:l.freight,target:"_blank",rel:"noopener noreferrer",className:"mt-3 inline-flex items-center gap-2 rounded-full border border-border bg-secondary px-3 py-1.5 text-xs font-semibold text-primary transition hover:border-accent/50 hover:bg-accent/5",children:[e.jsx("span",{className:"text-muted-foreground",children:"Powered by"}),e.jsx("img",{src:ee,alt:"RFP Freight",className:"size-5 rounded-md",loading:"lazy"}),e.jsx("span",{children:"RFP Freight"})]})]}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(ae,{label:"Pickup ZIP",value:t,onChange:s,placeholder:"e.g. 30301"}),e.jsx(ae,{label:"Delivery ZIP",value:a,onChange:n,placeholder:"e.g. 60601"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"mb-2 block text-sm font-semibold text-foreground",children:"Equipment"}),e.jsx("div",{className:"grid grid-cols-1 gap-2 min-[390px]:grid-cols-2 sm:grid-cols-3",children:te.map(g=>{const b=g.id===o;return e.jsx("button",{type:"button",onClick:()=>m(g.id),className:`group rounded-xl border px-3 py-2.5 text-left transition ${b?"border-accent bg-accent/10 shadow-accent":"border-border bg-card hover:border-accent/40"}`,children:e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("span",{className:"text-sm font-semibold text-foreground",children:g.label}),e.jsxs("span",{className:"text-xs font-bold tabular-nums text-accent",children:["$",g.rate.toFixed(2),"/mi"]})]})},g.id)})}),e.jsx("p",{className:"mt-2 text-xs text-muted-foreground",children:y.desc})]}),u&&e.jsx("p",{className:"rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2 text-sm text-destructive",children:u}),e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsx("button",{type:"submit",disabled:c||x<=0||!t||!a,className:"group inline-flex items-center justify-center gap-2 rounded-xl bg-accent-gradient px-6 py-3.5 text-base font-semibold text-accent-foreground shadow-accent ease-expo transition hover:scale-[1.02] disabled:cursor-not-allowed disabled:opacity-60 disabled:hover:scale-100",children:c?e.jsxs(e.Fragment,{children:[e.jsx(Se,{className:"size-4 animate-spin"})," Calculatingâ¦"]}):e.jsxs(e.Fragment,{children:["Calculate rate",e.jsx(f,{className:"size-4 transition-transform group-hover:translate-x-0.5"})]})}),e.jsxs("span",{className:`text-xs font-semibold tabular-nums ${x<=3?"text-destructive":"text-muted-foreground"}`,children:[x," of ",$," free quotes left today"]})]})]}),e.jsxs("div",{className:"relative flex flex-col justify-between rounded-2xl bg-hero p-6 text-primary-foreground md:p-8",children:[e.jsx("div",{className:"absolute inset-0 grain rounded-2xl opacity-30","aria-hidden":!0}),e.jsxs("div",{className:"relative",children:[e.jsx("p",{className:"text-sm font-semibold uppercase tracking-wider text-accent",children:d?"Estimated all-in rate":"Your quote will appear here"}),d?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mt-2 flex items-baseline gap-2",children:e.jsx("span",{className:"text-5xl font-bold tracking-tight md:text-6xl",children:H(d.total)})}),e.jsxs("p",{className:"mt-2 inline-flex items-center gap-2 text-sm text-primary-foreground
1/80",children:[e.jsx(le,{className:"size-3.5 text-accent"}),d.origin," â ",d.destination]}),e.jsxs("p",{className:"mt-1 inline-flex items-center gap-2 text-sm text-primary-foreground/80",children:[e.jsx(Z,{className:"size-3.5 text-accent"}),d.equip.label," · ",d.miles.toLocaleString()," mi · $",d.rpm.toFixed(2),"/mi all-in"]}),e.jsxs("div",{className:"mt-6 space-y-3 border-t border-white/10 pt-5",children:[e.jsx(re,{label:`Linehaul (${d.equip.label})`,value:H(d.linehaul)}),e.jsx(re,{label:"Fuel surcharge (~$0.55/mi)",value:H(d.fsc)})]})]}):e.jsx("p",{className:"mt-3 text-sm text-primary-foreground/70",children:"Enter a pickup ZIP, delivery ZIP, and equipment type to see a live FTL market rate with linehaul + fuel surcharge."})]}),e.jsxs("div",{className:"relative mt-8 space-y-3",children:[e.jsxs("a",{href:l.freight,target:"_blank",rel:"noopener noreferrer",className:"group relative flex w-full items-center justify-center gap-3 overflow-hidden rounded-xl bg-accent-gradient px-6 py-4 text-base font-semibold text-accent-foreground shadow-accent ease-expo transition hover:scale-[1.02]",children:[e.jsx("img",{src:ee,alt:"","aria-hidden":!0,className:"relative z-10 size-6 rounded-md bg-white/90 p-0.5"}),e.jsx("span",{className:"relative z-10",children:x<=0?"Out of free quotes. Sign up free":"Sign up free on RFP Freight"}),e.jsx("span",{className:"relative z-10 transition-transform group-hover:translate-x-1",children:"â"}),e.jsx("span",{className:"absolute inset-0 animate-shine","aria-hidden":!0})]}),e.jsx("p",{className:"text-center text-xs text-primary-foreground/70",children:"Estimates only · Real bookings & live spot rates via RFP Freight"})]})]})]})]})}function re({label:t,value:s}){return e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsx("span",{className:"text-primary-foreground/80",children:t}),e.jsx("span",{className:"font-semibold tabular-nums",children:s})]})}function ae({label:t,value:s,onChange:a,placeholder:n}){return e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"mb-1.5 block text-sm font-semibold text-foreground",children:t}),e.jsx("input",{type:"text",inputMode:"numeric",pattern:"\\d{5}",maxLength:5,value:s,onChange:o=>a(o.target.value.replace(/\D/g,"").slice(0,5)),placeholder:n,className:"h-11 w-full rounded-lg border border-border bg-card px-3 text-base font-semibold text-foreground tabular-nums outline-none transition focus:border-accent focus:ring-2 focus:ring-accent/30"})]})}const E=t=>t.toLocaleString("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0});function w({label:t,Icon:s,suffix:a,prefix:n,value:o,onChange:m,min:c,max:h,step:u}){const p=Math.min(100,Math.max(0,(o-c)/(h-c)*100));return e.jsxs("div",{className:"group rounded-xl border border-border/70 bg-background/60 p-3 transition hover:border-accent/40 hover:bg-background",children:[e.jsxs("div",{className:"flex items-start justify-between gap-2",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("span",{className:"grid size-7 shrink-0 place-items-center rounded-md bg-accent/10 text-accent",children:e.jsx(s,{className:"size-3.5"})}),e.jsx("label",{className:"text-[11px] font-semibold uppercase leading-tight tracking-wider text-muted-foreground",children:t})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-0.5 rounded-md border border-border bg-card px-2 py-1 text-xs font-bold text-foreground tabular-nums",children:[n&&e.jsx("span",{className:"text-muted-foreground",children:n}),e.jsx("input",{type:"number",value:o,min:c,max:h,step:u,onChange:d=>m(Number(d.target.value)||0),"aria-label":t,className:"w-14 bg-transparent text-right outline-none"}),a&&e.jsx("span",{className:"text-muted-foreground",children:a})]})]}),e.jsxs("div",{className:"relative mt-3 h-1.5 w-full rounded-full bg-secondary",children:[e.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 rounded-full bg-accent-gradient",style:{width:`${p}%`},"aria-hidden":!0}),e.jsx("input",{type:"range",value:o,min:c,max:h,step:u,onChange:d=>m(Number(d.target.value)),"aria-label":`${t} slider`,className:`absolute inset-0 h-full w-full cursor-pointer appearance-none bg-transparent 2 [&::-webkit-slider-runnable-track]:bg-transparent [&::-moz-range-track]:bg-transparent 3 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:size-4 [&::-webkit-slider-thumb]:rounded-full 4 [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-accent [&::-webkit-slider-thumb]:bg-background 5 [&::-webkit-slider-thumb]:shadow-md [&::-webkit-slider-thumb]:transition [&::-webkit-slider-thumb]:hover:scale-125 6 [&::-moz-range-thumb]:size-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-2 7 [&::-moz-range-thumb]:border-accent [&::-moz-range-thumb]:bg-background [&::-moz-range-thumb]:shadow-md`})]})]})}function O({title:t,children:s}){return e.jsxs("div",{className:"space-y-2",children:[e.jsx("h3",{className:"text-[10px] font-bold uppercase tracking-[0.18em] text-muted-foreground
7/80",children:t}),e.jsx("div",{className:"grid gap-2 sm:grid-cols-2",children:s})]})}function q({Icon:t,label:s,value:a,share:n,color:o}){return e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2 text-sm",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 text-primary-foreground/85",children:[e.jsx(t,{className:"size-3.5 text-accent"}),s]}),e.jsx("span",{className:"font-bold tabular-nums text-primary-foreground",children:a})]}),e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-white/10",children:e.jsx("div",{className:"h-full rounded-full transition-[width] duration-500",style:{width:`${Math.min(100,Math.max(2,n))}%`,background:o}})})]})}function at(){const[t,s]=i.useState(5),[a,n]=i.useState(35),[o,m]=i.useState(4),[c,h]=i.useState(10),[u,p]=i.useState(3e4),[d,P]=i.useState(1800),[S,F]=i.useState(.6),x=i.useMemo(()=>{const T=a*t,g=15*t,b=Math.max(0,(T-g)*12),j=u*t*12*Math.max(0,o-1.5)/100,R=u*t*(c/100),C=d*S*12*t,L=b+j+C,U=t>0?L/t:0;return{annual:L,perTruck:U,eldSave:b,rateSave:j,fuelSave:C,reserveFreed:R}},[t,a,o,c,u,d,S]),y=Math.max(x.eldSave,x.rateSave,x.fuelSave,1);return e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -inset-x-4 -top-12 h-40 bg-glow blur-3xl","aria-hidden":!0}),e.jsxs("div",{className:"relative grid overflow-hidden rounded-3xl border border-border bg-card shadow-elegant md:grid-cols-[1.25fr_1fr]",children:[e.jsxs("div",{className:"space-y-4 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-accent/30 bg-accent/10 px-3 py-1 text-[10px] font-bold uppercase tracking-[0.18em] text-accent",children:[e.jsxs("span",{className:"relative flex size-1.5",children:[e.jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-accent opacity-75"}),e.jsx("span",{className:"relative inline-flex size-1.5 rounded-full bg-accent"})]}),"Live calculator"]}),e.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:"Drag sliders to fit your fleet"})]}),e.jsxs(O,{title:"Your fleet",children:[e.jsx(w,{label:"Trucks",Icon:Z,value:t,onChange:s,min:1,max:20,step:1}),e.jsx(w,{label:"Revenue / truck",Icon:Ie,prefix:"$",value:u,onChange:p,min:1e4,max:15e4,step:1e3})]}),e.jsxs(O,{title:"ELD & Factoring",children:[e.jsx(w,{label:"ELD price now",Icon:J,suffix:"/mo",prefix:"$",value:a,onChange:n,min:15,max:120,step:1}),e.jsx(w,{label:"Factor rate now",Icon:A,suffix:"%",value:o,onChange:m,min:1.5,max:6,step:.1}),e.jsx(w,{label:"Reserve held",Icon:z,suffix:"%",value:c,onChange:h,min:0,max:20,step:1})]}),e.jsxs(O,{title:"Fuel",children:[e.jsx(w,{label:"Gallons / truck",Icon:D,value:d,onChange:P,min:500,max:4e3,step:50}),e.jsx(w,{label:"Fuel savings/gal",Icon:v,prefix:"$",value:S,onChange:F,min:.2,max:2,step:.05})]})]}),e.jsxs("div",{className:"relative flex flex-col overflow-hidden bg-hero p-5 text-primary-foreground sm:p-6",children:[e.jsx("div",{className:"absolute inset-0 grain opacity-30","aria-hidden":!0}),e.jsx("div",{className:"pointer-events-none absolute -right-16 -top-16 size-56 rounded-full bg-accent/30 blur-3xl","aria-hidden":!0}),e.jsx("div",{className:"pointer-events-none absolute -bottom-20 -left-10 size-56 rounded-full bg-[oklch(0.55_0.17_258/0.35)] blur-3xl","aria-hidden":!0}),e.jsxs("div",{className:"relative",children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-[0.18em] text-accent",children:"Estimated annual savings"}),e.jsxs("div",{className:"mt-1.5 flex flex-wrap items-baseline gap-x-2",children:[e.jsx("span",{className:"font-display text-4xl font-bold tracking-tight tabular-nums sm:text-5xl",children:E(x.annual)}),e.jsx("span",{className:"text-xs text-primary-foreground/70",children:"/ year"})]}),e.jsxs("p",{className:"mt-1.5 inline-flex items-center gap-1.5 rounded-full bg-white/10 px-2.5 py-1 text-[11px] text-primary-foreground/90 backdrop-blur",children:[e.jsx(v,{className:"size-3 text-accent"}),e.jsx("span",{className:"font-semibold text-accent",children:E(x.perTruck)}
7),e.jsx("span",{className:"text-primary-foreground/70",children:"/ truck / year"})]}),e.jsxs("div",{className:"mt-5 space-y-3 border-t border-white/10 pt-4",children:[e.jsx(q,{Icon:J,label:"ELD savings",value:E(x.eldSave),share:x.eldSave/y*100,color:"oklch(0.72 0.12 255)"}),e.jsx(q,{Icon:A,label:"Factoring savings",value:E(x.rateSave),share:x.rateSave/y*100,color:"oklch(0.65 0.17 150)"}),e.jsx(q,{Icon:D,label:"Fuel savings",value:E(x.fuelSave),share:x.fuelSave/y*100,color:"oklch(0.78 0.14 75)"})]}),e.jsx("div",{className:"mt-4 rounded-xl border border-white/10 bg-white/[0.06] p-3 backdrop-blur",children:e.jsxs("div",{className:"flex items-center justify-between gap-2 text-xs",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-primary-foreground/85",children:[e.jsx(z,{className:"size-3.5 text-accent"}),"Cash freed from reserves"]}),e.jsx("span",{className:"font-bold tabular-nums",children:E(x.reserveFreed)})]})})]}),e.jsxs("div",{className:"relative mt-5 space-y-2",children:[e.jsxs("a",{href:l.registration,className:"group relative flex w-full items-center justify-center gap-2 overflow-hidden rounded-xl bg-accent-gradient px-5 py-3.5 text-sm font-bold text-accent-foreground shadow-lg shadow-accent/30 ease-expo transition hover:scale-[1.02] hover:shadow-accent/50",children:[e.jsx("span",{className:"relative z-10",children:"Claim these savings. Start 14-day free trial"}),e.jsx(f,{className:"relative z-10 size-4 transition-transform group-hover:translate-x-1"}),e.jsx("span",{className:"absolute inset-0 animate-shine","aria-hidden":!0})]}),e.jsx("p",{className:"text-center text-[10px] uppercase tracking-wider text-primary-foreground/60",children:"14-day free · No contracts · Cancel anytime"})]})]})]})]})}function nt(t,s=120){const[a,n]=i.useState(null);return i.useEffect(()=>{if(typeof IntersectionObserver>"u")return;const o=t.map(c=>document.getElementById(c)).filter(c=>!!c);if(!o.length)return;const m=new IntersectionObserver(c=>{const h=c.filter(u=>u.isIntersecting).sort((u,p)=>p.intersectionRatio-u.intersectionRatio);h[0]&&n(h[0].target.id)},{rootMargin:`-${s}px 0px -60% 0px`,threshold:[0,.25,.5,.75,1]});return o.forEach(c=>m.observe(c)),()=>m.disconnect()},[t,s]),a}const I=[{id:"eld",tag:"Included · ELD",Icon:ce,title:"$15/mo per truck",headline:"One subscription unlocks everything below.",desc:"Flat $15 per truck per month. FMCSA registered. Works with PT-30 and IOSiX. RFP Freight unlimited now included.",bullet:"Your $15/mo key to every service",cta:"Start 14-day free trial",href:l.registration,color:"from-[oklch(0.55_0.18_255)] to-[oklch(0.35_0.12_240)]"},{id:"fuel",tag:"Included · Fuel",Icon:D,title:"Save up to $2/gal",headline:"AtoB card. 4,200+ truck stops.",desc:"TA, Petro, Love's, Kwik Trip, Speedway. 99% station acceptance. No extra membership fee.",bullet:"Unlocked with your $15/mo subscription",cta:"Activate Fuel Card",href:l.fuel,color:"from-[oklch(0.55_0.17_258)] to-[oklch(0.7_0.14_252)]"},{id:"factoring",tag:"Included · Factor",Icon:A,title:"1 to 2% · 24h pay",headline:"Paid in 24 hours. No reserves.",desc:"No ACH fees. No invoice fees. No monthly minimums. Activated from your ELD HUB account.",bullet:"Unlocked with your $15/mo subscription",cta:"Activate Factoring",href:l.factoring,color:"from-[oklch(0.65_0.17_150)] to-[oklch(0.5_0.15_170)]"},{id:"capital",tag:"Included · Capital",Icon:z,title:"75+ lenders",headline:"Capital when you need it.",desc:"Fuel, repairs, growth. One application, 75 lenders compete for you. No extra signup.",bullet:"Unlocked with your $15/mo subscription",cta:"Apply for Funding",href:l.capital,color:"from-[oklch(0.55_0.2_295)] to-[oklch(0.4_0.15_280)]"},{id:"drivers",tag:"Included · Drivers",Icon:de,title:"Vetted CDL drivers",headline:"Stop chasing recruiters.",desc:"Exclusive driver leads matched for small fleets. Ready to roll. Included in your membership.",bullet:"Unlocked with your $15/mo subscription",cta:"Book veteran CDL driver call",href:l.bookACall,color:"from-[oklch(0.7_0.18_30)] to-[oklch(0.55_0.2_15)]"},{id:"insurance",tag:"Included · Insure",Icon:ve,title:"Lower premiums",headline:"Real driver data. Lower rates.",desc:"We use your compliance score, not generic quotes, to drop premiums. No separate broker fee.",bullet:"Unlocked with your $15/mo subscription",cta:"Get Quote",href:l.insurance,color:"from-[oklch(0.55_0.15_220)] to-[oklch(0.35_0.12_250)]"}],lt=[{value:"$15",label:"Per truck / month ELD",Icon:ce},{value:"1% to 2%",label:"Flat factoring · 0 reserves",Icon:A},{value:"Up to $2",label:"Per gallon fuel savings",Icon:D},{value:"75+",label:"Capital partners",Icon:z}];function Rt(){return e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(ot,{}),e.jsx(it,{}),e.jsxs("main",{children:[e.jsx(ht,{}),e.jsx(ct,{}),e.jsx("div",{className:"mx-auto max-w-6xl px-4 pt-8",children:e.jsx(je,{})}),e.jsx(xt,{}),e.jsx(mt,{}),e.jsx(dt,{}),e.jsx(pt,{}),e.jsx(gt,{}),e.jsx(ft,{}),e.jsx(bt,{}),e.jsx(vt,{}),e.jsx(jt,{}),e.jsx(Nt,{}),e.jsx(yt,{}),e.jsx(wt,{}),e.jsx(kt,{}),e.jsx(St,{})]}),e.jsx(Et,{}),e.jsx(It,{})]})}function ot(){return e.jsx("div",{className:"hidden border-b border-border bg-primary py-2 text-xs text-primary-foreground md:block",children:e.jsxs("div",{className:"mx-auto flex max-w-7xl items-center justify-between gap-4 px-4",children:[e.jsxs("div",{className:"flex items-center gap-5",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(_,{className:"size-3.5 text-accent"})," FMCSA-registered ELD"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(Ee,{className:"size-3.5 text-accent"})," SOC-2 secure"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(Ne,{className:"size-3.5 text-accent"})," Setup in 5 minutes"]})]}),e.jsxs("div",{className:"flex items-center gap-5",children:[e.jsxs("a",{href:l.phone,className:"inline-flex items-center gap-1.5 font-semibold hover:text-accent",children:[e.jsx(B,{className:"size-3.5"})," 302-404-1177 · Business hours"]}),e.jsxs("a",{href:l.email,className:"inline-flex items-center gap-1.5 hover:text-accent",children:[e.jsx(W,{className:"size-3.5"}),e.jsx("span",{children:"[email protected]"})]})]})]})})}function it(){const[t,s]=i.useState(!1),a=[{to:"/eld-pricing",label:"Pricing"},{to:"/hardware",label:"Hardware"},{to:"/vs",label:"Compare"},{to:"/blog",label:"Blog"},{to:"/eld-hub-login",label:"Login"},{to:"/contact",label:"Contact"}];return e.jsxs("header",{className:"sticky top-0 z-40 border-b border-border/70 bg-background/80 shadow-[0_1px_0_0_hsl(var(--border)/0.6)] backdrop-blur-xl supports-[backdrop-filter]:bg-background/70",children:[e.jsxs("div",{className:"mx-auto flex max-w-7xl flex-nowrap items-center justify-between gap-4 px-4 py-2",children:[e.jsxs("a",{href:l.site,className:"flex min-w-0 items-center gap-2.5","aria-label":"ELD HUB home",children:[e.jsxs("span",{className:"flex h-28 items-center",children:[e.jsx("img",{src:V.url,alt:"ELD HUB",className:"h-24 w-auto dark:hidden",loading:"eager",fetchPriority:"high"}),e.jsx("img",{src:K.url,alt:"ELD HUB",className:"hidden h-24 w-auto dark:inline"})]}),e.jsx("span",{className:"hidden rounded-full border border-border bg-muted/60 px-2.5 py-1 text-[10px] font-semibold uppercase tracking-[0.14em] text-muted-foreground xl:inline",children:"Fleet Advisors"})]}),e.jsx("nav",{className:"hidden flex-nowrap items-center gap-4 whitespace-nowrap text-sm font-medium text-muted-foreground lg:flex",children:a.map(n=>e.jsxs(r,{to:n.to,className:"group relative py-1 transition hover:text-foreground",children:[n.label,e.jsx("span",{className:"pointer-events-none absolute inset-x-0 -bottom-0.5 mx-auto h-0.5 w-0 rounded-full bg-accent transition-all duration-300 group-hover:w-full"})]},n.to))}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("a",{href:l.login,target:"_blank",rel:"noopener noreferrer",className:"hidden shrink-0 rounded-lg border border-border px-3 py-2 text-sm font-semibold text-foreground transition hover:bg-muted xl:inline-flex",children:"Login"}),e.jsxs("a",{href:l.registration,className:"group inline-flex shrink-0 items-center gap-1.5 rounded-lg bg-accent-gradient px-4 py-2 text-sm font-bold text-accent-foreground shadow-accent ease-expo transition hover:scale-[1.04] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[e.jsx(v,{className:"size-4"}),"Start 14-day free trial",e.jsx(f,{className:"size-4 transition-transform group-hover:translate-x-0.5"})]}),e.jsxs("button",{type:"button",onClick:()=>s(n=>!n),className:"relative grid size-10 shrink-0 place-items-center rounded-lg border border-border text-foreground xl:hidden","aria-label":"Toggle menu","aria-expanded":t,children:[e.jsx("span",{className:`absolute h-0.5 w-5 bg-current transition-all duration-300 ${t?"rotate-45":"-translate-y-1.5"}`}),e.jsx("span",{className:`absolute h-0.5 w-5 bg-current transition-all duration-200 ${t?"opacity-0":"opacity-100"}`}),e.jsx("span",{className:`absolute h-0.5 w-5 bg-current transition-all duration-300 ${t?"
7-rotate-45":"translate-y-1.5"}`})]})]})]}),t&&e.jsx("div",{className:"border-t border-border bg-background xl:hidden",children:e.jsxs("nav",{className:"mx-auto flex max-w-7xl flex-col px-4 py-2 text-sm font-semibold",children:[a.map(n=>e.jsx(r,{to:n.to,onClick:()=>s(!1),className:"border-b border-border/60 py-3 text-foreground last:border-b-0",children:n.label},n.to)),e.jsxs("div",{className:"mt-3 flex flex-col gap-2 pb-2",children:[e.jsxs("a",{href:l.registration,onClick:()=>s(!1),className:"inline-flex items-center justify-center gap-1.5 rounded-lg bg-accent-gradient px-4 py-3 text-sm font-bold text-accent-foreground shadow-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[e.jsx(v,{className:"size-4"}),"Start 14-day free trial",e.jsx(f,{className:"size-4"})]}),e.jsxs("a",{href:l.phone,className:"inline-flex items-center justify-center gap-2 rounded-lg border border-border bg-card px-4 py-3 text-sm font-bold text-primary",children:[e.jsx(B,{className:"size-4 text-accent"}),e.jsx("span",{className:"tabular-nums",children:"302-404-1177"})]}),e.jsx("a",{href:l.login,target:"_blank",rel:"noopener noreferrer",onClick:()=>s(!1),className:"inline-flex items-center justify-center rounded-lg border border-border bg-card px-4 py-3 text-sm font-semibold text-foreground",children:"Login"})]})]})})]})}function ct(){return e.jsxs("section",{className:"relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:Je,alt:"Semi-truck on highway at sunset",width:1920,height:1280,loading:"eager",fetchPriority:"high",className:"h-full w-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-hero opacity-95"}),e.jsx("div",{className:"absolute inset-0 bg-grid opacity-[0.12]"}),e.jsx("div",{className:"absolute inset-0 grain opacity-30"}),e.jsx("div",{className:"pointer-events-none absolute left-1/2 top-1/2 size-[800px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-accent/15 blur-[120px]","aria-hidden":!0}),e.jsx("div",{className:"pointer-events-none absolute -right-24 -bottom-24 size-[420px] rounded-full bg-[oklch(0.55_0.17_258/0.25)] blur-3xl animate-orb [animation-delay:-6s]","aria-hidden":!0})]}),e.jsxs("div",{className:"relative mx-auto flex min-h-[520px] max-w-7xl flex-col justify-center gap-6 px-4 pb-12 pt-10 sm:min-h-[calc(90svh-65px)] sm:gap-10 sm:py-14 lg:min-h-[calc(100svh-65px)]",children:[e.jsxs("div",{className:"mx-auto flex w-full max-w-4xl flex-col items-center justify-center text-center text-primary-foreground reveal-on-load",children:[e.jsxs("span",{className:"inline-flex max-w-full items-center gap-2 rounded-full border border-accent/30 bg-accent/10 px-3 py-1.5 text-[10px] font-bold uppercase tracking-[0.18em] text-accent backdrop-blur sm:text-xs sm:tracking-[0.22em]",children:[e.jsxs("span",{className:"relative flex size-2",children:[e.jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-accent/75 opacity-75"}),e.jsx("span",{className:"relative inline-flex size-2 rounded-full bg-accent"})]}),e.jsx("span",{className:"min-w-0",children:"Fleet Advisors for 1 to 20 truck operators"})]}),e.jsxs("h1",{className:"mt-6 font-display text-[2.25rem] font-extrabold leading-[1.04] tracking-tight text-balance min-[390px]:text-[2.75rem] sm:text-5xl md:text-[3.75rem] 2xl:text-[4.5rem]",children:["One $15/mo subscription.",e.jsx("span",{className:"mt-1 block animate-gradient-pan bg-gradient-to-r from-[oklch(0.84_0.08_255)] via-[oklch(0.7_0.14_255)] to-[oklch(0.55_0.17_258)] bg-clip-text text-transparent",children:"Every fleet service unlocked."})]}),e.jsxs("p",{className:"mx-auto mt-5 max-w-2xl text-base text-primary-foreground/80 sm:text-lg md:text-xl",children:["Your ELD HUB membership is the master key. Under one platform. ",e.jsx("span",{className:"font-semibold text-primary-foreground",children:"ELD, RFP Freight, factoring, fuel, capital, drivers and insurance"})," are all included, all at big fleet pricing, all from one login."]}),e.jsxs("div",{className:"mt-8 flex w-full flex-col items-center justify-center gap-3 sm:w-auto
7sm:flex-row",children:[e.jsxs("a",{href:l.registration,className:"group relative inline-flex w-full items-center justify-center gap-2 overflow-hidden rounded-xl bg-accent-gradient px-8 py-4 text-base font-bold text-accent-foreground shadow-lg shadow-accent/30 ease-expo transition hover:scale-[1.03] hover:shadow-accent/50 sm:w-auto",children:["Start 14-day free trial",e.jsx(f,{className:"size-5 transition-transform group-hover:translate-x-1"}),e.jsx("span",{className:"absolute inset-0 animate-shine","aria-hidden":!0})]}),e.jsxs("a",{href:"#calculator",className:"inline-flex w-full items-center justify-center gap-2 rounded-xl border border-white/15 bg-white/[0.06] px-8 py-4 text-base font-semibold text-primary-foreground backdrop-blur-md ease-expo transition hover:border-white/30 hover:bg-white/[0.12] sm:w-auto",children:[e.jsx(me,{className:"size-5 text-accent"}),"Calculate my savings"]})]}),e.jsxs("p",{className:"mt-3 text-xs text-primary-foreground/70",children:[ye," No credit card charged during the trial."]}),e.jsxs("div",{className:"mt-7 flex flex-wrap items-center justify-center gap-x-6 gap-y-2 text-xs text-primary-foreground/75 sm:text-[13px]",children:[e.jsx(Y,{children:"One subscription · every service"}),e.jsx(Y,{children:"No contracts · cancel anytime"}),e.jsx("span",{className:"hidden h-4 w-px bg-white/15 sm:inline-block","aria-hidden":!0}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx("span",{className:"font-bold text-[oklch(0.85_0.15_85)]",children:"â
4.9/5"}),e.jsx("span",{className:"text-primary-foreground/60",children:"from 127 reviews · 1,200+ fleets"})]})]})]}),e.jsx("div",{className:"relative hidden md:block",children:e.jsxs("div",{className:"mx-auto flex max-w-none flex-nowrap items-center justify-center gap-1.5 overflow-x-auto",children:[e.jsx("span",{className:"shrink-0 text-[10px] font-bold uppercase tracking-[0.22em] text-primary-foreground/60",children:"Included:"}),I.map(t=>e.jsxs("a",{href:`#${t.id}`,className:"group inline-flex shrink-0 items-center gap-1.5 rounded-full border border-white/12 bg-white/[0.06] px-2.5 py-1 text-[11px] font-semibold text-primary-foreground/95 backdrop-blur-sm ease-expo transition hover:-translate-y-0.5 hover:border-accent/50 hover:bg-white/[0.12]",children:[e.jsx("span",{className:`grid size-4 place-items-center rounded-full bg-gradient-to-br ${t.color} text-primary-foreground shadow-sm shadow-black/30`,children:e.jsx(t.Icon,{className:"size-2.5"})}),e.jsx("span",{className:"whitespace-nowrap",children:t.title})]},t.id))]})}),e.jsxs("a",{href:"#calculator",className:"mx-auto inline-flex items-center gap-2 text-[10px] font-bold uppercase tracking-[0.22em] text-accent/80 transition hover:text-accent","aria-label":"Scroll to savings calculator",children:["Scroll for your savings",e.jsx(he,{className:"size-3.5 animate-bounce"})]})]})]})}function dt(){return e.jsxs("section",{id:"calculator",className:"relative flex min-h-[100svh] items-center overflow-hidden border-y border-border bg-secondary/40 py-6 sm:py-8",children:[e.jsxs("div",{className:"pointer-events-none absolute inset-0",children:[e.jsx("div",{className:"absolute inset-0 bg-grid opacity-[0.08]"}),e.jsx("div",{className:"absolute -left-24 top-10 size-72 rounded-full bg-accent/20 blur-3xl animate-orb","aria-hidden":!0}),e.jsx("div",{className:"absolute -right-20 bottom-0 size-80 rounded-full bg-[oklch(0.55_0.17_258/0.25)] blur-3xl animate-orb [animation-delay:-6s]","aria-hidden":!0})]}),e.jsxs("div",{className:"relative mx-auto flex w-full max-w-5xl flex-col items-center px-4",children:[e.jsxs("div",{className:"mb-4 text-center reveal-on-load sm:mb-5",children:[e.jsx(N,{children:"Fleet Savings Calculator"}),e.jsxs("h2",{className:"mt-2 font-display text-2xl font-bold tracking-tight text-balance sm:text-3xl md:text-4xl",children:["See what your fleet"," ",e.jsx("span",{className:"animate-gradient-pan bg-gradient-to-r from-[oklch(0.55_0.17_258)] via-[oklch(0.45_0.18_255)] to-[oklch(0.65_0.17_150)] bg-clip-text text-transparent",children:"actually saves."})]})]}),e.jsxs("div",{className:"relative w-full",children:[e.jsx("div",{className:"absolute -inset-4 rounded-[2rem] bg-accent/15 blur-3xl","aria-hidden":!0}),e.jsx("div",{className:"relative",children:e.jsx(at,{})})]})]})]})}function Y({children:t}){return e.jsxs("span",{className:"inline-flex items-center gap-2",children:[e.jsx(xe,{className:"size-4 text-accent"}),t]})}
7function xt(){const t=[{Icon:ue,label:"FMCSA registered"},{Icon:Z,label:"Built for US small fleets"},{Icon:A,label:"$0 reserves on factoring"},{Icon:D,label:"AtoB partner · 4,200+ stations"},{Icon:z,label:"75+ capital partners"},{Icon:X,label:"US phone + 24/7 AI"},{Icon:_,label:"Insurance for small carriers"},{Icon:v,label:"4.4 star on Google Play"}],s=[...t,...t];return e.jsx("div",{className:"overflow-hidden border-y border-border bg-primary py-4 text-primary-foreground",children:e.jsx("div",{className:"flex animate-marquee gap-10 whitespace-nowrap text-sm font-semibold",children:s.map((a,n)=>e.jsxs("span",{className:"flex items-center gap-3",children:[e.jsx(a.Icon,{className:"size-4 text-accent"}),e.jsx("span",{className:"text-primary-foreground/90",children:a.label}),e.jsx("span",{className:"text-accent/60",children:"â"})]},n))})})}function mt(){return e.jsx("section",{className:"relative border-y border-border bg-secondary/30",children:e.jsx("div",{className:"mx-auto max-w-7xl px-4 py-10 md:py-14",children:e.jsxs("div",{className:"relative overflow-hidden rounded-3xl border border-border bg-card p-7 shadow-elegant md:p-10",children:[e.jsx("div",{className:"pointer-events-none absolute -right-10 -top-10 size-48 rounded-full bg-accent/15 blur-3xl","aria-hidden":!0}),e.jsxs("div",{className:"relative flex flex-col items-start gap-6 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{className:"max-w-2xl",children:[e.jsxs("div",{className:"inline-flex items-center gap-1.5 rounded-full bg-accent/15 px-3 py-1 text-xs font-bold uppercase tracking-[0.2em] text-accent",children:[e.jsx(oe,{className:"size-3"})," 20+ truck operations"]}),e.jsx("h2",{className:"mt-3 font-display text-2xl font-bold tracking-tight text-foreground md:text-3xl",children:"Running a bigger fleet? Get a custom review."}),e.jsx("p",{className:"mt-2 text-muted-foreground",children:"Fleet Advisors can walk through custom pricing, onboarding, and integrations for 20+ truck operations. Book a quick call and we will build a plan that fits."})]}),e.jsx("div",{className:"flex w-full shrink-0 flex-col gap-3 sm:flex-row md:w-auto",children:e.jsxs("a",{href:l.bookACall,target:"_blank",rel:"noopener noreferrer",className:"group inline-flex items-center justify-center gap-2 rounded-xl bg-accent-gradient px-6 py-3.5 font-bold text-accent-foreground shadow-accent ease-expo transition hover:scale-105",children:["Book a call",e.jsx(f,{className:"size-4 transition-transform group-hover:translate-x-0.5"})]})})]})]})})})}const ne=[{name:"OTR Solutions",alt:"OTR Solutions freight factoring partner",src:Oe.url,href:"https://partners.efsllc.com/eldhub/",logoClass:"max-h-[20px] max-w-[105px]"},{name:"WEX",alt:"WEX fuel card partner",src:$e.url,href:"https://partners.efsllc.com/eldhub/",logoClass:"max-h-[20px] max-w-[105px]"},{name:"Trucker Tools · A DAT Product",alt:"Trucker Tools load tracking partner",src:Te.url,href:"https://www.truckertools.com/",logoClass:"max-h-[20px] max-w-[105px]"},{name:"Highway",alt:"Highway carrier identity partner",src:_e.url,href:"https://highway.com/",logoClass:"max-h-[20px] max-w-[105px] scale-[1.12]"},{name:"Rock Financial",alt:"Rock Financial business capital partner",src:Ze.url,href:"https://go.mypartner.io/business-financing/?ref=001Qk00000bypdRIAQ",logoClass:"max-h-[20px] max-w-[105px]"},{name:"SmartTruck",alt:"SmartTruck driver marketplace partner",src:Ke.url,href:"https://smarttruck.app/home",logoClass:"max-h-[20px] max-w-[105px] scale-[1.12]"},{name:"AtoB",alt:"AtoB fuel savings card partner",src:Ge.url,href:"https://go.atob.com/eldhub",logoClass:"max-h-[20px] max-w-[105px]"},{name:"RNDHUB",alt:"RNDHUB insurance and compliance partner",src:Xe.url,href:"https://rndhub.io",logoClass:"max-h-[20px] max-w-[105px]"}];function ut({p:t}){return e.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer sponsored","aria-label":`Visit ${t.name}`,title:t.name,className:"group inline-flex h-8 w-[110px] shrink-0 items-center justify-center overflow-visible rounded-sm transition-transform duration-200 hover:-translate-y-0.5 focus:outline-none focus-visible:ring-2 focus-visible:ring-accent md:h-10 md:w-[140px]",children:e.jsx("img",{src:t.src,alt:t.alt,loading:"lazy",className:`h-auto w-auto object-contain opacity-100 ${t.logoClass}`})})}function ht(){return e.jsx("section",{"aria-label":"Partner network",className:"relative border-y border-border bg-gradient-to-b from-background to-muted/40",children:e.jsxs("div",{className:"mx-auto flex max-w-7xl flex-col gap-3 px-4 py-5 lg:flex-row lg:items-center lg:gap-8",children:[e.jsxs("div",{className:"flex shrink-0 items-center gap-2.5 lg:flex-col lg:items-start lg:gap-0.5 lg:border-r lg:border-border/70 lg:pr-8",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(_,{className:"size-3.5 text-accent"}),e.jsx("span",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-muted-foreground",children:"Trusted by"})]}),e.jsx("span",{className:"hidden text-xs font-medium text-foreground
7/70 lg:block",children:"Industry-leading fleet partners"})]}),e.jsx("div",{className:"relative min-w-0 flex-1 overflow-hidden [mask-image:linear-gradient(to_right,transparent,black_3%,black_97%,transparent)]",children:e.jsx("div",{className:"flex w-max animate-marquee items-center gap-4 md:gap-6 hover:[animation-play-state:paused]",children:[...ne,...ne].map((t,s)=>e.jsx(ut,{p:t},`${t.name}-${s}`))})})]})})}function pt(){const t=nt(I.map(s=>s.id),180);return e.jsx("div",{className:"sticky top-[65px] z-30 border-b border-border bg-background/92 backdrop-blur-md",children:e.jsxs("div",{className:"mx-auto flex max-w-7xl items-center gap-2 overflow-x-auto px-4 py-3 text-sm [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:[e.jsx("span",{className:"shrink-0 text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Jump to"}),I.map(s=>{const a=t===s.id;return e.jsxs("a",{href:`#${s.id}`,className:`group inline-flex shrink-0 items-center gap-1.5 rounded-full border px-3 py-1.5 font-semibold ease-expo transition ${a?"border-accent bg-accent text-accent-foreground shadow-accent":"border-border bg-card text-primary hover:border-accent hover:bg-accent/10"}`,children:[e.jsx(s.Icon,{className:`size-3.5 ${a?"":"text-accent"}`}),s.tag]},s.id)}),e.jsxs("a",{href:"#calculator",className:"ml-auto hidden shrink-0 items-center gap-1.5 rounded-full bg-accent-gradient px-4 py-1.5 font-bold text-accent-foreground shadow-accent ease-expo transition hover:scale-105 md:inline-flex",children:[e.jsx(me,{className:"size-3.5"}),"Savings Calculator"]})]})})}function gt(){return e.jsx("section",{className:"border-b border-border bg-secondary/40",children:e.jsx("div",{className:"mx-auto grid max-w-7xl grid-cols-2 gap-px overflow-hidden sm:grid-cols-4",children:lt.map(t=>e.jsxs("div",{className:"group relative overflow-hidden bg-background p-5 text-center md:p-8",children:[e.jsx("div",{className:"pointer-events-none absolute -inset-x-4 -top-12 h-24 bg-glow opacity-0 blur-2xl transition-opacity duration-500 group-hover:opacity-100","aria-hidden":!0}),e.jsx(t.Icon,{className:"relative mx-auto mb-2 size-5 text-accent transition group-hover:scale-110"}),e.jsx("div",{className:"relative font-display text-3xl font-bold text-primary md:text-5xl",children:t.value}),e.jsx("div",{className:"relative mt-1 text-xs text-muted-foreground md:text-sm",children:t.label})]},t.label))})})}function ft(){return e.jsxs("section",{id:"ecosystem",className:"relative mx-auto max-w-7xl px-4 py-20 md:py-28",children:[e.jsxs("div",{className:"mx-auto max-w-3xl text-center",children:[e.jsx(N,{children:"One Subscription · Every Service"}),e.jsxs("h2",{className:"mt-4 font-display text-4xl font-bold tracking-tight md:text-6xl",children:["$15/mo unlocks ",e.jsx("span",{className:"text-muted-foreground",children:"the entire stack."})]}),e.jsx("p",{className:"mt-4 text-lg text-muted-foreground",children:"Your ELD HUB membership is the master key. No per service signup, no extra membership fees. ELD, factoring, fuel, capital, drivers and insurance are all included the moment you join. RFP Freight unlimited is now included too. Under one platform."})]}),e.jsxs("div",{className:"mt-14 grid grid-cols-1 gap-4 md:grid-cols-6 md:grid-rows-[auto_auto] lg:gap-5",children:[e.jsxs("div",{className:"relative overflow-hidden rounded-3xl bg-hero p-8 text-primary-foreground shadow-elegant md:col-span-3 md:row-span-2 md:p-10",children:[e.jsx("div",{className:"absolute inset-0 bg-grid opacity-25"}),e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"inline-flex items-center gap-1.5 rounded-full bg-white/10 px-3 py-1 text-xs font-bold uppercase tracking-[0.2em] text-accent",children:[e.jsx(v,{className:"size-3"})," All-in-one membership"]}),e.jsx("h3",{className:"mt-4 font-display text-3xl font-bold leading-tight md:text-5xl",children:"One login. One bill. Every big fleet deal."}),e.jsx("p",{className:"mt-4 text-primary-foreground/80",children:"$15 per truck per month is your all access pass. Activate any service from your dashboard. You only pay normal usage rates. For example, 1% to 2% on the invoices you factor."}),e.jsx("div",{className:"mt-8 grid grid-cols-2 gap-2.5",children:I.map(t=>e.jsxs("a",{href:`#${t.id}`,className:"group flex items-center gap-2.5 rounded-xl border border-white/10 bg-white/5 px-3 py-2.5 text-sm font-semibold backdrop-blur transition hover:border-accent hover:bg-white/10",children:[e.jsx(t.Icon,{className:"size-4 text-accent"}),e.jsx("span",{className:"flex-1",children:t.tag}
7),e.jsx(Q,{className:"size-3.5 text-primary-foreground/60 transition group-hover:text-accent"})]},t.id))}),e.jsxs("a",{href:"#services",className:"group mt-8 inline-flex items-center gap-2 rounded-xl bg-accent-gradient px-5 py-3 text-sm font-bold text-accent-foreground shadow-accent ease-expo transition hover:scale-105",children:["Explore the ecosystem",e.jsx(f,{className:"size-4 transition-transform group-hover:translate-x-0.5"})]})]})]}),e.jsx(G,{tag:"One subscription",title:"Master key membership",desc:"$15 per truck per month unlocks ELD, factoring, fuel, capital, drivers and insurance. RFP Freight unlimited now included. No per service signup.",Icon:pe,className:"md:col-span-3"}),e.jsx(G,{tag:"Saves money",title:"Stack every saving",desc:"Use more services, keep more money. All discounts live under one account.",Icon:Re,className:"md:col-span-2",accent:!0}),e.jsx(G,{tag:"Saves stress",title:"One dashboard, one bill",desc:"Activate any service in a click. Our AI advisor routes you to the right specialist 24/7.",Icon:X,className:"md:col-span-1"})]})]})}function N({children:t}){return e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-accent/15 px-3 py-1 text-xs font-bold uppercase tracking-[0.2em] text-primary",children:[e.jsx("span",{className:"size-1.5 rounded-full bg-accent"}),t]})}function G({tag:t,title:s,desc:a,Icon:n,className:o="",accent:m=!1}){return e.jsxs("div",{className:`relative overflow-hidden rounded-3xl border border-border p-7 shadow-card-soft ease-expo transition hover:-translate-y-1 ${m?"bg-accent-gradient text-accent-foreground":"bg-card"} ${o}`,children:[e.jsx("div",{className:`grid size-11 place-items-center rounded-xl ${m?"bg-white/20 text-accent-foreground":"bg-secondary text-primary"}`,children:e.jsx(n,{className:"size-5"})}),e.jsx("div",{className:`mt-4 text-xs font-bold uppercase tracking-[0.18em] ${m?"text-accent-foreground/85":"text-muted-foreground"}`,children:t}),e.jsx("h3",{className:`mt-1 text-xl font-bold ${m?"text-accent-foreground":"text-foreground"}`,children:s}),e.jsx("p",{className:`mt-2 text-sm ${m?"text-accent-foreground/90":"text-muted-foreground"}`,children:a})]})}function bt(){return e.jsx("section",{id:"services",className:"relative bg-secondary/30 py-20 md:py-28",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4",children:[e.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[e.jsx(N,{children:"Services · All Included"}),e.jsxs("h2",{className:"mt-4 font-display text-4xl font-bold tracking-tight md:text-5xl",children:["One subscription. ",e.jsx("span",{className:"text-muted-foreground",children:"Every service unlocked."})]}),e.jsx("p",{className:"mt-3 text-muted-foreground",children:"Your $15 per truck per month ELD HUB membership activates each service below. No extra signup, no extra membership fee."})]}),e.jsx("div",{className:"mt-14 grid gap-5 md:grid-cols-2 lg:grid-cols-3",children:I.map(t=>e.jsxs("a",{id:t.id,href:t.href,target:"_blank",rel:"noopener noreferrer",className:"group relative flex scroll-mt-32 flex-col overflow-hidden rounded-3xl border border-border bg-card p-7 shadow-card-soft ease-expo transition hover:-translate-y-2 hover:border-accent hover:shadow-elegant",children:[e.jsx("div",{className:`absolute inset-x-0 top-0 h-1 bg-gradient-to-r ${t.color}`}),e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("div",{className:`grid size-14 place-items-center rounded-2xl bg-gradient-to-br ${t.color} text-primary-foreground shadow-elegant`,children:e.jsx(t.Icon,{className:"size-6"})}),e.jsx("span",{className:"grid size-10 place-items-center rounded-full bg-secondary text-primary transition group-hover:rotate-45 group-hover:bg-accent group-hover:text-accent-foreground",children:e.jsx(Q,{className:"size-4"})})]}),e.jsx("span",{className:"mt-5 text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:t.tag}),e.jsx("h3",{className:"mt-1 font-display text-2xl font-bold leading-tight text-foreground",children:t.title}),e.jsx("p",{className:"mt-1 text-sm font-semibold text-primary/80",children:t.headline}),e.jsx("p",{className:"mt-3 flex-1 text-sm text-muted-foreground",children:t.desc}),e.jsxs("div",{className:"mt-5 flex items-center gap-2 rounded-xl border border-accent/30 bg-accent/10 px-3 py-2.5 text-sm font-semibold text-primary",children:[e.jsx(v,{className:"size-4 text-accent"})," ",t.bullet]}),e.jsxs("span",{className:"mt-5 inline-flex items-center justify-center gap-2 rounded-xl bg-primary px-4 py-3.5 text-sm font-bold text-primary-foreground ease-expo transition group-hover:bg-accent-gradient group-hover:text-accent-foreground",children:[t.cta,e.jsx(f,{className:"size-4 transition-transform group-hover:translate-x-0.5"})]})]},t.id))})]})})}function vt(){const t=[{label:"ELD price",solo:"$35 to $80/mo",hub:"$15/mo flat"},{label:"Freight rates",solo:"Guesswork on load boards",hub:"RFP Freight unlimited included"},{label:"Factoring rate",solo:"3% to 5% + reserves",hub:"1% to 2%"},{label:"Fuel discount",solo:"$0.10 to $0.30/gal",hub:"Up to $2/gal"}
7,{label:"Capital access",solo:"Bank runaround",hub:"75+ partners, 1 application"},{label:"Driver recruiting",solo:"Endless ghosting",hub:"Pre vetted CDL leads"},{label:"Support",solo:"Email tickets",hub:"AI 24/7 + US humans (English)"},{label:"Contracts",solo:"12 to 36 months",hub:"Month to month"}];return e.jsxs("section",{className:"mx-auto max-w-7xl px-4 py-20 md:py-28",children:[e.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[e.jsx(N,{children:"Side by side"}),e.jsxs("h2",{className:"mt-4 font-display text-4xl font-bold tracking-tight md:text-5xl",children:["The old way vs. ",e.jsx("span",{className:"text-accent",children:"the ELD HUB way."})]})]}),e.jsx("div",{className:"mt-12 overflow-hidden rounded-3xl border border-border shadow-elegant",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("div",{className:"grid min-w-[640px] grid-cols-3 bg-card text-sm",children:[e.jsx("div",{className:"border-b border-border bg-secondary p-4 text-[10px] font-bold uppercase tracking-[0.18em] text-muted-foreground sm:p-5 sm:text-xs",children:"Category"}),e.jsx("div",{className:"border-b border-l border-border bg-secondary p-4 text-[10px] font-bold uppercase tracking-[0.18em] text-muted-foreground sm:p-5 sm:text-xs",children:"Going solo"}),e.jsxs("div",{className:"flex items-center gap-1.5 border-b border-l border-border bg-hero p-4 text-[10px] font-bold uppercase tracking-[0.18em] text-accent sm:p-5 sm:text-xs",children:[e.jsx(ue,{className:"size-3.5"})," ELD HUB Ecosystem"]}),t.map((s,a)=>e.jsxs("div",{className:"contents",children:[e.jsx("div",{className:`p-4 font-semibold text-foreground sm:p-5 ${a!==t.length-1?"border-b border-border":""}`,children:s.label}),e.jsx("div",{className:`border-l border-border p-4 text-muted-foreground line-through decoration-destructive/60 sm:p-5 ${a!==t.length-1?"border-b":""}`,children:s.solo}),e.jsxs("div",{className:`flex items-center gap-2 border-l border-border bg-primary/[0.03] p-4 font-bold text-primary sm:p-5 ${a!==t.length-1?"border-b":""}`,children:[e.jsx(xe,{className:"size-4 shrink-0 text-accent"})," ",e.jsx("span",{children:s.hub})]})]},s.label))]})})})]})}function jt(){const t=[{n:"01",title:"Sign up",desc:"5 minutes. No contract. Starts with a 14-day free trial.",cta:"Register",href:l.registration,Icon:we},{n:"02",title:"Pick your services",desc:"Activate ELD, factoring, fuel, capital. Get what you need, when you need it.",cta:"See services",href:"#services",Icon:pe},{n:"03",title:"Start saving",desc:"Big fleet pricing kicks in immediately. Cancel anytime, no penalty.",cta:"Run the numbers",href:"#calculator",Icon:De}];return e.jsx("section",{id:"how",className:"bg-secondary/40 py-20 md:py-28",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4",children:[e.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[e.jsx(N,{children:"How it works"}),e.jsx("h2",{className:"mt-4 font-display text-4xl font-bold md:text-5xl",children:"From signup to savings in 5 minutes."})]}),e.jsx("div",{className:"mt-12 grid gap-5 md:grid-cols-3",children:t.map(s=>e.jsxs("div",{className:"group relative overflow-hidden rounded-3xl border border-border bg-card p-8 shadow-card-soft transition hover:-translate-y-1 hover:border-accent",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("div",{className:"font-display text-7xl font-bold text-accent/30",children:s.n}),e.jsx("div",{className:"grid size-12 place-items-center rounded-2xl bg-secondary text-primary transition group-hover:bg-accent-gradient group-hover:text-accent-foreground",children:e.jsx(s.Icon,{className:"size-5"})})]}),e.jsx("h3",{className:"mt-2 text-2xl font-bold text-foreground",children:s.title}),e.jsx("p",{className:"mt-2 text-muted-foreground",children:s.desc}),e.jsxs("a",{href:s.href,target:s.href.startsWith("http")?"_blank":void 0,rel:"noopener noreferrer",className:"mt-5 inline-flex items-center gap-1.5 text-sm font-bold text-primary hover:text-accent",children:[s.cta," ",e.jsx(f,{className:"size-4"})]})]},s.n))}),e.jsxs("p",{className:"mt-10 text-center text-muted-foreground",children:["Still comparing providers? Read the"," ",e.jsx(r,{to:"/best-eld-small-fleets",className:"font-semibold text-accent hover:underline",children:"best ELD for small fleets"})," ","â 15 providers compared on monthly price, contract length and hardware cost â or the"," ",e.jsx(r,{to:"/eld-pricing",className:"font-semibold text-accent hover:underline",children:"full ELD Hub price list"}),"."]})]})})}function Nt(){return e.jsxs("section",{className:"mx-auto max-w-7xl px-4 py-20 md:py-28",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsxs("div",{className:"inline-flex items-center gap-1.5 rounded-full border border-border bg-secondary px-3 py-1 text-xs font-bold uppercase tracking-[0.2em] text-primary",children:[e.jsx(le,{className:"size-3 text-accent"})," Real-time freight market"]}),e.jsxs("h2",{className:"mt-4 font-display text-3xl font-bold text-foreground md:text-5xl",children:["Stop chasing bad loads. ",e.jsx("span",{className:"text-accent",children:"Know what every lane pays."})]}),e.jsx("p",{className:"mx-auto mt-3 max-w-2xl text-muted-foreground",children:"Get an instant FTL spot market rate for any US lane and equipment type. RFP Freight unlimited is now included with every ELD HUB subscription."})]}),e.jsx(rt,{})]})}
7function yt(){const t=[{quote:"Using PT-30 for a while now with ELD HUB. Stable connection, accurate logs, and no random disconnects like before. Glad I didn't have to buy new hardware.",name:"Verified driver",role:"Google Play review"},{quote:"Does exactly what it promises. Logs are accurate and the app runs without glitches.",name:"Verified driver",role:"App Store review"},{quote:"I've tried several ELDs over the years and this one just works. No learning curve, my drivers picked it up fast.",name:"Verified fleet owner",role:"Google Play review"},{quote:"Logs update fast and the app never freezes. Perfect for my small operation.",name:"Verified driver",role:"App Store review"},{quote:"Setup was quick and our drivers had no issues. DOT inspections are smoother since switching.",name:"Verified fleet owner",role:"App Store review"},{quote:"Good system and fair pricing. Would like to see a few more reporting options, but the compliance side is solid.",name:"Verified user",role:"Google Play review"}];return e.jsx("section",{className:"bg-secondary/40 py-20 md:py-28",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4",children:[e.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[e.jsx(N,{children:"Trusted"}),e.jsxs("h2",{className:"mt-4 font-display text-4xl font-bold tracking-tight md:text-5xl",children:["Small fleets. ",e.jsx("span",{className:"text-accent",children:"Real results."})]}),e.jsxs("div",{className:"mt-5 flex flex-wrap items-center justify-center gap-3",children:[e.jsxs("a",{href:"https://play.google.com/store/apps/details?id=com.eldhub.logbook",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full border border-border bg-card px-4 py-2 text-sm font-semibold text-foreground shadow-card-soft transition hover:border-accent",children:[e.jsx("span",{className:"text-accent",children:"â
â
â
â
â
"}),e.jsx("span",{children:"4.4 on Google Play · 36 verified reviews"}),e.jsx(Q,{className:"size-4 text-muted-foreground"})]}),e.jsxs("a",{href:"https://apps.apple.com/us/app/eld-hub/id6737604180",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full border border-border bg-card px-4 py-2 text-sm font-semibold text-foreground shadow-card-soft transition hover:border-accent",children:[e.jsx("span",{className:"text-accent",children:"â
â
â
â
â
"}),e.jsx("span",{children:"4.8 on the App Store · 9 verified ratings"}),e.jsx(Q,{className:"size-4 text-muted-foreground"})]})]})]}),e.jsx("div",{className:"mt-12 grid gap-6 md:grid-cols-3",children:t.map(s=>e.jsxs("figure",{className:"rounded-3xl border border-border bg-card p-7 shadow-card-soft transition hover:-translate-y-1 hover:border-accent",children:[e.jsx("div",{className:"text-accent",children:"â
â
â
â
â
"}),e.jsxs("blockquote",{className:"mt-4 font-display text-lg leading-snug text-foreground",children:['"',s.quote,'"']}),e.jsxs("figcaption",{className:"mt-5 flex items-center gap-3 text-sm",children:[e.jsx("div",{className:"grid size-9 place-items-center rounded-full bg-secondary text-primary",children:e.jsx(de,{className:"size-4"})}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-foreground",children:s.name}),e.jsx("div",{className:"text-muted-foreground",children:s.role})]})]})]},s.name))})]})})}function wt(){const t=ke;return e.jsxs("section",{id:"faq",className:"mx-auto max-w-4xl px-4 py-20 md:py-28",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(N,{children:"FAQ"}),e.jsx("h2",{className:"mt-4 font-display text-4xl font-bold md:text-5xl",children:"Owner-operator questions, answered."}),e.jsx("p",{className:"mt-3 text-muted-foreground",children:"The 14 most-asked questions from small fleet owners."})]}),e.jsx("div",{className:"mt-10 space-y-3",children:t.map(s=>e.jsxs("details",{className:"group rounded-2xl border border-border bg-card p-5 shadow-card-soft transition open:border-accent/50 open:shadow-elegant",children:[e.jsxs("summary",{className:"flex cursor-pointer list-none items-center justify-between gap-4 text-base font-bold text-foreground",children:[s.q,e.jsx("span",{className:"grid size-9 shrink-0 place-items-center rounded-full bg-secondary text-primary transition group-open:bg-accent-gradient group-open:text-accent-foreground",children:e.jsx(he,{className:"size-4 transition group-open:rotate-180"})})]}),e.jsx("p",{className:"mt-3 text-muted-foreground",children:s.a})]},s.q))}),e.jsxs("div",{className:"mt-10 rounded-2xl border border-border bg-card p-6 text-center shadow-card-soft",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:"Still have questions?"}),e.jsxs("div",{className:"mt-3 flex flex-wrap justify-center gap-3",children:[e.jsxs("a",{href:l.phone,className:"inline-flex items-center gap-2 rounded-xl bg-primary px-5 py-3 text-sm font-bold text-primary-foreground transition hover:bg-primary/90",children:[e.jsx(B,{className:"size-4"})," Call 302-404-1177"]}),e.jsxs(r,{to:"/contact",className:"inline-flex items-center gap-2 rounded-xl border border-border bg-background px-5 py-3 text-sm font-bold text-primary transition hover:border-accent",children:[e.jsx(W,{className:"size-4"})," Message us"]})]})]})]})}function kt(){return e.jsx("section",{className:"mx-auto max-w-7xl px-4 py-20 md:py-28",children:e.jsxs("div",{className:"relative overflow-hidden rounded-3xl bg-hero p-10 text-primary-foreground shadow-elegant md:p-16",children:[e.jsx("div",{className:"absolute inset-0 bg-grid opacity-25"}),e.jsx("div",{className:"absolute inset-0 grain opacity-30"}),e.jsxs("div",{className:"relative grid items-center gap-8 md:grid-cols-[1.5fr_1fr]",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"inline-flex items-center gap-1.5 rounded-full bg-white/10 px-3 py-1 text-xs font-bold uppercase tracking-[0.2em] text-accent",children:[e.jsx(v,{className:"size-3"})," Join the revolution"]}),e.jsxs("h2",{className:"mt-4 font-display text-4xl font-bold leading-tight md:text-6xl",children:["One subscription. ",e.jsx("span",{className:"text-accent",children:"Every service unlocked."})]}
7),e.jsxs("p",{className:"mt-4 max-w-xl text-primary-foreground/85",children:["$15 per truck per month is your master key to RFP Freight, factoring, fuel, capital, drivers and insurance. Under one platform. Start free in 5 minutes. Talk to a real person at"," ",e.jsx("a",{className:"font-semibold text-accent underline",href:l.phone,children:"302-404-1177"}),"."]}),e.jsxs("div",{className:"mt-7 flex flex-wrap gap-3",children:[e.jsxs("a",{href:l.registration,className:"group inline-flex items-center gap-2 rounded-xl bg-accent-gradient px-6 py-4 font-bold text-accent-foreground shadow-accent ease-expo transition hover:scale-105",children:["Start 14-day free trial",e.jsx(f,{className:"size-4 transition-transform group-hover:translate-x-0.5"})]}),e.jsxs("a",{href:l.phone,className:"inline-flex items-center gap-2 rounded-xl border border-white/30 bg-white/10 px-6 py-4 font-semibold backdrop-blur ease-expo transition hover:bg-white/20",children:[e.jsx(X,{className:"size-4"})," Talk to a human"]})]})]}),e.jsx("ul",{className:"space-y-3 rounded-2xl border border-white/15 bg-white/5 p-6 text-sm backdrop-blur",children:["$15 per truck per month. Your all access membership","RFP Freight · 20 free rate quotes daily. Included","Factoring at 1% to 2%, paid in 24 hours. Included","Up to $2/gal fuel savings. Included","Capital from 75+ providers. Included","Pre vetted CDL drivers. Included","Insurance, AI 24/7 + US English support. Included"].map(t=>e.jsx("li",{className:"flex items-center gap-3",children:e.jsx(Y,{children:t})},t))})]})]})})}function St(){return e.jsx("section",{className:"bg-secondary/40 py-20 md:py-24",children:e.jsxs("div",{className:"mx-auto grid max-w-7xl items-center gap-10 px-4 md:grid-cols-[1.3fr_1fr]",children:[e.jsxs("div",{children:[e.jsx(N,{children:"Mobile app"}),e.jsxs("h2",{className:"mt-4 font-display text-4xl font-bold tracking-tight md:text-5xl",children:["Run compliance ",e.jsx("span",{className:"text-accent",children:"from your pocket."})]}),e.jsx("p",{className:"mt-4 max-w-xl text-muted-foreground",children:"The ELD HUB driver and fleet app puts HOS, documents and dispatch in one place. Rated 4.4 on Google Play by verified owner operators."}),e.jsx(ie,{size:"lg",className:"mt-7 flex flex-wrap items-center gap-4"})]}),e.jsxs("div",{className:"relative overflow-hidden rounded-3xl border border-border bg-card p-8 shadow-card-soft",children:[e.jsx("div",{className:"absolute inset-0 bg-grid opacity-20"}),e.jsxs("div",{className:"relative flex flex-col items-center gap-4 text-center",children:[e.jsxs("div",{className:"flex h-24 w-fit items-center",children:[e.jsx("img",{src:V.url,alt:"ELD HUB",className:"h-20 w-auto dark:hidden"}),e.jsx("img",{src:K.url,alt:"ELD HUB",className:"hidden h-20 w-auto dark:inline"})]}),e.jsx("div",{className:"text-accent",children:"â
â
â
â
â
"}),e.jsx("div",{className:"text-sm font-semibold text-foreground",children:"4.4 on Google Play"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"36 verified reviews · Free to download"})]})]})]})})}function Et(){return e.jsxs("footer",{className:"border-t border-border bg-background pb-10",children:[e.jsxs("div",{className:"mx-auto grid max-w-7xl gap-10 px-4 py-12 md:grid-cols-[1.2fr_2fr]",children:[e.jsxs("div",{children:[e.jsxs("a",{href:l.site,className:"flex h-24 w-fit items-center","aria-label":"ELD HUB",children:[e.jsx("img",{src:V.url,alt:"ELD HUB",className:"h-24 w-auto dark:hidden"}),e.jsx("img",{src:K.url,alt:"ELD HUB",className:"hidden h-24 w-auto dark:inline"})]}),e.jsx("p",{className:"mt-3 max-w-xs text-sm text-muted-foreground",children:"One platform built for small trucking companies. Big-fleet power, small-fleet price."}),e.jsxs("div",{className:"mt-4 flex flex-col gap-2 text-sm",children:[e.jsxs("a",{href:l.phone,className:"inline-flex items-center gap-2 font-semibold text-primary hover:text-accent",children:[e.jsx(B,{className:"size-4 text-accent"})," 302-404-1177"]}),e.jsxs("a",{href:l.email,className:"inline-flex items-center gap-2 text-muted-foreground hover:text-foreground",children:[e.jsx(W,{className:"size-4"}),e.jsx("span",{children:"[email protected]"})]}),e.jsxs("span",{className:"inline-flex items-center gap-2 text-muted-foreground",children:[e.jsx(oe,{className:"size-4"})," 303 E Main Street, Barrington, IL 60010"]})]}),e.jsx(be,{className:"mt-5 flex flex-wrap gap-3"}),e.jsx(ie,{size:"sm",className:"mt-4 flex flex-wrap items-center gap-3"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-6 text-sm lg:grid-cols-4",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Services"}),e.jsx("ul",{className:"mt-3 space-y-2",children:I.map(t=>e.jsx("li",{children:e.jsxs("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-foreground hover:text-accent",children:[e.jsx(t.Icon,{className:"size-3.5 text-accent"})," ",t.tag]})},t.id))})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Hardware"}),e.jsxs("ul",{className:"mt-3 space-y-2",children:[e.jsx("li",{children:e.jsx(r,{to:"/hardware",className:"text-foreground hover:text-accent",children:"All ELD Hardware"})}),e.jsx("li",{children:e.jsx(r,{to:"/hardware/pt30-eld",className:"text-foreground hover:text-accent",children:"PT-30 ELD Device"})}),e.jsx("li",{children:e.jsx(r,{to:"/hardware/pt30-installation-guide",className:"text-foreground hover:text-accent",children:"PT-30 Installation Guide"})}),e.jsx("li",{children:e.jsx(r,{to:"/hardware/iosix-eld",className:"text-foreground hover:text-accent",children:"IOSiX ELD"})}),e.jsx("li",{children:e.jsx(r,{to:"/hardware/obd2-eld",className:"text-foreground hover:text-accent",children:"OBD-II ELD Overview"})})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Getting Started"}),e.jsxs("ul",{className:"mt-3 space-y-2",children:[e.jsx("li",{children:e.jsx(r,{to:"/new-authority-eld",className:"text-foreground hover:text-accent",children:"New Authority ELD"})}),e.jsx("li",{children:e.jsx(r,{to:"/trucking-startup-cost-calculator",className:"text-foreground hover:text-accent",children:"Startup Cost Calculator"})}),e.jsx("li",{children:e.jsx(r,{to:"/new-carrier-checklist",className:"text-foreground hover:text-accent",children:"90-Day Launch Checklist"})}),e.jsx("li",{children:e.jsx(r,{to:"/eld-mandate-guide",className:"text-foreground hover:text-accent",children:"ELD Mandate Guide"})}),e.jsx("li",{children:e.jsx(r,{to:"/eld-exemptions",className:"text-foreground hover:text-accent",children:"ELD Exemptions"})})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Pricing & Fleet Types"}),e.jsxs("ul",{className:"mt-3 space-y-2",children:[e.jsx("li",{children:e.jsx(r,{to:"/eld-pricing",className:"text-foreground hover:text-accent",children:"Pricing ($15/mo)"})}),e.jsx("li",{children:e.jsx(r,{to:"/owner-operator-eld",className:"text-foreground hover:text-accent",children:"Owner-Operator ELD"})}),e.jsx("li",{children:e.jsx(r,{to:"/best-eld-small-fleets",className:"text-foreground hover:text-accent",children:"Small Fleet ELD"})}),e.jsx("li",{children:e.jsx(r,{to:"/eld-for-1-truck",className:"text-foreground hover:text-accent",children:"ELD for 1 Truck"})}),e.jsx("li",{children:e.jsx(r,{to:"/cheap-eld",className:"text-foreground hover:text-accent",children:"Cheapest ELD"})}),e.jsx("li",{children:e.jsx(r,{to:"/sprinter-van-eld",className:"text-foreground hover:text-accent",children:"Sprinter Van ELD"})}),e.jsx("li",{children:e.jsx(r,{to:"/box-truck-eld",className:"text-foreground hover:text-accent",children:"Box Truck ELD"})}),e.jsx("li",{children:e.jsx(r,{to:"/eld-under-10000-lbs",className:"text-foreground hover:text-accent",children:"ELD Under 10,000 lbs"})})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Compliance"}),e.jsxs("ul",{className:"mt-3 space-y-2",children:[e.jsx("li",{children:e.jsx(r,{to:"/hos-rules",className:"text-foreground hover:text-accent",children:"HOS Rules 2026"})}),e.jsx("li",{children:e.jsx(r,{to:"/dot-inspection-eld",className:"text-foreground hover:text-accent",children:"DOT Inspection Checklist"})}),e.jsx("li",{children:e.jsx(r,{to:"/eld-violations-penalties",className:"text-foreground hover:text-accent",children:"Violations & Penalties"})}),e.jsx("li",{children:e.jsx(r,{to:"/fmcsa-registered-eld-list",className:"text-foreground hover:text-accent",children:"FMCSA ELD List"})}),e.jsx("li",{children:e.jsx(r,{to:"/eld-cab-card",className:"text-foreground hover:text-accent",children:"ELD Cab Card"})})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Highway & Brokers"}),e.jsxs("ul",{className:"mt-3 space-y-2",children:[e.jsx("li",{children:e.jsx(r,{to:"/eld-for-highway",className:"text-foreground hover:text-accent",children:"ELD for Broker Vetting"})}),e.jsx("li",{children:e.jsx(r,{to:"/highway-eld-integration",className:"text-foreground hover:text-accent",children:"Highway ELD Integration"})}),e.jsx("li",{children:e.jsx(r,{to:"/highway-carrier-vetting",className:"text-foreground hover:text-accent",children:"Highway Carrier Vetting"})}),e.jsx("li",{children:e.jsx(r,{to:"/broker-requires-eld",className:"text-foreground hover:text-accent",children:"Broker Requires an ELD"})})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Switch & Compare"}),e.jsxs("ul",{className:"mt-3 space-y-2",children:[e.jsx("li",{children:e.jsx(r,{to:"/switch-eld-provider",className:"text-foreground hover:text-accent",children:"Switch ELD Provider"})}),e.jsx("li",{children:e.jsx(r,{to:"/cancel-eld-contract",className:"text-foreground hover:text-accent",children:"Cancel an ELD Contract"})}),e.jsx("li",{children:e.jsx(r,{to:"/vs",className:"text-foreground hover:text-accent",children:"All ELD Comparisons"})}),e.jsx("li",{children:e.jsx(r,{to:"/vs/motive-alternative",className:"text-foreground hover:text-accent",children:"Motive Alternative"})}),e.jsx("li",{children:e.jsx(r,{to:"/vs/samsara-alternative",className:"text-foreground hover:text-accent",children:"Samsara Alternative"})}),e.jsx("li",{children:e.jsx(r,{to:"/vs/tteld-vs-eld-hub",className:"text-foreground hover:text-accent",children:"TT ELD vs ELD Hub"})}
7),e.jsx("li",{children:e.jsx(r,{to:"/vs/ezlogz-vs-eld-hub",className:"text-foreground hover:text-accent",children:"EZ Logz vs ELD Hub"})}),e.jsx("li",{children:e.jsx(r,{to:"/vs/gpstab-vs-eld-hub",className:"text-foreground hover:text-accent",children:"GPS Tab vs ELD Hub"})}),e.jsx("li",{children:e.jsx(r,{to:"/vs/factoreld-vs-eld-hub",className:"text-foreground hover:text-accent",children:"Factor ELD vs ELD Hub"})})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-muted-foreground",children:"Account & Resources"}),e.jsxs("ul",{className:"mt-3 space-y-2",children:[e.jsx("li",{children:e.jsx(r,{to:"/eld-hub-login",className:"text-foreground hover:text-accent",children:"Login & Registration"})}),e.jsx("li",{children:e.jsx("a",{href:l.registration,className:"text-foreground hover:text-accent",children:"Register"})}),e.jsx("li",{children:e.jsx(r,{to:"/blog",className:"text-foreground hover:text-accent",children:"Blog"})})]})]})]})]}),e.jsx("div",{className:"border-t border-border",children:e.jsxs("div",{className:"mx-auto flex max-w-7xl flex-col items-center justify-between gap-3 px-4 py-6 text-center text-xs text-muted-foreground sm:flex-row",children:[e.jsxs("span",{children:["© ",new Date().getFullYear()," ELD HUB LLC. Built for the small trucking revolution."]}),e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-x-4 gap-y-2",children:[e.jsx(r,{to:"/terms-and-conditions",className:"hover:text-accent transition-colors",children:"Terms"}),e.jsx(r,{to:"/privacy-policy",className:"hover:text-accent transition-colors",children:"Privacy"}),e.jsxs("a",{href:"https://eld.fmcsa.dot.gov/List?eldIdentifier=TEST",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 hover:text-accent transition-colors",children:[e.jsx(_,{className:"size-3.5 text-accent"})," FMCSA-registered ELD provider"]})]})]})})]})}function It(){const[t,s]=i.useState(!1);return Ct(s),e.jsx("div",{className:`pointer-events-none fixed inset-x-0 bottom-0 z-40 px-3 pb-3 transition-all duration-300 sm:hidden ${t?"translate-y-0 opacity-100":"translate-y-full opacity-0"}`,"aria-hidden":!t,children:e.jsxs("a",{href:l.registration,className:"pointer-events-auto flex items-center justify-center gap-2 rounded-2xl bg-accent-gradient px-5 py-3.5 text-sm font-bold text-accent-foreground shadow-2xl shadow-accent/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[e.jsx(v,{className:"size-4"}),"Start 14-day free trial",e.jsx(f,{className:"size-4"})]})})}function Ct(t){i.useEffect(()=>{const s=()=>t(window.scrollY>600);return s(),window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[t])}export{Et as Footer,it as Header,Rt as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.