/* ===== Neon Arcade — CYBERPUNK Visual Effects ===== */

/* ===== 1. CRT Scanline Overlay ===== */
.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.03) 0px,
    rgba(0, 0, 0, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: multiply;
}

[data-theme="dark"] .scanline-overlay {
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.08) 0px,
    rgba(0, 0, 0, 0.08) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* ===== 2. Background Noise / Static Texture ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  animation: noise-shift 0.3s steps(3) infinite;
}

[data-theme="dark"] .noise-overlay {
  opacity: 0.07;
}

@keyframes noise-shift {
  0% { background-position: 0 0; }
  33% { background-position: 10px -15px; }
  66% { background-position: -5px 8px; }
  100% { background-position: 0 0; }
}

/* ===== 3. CRT Monitor Bezel Frame ===== */
.crt-bezel {
  position: relative;
  border: 3px solid var(--crt-border);
  border-radius: 20px / 24px;
  background: var(--bg-dark);
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.5),
    inset 0 0 120px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(255, 0, 128, 0.08),
    0 0 60px rgba(255, 0, 128, 0.04);
  overflow: hidden;
}

.crt-bezel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 100px rgba(0, 0, 0, 0.4),
    inset 0 0 200px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 2;
}

/* CRT vignette (dark edges, brighter center) */
.crt-bezel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* ===== 4. Neon Glow Text ===== */
.neon-glow,
.style-neon-arcade .hero h1 {
  text-shadow:
    0 0 10px rgba(255, 0, 128, 0.6),
    0 0 20px rgba(255, 0, 128, 0.4),
    0 0 40px rgba(255, 0, 128, 0.25),
    0 0 80px rgba(255, 0, 128, 0.1);
}

.neon-glow-cyan {
  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.6),
    0 0 20px rgba(0, 229, 255, 0.4),
    0 0 40px rgba(0, 229, 255, 0.2);
}

.neon-glow-green {
  text-shadow:
    0 0 10px rgba(0, 255, 136, 0.6),
    0 0 20px rgba(0, 255, 136, 0.4),
    0 0 40px rgba(0, 255, 136, 0.2);
}

/* ===== 5. Perspective Grid Floor (Tron-like vanishing point) ===== */
.neon-grid-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -15%;
  height: 60%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 229, 255, 0.15) 0px,
      rgba(0, 229, 255, 0.15) 1px,
      transparent 1px,
      transparent 80px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 0, 128, 0.1) 0px,
      rgba(255, 0, 128, 0.1) 1px,
      transparent 1px,
      transparent 80px
    );
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center bottom;
  animation: grid-scroll 3s linear infinite;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 80%);
}

@keyframes grid-scroll {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 80px, 0 80px; }
}

/* ===== 6. Neon Grid Background (flat) ===== */
.neon-grid-bg,
.style-neon-arcade .hero {
  background-color: #0A0A1A;
  background-image:
    linear-gradient(rgba(255, 0, 128, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 128, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 20px 20px, 20px 20px;
}

/* ===== 7. Pulsing Neon Border Animation ===== */
@keyframes neon-border-pulse {
  0%, 100% {
    box-shadow:
      0 0 5px rgba(255, 0, 128, 0.4),
      0 0 15px rgba(255, 0, 128, 0.2),
      0 0 30px rgba(255, 0, 128, 0.1),
      inset 0 0 5px rgba(255, 0, 128, 0.1);
  }
  50% {
    box-shadow:
      0 0 10px rgba(255, 0, 128, 0.7),
      0 0 25px rgba(255, 0, 128, 0.5),
      0 0 50px rgba(255, 0, 128, 0.25),
      0 0 80px rgba(255, 0, 128, 0.1),
      inset 0 0 10px rgba(255, 0, 128, 0.2);
  }
}

@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.85; }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3), 0 0 40px rgba(255, 0, 128, 0.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.5), 0 0 60px rgba(255, 0, 128, 0.25), 0 0 100px rgba(255, 0, 128, 0.1);
  }
}

