:root {
  --brand-dark: #0f172a;
  --brand-accent: #f97316;
  --brand-accent-2: #7c3aed;
  --brand-bg: #f4f6fb;
  --grid-line: #d7dbe8;
}

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

body {
  margin: 0;
  font-family: "Barlow", "Inter", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--brand-bg);
  color: var(--brand-dark);
  min-height: 100vh;
  position: relative;
  overflow-y: scroll;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.28;
  z-index: -1;
}

.header-shadow {
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.footer-bar {
  height: 40px;
  background: linear-gradient(90deg, #05070d, #101831 60%, #05070d);
  color: #e2e8ff;
  letter-spacing: 0.2em;
}

.footer-bar a {
  color: inherit;
}

.cta-disabled {
  cursor: not-allowed;
}
.brand-title {
  display: inline-flex;
  gap: 0.15em;
}

.brand-char {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

@keyframes glitchFlip {
  0% {
    transform: rotateX(0deg);
  }
  50% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

@keyframes glitchFade {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes glitchPop {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px) scale(1.1);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes glitchDissolve {
  0% {
    color: inherit;
  }
  50% {
    color: transparent;
  }
  100% {
    color: inherit;
  }
}

@keyframes glitchReveal {
  0% {
    opacity: 0;
    transform: translateY(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.glitch-flip {
  animation: glitchFlip 0.8s ease;
}

.glitch-fade {
  animation: glitchFade 0.7s ease;
}

.glitch-pop {
  animation: glitchPop 0.75s ease;
}

.glitch-dissolve {
  animation: glitchDissolve 0.9s ease;
}

.glitch-reveal {
  animation: glitchReveal 0.85s ease;
}

.glitch-color {
  transition: color 0.6s ease;
}
