:root {
  /* Elite Blueprint Palette (Victory Inspired) */
  --bg-black: #000000;
  --bg-deep: #050505;
  --bg-accent: #0a0118;
  
  --neon-purple: #c084fc;
  --neon-cyan: #22d3ee;
  --neon-blue: #3b82f6;
  --neon-pink: #f472b6;
  
  /* Glow & Aurora Tokens */
  --glow-purple: rgba(192, 132, 252, 0.4);
  --glow-cyan: rgba(34, 211, 238, 0.4);
  --aurora-purple: radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.15), transparent 70%);
  --aurora-cyan: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.1), transparent 70%);
  
  --bg-mesh: linear-gradient(135deg, rgba(10, 1, 24, 1) 0%, rgba(0, 0, 0, 1) 100%);
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  
  /* Typography Roles */
  --font-heading: 'Syncopate', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Michroma', monospace;
  
  /* Layout & Spacing */
  --container-width: 96rem;
  --section-gap: clamp(3rem, 8vw, 12rem);
  
  --fs-h1: clamp(2.5rem, 6vw, 6.5rem);
  --fs-h2: clamp(2rem, 4vw, 4rem);
  --fs-h3: clamp(1.5rem, 2.5vw, 2.5rem);
  --fs-h4: clamp(1.25rem, 2vw, 1.875rem);
  --fs-h5: clamp(1.1rem, 1.5vw, 1.5rem);
  --fs-h6: clamp(1rem, 1vw, 1.25rem);
  --fs-body: 1.125rem; /* Min 18px */
  --fs-subtext: 1.125rem; /* Min 18px */

  --radius-panel: 0rem; /* Industrial sharp edges */
  --radius-card: 1rem;
  
  /* Blueprint Grid */
  --grid-border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes mesh-drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-30px) rotate(2deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

* { box-sizing: border-box; }

body.neon-site {
  background-color: var(--bg-black);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  letter-spacing: -0.015em;
}

/* Base Noise Texture Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 9999;
}

/* Digital Scanlines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.1) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.02),
    rgba(0, 255, 0, 0.01),
    rgba(0, 0, 255, 0.02)
  );
  background-size: 100% 4px, 3px 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.3;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6, .site-logo {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: -0.05em !important;
  text-transform: uppercase !important;
  text-wrap: balance !important;
  margin: 0;
}

h1 {
  font-size: var(--fs-h1) !important;
  color: #fff !important;
  line-height: 1.35 !important;
}

h2 {
  font-size: var(--fs-h2) !important;
  line-height: 1.35 !important;
}

h3 {
  font-size: var(--fs-h3) !important;
  line-height: 1.4 !important;
}

h4 {
  font-size: var(--fs-h4) !important;
  line-height: 1.45 !important;
}

h5 {
  font-size: var(--fs-h5) !important;
  line-height: 1.5 !important;
}

h6 {
  font-size: var(--fs-h6) !important;
  line-height: 1.5 !important;
}

@media (min-width: 768px) {
  h1 {
    line-height: 1.25 !important;
  }
  h2 {
    line-height: 1.25 !important;
  }
  h3 {
    line-height: 1.3 !important;
  }
  h4 {
    line-height: 1.35 !important;
  }
}

p {
  font-family: var(--font-body);
  line-height: 1.75;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

/* Redefine Tailwind font classes to match our design system variables */
.font-sans {
  font-family: var(--font-body) !important;
}

.font-mono {
  font-family: var(--font-mono) !important;
}

/* Global Background Effects */
.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  filter: blur(80px);
  border-radius: 999px;
  opacity: 0.4;
}

.orb-purple {
  top: 10%; left: 5%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, var(--neon-purple), transparent 70%);
  animation: float 20s infinite ease-in-out;
}

.orb-blue {
  bottom: 10%; right: 5%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--neon-blue), transparent 70%);
  animation: float 25s infinite ease-in-out reverse;
}

.dot-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

/* Layout Core */
.dynamic-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-full-width {
  width: 100%;
  position: relative;
  padding: var(--section-gap) 0;
  border-bottom: var(--grid-border);
  background: transparent;
}

.section-full-width:nth-child(even) {
  background: transparent;
}