/* ===== 8. Glitch Text Effect ===== */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glitch-text::before {
  color: #00E5FF;
  z-index: -1;
  animation: glitch-1 3s infinite linear alternate-reverse;
}

.glitch-text::after {
  color: #FF0080;
  z-index: -2;
  animation: glitch-2 2s infinite linear alternate-reverse;
}

/* Hover-triggered intense glitch */
.glitch-text:hover::before {
  animation: glitch-intense-1 0.3s infinite linear;
}

.glitch-text:hover::after {
  animation: glitch-intense-2 0.3s infinite linear;
}

@keyframes glitch-1 {
  0%, 85% { clip-path: inset(0 0 0 0); transform: translate(0); }
  86% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 1px); }
  87% { clip-path: inset(80% 0 0% 0); transform: translate(2px, -1px); }
  88% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 2px); }
  89% { clip-path: inset(40% 0 30% 0); transform: translate(3px, 0); }
  90% { clip-path: inset(0 0 0 0); transform: translate(0); }
  91%, 92% { clip-path: inset(60% 0 10% 0); transform: translate(-4px, 1px); }
  93% { clip-path: inset(0% 0 85% 0); transform: translate(2px, -2px); }
  94%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}

@keyframes glitch-2 {
  0%, 88% { clip-path: inset(0 0 0 0); transform: translate(0); }
  89% { clip-path: inset(50% 0 20% 0); transform: translate(3px, -1px); }
  90% { clip-path: inset(15% 0 65% 0); transform: translate(-2px, 2px); }
  91% { clip-path: inset(70% 0 5% 0); transform: translate(4px, 0); }
  92% { clip-path: inset(0 0 0 0); transform: translate(0); }
  93%, 94% { clip-path: inset(25% 0 50% 0); transform: translate(-3px, -1px); }
  95%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}

@keyframes glitch-intense-1 {
  0% { clip-path: inset(30% 0 40% 0); transform: translate(-5px, 2px); }
  25% { clip-path: inset(60% 0 10% 0); transform: translate(4px, -1px); }
  50% { clip-path: inset(10% 0 70% 0); transform: translate(-3px, 3px); }
  75% { clip-path: inset(50% 0 20% 0); transform: translate(5px, 0); }
  100% { clip-path: inset(20% 0 55% 0); transform: translate(-4px, -2px); }
}

@keyframes glitch-intense-2 {
  0% { clip-path: inset(45% 0 25% 0); transform: translate(4px, -2px); }
  25% { clip-path: inset(15% 0 60% 0); transform: translate(-5px, 1px); }
  50% { clip-path: inset(70% 0 5% 0); transform: translate(3px, -3px); }
  75% { clip-path: inset(35% 0 40% 0); transform: translate(-4px, 2px); }
  100% { clip-path: inset(55% 0 15% 0); transform: translate(5px, 0); }
}

/* ===== 9. Photo Frame Corner Brackets (Animated Glow) ===== */
.corner-bracket {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 3;
  pointer-events: none;
  animation: bracket-pulse 2.5s ease-in-out infinite;
}

.corner-bracket::before,
.corner-bracket::after {
  content: '';
  position: absolute;
  background: #00E5FF;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.8), 0 0 12px rgba(0, 229, 255, 0.4);
}

.corner-bracket.tl { top: 6px; left: 6px; }
.corner-bracket.tl::before { top: 0; left: 0; width: 20px; height: 2px; }
.corner-bracket.tl::after { top: 0; left: 0; width: 2px; height: 20px; }

.corner-bracket.tr { top: 6px; right: 6px; }
.corner-bracket.tr::before { top: 0; right: 0; width: 20px; height: 2px; }
.corner-bracket.tr::after { top: 0; right: 0; width: 2px; height: 20px; }

.corner-bracket.bl { bottom: 6px; left: 6px; }
.corner-bracket.bl::before { bottom: 0; left: 0; width: 20px; height: 2px; }
.corner-bracket.bl::after { bottom: 0; left: 0; width: 2px; height: 20px; }

