/* ═══════════════════════════════════════════════════════
   NullVector — Design System
   Phosphorus-inspired: deep navy, electric blue, gradient
   glows, generous whitespace, modern SaaS enterprise feel
═══════════════════════════════════════════════════════ */

:root {
  /* Backgrounds — deeper, more blue-tinted than before */
  --bg:          #05090f;
  --bg-2:        #080d17;
  --surface:     #0c1220;
  --panel:       #101828;
  --panel-2:     #141e2e;

  /* Borders — very subtle, almost invisible */
  --border:      rgba(46,107,248,0.12);
  --border-2:    rgba(46,107,248,0.2);
  --border-3:    rgba(255,255,255,0.08);

  /* Text */
  --text:        #f0f4ff;
  --text-2:      #8fa3c0;
  --text-3:      #4a6080;

  /* Accent — Phosphorus electric blue */
  --accent:      #2e6bf8;
  --accent-2:    #1a56d6;
  --accent-3:    rgba(46,107,248,0.15);
  --accent-glow: rgba(46,107,248,0.25);

  /* Semantic */
  --red:         #f85149;
  --red-dim:     rgba(248,81,73,0.12);
  --green:       #3fb950;
  --green-dim:   rgba(63,185,80,0.12);
  --amber:       #f0a928;
  --amber-dim:   rgba(240,169,40,0.12);

  /* Fission Ops orange — kept for product pages */
  --fo:          #f97316;
  --fo-dim:      rgba(249,115,22,0.12);
  --fo-border:   rgba(249,115,22,0.25);

  /* Radius — larger, more modern */
  --radius:      10px;
  --radius-sm:   6px;
  --radius-lg:   16px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.5);
  --shadow:      0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(46,107,248,0.15);

  /* Gradient system */
  --grad-hero:   radial-gradient(ellipse 80% 50% at 50% -10%, rgba(46,107,248,0.18) 0%, transparent 70%);
  --grad-card:   linear-gradient(135deg, rgba(46,107,248,0.06) 0%, transparent 60%);
  --grad-btn:    linear-gradient(135deg, #2e6bf8 0%, #1a4fd6 100%);
  --grad-btn-hover: linear-gradient(135deg, #3d7aff 0%, #2560e8 100%);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── DOT CANVAS ── */
#dotCanvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── Z-INDEX LAYER ── */
nav, .page-header, .content, footer, section, .hero,
.social-proof, .social-proof-inner, .services-section, .how-section,
.stats-row, .stats-row-inner, .dark-cta, .about-grid,
.blog-layout, .contact-layout, .login-wrap,
.services-body, .pricing-section, .rt-hero,
.rt-section, .rt-cta, #breachOverlay, #rtPage,
.fo-hero, .fo-stats, .fo-section, .fo-cta,
.pricing-hero, .features-section, .faq-section, .bottom-cta,
.intel-cta-strip, .mission-hero, .values-section,
.approach-section, .commitments-section, .certs-section,
.about-cta, .page-header-inner, .thankyou-wrap {
  position: relative; z-index: 1;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; padding: 0;
  background: rgba(5,9,15,0.75);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 2500px; margin: 0 auto; padding: 0 48px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  text-decoration: none; display: flex; align-items: center; gap: 2px;
  transition: opacity 0.15s;
}
.nav-logo:hover { opacity: 0.8; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 0.875rem; color: var(--text-2);
  text-decoration: none; padding: 6px 14px; border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s; font-weight: 400;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); font-weight: 500; }
.nav-cta {
  font-size: 0.875rem; font-weight: 500;
  color: #fff;
  background: var(--grad-btn);
  border: none; padding: 8px 20px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  display: inline-flex; align-items: center;
  box-shadow: 0 0 20px rgba(46,107,248,0.3);
}
.nav-cta:hover {
  background: var(--grad-btn-hover);
  box-shadow: 0 0 28px rgba(46,107,248,0.45);
  transform: translateY(-1px);
}

/* ── PAGE HEADER ── */
.page-header {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--grad-hero);
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 20% 50%, rgba(46,107,248,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-inner {
  max-width: 2500px; margin: 0 auto;
  padding: 110px 48px 72px;
  position: relative; z-index: 1;
}
.page-header .label, .page-header-inner .label { margin-bottom: 14px; }
.page-header-inner h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; color: var(--text);
  letter-spacing: -1px; line-height: 1.05;
}
.page-header-inner h1 em { font-style: normal; color: var(--accent); }
.page-header-inner p {
  max-width: 520px; margin-top: 16px;
  font-size: 1.1rem; color: var(--text-2); line-height: 1.7;
}

/* ── LABELS ── */
.label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent); font-family: 'JetBrains Mono', monospace;
}
.label::before {
  content: ''; display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2px;
  padding: 3px 9px; border-radius: 4px;
}
.badge-red   { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(248,81,73,0.25); }
.badge-amber { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(240,169,40,0.25); }
.badge-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(63,185,80,0.25); }
.badge-blue  { background: var(--accent-3);  color: var(--accent); border: 1px solid rgba(46,107,248,0.3); }
.badge-grey  { background: var(--panel);     color: var(--text-2); border: 1px solid var(--border-3); }

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 48px; }
.section-header .label { margin-bottom: 12px; }
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--text);
  letter-spacing: -0.5px; line-height: 1.15;
}
.section-header p {
  margin-top: 12px; font-size: 1.05rem;
  color: var(--text-2); max-width: 540px; line-height: 1.7;
}

