/* ============================================================
   PROCUREDEX — Federal Language Services
   Stylesheet v1.0
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #07101f;
  --navy-mid:   #0d1829;
  --navy-light: #152240;
  --blue:       #1e4080;
  --blue-light: #2d5fa8;
  --accent:     #4a8fe8;
  --accent-glow:#6aaaf5;
  --white:      #ffffff;
  --gray:       #b0bdd0;
  --gray-light: #d4dce8;
  --border:     rgba(74,143,232,0.2);
  --font-head:  'DM Sans', 'Segoe UI', Arial, sans-serif;
  --font-body:  'Montserrat', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

/* --- Google Fonts ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Montserrat:wght@400;500;600&display=swap');

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p  { color: var(--gray-light); margin-bottom: 1rem; }
a  { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-glow); }

/* --- Layout ----------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }

/* --- NAV -------------------------------------------------- */
nav {
  background: rgba(7,16,31,0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: var(--white);
  font-family: var(--font-head);
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  font-family: var(--font-head);
}
.nav-logo-text span {
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--navy-light);
  color: var(--white);
}
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }

/* --- HERO ------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, var(--blue) 100%);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(30,64,128,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(74,143,232,0.15) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(74,143,232,0.15);
  border: 1px solid rgba(74,143,232,0.35);
  color: var(--accent-glow);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 0.75rem; max-width: 750px; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 650px;
  margin-bottom: 2rem;
  font-style: italic;
}
.hero-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.cred-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  color: var(--gray-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- BUTTONS ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  font-family: var(--font-head);
}
.btn-primary {
  background: var(--accent);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--accent-glow);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,143,232,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--accent);
  color: var(--accent);
}

/* --- SECTION LABELS --------------------------------------- */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-desc { color: var(--gray); max-width: 600px; margin-bottom: 3rem; }

/* --- CARDS ------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.card-icon {
  width: 48px; height: 48px;
  background: rgba(74,143,232,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.card h3 { color: var(--white); margin-bottom: 0.5rem; }
.card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 0; }

/* --- CREDENTIALS BAR -------------------------------------- */
.creds-bar {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.creds-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cred-item .label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.1rem;
}
.cred-item .value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-glow);
  font-family: var(--font-head);
}

/* --- USE CASES LIST --------------------------------------- */
.use-case-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  margin: 2rem 0;
}
.use-case-list li {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  color: var(--gray-light);
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.use-case-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* --- NAICS TABLE ------------------------------------------ */
.naics-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.naics-table th {
  background: var(--navy-light);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.naics-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: var(--gray-light);
}
.naics-table tr:hover td { background: rgba(74,143,232,0.05); }
.naics-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent-glow);
  font-size: 0.95rem;
}
.naics-primary { background: rgba(74,143,232,0.08); }

/* --- HIGHLIGHT BOX ---------------------------------------- */
.highlight-box {
  background: rgba(74,143,232,0.08);
  border: 1px solid rgba(74,143,232,0.3);
  border-radius: 14px;
  padding: 2rem;
  margin: 2rem 0;
}
.highlight-box h3 { color: var(--accent-glow); margin-bottom: 0.75rem; }
.highlight-box p { color: var(--gray-light); margin-bottom: 0; }

/* --- CONTACT FORM ----------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(74,143,232,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}
.contact-info-text span {
  color: var(--gray);
  font-size: 0.92rem;
}

/* --- FOOTER ----------------------------------------------- */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-head);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: none;
}
.footer-links a {
  color: var(--gray);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-affiliate {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 1rem;
}
.footer-affiliate a { color: var(--accent); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(176,189,208,0.5);
}

/* --- PAGE HERO (inner pages) ------------------------------ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--blue) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(30,64,128,0.45) 0%, transparent 70%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- ALT SECTION BACKGROUND ------------------------------- */
.section-alt { background: var(--navy-mid); }

/* --- DIVIDER ---------------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* --- MOBILE NAV ------------------------------------------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-light);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-drawer {
  display: none;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-drawer a {
  display: block;
  color: var(--gray-light);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-drawer a:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* --- RESPONSIVE ------------------------------------------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-toggle-input:checked ~ .nav-drawer { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  section { padding: 3.5rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 3.5rem 0 2.5rem; }
}
