/* ============================================================
   Neotrix Systems LLC — Enterprise Technology Consulting
   Brand: dark navy, slate, white, electric blue accents
   ============================================================ */

:root {
  --navy: #0a1628;
  --navy-2: #0f1f38;
  --slate: #1e2d44;
  --slate-2: #2a3a54;
  --line: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --muted: #aebacb;
  --muted-2: #7e8da3;
  --blue: #2f81f7;
  --blue-bright: #4f9dff;
  --blue-glow: rgba(47, 129, 247, 0.35);
  --radius: 12px;
  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: var(--white); }

img { max-width: 100%; display: block; }

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

section { padding: 84px 0; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

.lead { color: var(--muted); font-size: 1.12rem; max-width: 720px; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--white); }
.brand:hover { color: var(--white); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, #1b5fd0 100%);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 14px var(--blue-glow);
}
.brand .mark svg { width: 17px; height: 17px; }
.brand small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; color: var(--muted-2); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav-links a:hover { color: var(--white); background: var(--slate); }
.nav-links a.active { color: var(--white); }
.nav-links .btn { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #1b5fd0 100%);
  color: var(--white);
  box-shadow: 0 6px 22px var(--blue-glow);
}
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 30px var(--blue-glow); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--white); border-color: var(--blue); background: rgba(47,129,247,0.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(47,129,247,0.20), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(47,129,247,0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 88px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(680px 420px at 70% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); max-width: 880px; margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--blue-bright), #8fc0ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { font-size: 1.18rem; max-width: 760px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 10px var(--blue-bright); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line);
}
.hero-stats .stat .n { font-size: 1.9rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.hero-stats .stat .l { color: var(--muted-2); font-size: 0.88rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--slate) 0%, var(--navy-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(47,129,247,0.45); box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

.card .ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(47,129,247,0.12);
  border: 1px solid rgba(47,129,247,0.28);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card .ico svg { width: 22px; height: 22px; stroke: var(--blue-bright); }

.card ul { list-style: none; margin-top: 16px; }
.card ul li {
  position: relative; padding-left: 24px; margin-bottom: 9px;
  color: var(--muted); font-size: 0.95rem;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-bright);
}
.card .num {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue-bright); margin-bottom: 8px;
}

/* alternating section background */
.alt { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }

/* ---------- Feature list (Why) ---------- */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .check {
  flex: none; width: 26px; height: 26px; border-radius: 7px; margin-top: 2px;
  background: rgba(47,129,247,0.14); border: 1px solid rgba(47,129,247,0.3);
  display: grid; place-items: center;
}
.feature .check svg { width: 14px; height: 14px; stroke: var(--blue-bright); }
.feature h4 { font-size: 1.02rem; margin-bottom: 3px; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Split (About / CTA) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.panel {
  background: linear-gradient(180deg, var(--slate) 0%, var(--navy-2) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.panel h3 { font-size: 1.15rem; margin-bottom: 18px; }
.cred-list { list-style: none; }
.cred-list li {
  display: flex; gap: 12px; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 0.97rem;
}
.cred-list li:last-child { border-bottom: 0; }
.cred-list li .badge {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(47,129,247,0.12); border: 1px solid rgba(47,129,247,0.28);
  display: grid; place-items: center; color: var(--blue-bright); font-weight: 700; font-size: 0.8rem;
}

/* ---------- Tags / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--muted); font-size: 0.86rem; font-weight: 600;
}

/* ---------- Designations / badges ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.bcard {
  text-align: center; padding: 26px 16px;
  background: linear-gradient(180deg, var(--slate) 0%, var(--navy-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.bcard .seal {
  width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(47,129,247,0.12); border: 1px solid rgba(47,129,247,0.32);
  display: grid; place-items: center;
}
.bcard .seal svg { width: 24px; height: 24px; stroke: var(--blue-bright); }
.bcard strong { display: block; font-size: 0.96rem; line-height: 1.3; }

/* ---------- Gov info table ---------- */
.govgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-block { }
.info-block dl { margin-top: 6px; }
.info-block dt { color: var(--muted-2); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 16px; }
.info-block dd { color: var(--white); font-weight: 600; font-size: 1.02rem; }
.naics-list { list-style: none; }
.naics-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.naics-list li:last-child { border-bottom: 0; }
.naics-list .code { color: var(--blue-bright); font-weight: 700; font-variant-numeric: tabular-nums; }
.naics-list .desc { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 360px at 80% 20%, rgba(47,129,247,0.22), transparent 60%),
    linear-gradient(135deg, var(--slate) 0%, var(--navy-2) 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 52px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Page header ---------- */
.page-head {
  background:
    radial-gradient(700px 380px at 75% -20%, rgba(47,129,247,0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--line);
  padding: 78px 0 64px;
}
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 720px; }

/* ---------- Contact ---------- */
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(180deg, var(--slate) 0%, var(--navy-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
}
.contact-card .ico { width: 46px; height: 46px; border-radius: 10px; background: rgba(47,129,247,0.12); border: 1px solid rgba(47,129,247,0.28); display: grid; place-items: center; flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; stroke: var(--blue-bright); }
.contact-card .l { color: var(--muted-2); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card .v { font-weight: 700; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--navy-2); padding: 52px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul li a { color: var(--muted); font-size: 0.94rem; }
.footer ul li a:hover { color: var(--white); }
.footer .desc { color: var(--muted); font-size: 0.94rem; max-width: 320px; margin-top: 14px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted-2); font-size: 0.86rem;
}
.footer-bottom .desig { color: var(--muted-2); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .govgrid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 620px) {
  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .badge-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-2); border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin-left: 0; justify-content: center; }
  .nav-toggle { display: block; }
}