/* ── BUTTONS ── */
.btn-primary {
  font-size: 0.875rem; font-weight: 500;
  color: var(--bg); background: var(--text);
  border: none; padding: 11px 24px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: #d0dcf0; transform: translateY(-1px); }

.btn-accent {
  font-size: 0.875rem; font-weight: 500;
  color: #fff; background: var(--grad-btn);
  border: none; padding: 11px 24px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; display: inline-block;
  box-shadow: 0 0 20px rgba(46,107,248,0.25);
}
.btn-accent:hover {
  background: var(--grad-btn-hover);
  box-shadow: 0 0 30px rgba(46,107,248,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2); background: transparent;
  border: 1px solid var(--border-2); padding: 11px 24px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--text);
  background: var(--accent-3); transform: translateY(-1px);
}

.btn-white {
  font-size: 0.875rem; font-weight: 600;
  color: var(--bg); background: var(--text);
  border: none; padding: 12px 26px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; display: inline-block; white-space: nowrap;
}
.btn-white:hover { background: #d0dcf0; transform: translateY(-1px); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── CONTENT ── */
.content { position: relative; }
.section-pad { padding: 80px 0; }
.section-pad-lg { padding: 104px 0; }

/* ── CARD ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background-image: var(--grad-card);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ── WRAP ── */
.wrap        { max-width: 2500px; margin: 0 auto; padding: 0 48px; width: 100%; }
.wrap-narrow { max-width: 2500px; margin: 0 auto; padding: 0 48px; width: 100%; }

/* ── FORM INPUTS ── */
.form-input {
  width: 100%; padding: 11px 16px;
  background: var(--panel); border: 1px solid var(--border-3);
  border-radius: var(--radius-sm); font-size: 0.9rem;
  color: var(--text); font-family: 'Inter', sans-serif;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,107,248,0.12);
}
.form-input::placeholder { color: var(--text-3); }
.form-label {
  font-size: 0.82rem; font-weight: 500; color: var(--text-2);
  margin-bottom: 6px; display: block;
}

/* ── DARK SECTION ── */
.dark-section { background: var(--bg-2); }

/* ── MONO ── */
.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--text-2); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-inner {
  max-width: 2500px; margin: 0 auto; padding: 44px 48px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.footer-logo { text-decoration: none; display: flex; align-items: center; transition: opacity 0.15s; }
.footer-logo:hover { opacity: 0.7; }
.footer-links { display: flex; gap: 28px; list-style: none; justify-content: center; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.8rem; color: var(--text-3);
  text-decoration: none; transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-2); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-copy { font-size: 0.78rem; color: var(--text-3); }
.footer-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: var(--green); font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

/* ── SECTION CONTENT CONSTRAINT ── */
.blog-layout, .mission-hero, .values-section > *, .approach-section,
.commitments-section > *, .certs-section > *, .about-cta,
.contact-layout, .services-body > *, .rt-hero, .rt-section > *,
.rt-cta, .intel-cta-inner {
  max-width: 2500px; margin-left: auto; margin-right: auto;
}
.mission-hero, .approach-section, .about-cta,
.rt-hero, .rt-cta, .blog-layout, .contact-layout,
.intel-cta-inner { padding-left: 48px; padding-right: 48px; }
.values-section > *, .commitments-section > *,
.certs-section > * { padding-left: 48px; padding-right: 48px; }
.intel-cta-strip { padding-left: 0; padding-right: 0; }
.rt-section > * { width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .page-header-inner { padding: 90px 20px 56px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .section-pad { padding: 56px 0; }
  .section-pad-lg { padding: 72px 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; padding: 32px 20px; gap: 20px; }
  .footer-right { align-items: center; }
  .mission-hero, .approach-section, .about-cta,
  .rt-hero, .rt-cta, .blog-layout, .contact-layout,
  .intel-cta-inner { padding-left: 20px; padding-right: 20px; }
  .values-section > *, .commitments-section > *,
  .certs-section > * { padding-left: 20px; padding-right: 20px; }
}
