/* VortexLabs Custom Theme & Micro-Animations */
:root {
  --primary: #22c55e;
  --primary-glow: rgba(34, 197, 94, 0.45);
  --primary-light: #4ade80;
  --primary-dark: #15803d;
  --bg-deep: #080b09;
  --bg-card: rgba(16, 23, 19, 0.85);
  --border-subtle: rgba(74, 222, 128, 0.16);
  --border-glow: rgba(74, 222, 128, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #080b09;
}
::-webkit-scrollbar-thumb {
  background: #1e2e24;
  border-radius: 9999px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #22c55e;
}

/* Base Body Smoothing */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-deep);
  color: #f3f4f6;
}

/* Glowing Neon Elements */
.neon-glow {
  box-shadow: 0 0 35px var(--primary-glow);
}
.neon-glow-sm {
  box-shadow: 0 0 15px var(--primary-glow);
}
.neon-border {
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.neon-border:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px -10px var(--primary-glow);
}

/* Gradient Text */
.text-gradient-green {
  background: linear-gradient(135deg, #ffffff 10%, #86efac 60%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-accent {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Visual Frame (Locks card & geometric doodles together exactly like Figma reference) */
.hero-visual-frame {
  position: relative;
  width: 320px;
  height: 420px;
}
@media (min-width: 640px) {
  .hero-visual-frame {
    width: 360px;
    height: 460px;
  }
}
@media (min-width: 1024px) {
  .hero-visual-frame {
    width: 390px;
    height: 490px;
  }
}

/* Background Wireframe Offset Rounded Rectangle */
.hero-wireframe-rect {
  width: 260px;
  height: 340px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 36px;
  transform: rotate(-6deg);
  pointer-events: none;
  transition: transform 0.4s ease;
}
@media (min-width: 640px) {
  .hero-wireframe-rect {
    width: 290px;
    height: 380px;
    border-radius: 40px;
    transform: rotate(-6deg);
  }
}

/* Main Angled Light Green Card (Replaces purple in reference) */
.hero-green-card {
  width: 250px;
  height: 330px;
  border-radius: 36px;
  transform: rotate(-16deg);
  box-shadow: 0 25px 50px -10px rgba(34, 197, 94, 0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
@media (min-width: 640px) {
  .hero-green-card {
    width: 280px;
    height: 370px;
    border-radius: 40px;
    transform: rotate(-16deg);
  }
}
.hero-visual-frame:hover .hero-green-card {
  transform: rotate(-14deg) scale(1.02);
  box-shadow: 0 30px 60px -8px rgba(34, 197, 94, 0.6);
}
.hero-visual-frame:hover .hero-wireframe-rect {
  transform: rotate(-4deg);
}

/* Floating Geometric Shapes relative to .hero-visual-frame */
.hero-shape-zigzag {
  top: 8%;
  left: -8%;
}
.hero-shape-circle {
  top: 4%;
  right: -6%;
}
.hero-shape-triangle {
  bottom: 8%;
  left: -10%;
}
.hero-shape-plus {
  bottom: 12%;
  right: -6%;
}

/* Floating Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}
@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(-2deg);
  }
}
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}
@keyframes sonarPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 25px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}
.animate-float-reverse {
  animation: floatReverse 7s ease-in-out infinite;
}
.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}
.animate-sonar {
  animation: sonarPulse 2.5s infinite;
}

/* Glassmorphism surfaces */
.glass-panel {
  background: rgba(16, 23, 19, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(74, 222, 128, 0.14);
}
.glass-panel-deep {
  background: rgba(10, 15, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 222, 128, 0.16);
}

/* Active Service Tab Pill */
.service-tab-btn.active {
  background: #22c55e;
  color: #051c0d;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
  border-color: #22c55e;
}
.service-tab-btn:not(.active):hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(74, 222, 128, 0.4);
  color: #86efac;
}

/* Service Card Filter Transition */
.service-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card.hidden-card {
  display: none !important;
  opacity: 0;
  transform: scale(0.95);
}

/* Modal Backdrop */
.modal-overlay {
  background: rgba(4, 7, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Active Resource Tab Pill */
.resource-tab-btn.active {
  background: #22c55e;
  color: #051c0d;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
  border-color: #22c55e;
}
.resource-tab-btn:not(.active):hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(74, 222, 128, 0.4);
  color: #86efac;
}

/* Resource Card Filter Transition */
.resource-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.resource-card.hidden-card {
  display: none !important;
  opacity: 0;
  transform: scale(0.95);
}

/* Bento Gallery Item Hover and Overlay */
.bento-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background-color: rgba(14, 20, 17, 0.85);
  border: 1px solid rgba(74, 222, 128, 0.16);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(34, 197, 94, 0.15);
}
.bento-gallery-item .gallery-overlay {
  background: linear-gradient(to top, rgba(5, 17, 8, 0.95) 0%, rgba(5, 17, 8, 0.6) 40%, transparent 100%);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.bento-gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Strictly hide mobile menu drawer and hamburger button on desktop viewports */
@media (min-width: 768px) {
  #mobile-menu-drawer {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  #mobile-menu-btn {
    display: none !important;
  }
}