.corner-bracket.br { bottom: 6px; right: 6px; }
.corner-bracket.br::before { bottom: 0; right: 0; width: 20px; height: 2px; }
.corner-bracket.br::after { bottom: 0; right: 0; width: 2px; height: 20px; }

@keyframes bracket-pulse {
  0%, 100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.5));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 1)) drop-shadow(0 0 20px rgba(0, 229, 255, 0.6));
  }
}

/* ===== 10. Photo Scanning Effect (Red Crosshair) ===== */
.scan-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

/* Horizontal scan line */
.scan-line-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 60, 0.8), rgba(255, 0, 60, 1), rgba(255, 0, 60, 0.8), transparent);
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.6), 0 0 20px rgba(255, 0, 60, 0.3);
  animation: scan-h 3s ease-in-out infinite;
}

/* Vertical scan line */
.scan-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 0, 60, 0.8), rgba(255, 0, 60, 1), rgba(255, 0, 60, 0.8), transparent);
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.6), 0 0 20px rgba(255, 0, 60, 0.3);
  animation: scan-v 4s ease-in-out infinite 1s;
}

/* Crosshair center target */
.scan-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 0, 60, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 0, 60, 0.4);
  animation: crosshair-pulse 2s ease-in-out infinite;
}

.scan-crosshair::before,
.scan-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255, 0, 60, 0.5);
}

.scan-crosshair::before {
  top: 50%;
  left: -8px;
  right: -8px;
  height: 1px;
}

.scan-crosshair::after {
  left: 50%;
  top: -8px;
  bottom: -8px;
  width: 1px;
}

@keyframes scan-h {
  0%, 100% { top: 10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { top: 85%; }
}

@keyframes scan-v {
  0%, 100% { left: 10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { left: 85%; }
}

@keyframes crosshair-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* ===== 11. Neon Sign Flicker for Logo Text ===== */
.nav-logo-text {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: #00E5FF;
  text-shadow:
    0 0 7px rgba(0, 229, 255, 0.6),
    0 0 15px rgba(0, 229, 255, 0.4),
    0 0 30px rgba(0, 229, 255, 0.2),
    0 0 50px rgba(0, 229, 255, 0.1);
  animation: neon-sign-flicker 4s ease-in-out infinite;
  letter-spacing: 0.05em;
  margin-inline-start: 10px;
  white-space: nowrap;
}

@keyframes neon-sign-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow:
      0 0 7px rgba(0, 229, 255, 0.6),
      0 0 15px rgba(0, 229, 255, 0.4),
      0 0 30px rgba(0, 229, 255, 0.2),
      0 0 50px rgba(0, 229, 255, 0.1);
  }
  19% { opacity: 0.75; text-shadow: 0 0 4px rgba(0, 229, 255, 0.3), 0 0 10px rgba(0, 229, 255, 0.2); }
  21% { opacity: 0.85; text-shadow: 0 0 5px rgba(0, 229, 255, 0.4), 0 0 12px rgba(0, 229, 255, 0.3); }
  24% { opacity: 0.6; text-shadow: 0 0 3px rgba(0, 229, 255, 0.2), 0 0 8px rgba(0, 229, 255, 0.1); }
  54% { opacity: 0.7; text-shadow: 0 0 4px rgba(0, 229, 255, 0.3), 0 0 10px rgba(0, 229, 255, 0.2); }
  56% { opacity: 0.9; text-shadow: 0 0 6px rgba(0, 229, 255, 0.5), 0 0 14px rgba(0, 229, 255, 0.35); }
}

/* ===== 12. Card Corner Brackets via ::before/::after ===== */
.card-brackets {
  position: relative;
}

.card-brackets::before,
.card-brackets::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.card-brackets::before {
  top: 8px;
  left: 8px;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
  box-shadow: -2px -2px 6px rgba(0, 229, 255, 0.3);
}

[dir="rtl"] .card-brackets::before {
  left: auto;
  right: 8px;
  border-left: none;
  border-right: 2px solid var(--neon-cyan);
  box-shadow: 2px -2px 6px rgba(0, 229, 255, 0.3);
}

