:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1424;
  --surface: #141a2e;
  --border: rgba(100, 180, 255, 0.12);
  --text: #e8ecf5;
  --text-dim: #8a94ad;
  --accent: #00d4ff;
  --accent-2: #7b61ff;
  --accent-3: #00ffa3;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #7b61ff 50%, #00ffa3 100%);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Animated gradient mesh background */
.gradient-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.gradient-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.08), transparent 55%),
              radial-gradient(ellipse at 80% 90%, rgba(123, 97, 255, 0.08), transparent 55%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  mix-blend-mode: screen;
}
/* Disable mix-blend-mode on mobile — Safari iOS has rendering issues with it */
@media (max-width: 900px) {
  .blob { mix-blend-mode: normal; }
}
.blob-1 {
  width: 520px; height: 520px;
  background: #00d4ff;
  top: -8%; left: -8%;
  opacity: 0.35;
  animation: blob1 26s ease-in-out infinite;
}
.blob-2 {
  width: 640px; height: 640px;
  background: #7b61ff;
  bottom: -12%; right: -10%;
  opacity: 0.32;
  animation: blob2 32s ease-in-out infinite;
}
.blob-3 {
  width: 420px; height: 420px;
  background: #00ffa3;
  top: 45%; left: 50%;
  opacity: 0.18;
  animation: blob3 28s ease-in-out infinite;
}
@keyframes blob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(220px, 120px) scale(1.12); }
  66%      { transform: translate(-120px, 200px) scale(0.9); }
}
@keyframes blob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-180px, -120px) scale(1.15); }
  66%      { transform: translate(120px, -60px) scale(0.92); }
}
@keyframes blob3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-40%, -65%) scale(1.25); }
}
@media (max-width: 900px) {
  .blob { filter: blur(80px); opacity: 0.25 !important; }
  .blob-1 { width: 320px; height: 320px; }
  .blob-2 { width: 380px; height: 380px; }
  .blob-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 14, 26, 0.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img {
  height: 96px;
  width: auto;
  display: block;
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.footer-logo { height: 104px; margin-bottom: 0.8rem; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
/* Mouse-tracking glow */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    620px circle at var(--mx, 50%) var(--my, 35%),
    rgba(0, 212, 255, 0.18),
    rgba(123, 97, 255, 0.08) 25%,
    transparent 55%
  );
  z-index: 0;
  transition: opacity 0.3s;
  opacity: 0.9;
}
.hero-inner { text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  margin-bottom: 2rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--accent-3);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-3);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--gradient);
  color: #0a0e1a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
}
.stat-num {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
}
.scroll-hint span { display: block; text-align: center; animation: bounce 2s infinite; margin-top: 0.3rem; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* SECTIONS */
.section { padding: 7rem 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { margin-bottom: 4rem; max-width: 800px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-lead { margin-top: 1.2rem; color: var(--text-dim); font-size: 1.08rem; max-width: 640px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; }
.about-text p { margin-bottom: 1.2rem; color: var(--text-dim); font-size: 1.02rem; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s, border-color 0.3s;
}
.mini-card:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, 0.4); }
.mini-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 8px;
}
.mini-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.mini-card p { color: var(--text-dim); font-size: 0.88rem; }

/* SERVICES */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.2rem;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(0, 212, 255, 0.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  opacity: 0.5;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 97, 255, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.4rem;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.service-card p { color: var(--text-dim); margin-bottom: 1.2rem; font-size: 0.94rem; }
.service-card ul { list-style: none; }
.service-card li {
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  border-top: 1px solid var(--border);
}
.service-card li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ABOUT — Who/How/Why cards */
.about-text-cards { display: flex; flex-direction: column; gap: 1rem; }
.about-text-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 1.8rem 2rem;
  transition: transform 0.3s, border-color 0.3s;
}
.about-text-card:hover {
  transform: translateX(4px);
  border-left-color: var(--accent-2);
}
.about-text-card h2 {
  font-size: 1.25rem;
  margin: 0 0 0.8rem;
  letter-spacing: -0.01em;
}
.about-text-card p {
  color: var(--text-dim);
  margin-bottom: 0.9rem;
  font-size: 0.96rem;
  line-height: 1.65;
}
.about-text-card p:last-child { margin-bottom: 0; }
.about-text-card strong { color: var(--text); }

/* ABOUT — federal credentials strip */
.credentials-strip {
  padding: 2.5rem 0;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.05), rgba(123, 97, 255, 0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}
