.perspective-grid-container {
  perspective: 1000px;
  perspective-origin: 50% 0%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background-color: #0f0f0f;
}
.perspective-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  left: -50%;
  top: 0;
  transform-origin: top center;
  background-image: linear-gradient(
      rgba(180, 137, 48, 0.15) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(180, 137, 48, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: rotateX(75deg);
  animation: grid-move 15s linear infinite;
}
@keyframes grid-move {
  0% {
    transform: rotateX(75deg) translateY(0);
  }
  100% {
    transform: rotateX(75deg) translateY(40px);
  }
}

.premium-cta {
  position: relative;
  background: linear-gradient(135deg, #b48930 0%, #8a6a26 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  isolation: isolate;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  cursor: pointer !important;
}
.premium-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f5d082 0%, #c69c3a 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}
.premium-cta:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(180, 137, 48, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.premium-cta:hover::before {
  opacity: 1;
}

.tech-glow-container {
  --x: 50%;
  --y: 50%;
  position: relative;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1); 
  overflow: hidden;
  transition: transform 0.2s, background-color 0.3s;
  z-index: 10;
  cursor: pointer;
}

.tech-glow-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    250px circle at var(--x) var(--y),
    rgba(180, 137, 48, 0.3), 
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tech-glow-container::after {
  content: "";
  position: absolute;
  inset: -2px; 
  border-radius: inherit;
  padding: 2px; 
  background: radial-gradient(
    100px circle at var(--x) var(--y),
    #ffffff 0%,
    #ffffff 40%,
    rgba(255, 255, 255, 0.2) 60%, 
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tech-glow-container:hover {
  transform: scale(1.02);
  background: rgba(10, 10, 10, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.tech-glow-container:hover::before,
.tech-glow-container:hover::after {
  opacity: 1;
}

.animate-gradient-slow {
  background-size: 200% auto;
  animation: gradient-slow 8s ease infinite;
}
@keyframes gradient-slow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