.card-brackets::after {
  bottom: 8px;
  right: 8px;
  border-bottom: 2px solid var(--neon-cyan);
  border-right: 2px solid var(--neon-cyan);
  box-shadow: 2px 2px 6px rgba(0, 229, 255, 0.3);
}

[dir="rtl"] .card-brackets::after {
  right: auto;
  left: 8px;
  border-right: none;
  border-left: 2px solid var(--neon-cyan);
  box-shadow: -2px 2px 6px rgba(0, 229, 255, 0.3);
}

.card-brackets:hover::before,
.card-brackets:hover::after {
  opacity: 1;
}

/* ===== 13. Hover Card Neon Trail (Rotating Border) ===== */
@property --card-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.card.neon-trail-card {
  position: relative;
  overflow: visible;
  background: var(--bg-card);
  border: 1px solid transparent;
  z-index: 1;
}

.card.neon-trail-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--card-angle),
    transparent 0%,
    #FF0080 10%,
    #00E5FF 20%,
    #7B2FBE 30%,
    transparent 40%,
    transparent 100%
  );
  z-index: -2;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: card-trail-rotate 3s linear infinite;
}

.card.neon-trail-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-card);
  z-index: -1;
}

[data-theme="dark"] .card.neon-trail-card::after {
  background: #0E0E22;
}

.card.neon-trail-card:hover::before {
  opacity: 1;
}

@keyframes card-trail-rotate {
  to { --card-angle: 360deg; }
}

/* ===== 14. Pulsing CTA Button Glow ===== */
.btn-primary {
  animation: cta-neon-breathe 2.5s ease-in-out infinite;
}

@keyframes cta-neon-breathe {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(255, 0, 128, 0.4),
      0 0 20px rgba(255, 0, 128, 0.2),
      0 0 40px rgba(255, 0, 128, 0.1);
  }
  50% {
    box-shadow:
      0 0 15px rgba(255, 0, 128, 0.6),
      0 0 30px rgba(255, 0, 128, 0.4),
      0 0 60px rgba(255, 0, 128, 0.2),
      0 0 100px rgba(255, 0, 128, 0.1);
  }
}

.btn-primary:hover {
  animation: none;
  box-shadow:
    0 0 20px rgba(255, 0, 128, 0.7),
    0 0 40px rgba(255, 0, 128, 0.4),
    0 0 80px rgba(255, 0, 128, 0.2);
}

/* ===== 15. Stats Neon Pipe Separators ===== */
.stat-neon-pipe {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  color: #00E5FF;
  text-shadow:
    0 0 8px rgba(0, 229, 255, 0.8),
    0 0 16px rgba(0, 229, 255, 0.5),
    0 0 32px rgba(0, 229, 255, 0.3);
  animation: pipe-pulse 2s ease-in-out infinite;
  padding: 0 8px;
  user-select: none;
}

@keyframes pipe-pulse {
  0%, 100% {
    opacity: 0.6;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.5), 0 0 12px rgba(0, 229, 255, 0.3);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 229, 255, 1), 0 0 20px rgba(0, 229, 255, 0.7), 0 0 40px rgba(0, 229, 255, 0.4);
  }
}

/* ===== 16. Neon Section Divider Lines ===== */
.neon-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-cyan), var(--neon-pink), transparent);
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.3), 0 0 20px rgba(255, 0, 128, 0.15);
  margin: 0;
  border: none;
  opacity: 0.6;
}

/* ===== 17. Service Card Individual Neon Colors ===== */
.service-card[data-neon="pink"] {
  border-color: rgba(255, 0, 128, 0.3) !important;
}
.service-card[data-neon="pink"]:hover {
  border-color: rgba(255, 0, 128, 0.7) !important;
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.3), 0 0 30px rgba(255, 0, 128, 0.15), inset 0 0 15px rgba(255, 0, 128, 0.05) !important;
}

.service-card[data-neon="cyan"] {
  border-color: rgba(0, 229, 255, 0.3) !important;
}
.service-card[data-neon="cyan"]:hover {
  border-color: rgba(0, 229, 255, 0.7) !important;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3), 0 0 30px rgba(0, 229, 255, 0.15), inset 0 0 15px rgba(0, 229, 255, 0.05) !important;
}