.cred {
  text-align: center;
  padding: 0.5rem;
  border-right: 1px solid var(--border);
}
.cred:last-child { border-right: none; }
.cred-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.cred-value {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ABOUT — differentiators grid */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.diff-card:hover { transform: translateY(-5px); border-color: rgba(0, 212, 255, 0.35); }
.diff-card:hover::before { transform: scaleX(1); }
.diff-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 97, 255, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
  transition: transform 0.4s, box-shadow 0.4s;
}
.diff-icon svg { width: 24px; height: 24px; }
.diff-card:hover .diff-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
}
.diff-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.diff-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

/* ABOUT — competency chip cloud */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.comp {
  font-family: var(--mono);
  font-size: 0.86rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.comp:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
  transform: translateX(4px);
}

/* AGENCIES (clients page) */
.agencies-block { margin-top: 5rem; }
.agencies-block .section-head { margin-bottom: 3rem; }
.agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.agency-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.agency-card:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, 0.4); }
.agency-logo-wrap {
  background: rgba(226, 232, 245, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.agency-logo { max-height: 110px; max-width: 100%; width: auto; object-fit: contain; }
.agency-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.agency-card p { color: var(--text-dim); font-size: 0.88rem; }

/* APPROACH (services page) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.approach-card {
  background: linear-gradient(145deg, rgba(0,212,255,0.05), rgba(123,97,255,0.05));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
}
.approach-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}
.approach-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.approach-card p { color: var(--text-dim); font-size: 0.94rem; line-height: 1.65; }
.approach-card strong { color: var(--text); }

/* PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.product-grid.two-col { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.product-card.featured { padding: 2.6rem; }
.product-logo-wrap {
  background: transparent;
  padding: 1.2rem 0;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 80px;
}
.product-logo { max-height: 64px; max-width: 100%; width: auto; display: block; }
.product-tagline {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--accent);
  margin-bottom: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card {
  background: linear-gradient(145deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--accent-2); }
.product-status {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.7rem;
  background: rgba(123, 97, 255, 0.15);
  color: var(--accent-2);
  border: 1px solid rgba(123, 97, 255, 0.3);
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 12px;
  font-size: 1.6rem;
  color: #0a0e1a;
  margin-bottom: 1.5rem;
  font-weight: bold;
}
.product-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.product-card p { color: var(--text-dim); font-size: 0.94rem; margin-bottom: 1.3rem; }
.product-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.product-tags span {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
}
.product-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.product-cta h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.product-cta p { color: var(--text-dim); margin-bottom: 1.2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* CLIENTS */
.clients-text { max-width: 720px; margin-bottom: 3rem; }
.clients-text p { color: var(--text-dim); font-size: 1.05rem; }
.partner-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.partner-badge {
  padding: 1rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--text);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info p { color: var(--text-dim); margin-bottom: 2rem; font-size: 1.02rem; }
.contact-item { margin-bottom: 1.8rem; }
.contact-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
  letter-spacing: 0.1em;
}
.contact-item a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.05rem;
  word-break: break-all;
}
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form button { margin-top: 0.5rem; justify-content: center; }
.contact-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0; pointer-events: none; }
.form-result {
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--mono);
  display: none;
}
.form-result.success,
.form-result.error { display: block; }
.form-result.success {
  background: rgba(0, 255, 163, 0.1);
  border: 1px solid rgba(0, 255, 163, 0.3);
  color: var(--accent-3);
}
.form-result.error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff9090;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 2rem;
  align-items: center;
}
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 0.6rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { text-align: right; color: var(--text-dim); font-size: 0.82rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
  }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-grid, .product-grid, .product-grid.two-col, .sector-grid, .approach-grid, .agency-grid, .diff-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cred:nth-child(2) { border-right: none; }
  .competency-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .feature-grid-3 { grid-template-columns: 1fr 1fr; }
  .pillar-row { grid-template-columns: 1fr; }
  .product-teaser-row { grid-template-columns: 1fr; }
  .trusted-logos { gap: 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-brand { align-items: center; }
  .footer-links { align-items: center; }
  .footer-legal { text-align: center; justify-content: center; }
  .footer-sba { height: 68px; }
  .section { padding: 5rem 0; }
  .about-cards { grid-template-columns: 1fr; }
  .logo-img { height: 68px; }
  .sba-badge { height: 72px; }
  .page-hero { padding: 9rem 0 4rem; }
}

/* BADGE ROW (multiple badges in hero) */
.badge-row { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.badge-row .badge { margin-bottom: 0; }

/* PAGE HERO (interior pages) */
.page-hero {
  padding: 11rem 0 5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0,212,255,0.04), transparent);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 1.2rem;
}
.page-lead {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 680px;
}

.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* FEATURE CARDS (home) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.8rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  display: block;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(0, 212, 255, 0.4); }
.feature-card h3 { font-size: 1.15rem; margin: 0.9rem 0 0.5rem; }
.feature-card p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1rem; }
.feature-card .arrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 1.1rem;
  transition: transform 0.3s;
  display: inline-block;
}
.feature-card:hover .arrow { transform: translateX(4px); }

