/* ============================================================
   Pro IT — shared site template (Manage pillar)
   Accent: BLUE #006be9 (primary) / #3ea6ff (bright)
   Siblings (proitconnect.com, proitsecure.com) reuse this file
   verbatim; ONLY the --accent / --accent-bright tokens change.
   ============================================================ */

:root {
  /* brand tokens (locked ProIT direction) */
  --bg: #0a1020;
  --surface: #111a30;
  --surface-2: #16223f;
  --border: #22304f;
  --text: #e7eefb;
  --muted: #8fa0c0;

  /* pillar accent — BLUE (Manage) */
  --accent: #006be9;
  --accent-bright: #3ea6ff;
  --accent-ink: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --gap: 22px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 16, 32, .82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.wordmark:hover { text-decoration: none; }
.wordmark .accent { color: var(--accent-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a.navlink {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a.navlink:hover { color: var(--text); text-decoration: none; }
.nav-links a.navlink.active { color: var(--text); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(closest-side, rgba(0, 107, 233, .30), rgba(62, 166, 255, .10) 55%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: 16ch;
  margin: 0 auto .35em;
}
.hero h1 .accent { color: var(--accent-bright); }
.hero .subhead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Section ---------- */
.section { padding: 68px 0; }
.section-head {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 44px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 107, 233, .14);
  border: 1px solid rgba(62, 166, 255, .28);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--accent-bright); }
.card h3 { font-size: 19px; margin-bottom: .35em; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Trust band ---------- */
.trust {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.trust-item { padding: 6px 0; }
.trust-item .t-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(0, 107, 233, .14);
  border: 1px solid rgba(62, 166, 255, .28);
  margin-bottom: 14px;
}
.trust-item .t-icon svg { width: 20px; height: 20px; stroke: var(--accent-bright); }
.trust-item h3 { font-size: 16px; margin-bottom: .3em; }
.trust-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Feature rows (interior pages) ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 8px;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px;
}
.feature .f-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(0, 107, 233, .14);
  border: 1px solid rgba(62, 166, 255, .28);
}
.feature .f-icon svg { width: 22px; height: 22px; stroke: var(--accent-bright); }
.feature h3 { font-size: 17px; margin-bottom: .3em; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Final CTA ---------- */
.cta {
  text-align: center;
  padding: 74px 0;
}
.cta-box {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 52px 32px;
  box-shadow: var(--shadow);
}
.cta-box h2 { font-size: clamp(24px, 3.2vw, 32px); }
.cta-box p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }
.cta-mail {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.cta-mail a { color: var(--accent-bright); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 48px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer .wordmark { font-size: 18px; margin-bottom: 10px; }
.footer p { color: var(--muted); font-size: 14px; margin: 0; }
.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
  margin: 0 0 12px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer li a { color: var(--muted); font-size: 14px; }
.footer li a:hover { color: var(--accent-bright); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 22px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a.navlink { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 12px; justify-content: center; }
}

@media (max-width: 460px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
}
/* ==========================================================================
   Lead-capture form (shared verbatim across all three pillar sites)
   Accent comes from the existing .btn-primary + --accent-bright tokens,
   so this block is identical per-site; only the accent differs.
   ========================================================================== */
.lead-form { max-width: 560px; margin: 4px auto 0; text-align: left; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .lead-form .row { grid-template-columns: 1fr; } }
.lead-form .field { margin-bottom: 16px; }
.lead-form label { display: block; font-size: .86rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.lead-form input,
.lead-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--muted); }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-bright) 22%, transparent);
}
.lead-form textarea { min-height: 118px; resize: vertical; }
.lead-form .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
/* Honeypot — visually hidden, off-screen, not focusable */
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-note a { font-weight: 600; }
.form-msg { border-radius: 12px; padding: 15px 17px; margin-bottom: 18px; font-weight: 500; text-align: left; }
.form-success { background: rgba(34,197,94,.10); border: 1px solid rgba(34,197,94,.45); color: var(--text); }
.form-error   { background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.45); color: var(--text); }