.service-card[data-neon="green"] {
  border-color: rgba(0, 255, 136, 0.3) !important;
}
.service-card[data-neon="green"]:hover {
  border-color: rgba(0, 255, 136, 0.7) !important;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3), 0 0 30px rgba(0, 255, 136, 0.15), inset 0 0 15px rgba(0, 255, 136, 0.05) !important;
}

.service-card[data-neon="orange"] {
  border-color: rgba(255, 107, 0, 0.3) !important;
}
.service-card[data-neon="orange"]:hover {
  border-color: rgba(255, 107, 0, 0.7) !important;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.3), 0 0 30px rgba(255, 107, 0, 0.15), inset 0 0 15px rgba(255, 107, 0, 0.05) !important;
}

.service-card[data-neon="yellow"] {
  border-color: rgba(255, 229, 0, 0.3) !important;
}
.service-card[data-neon="yellow"]:hover {
  border-color: rgba(255, 229, 0, 0.7) !important;
  box-shadow: 0 0 15px rgba(255, 229, 0, 0.3), 0 0 30px rgba(255, 229, 0, 0.15), inset 0 0 15px rgba(255, 229, 0, 0.05) !important;
}

/* Card neon icon glow per color */
.service-card[data-neon="pink"] .card-icon { background: rgba(255, 0, 128, 0.12); }
.service-card[data-neon="cyan"] .card-icon { background: rgba(0, 229, 255, 0.12); }
.service-card[data-neon="green"] .card-icon { background: rgba(0, 255, 136, 0.12); }
.service-card[data-neon="orange"] .card-icon { background: rgba(255, 107, 0, 0.12); }
.service-card[data-neon="yellow"] .card-icon { background: rgba(255, 229, 0, 0.12); }

/* Card neon bullet color per card */
.service-card[data-neon="pink"] li::before { background: #FF0080; box-shadow: 0 0 6px rgba(255, 0, 128, 0.5); }
.service-card[data-neon="cyan"] li::before { background: #00E5FF; box-shadow: 0 0 6px rgba(0, 229, 255, 0.5); }
.service-card[data-neon="green"] li::before { background: #00FF88; box-shadow: 0 0 6px rgba(0, 255, 136, 0.5); }
.service-card[data-neon="orange"] li::before { background: #FF6B00; box-shadow: 0 0 6px rgba(255, 107, 0, 0.5); }
.service-card[data-neon="yellow"] li::before { background: #FFE500; box-shadow: 0 0 6px rgba(255, 229, 0, 0.5); }

/* ===== 18. Section Number Labels ===== */
.section-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
}

/* ===== 19. Animated Gradient Mesh (Hero Background) ===== */
@property --mesh-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from var(--mesh-angle),
    rgba(255, 0, 128, 0.04),
    rgba(0, 229, 255, 0.03),
    rgba(123, 47, 190, 0.04),
    rgba(255, 0, 128, 0.04)
  );
  animation: mesh-rotate 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .hero-mesh {
  background: conic-gradient(
    from var(--mesh-angle),
    rgba(255, 0, 128, 0.08),
    rgba(0, 229, 255, 0.06),
    rgba(123, 47, 190, 0.08),
    rgba(255, 0, 128, 0.08)
  );
}

@keyframes mesh-rotate {
  to { --mesh-angle: 360deg; }
}

/* ===== 20. Floating Orbs ===== */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.floating-orb-1 {
  width: 400px; height: 400px;
  background: rgba(255, 0, 128, 0.06);
  top: -100px; right: 10%;
  animation: orb-float-1 12s ease-in-out infinite;
}

.floating-orb-2 {
  width: 300px; height: 300px;
  background: rgba(0, 229, 255, 0.05);
  bottom: -50px; left: 5%;
  animation: orb-float-2 15s ease-in-out infinite;
}

.floating-orb-3 {
  width: 250px; height: 250px;
  background: rgba(123, 47, 190, 0.05);
  top: 40%; left: 50%;
  animation: orb-float-3 18s ease-in-out infinite;
}

[data-theme="dark"] .floating-orb-1 { background: rgba(255, 0, 128, 0.12); }
[data-theme="dark"] .floating-orb-2 { background: rgba(0, 229, 255, 0.10); }
[data-theme="dark"] .floating-orb-3 { background: rgba(123, 47, 190, 0.10); }

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -30px) scale(1.08); }
  66% { transform: translate(20px, -10px) scale(0.92); }
}

