@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&family=Montserrat:ital,wght@0,600;0,700;0,800;0,900;1,700&family=Oswald:wght@500;600;700&display=swap');

:root {
  --neon-primary: #bef202;
  --neon-secondary: #a3e635;
  --bg-deep: #0a0a0a;
  --bg-card: #141518;
  --bg-elevated: #1a1c21;
  --border-subtle: #242730;
  --text-muted: #8e929f;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: #ffffff;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0d0e;
}
::-webkit-scrollbar-thumb {
  background: #2a2d36;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-primary);
}

/* Selection */
::selection {
  background-color: var(--neon-primary);
  color: #000000;
}

/* Glow Utilities */
.neon-glow {
  box-shadow: 0 0 25px rgba(190, 242, 2, 0.35);
}

.neon-glow-lg {
  box-shadow: 0 0 45px rgba(190, 242, 2, 0.45);
}

.neon-glow-btn:hover {
  box-shadow: 0 0 25px rgba(190, 242, 2, 0.6);
  transform: translateY(-2px);
}

.neon-text-glow {
  text-shadow: 0 0 24px rgba(190, 242, 2, 0.5);
}

.neon-border-glow:hover {
  border-color: rgba(190, 242, 2, 0.6);
  box-shadow: 0 0 20px rgba(190, 242, 2, 0.2);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card {
  background: rgba(20, 21, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card:hover {
  border-color: rgba(190, 242, 2, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

/* Font helpers */
.font-brand {
  font-family: 'Montserrat', 'Vazirmatn', sans-serif;
}

.font-heading {
  font-family: 'Oswald', 'Montserrat', 'Vazirmatn', sans-serif;
}

/* Gradient Masks */
.hero-gradient-overlay {
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.85) 45%, rgba(10, 10, 10, 0.2) 100%);
}

@media (max-width: 1024px) {
  .hero-gradient-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.9) 70%, #0a0a0a 100%);
  }
}

/* Subtle floating animation */
@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.animate-subtle-float {
  animation: subtleFloat 4s ease-in-out infinite;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 15px rgba(190, 242, 2, 0.3);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 30px rgba(190, 242, 2, 0.6);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}
