@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  --cyber-green: #00ff66;
  --cyber-green-dim: #059669;
  --cyber-green-glow: rgba(0, 255, 102, 0.22);
  --cyber-dark-bg: #06090e;
  --cyber-card-bg: rgba(14, 22, 38, 0.75);
  --cyber-border: rgba(30, 41, 59, 0.8);
  --cyber-border-active: rgba(0, 255, 102, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #06090e;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00ff66;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #06090e;
  color: #f8fafc;
  overflow-x: hidden;
  selection-background-color: #00ff66;
  selection-color: #000000;
}

::selection {
  background: #00ff66;
  color: #040810;
}

.font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Neon Glow Utilities */
.glow-cyber {
  box-shadow: 0 0 25px var(--cyber-green-glow);
}

.glow-cyber-lg {
  box-shadow: 0 0 50px rgba(0, 255, 102, 0.18), 0 0 20px rgba(0, 255, 102, 0.15);
}

/* Hero Zero-Experience / Career-Ready checklist badge */
.hero-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--cyber-green);
  color: #06090e;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
}

.glow-text {
  text-shadow: 0 0 16px rgba(0, 255, 102, 0.6);
}

/* Cyber Matrix Background Grid */
.cyber-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Ambient Radial Glow */
.radial-glow {
  background: radial-gradient(circle at 50% 10%, rgba(0, 255, 102, 0.12) 0%, transparent 65%);
}

/* Button Shimmer Effect */
@keyframes buttonShimmer {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  100% {
    transform: translateX(200%) skewX(-15deg);
  }
}

.animate-shimmer {
  position: relative;
  overflow: hidden;
}

.animate-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: translateX(-100%) skewX(-15deg);
  animation: buttonShimmer 3.5s infinite;
}

/* Attention-Grabbing Button Shake (nudges every few seconds to draw the eye) */
@keyframes ctaShake {
  0%, 88%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  89% { transform: translateX(-3px) rotate(-1.5deg); }
  90% { transform: translateX(4px) rotate(1.5deg); }
  91% { transform: translateX(-4px) rotate(-1.5deg); }
  92% { transform: translateX(4px) rotate(1.5deg); }
  93% { transform: translateX(-3px) rotate(-1deg); }
  94% { transform: translateX(2px) rotate(1deg); }
  95%, 96% { transform: translateX(0) rotate(0deg); }
}

.btn-shake {
  animation: ctaShake 4.5s ease-in-out infinite;
  transform-origin: center;
}

/* Pause the shake while the visitor is interacting with the button */
.btn-shake:hover,
.btn-shake:focus-visible {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .btn-shake {
    animation: none;
  }
}

/* Pulsing Badge Indicator */
@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.pulse-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

/* Accordion Smooth Transition */
.accordion-content {
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  overflow: hidden;
}

/* Persona Switcher Active States */
.persona-tab.active {
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.12) 0%, rgba(14, 22, 38, 0.95) 100%);
  border-color: #00ff66;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
}

.persona-tab.active .persona-icon-box {
  background-color: #00ff66;
  color: #06090e;
}

/* Modal Transitions */
.modal-backdrop {
  transition: opacity 0.25s ease-out;
}

.modal-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out;
}

/* Floating Sticky Bar */
.sticky-bar {
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-bar.visible {
  transform: translateY(0);
}

/* Video Player Styling */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #020408;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive fixes */
@media (max-width: 640px) {
  .font-heading {
    letter-spacing: -0.02em;
  }
}