/* Global Mesh Gradient Layer */
.global-background-mesh {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: 
    var(--bg-mesh),
    radial-gradient(at 0% 0%, rgba(192, 132, 252, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(34, 211, 238, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(192, 132, 252, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(34, 211, 238, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Technical HUD Label */
.hud-label {
  font-family: var(--font-mono);
  font-size: 1.125rem; /* Enforced 18px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--neon-purple);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 1;
}

.hud-label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

/* Connecting Line Decorator */
.section-full-width::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: var(--section-gap);
  background: linear-gradient(to bottom, var(--ambient-glow-purple), transparent);
  z-index: -1;
}

/* Components: Glass & Panels */
/* Advanced Visual Separation Utilities */
.section-divider-neon {
  position: relative;
}
.section-divider-neon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
  opacity: 0.3;
  filter: blur(1px);
}

.bg-mesh-subtle {
  background-image: 
    radial-gradient(at 0% 0%, rgba(192, 132, 252, 0.03) 0, transparent 50%), 
    radial-gradient(at 100% 100%, rgba(34, 211, 238, 0.03) 0, transparent 50%);
}

.edge-glow-left {
  border-left: 1px solid rgba(255,255,255,0.05);
  box-shadow: -100px 0 100px -100px rgba(192, 132, 252, 0.1);
}

.edge-glow-right {
  border-right: 1px solid rgba(255,255,255,0.05);
  box-shadow: 100px 0 100px -100px rgba(34, 211, 238, 0.1);
}

/* Wow Factor: Side Neon Lines & Patterns */
.side-dash-lines {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.1;
}

.side-dash-lines::before,
.side-dash-lines::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--neon-purple), var(--neon-purple) 10px, transparent 10px, transparent 20px);
}

.side-dash-lines::before { left: 40px; }
.side-dash-lines::after { right: 40px; }

.floating-figure {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(45deg, rgba(192, 132, 252, 0.05), transparent);
  pointer-events: none;
  z-index: 1;
}

.section-divider-neon {
  position: relative;
}
.section-divider-neon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
  opacity: 0.3;
  filter: blur(1px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--grid-border);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
}

/* Victory Dotted Hover Pattern */
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--neon-purple) 0.5px, transparent 0.5px);
  background-size: 16px 16px;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover {
  border-color: rgba(192, 132, 252, 0.6);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(192, 132, 252, 0.1);
}

.glass-card:hover::after {
  opacity: 0.15;
}

@keyframes glitch-play {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

.glitch-hover:hover {
  animation: glitch-play 0.3s infinite;
}

.visual-accent-block {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.08), rgba(96, 165, 250, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

/* Ultra-Modern Buttons */
.btn-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3rem;
  background: #fff;
  border: none;
  border-radius: 0.25rem;
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.btn-neon:hover {
  background: var(--neon-purple);
  color: #fff;
  box-shadow: 0 0 30px rgba(192, 132, 252, 0.4);
}

.btn-neon-outline {
  display: inline-flex;
  padding: 1.25rem 2.5rem;
  border: 1px solid var(--neon-purple);
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
}

.btn-neon-outline:hover {
  background: rgba(192, 132, 252, 0.1);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.2);
}

/* Typography Enhancements */
.text-neon-grad {
  background: linear-gradient(to right, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section Decorators */
.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: var(--neon-purple);
  margin-bottom: 3rem;
  opacity: 0.6;
}

/* Animations & Interaction */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reveal-up {
  opacity: 0;
  animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-reveal].is-visible {
  opacity: 1;
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Specific Component Styles */
.pain-card {
  position: relative; 
  padding: 2.5rem; /* Reduced from 3rem */
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
  border-left: 4px solid var(--neon-purple);
}

.pain-num {
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.1;
  position: absolute;
  top: 1rem; right: 2rem;
}

.tool-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tool-card:nth-child(even) {
  border-color: var(--neon-blue);
}

.tool-icon {
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.tool-icon svg {
  width: 1.75rem; height: 1.75rem;
  stroke: var(--neon-purple);
  stroke-width: 1.5;
  fill: none;
}

/* FAQ Styling */
.faq-details {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-content {
  padding: 1.5rem;
  padding-top: 0;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Logo & Navigation */
.site-logo {
  font-size: 1.75rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.site-logo span { color: var(--neon-purple); }

.logo-descriptor {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-top: -2px;
}

.nav-link {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover { color: var(--neon-purple); }

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 1, 24, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 1.25rem 0;
}

/* Footer Section */
.site-footer {
  padding: 8rem 0 4rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Form Styling */
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  color: #fff;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--neon-purple);
  background: rgba(255,255,255,0.08);
}

/* Layout Block Spacing Modifier */
.py-section { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }

/* --- Dynamic Scroll Enhancements --- */
.scroll-conn-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: var(--section-gap);
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  top: 100%;
}

.scroll-conn-line {
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    var(--neon-purple) 20%, 
    var(--neon-cyan) 80%, 
    transparent 100%
  );
  background-size: 100% 200%;
  box-shadow: 0 0 15px var(--neon-purple);
  transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.scroll-conn-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff, 0 0 20px var(--neon-purple);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scroll-conn-line.is-active {
  height: 100%;
  animation: line-flow 2s linear infinite;
}

.scroll-conn-line.is-active::after {
  opacity: 1;
}

@keyframes line-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 200%; }
}

.hud-bracket {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid var(--neon-purple);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10;
}

.hud-bracket-tl { top: 40px; left: 40px; border-right: none; border-bottom: none; transform: translate(-20px, -20px); }
.hud-bracket-tr { top: 40px; right: 40px; border-left: none; border-bottom: none; transform: translate(20px, -20px); }
.hud-bracket-bl { bottom: 40px; left: 40px; border-right: none; border-top: none; transform: translate(-20px, 20px); }
.hud-bracket-br { bottom: 40px; right: 40px; border-left: none; border-top: none; transform: translate(20px, 20px); }

.is-visible .hud-bracket {
  opacity: 0.3;
  transform: translate(0, 0);
}

.section-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--neon-purple);
  border-radius: 2px;
  box-shadow: 0 0 15px var(--neon-purple);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 6;
  left: 50%;
  transform: translateX(-50%);
}

.node-top { top: -4px; }
.node-bottom { bottom: -4px; }

.is-visible .section-node {
  opacity: 1;
  animation: node-pulse 3s infinite;
}

@keyframes node-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; box-shadow: 0 0 10px var(--neon-purple); }
  50% { transform: translateX(-50%) scale(1.4); opacity: 0.6; box-shadow: 0 0 25px var(--neon-purple); }
}