/* TRUSTED BY STRIP */
.trusted-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 14, 26, 0.4);
}
.trusted-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  text-align: center;
  margin-bottom: 1.8rem;
}
.trusted-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.trusted-logo {
  background: rgba(226, 232, 245, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  height: 90px;
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}
.trusted-logo img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; }

/* 3-col feature grid variant */
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.see-all { text-align: center; margin-top: 2.5rem; }

/* APPROACH PILLARS (home) */
.pillar-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  padding: 1.8rem;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(0,212,255,0.05), transparent);
}
.pillar-num {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.pillar h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.pillar p { color: var(--text-dim); font-size: 0.9rem; }

/* PRODUCT TEASERS (home) */
.product-teaser-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.product-teaser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.product-teaser:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.product-teaser-logo { margin-bottom: 1.2rem; height: 60px; display: flex; align-items: center; }
.product-teaser-logo img { max-height: 52px; max-width: 240px; width: auto; }
.product-teaser p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1rem; }
.teaser-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  background: rgba(123, 97, 255, 0.15);
  color: var(--accent-2);
  border: 1px solid rgba(123, 97, 255, 0.3);
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* CTA SECTION */
.cta-section { padding: 5rem 0; }
.cta-inner {
  text-align: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(123,97,255,0.08));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem 2rem;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta-inner p { color: var(--text-dim); margin-bottom: 2rem; font-size: 1.05rem; }

/* SECTOR GRID (clients) */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 14px;
}
.sector-card h3 { font-size: 1.2rem; margin: 0.8rem 0 0.6rem; }
.sector-card p { color: var(--text-dim); font-size: 0.94rem; }

/* ABOUT page layout */
.about-text h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.8rem;
  letter-spacing: -0.01em;
}
.about-text h2:first-child { margin-top: 0; }
.about-text p { color: var(--text-dim); margin-bottom: 1.2rem; font-size: 1rem; }
.about-text strong { color: var(--text); }
.about-sidebar { display: flex; flex-direction: column; gap: 1rem; }

/* SBA CERT CARD */
.cert-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(0,212,255,0.04));
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 1.8rem;
  border-radius: 14px;
  text-align: center;
}
.cert-card h4 { font-size: 1.05rem; margin: 1rem 0 0.4rem; color: var(--accent); }
.cert-card p { color: var(--text-dim); font-size: 0.86rem; }

.sba-badge {
  height: 96px;
  width: auto;
  background: rgba(226, 232, 245, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 8px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.sba-badge-lg {
  height: 180px;
  width: auto;
  background: rgba(226, 232, 245, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 14px;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cert-line { color: var(--text); font-size: 0.95rem; font-family: var(--mono); }

.cert-badges {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.cert-badge-img {
  height: 150px;
  width: auto;
  background: rgba(226, 232, 245, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  object-fit: contain;
}

/* FOOTER multi-column */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer-sba {
  height: 72px;
  width: auto;
  display: block;
  background: rgba(226, 232, 245, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.footer-links h5 {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; justify-content: flex-start; }
.footer-cert { display: flex; justify-content: flex-end; align-items: flex-start; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-legal a { color: var(--text-dim); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }

/* HERO TITLE — split-word reveal */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: wordIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.1s + 0.2s);
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* MARQUEE STRIP */
.marquee-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: rgba(10, 14, 26, 0.35);
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
  padding-right: 3rem;
  animation: marquee 50s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--text-dim);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.marquee-item::after {
  content: '◆';
  color: var(--accent);
  font-size: 0.55rem;
  margin-left: 3rem;
  opacity: 0.7;
}
.marquee-item:hover { color: var(--text); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-title .word { opacity: 1; transform: none; animation: none; }
}

/* Magnetic buttons — transform transition for smooth snap-back */
.btn-primary {
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.2s;
}

/* REVEAL ANIMATIONS — only apply when JS is ready, so content is always visible as a fallback */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered hero stat reveal */
.js-ready .stat-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-ready .stat-reveal.in-view { opacity: 1; transform: translateY(0); }
.stat-reveal:nth-child(1).in-view { transition-delay: 0.05s; }
.stat-reveal:nth-child(2).in-view { transition-delay: 0.18s; }
.stat-reveal:nth-child(3).in-view { transition-delay: 0.31s; }
.stat-reveal:nth-child(4).in-view { transition-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stat-reveal, .blob { animation: none !important; transition: none !important; }
  .reveal, .stat-reveal { opacity: 1 !important; transform: none !important; }
}
