/* Service highlight box for announcements */
.service-highlight {
  background: linear-gradient(90deg, rgba(46,168,255,0.13) 0%, rgba(13,34,64,0.85) 100%);
  border-left: 5px solid var(--accent);
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  margin: 1.5em 0 1.5em 0;
  padding: 1.1em 1.5em;
  border-radius: 12px;
  box-shadow: 0 2px 18px 0 rgba(46,168,255,0.08);
  letter-spacing: 0.01em;
}

.service-highlight strong {
  color: var(--accent);
  font-weight: 900;
}
:root {
  --bg-dark: #0b1020;
  --bg-mid: #111a31;
  --surface: rgba(15, 22, 43, 0.72);
  --surface-strong: rgba(15, 22, 43, 0.9);
  --line: rgba(155, 184, 255, 0.25);
  --text: #ecf3ff;
  --muted: #9fb2d7;
  --primary: #2ea8ff;
  --primary-strong: #0f7fd3;
  --accent: #6de4ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://vc.invis-it.com/bg.jpeg') repeat;
  background-size: cover;
  animation: background-scroll 600s linear infinite;
  z-index: -2;
  transform: translateZ(0);
  will-change: background-position;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 8, 16, 0.72) 0%, rgba(14, 24, 48, 0.75) 100%);
  z-index: -1;
}

.welcome-modal {
  position: fixed;
  inset: 0;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.welcome-modal.active {
  display: flex;
  opacity: 1;
}

.welcome-modal-content {
  width: calc(100vw / 2.45);
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

.intro-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #000;
  color: #dbe7ff;
  z-index: 1;
  opacity: 1;
  transition: opacity 420ms ease;
}

.intro-loading-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #9fd8ff;
  animation: intro-spin 900ms linear infinite;
}

.intro-loading-text {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.welcome-modal-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1200ms ease;
}

@media (max-width: 900px) {
  .welcome-modal-content {
    width: 92vw;
  }
}

.welcome-modal.video-visible video {
  opacity: 1;
}

.welcome-modal.video-visible .intro-loading {
  opacity: 0;
  pointer-events: none;
}

.welcome-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.75);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
}

#siteContent {
  opacity: 1;
  transition: opacity 900ms ease;
}

body.intro-pending #siteContent {
  opacity: 0;
  pointer-events: none;
}

@keyframes background-scroll {
  from { background-position: 0 0; }
  to { background-position: -3840px -2160px; }
}

@keyframes intro-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

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

a:hover {
  color: #a9f0ff;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  color: var(--muted);
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  max-width: 72ch;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(6, 10, 20, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
}

.button-link,
.btn {
  display: inline-block;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
}

.button-link,
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(27, 40, 75, 0.6);
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 4px;
}

.hero,
.page-head {
  padding: 3.8rem 0 2.4rem;
}

.split-inner {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.panel,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}

.panel-title {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.banner-logo {
  max-width: 280px;
  width: 100%;
  margin-bottom: 1rem;
}

.checklist {
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
}

.checklist li {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.text-link {
  font-weight: 700;
}

.section {
  padding: 2.6rem 0;
}

.section-alt {
  background: rgba(11, 16, 31, 0.54);
  border-top: 1px solid rgba(140, 165, 225, 0.16);
  border-bottom: 1px solid rgba(140, 165, 225, 0.16);
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card ul {
  margin-left: 1.1rem;
  color: var(--muted);
}

.card li {
  margin-bottom: 0.45rem;
}

.stat {
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.featured {
  border-color: rgba(109, 228, 255, 0.46);
  box-shadow: 0 0 0 1px rgba(109, 228, 255, 0.25), 0 14px 36px rgba(15, 127, 211, 0.2);
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.center {
  text-align: center;
}

.top-gap {
  margin-top: 1.2rem;
}

.cta-band {
  background: linear-gradient(120deg, rgba(26, 50, 100, 0.5), rgba(19, 80, 112, 0.4));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(169, 188, 238, 0.26);
  background: rgba(9, 14, 28, 0.8);
  color: var(--text);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.contact-form label {
  color: var(--text);
  font-weight: 700;
}

.privacy-wrap {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.privacy-wrap input {
  width: auto;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-notice {
  display: none;
  border-left: 4px solid;
  padding: 0.7rem;
  border-radius: 8px;
  margin-top: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-strong);
  margin-top: 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
}

.footer-grid h4 {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 0.45rem;
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(140, 165, 225, 0.16);
  padding: 0.85rem 0;
}

@media (max-width: 980px) {
  .cards.three,
  .cards.four,
  .cards.two,
  .split-inner,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 4vw;
    left: 4vw;
    background: rgba(8, 12, 24, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .cards.three,
  .cards.four,
  .cards.two,
  .split-inner,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .button-link,
  .btn {
    text-align: center;
    width: 100%;
  }
}