/* Public website – replicates the original procsupport.com design */
html, body.ps { overflow-x: clip; }
body.ps {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background: #fff; color: #111827; font-size: 16px; line-height: 1.5;
}
.ps a { text-decoration: none; }
.ps-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navbar ---------- */
.ps-nav { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.ps-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 24px; gap: 16px; }
.ps-logo { flex-shrink: 0; display: flex; align-items: center; }
.ps-logo img { height: 40px; width: auto; }
.ps-logo-text { font-size: 24px; font-weight: 800; color: #111827; letter-spacing: -.3px; }
.ps-logo-text b { color: #ea580c; }
.ps-menu { flex: 1; display: flex; justify-content: center; gap: 32px; font-weight: 600; color: #1f2937; }
.ps-dd { position: relative; }
.ps-dd-btn { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; background: none; border: 0;
  font: inherit; font-weight: 600; color: inherit; cursor: pointer; transition: .15s; }
.ps-dd-btn svg { width: 12px; height: 12px; fill: currentColor; margin-top: 1px; transition: transform .3s; }
.ps-dd-btn:hover { color: #ea580c; background: #f9fafb; }
.ps-dd.open > .ps-dd-btn { color: #c2410c; box-shadow: 0 0 0 2px rgba(249,115,22,.4); }
.ps-dd.open > .ps-dd-btn svg:last-child { transform: rotate(180deg); }
.ps-dd-panel { display: none; position: absolute; left: 0; top: 100%; margin-top: 8px; z-index: 60; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 12px; box-shadow: 0 10px 25px -5px rgba(0,0,0,.12); padding: 16px; width: 360px; }
.ps-dd-panel.wide { width: 720px; display: none; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.ps-dd.open > .ps-dd-panel { display: block; }
.ps-dd.open > .ps-dd-panel.wide { display: grid; }
.ps-dd-panel a { display: block; padding: 12px 16px; border-radius: 8px; color: #111827; }
.ps-dd-panel a:hover { background: #fff7ed; }
.ps-dd-panel strong { display: block; font-size: 14px; font-weight: 600; color: #111827; }
.ps-dd-panel small { display: block; font-size: 12px; color: #4b5563; margin-top: 4px; line-height: 1.6; }
.ps-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ps-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border-radius: 9999px;
  font-weight: 600; font-size: 15px; transition: .15s; white-space: nowrap; cursor: pointer; line-height: 1.5; }
.ps-pill-orange { background: #ea580c; color: #fff !important; border: 0; }
.ps-pill-orange:hover { background: #c2410c; }
.ps-pill-outline { background: #fff; border: 1px solid #d1d5db; color: #1f2937 !important; }
.ps-pill-outline:hover { background: #f9fafb; }
.ps-pill-white { border: 1px solid #fff; color: #fff !important; background: transparent; }
.ps-pill-white:hover { background: #fff; color: #000 !important; }
.ps-pill-dark { border: 1px solid #1f2937; color: #1f2937 !important; background: #fff; }
.ps-pill-dark:hover { background: #1f2937; color: #fff !important; }
.ps-pill-red { background: #dc2626; color: #fff !important; }
.ps-pill-red:hover { background: #b91c1c; }
.ps-pill-lg { padding: 12px 24px; font-size: 16px; }
.ps-login .ps-dd-btn { font-weight: 500; padding: 8px 12px; border: 1px solid #e5e7eb; box-shadow: none; }
.ps-login .ps-dd-btn .u { width: 14px; height: 14px; }
.ps-login-panel { left: auto; right: 0; width: 224px; padding: 8px; }
.ps-login-panel a { padding: 8px 12px; font-size: 15px; }
.ps-burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: #1f2937; }

/* ---------- Hero ---------- */
.ps-hero { position: relative; width: 100%; height: 88vh; min-height: 520px; overflow: hidden; background: #1c2431; }
.ps-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ps-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); z-index: 1; }
.ps-hero-inner { position: relative; z-index: 2; max-width: 1152px; margin: 0 auto; height: 100%; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ps-hero h1 { font-size: 60px; font-weight: 800; color: #fff; line-height: 1.25; margin: 0; }
.ps-hero p { margin: 20px 0 0; font-size: 20px; color: rgba(255,255,255,.9); max-width: 672px; }
.ps-hero-btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Sections ---------- */
.ps-sec { padding: 64px 0; }
.ps-sec h2 { font-size: 30px; line-height: 36px; font-weight: 700; text-align: center; margin: 0 0 48px; color: #111827; }
.bg-cream { background: #f7f6f3; }
.bg-slate { background: #1c2431; color: #fff; }
.bg-slate h2, .bg-ink h2 { color: #fff; }
.bg-ink { background: #0f1720; }
.ps-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-6 { grid-template-columns: repeat(6, 1fr); }

.why-card { background: #273142; border-radius: 12px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); display: flex; flex-direction: column; gap: 12px; }
.why-card .n { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #000; font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.why-card h3 { font-size: 18px; font-weight: 600; margin: 0; }
.why-card p { margin: 0; color: rgba(255,255,255,.8); }

.cat-tile { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #e5e7eb; transition: box-shadow .15s; }
.cat-tile:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.cat-tile .img { height: 112px; margin-bottom: 16px; border-radius: 8px; background: #f3f2ef; display: flex; align-items: center; justify-content: center; font-size: 44px; overflow: hidden; }
.cat-tile .img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile h3 { font-size: 18px; font-weight: 600; color: #111827; margin: 0 0 8px; }
.cat-tile .ps-pill { font-size: 14px; padding: 8px 16px; font-weight: 400; }

.prob-card { border-radius: 8px; padding: 24px; color: #fff; font-size: 14px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); display: flex; flex-direction: column; }
.prob-card .ic { font-size: 36px; margin-bottom: 12px; line-height: 1; }
.prob-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.prob-card p { opacity: .9; margin: 0 0 16px; }
.prob-card a { margin-top: auto; align-self: flex-start; background: #fff; color: #000; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 4px; }
.prob-card a:hover { background: #f3f4f6; }

.sol-card { background: #fff; padding: 24px; border-radius: 8px; border: 1px solid #e5e7eb; transition: box-shadow .15s; }
.sol-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.sol-card .ic { font-size: 30px; margin-bottom: 12px; line-height: 1; }
.sol-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.sol-card p { color: #374151; margin: 0; }

.ind-tile { background: #f3f2ef; border-radius: 12px; padding: 24px 16px; text-align: center; border: 1px solid #e5e7eb; font-weight: 600; transition: box-shadow .15s; }
.ind-tile:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }

.quote-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 24px; color: #fff; }
.quote-card p { font-style: italic; margin: 0; }
.quote-card div { margin-top: 16px; font-size: 14px; opacity: .9; }
.center { text-align: center; }

.ps-talk { padding: 56px 0; text-align: center; background: #fff; }
.ps-talk h3 { font-size: 24px; font-weight: 700; color: #111827; margin: 0; }
.ps-talk p { margin: 8px 0 0; color: #374151; }
.ps-talk .btns { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.ps-footer { background: #1f2937; color: #fff; padding: 40px 0; margin-top: 64px; }
.ps-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ps-footer h4 { font-size: 18px; font-weight: 600; margin: 0 0 16px; }
.ps-footer p { font-size: 14px; margin: 0; }
.ps-footer ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.ps-footer li { margin-bottom: 8px; }
.ps-footer ul a { color: #fff; }
.ps-footer ul a:hover { text-decoration: underline; }
.ps-copy { text-align: center; font-size: 14px; margin: 40px 24px 0; border-top: 1px solid #374151; padding-top: 16px; }

/* Other public pages (login/contact) keep their card styles */
.ps main .section { background: #f7f6f3; }
.ps .auth-wrap { min-height: calc(100vh - 64px); }

/* ---------- Scroll reveal (like the original fade-up) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1560px) {
  .ps-menu { gap: 6px; }
  .hide-md { display: none; }
}
@media (max-width: 1340px) {
  .ps-menu { gap: 0; font-size: 15px; }
  .ps-dd-btn { padding: 4px 6px; }
}
@media (max-width: 1180px) {
  .ps-burger { display: block; }
  .ps-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0;
    padding: 8px 16px 16px; box-shadow: 0 10px 20px rgba(0,0,0,.1); max-height: calc(100vh - 64px); overflow-y: auto; }
  body.ps-open .ps-menu { display: flex; }
  .ps-menu .ps-dd-btn { width: 100%; justify-content: space-between; padding: 12px 8px; border-bottom: 1px solid #f3f4f6; border-radius: 0; box-shadow: none !important; }
  .ps-menu .ps-dd-panel, .ps-menu .ps-dd-panel.wide { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; margin: 0; grid-template-columns: 1fr; }
  .cols-6 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ps-nav-inner { padding: 0 16px; }
  .ps-actions .ps-pill-orange { display: none; }
  .ps-hero h1 { font-size: 36px; }
  .ps-hero h1 br { display: none; }
  .ps-hero p { font-size: 18px; }
  .cols-3, .cols-4, .cols-6 { grid-template-columns: 1fr; }
  .ps-footer-grid { grid-template-columns: 1fr; }
}
@media (min-width: 540px) and (max-width: 768px) {
  .cols-4, .cols-6 { grid-template-columns: 1fr 1fr; }
}