/* Side Circuit Lines */
.circuit-line {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--neon-purple), transparent);
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
  animation: circuit-drift 20s infinite ease-in-out;
}

@keyframes circuit-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-60px); }
}

@keyframes menu-shake {
  0%, 100% { transform: scale(1) rotate(0); }
  15% { transform: scale(1.05) rotate(-3deg); }
  30% { transform: scale(1.05) rotate(3deg); }
  45% { transform: scale(1.05) rotate(-2deg); }
  60% { transform: scale(1.05) rotate(2deg); }
  75% { transform: scale(1.05) rotate(-1deg); }
}

.shake-attention {
  animation: menu-shake 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* --- Fixed Ask Question Button --- */
.fixed-ask-btn {
  position: fixed;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(10, 1, 24, 0.8);
  border: 1px solid var(--neon-purple);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  backdrop-filter: blur(20px);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(192, 132, 252, 0.15);
}

.fixed-ask-btn:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--neon-purple);
  color: #000;
  box-shadow: 0 15px 50px rgba(192, 132, 252, 0.4);
}

.fixed-ask-btn .btn-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid var(--neon-purple);
  animation: ping-effect 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes ping-effect {
  75%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.fixed-ask-btn svg {
  transition: transform 0.4s ease;
}

.fixed-ask-btn:hover svg {
  transform: rotate(20deg) translateX(3px);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out;
  filter: blur(40px);
  will-change: transform;
}

/* --- Techno-Grid Background --- */
.techno-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(192, 132, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  opacity: 0.6; /* Adjust for subtlety */
  animation: grid-drift 60s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 0 1000px; }
}

/* Specific section adjustment to ensure relative positioning */
#services {
  position: relative;
}

.circuit-line-left { left: 10%; }
.circuit-line-right { right: 10%; }

/* Enhanced Progress HUD */
.scroll-hud-status {
  position: fixed;
  bottom: 3rem;
  left: 3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-purple);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  z-index: 10001;
  background: rgba(10, 1, 24, 0.8);
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(192, 132, 252, 0.3);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.scroll-hud-status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--neon-purple);
  border-radius: 2px;
  animation: glow-pulse 2s infinite;
}

/* --- Elite Mascot: Pro Marketing Cat --- */
.mascot-container {
  position: fixed;
  bottom: -200px;
  right: 40px;
  z-index: 1000;
  width: 180px;
  height: 180px;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.mascot-container.is-visible {
  bottom: 0px;
  opacity: 1;
}

/* Side Peek States */
.mascot-container.peek-right {
    right: -120px;
    bottom: 25%;
    transform: rotate(-90deg);
}
.mascot-container.peek-right.is-visible {
    right: -50px;
}

.mascot-container.peek-left {
    left: -120px;
    right: auto;
    bottom: 25%;
    transform: rotate(90deg);
}
.mascot-container.peek-left.is-visible {
    left: -50px;
}

/* Mascot Bubble Positioning (Always Horizontal) */
#mascot-bubble {
  position: fixed;
  z-index: 10001;
  bottom: 190px;
  right: 40px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Position bubble when cat peeks right */
.mascot-container.peek-right ~ #mascot-bubble {
  bottom: calc(25% + 100px);
  right: 140px;
  left: auto;
}