@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}

/* ===== 21. Mouse-follow glow ===== */
.hero-mouse-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
  opacity: 0;
}

.hero:hover .hero-mouse-glow { opacity: 1; }

[data-theme="dark"] .hero-mouse-glow {
  background: radial-gradient(circle, rgba(255, 0, 128, 0.25) 0%, transparent 70%);
}

/* ===== 22. Glass morphism cards ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(123, 47, 190, 0.12);
  transition: all var(--transition);
}

[data-theme="dark"] .glass-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 0, 128, 0.15);
}

[data-theme="dark"] .glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 0, 128, 0.5);
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.2), 0 0 30px rgba(255, 0, 128, 0.1);
}

/* ===== 23. Animated gradient text ===== */
.gradient-text-animated {
  background: linear-gradient(135deg, #FF0080, #00E5FF, #7B2FBE, #FF0080);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

/* ===== 24. Section decorative blobs ===== */
.section-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section-blob-left {
  width: 300px; height: 300px;
  left: -150px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 0, 128, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

[data-theme="dark"] .section-blob-left {
  background: radial-gradient(circle, rgba(255, 0, 128, 0.08) 0%, transparent 70%);
}

/* ===== 25. Shimmer effect for stats ===== */
.stat-shimmer {
  position: relative;
  overflow: hidden;
}

.stat-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 0, 128, 0.06) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: -200% 0; }
  50% { background-position: 200% 0; }
}

/* ===== 26. Reveal animation ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 27. Process Terminal Steps ===== */
.step-terminal-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===== 28. Contact Form Neon Inputs ===== */
[data-theme="dark"] .style-neon-arcade .contact-form .form-group input:focus,
[data-theme="dark"] .style-neon-arcade .contact-form .form-group select:focus,
[data-theme="dark"] .style-neon-arcade .contact-form .form-group textarea:focus {
  border-color: var(--neon-pink);
  box-shadow:
    0 0 8px rgba(255, 0, 128, 0.3),
    0 0 16px rgba(255, 0, 128, 0.15),
    inset 0 0 8px rgba(255, 0, 128, 0.05);
}

/* ===== 29. Neon Section Header Glow ===== */
[data-theme="dark"] .section-header h2 {
  text-shadow: 0 0 20px rgba(255, 0, 128, 0.25);
}

/* ===== 30. Square Badge ===== */
.badge-square {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 0, 128, 0.1);
  border: 1px solid rgba(255, 0, 128, 0.4);
  color: var(--neon-pink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 0, 128, 0.5);
  margin-inline-start: 12px;
}

/* ===== Prefers reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .floating-orb,
  .hero-mouse-glow,
  .stat-shimmer::after,
  .neon-grid-floor,
  .glitch-text::before,
  .glitch-text::after,
  .corner-bracket,
  .nav-logo-text,
  .btn-primary,
  .stat-neon-pipe,
  .card.neon-trail-card::before,
  .scan-line-h,
  .scan-line-v,
  .scan-crosshair,
  .noise-overlay,
  .step-arrow {
    animation: none !important;
  }

  .hero-mouse-glow { display: none; }
  .gradient-text-animated { animation: none !important; }
}

/* ===== Mobile: disable heavy effects ===== */
@media (max-width: 768px) {
  .floating-orb { display: none; }
  .hero-mouse-glow { display: none; }
  .hero-mesh { animation-duration: 40s; }
  .neon-grid-floor { height: 40%; }
  .glitch-text::before, .glitch-text::after { display: none; }
  .scan-overlay { display: none; }
}
