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

:root {
  --bg-primary: #0F172A;
  --accent-cyan: #06B6D4;
  --text-primary: #F8FAFC;
  --card-bg: #1E293B;
  --border-color: #334155;
  --card-hover-border: #475569;
  --glow-cyan: rgba(6, 182, 212, 0.25);
  --glow-cyan-strong: rgba(6, 182, 212, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  background-color: #0F172A;
  color: #F8FAFC;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0F172A;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #06B6D4;
}

/* Text Selection */
::selection {
  background-color: rgba(6, 182, 212, 0.3);
  color: #F8FAFC;
}

/* Typography Utilities */
.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glowing Effects */
.glow-cyan-subtle {
  box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.25);
}

.glow-cyan-strong {
  box-shadow: 0 0 35px 0px rgba(6, 182, 212, 0.4);
}

.glow-text-cyan {
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* Cyber Grid & Background Patterns */
.bg-cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(30, 41, 59, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 41, 59, 0.4) 1px, transparent 1px);
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
}

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

.glass-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.6);
}

/* Custom Buttons & Inputs */
.btn-cyan {
  background-color: var(--accent-cyan);
  color: #0F172A;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
}

.btn-cyan:hover {
  background-color: #22d3ee;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.45);
  transform: translateY(-1px);
}

.btn-cyan:active {
  transform: translateY(0);
}

.custom-input {
  background-color: #0F172A;
  border: 1px solid #334155;
  color: #F8FAFC;
  transition: all 0.2s ease;
}

.custom-input:focus {
  outline: none;
  border-color: #06B6D4;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

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

.animate-pulse-dot {
  animation: pulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