/* Position bubble when cat peeks left */
.mascot-container.peek-left ~ #mascot-bubble {
  bottom: calc(25% + 100px);
  left: 140px;
  right: auto;
}

/* Completely hide mascot and bubble on screens smaller than 1280px to prevent text overlap */
@media (max-width: 1279px) {
  .mascot-container,
  #mascot-bubble {
    display: none !important;
  }
}

.mascot-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(192, 132, 252, 0.5));
}

.mascot-path {
  fill: none;
  stroke: var(--neon-purple);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.5s ease;
  vector-effect: non-scaling-stroke;
}

.mascot-fill {
    fill: var(--bg-black);
    opacity: 0.9;
}

.mascot-accent {
    stroke: var(--neon-cyan);
    stroke-width: 1.5;
}

.mascot-eye {
  fill: var(--neon-cyan);
  transition: all 0.3s ease;
}

/* Character Gear Toggle */
.mascot-gear {
    opacity: 0;
    transform: scale(0.8) translateY(5px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.state-binoculars .gear-binoculars { opacity: 1; transform: scale(1) translateY(0); }
.state-glasses .gear-glasses { opacity: 1; transform: scale(1) translateY(0); }
.state-glasses .mascot-eye { opacity: 0.3; }

/* Animations */
@keyframes gear-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.state-binoculars .gear-binoculars { animation: gear-float 3s infinite ease-in-out; }

@keyframes eye-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

.mascot-eye-animate {
  transform-origin: center;
  animation: eye-blink 4s infinite;
}

.mascot-head {
  transition: transform 0.5s ease;
}

@media (max-width: 768px) {
  .mascot-container {
    width: 120px;
    height: 120px;
    right: 15px;
  }
}
/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.animate-marquee {
  display: flex;
  animation: marquee 40s linear infinite;
  min-width: 200%;
}

/* FAQ Accordion Styles */
.faq-category-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--neon-purple);
  margin: 3rem 0 1.5rem;
  letter-spacing: 0.1em;
  border-left: 4px solid var(--neon-purple);
  padding-left: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  gap: 2rem;
}

.faq-question:hover {
  color: var(--neon-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 0;
}

.faq-answer p {
  color: #94a3b8;
  padding: 0 0 1.5rem;
  line-height: 1.8;
  font-size: 1.125rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-question {
  color: var(--neon-cyan);
}

/* --- Modal System: Lead Generation --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 100%;
  max-width: 600px;
  background: var(--bg-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(192, 132, 252, 0.1);
  padding: 4rem;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.is-active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  z-index: 10;
}

.modal-close:hover {
  background: var(--neon-purple);
  border-color: var(--neon-purple);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.modal-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--neon-purple);
  margin-bottom: 3rem;
  display: block;
}

@media (max-width: 640px) {
  .modal-content {
    padding: 3rem 2rem;
  }
  .modal-title {
    font-size: 2rem;
  }
}

/* --- Case-specific Detailed View Styling --- */
.case-modal-section {
  border-left: 2px solid var(--neon-purple);
  padding-left: 2.5rem;
  margin-bottom: 4rem;
  position: relative;
}

.case-modal-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--neon-purple);
  letter-spacing: 0.4em;
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.case-modal-text {
  font-size: 1.25rem;
  color: #94a3b8;
  line-height: 1.8;
  font-weight: 300;
}

.case-stat-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  margin-top: 5rem;
}

.case-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-stat-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.05em;
}

.case-stat-label {
    font-size: 0.75rem;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: var(--font-mono);
}
/* --- Advanced Navigation Styles --- */
.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--slate-500);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hamburger UI */
#mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
#mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
#mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-link:hover {
  color: var(--neon-purple);
  letter-spacing: 0.4em;
}

.mobile-sub-link {
    font-size: 0.75rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.mobile-sub-link:hover {
    color: var(--neon-purple);
}

/* Scroll Lock */
body.menu-open {
  overflow: hidden !important;
}

/* Desktop Dropdown Adjustments */
.nav-item .dropdown-menu {
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover .dropdown-menu {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .site-header {
        background: rgba(5, 5, 5, 0.9);
    }
}
/* --- Service Card & Hero Refinement --- */
@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.03; }
  50% { transform: scale(1.1); opacity: 0.07; }
}

.card-bg-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.card-bg-visual svg {
  width: 150%;
  height: 150%;
  animation: pulse-slow 8s ease-in-out infinite;
  filter: blur(1px);
}

.hero-subtitle-container {
  margin-top: -2rem; /* Pulling up towards header */
}

@media (max-width: 1024px) {
  .hero-subtitle-container {
    margin-top: 0;
  }
}
