/* ========================================================================
   VirtusTek — Splash
   Single-screen splash. Page is darker than the logo navy by design,
   so #0a2540 in the logo reads as the lighter shade against #05080f.
   ========================================================================*/

:root {
  /* Surfaces */
  --bg-0: #05080f;
  --bg-1: #0a0e17;
  --bg-2: #0f1422;

  /* Brand */
  --navy: #0a2540;
  --blue: #1e6dff;
  --blue-soft: #4a90ff;
  --teal: #2dd4bf;

  /* Type */
  --ink:    #e6edf7;
  --ink-2:  #b9c4d6;
  --muted:  #8a97ad;
  --muted-2: #6b7787;
  --hair:   rgba(125, 165, 255, 0.10);
  --hair-2: rgba(125, 165, 255, 0.05);

  /* Fonts */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Effects */
  --glow-blue: 0 0 0 1px rgba(30, 109, 255, 0.4), 0 10px 36px rgba(30, 109, 255, 0.28);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Splash layout ---------- */
.splash {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 88px 28px 56px;
  isolation: isolate;
  overflow: hidden;
}

/* Ambient network animation — sits furthest back, never blocks clicks */
.splash__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.95;
  /* Soft vignette — fade only the far corners so the globe glow breathes out */
  mask-image: radial-gradient(135% 130% at 50% 50%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(135% 130% at 50% 50%, #000 70%, transparent 100%);
}

/* Linear-style radial halo behind the hero */
.splash__halo {
  position: absolute;
  inset: -28% -24% auto -24%;
  height: 1200px;
  background:
    radial-gradient(92% 80% at 50% 38%,
      rgba(30, 109, 255, 0.18) 0%,
      rgba(45, 212, 191, 0.07) 42%,
      rgba(5, 8, 15, 0) 80%);
  pointer-events: none;
  z-index: -2;
}
/* Slow ambient shimmer on the halo */
.splash__halo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 30% at 30% 35%,
      rgba(45, 212, 191, 0.18) 0%,
      rgba(45, 212, 191, 0) 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(-4%, -2%, 0); opacity: 0.7; }
  100% { transform: translate3d(6%, 3%, 0);   opacity: 1; }
}

/* ---------- Hero ---------- */
.splash__hero {
  position: relative;
  max-width: 880px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 64px;
}
.splash__logo {
  height: clamp(95px, 16.5vw, 198px);
  width: auto;
  max-width: 92vw;
}

.splash__tagline {
  font-size: clamp(28px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.splash__tagline-1 {
  /* "Government Grade Security," — solid bright */
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #cdd6e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.splash__tagline-2 {
  /* "Non-Profit Operations." — blue accent */
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--blue) 60%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.splash__tagline .dot {
  color: var(--teal);
  -webkit-text-fill-color: var(--teal);
}

.splash__desc {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 400;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 0 48px;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

/* ---------- Email CTA ---------- */
.splash__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(30, 109, 255, 0.16) 0%, rgba(45, 212, 191, 0.10) 100%);
  border: 1px solid rgba(30, 109, 255, 0.45);
  border-radius: 14px;
  color: var(--ink);
  position: relative;
  isolation: isolate;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 1px rgba(30, 109, 255, 0.15) inset, 0 12px 30px rgba(30, 109, 255, 0.18);
}
.splash__cta::before {
  /* Slow ambient pulse around the CTA — single subtle motion element */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  z-index: -1;
  opacity: 0;
  filter: blur(14px);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.55; }
}
.splash__cta:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue) inset, 0 18px 40px rgba(30, 109, 255, 0.32);
}
.splash__cta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-right: 16px;
  border-right: 1px solid var(--hair);
}
.splash__cta-email {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.splash__cta svg {
  color: var(--teal);
  transition: transform 0.2s ease;
}
.splash__cta:hover svg { transform: translateX(3px); }

/* ---------- Credibility row ---------- */
.splash__creds {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.cred {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(10, 14, 23, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cred__bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  flex-shrink: 0;
}
.cred__text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */
.splash__footer {
  border-top: 1px solid var(--hair);
  padding: 22px 28px;
  background: var(--bg-0);
  position: relative;
  z-index: 1;
}
.splash__footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.splash__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.splash__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.splash__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
}
.splash__status-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.3;
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0%   { transform: scale(0.6); opacity: 0.45; }
  80%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .splash { padding: 56px 20px 40px; }
  .splash__logo { margin-bottom: 28px; }
  .splash__tagline { margin-bottom: 16px; }
  .splash__desc { margin-bottom: 34px; }
  .splash__cta {
    flex-direction: column;
    gap: 8px;
    padding: 16px 22px;
  }
  .splash__cta-label {
    border-right: none;
    padding-right: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hair);
    width: 100%;
    text-align: center;
  }
  .splash__creds { margin-top: 52px; gap: 10px; }
  .cred { padding: 8px 14px; }
  .cred__text { font-size: 11px; }
  .splash__footer-inner { justify-content: center; text-align: center; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
