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

:root {
  --bg-primary: #080C14;
  --bg-secondary: #0F172A;
  --card-bg: #131D31;
  --card-border: rgba(255, 255, 255, 0.08);
  --cyan-accent: #00F2FE;
  --cyan-glow: rgba(0, 242, 254, 0.25);
  --blue-accent: #4FACFE;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: #F1F5F9;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

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

/* Background Grid Pattern */
.bg-tech-grid {
  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: 48px 48px;
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.12) 0%, rgba(8, 12, 20, 0) 70%);
}

.bg-card-gradient {
  background: linear-gradient(180deg, rgba(19, 29, 49, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
}

/* Glow effects */
.glow-cyan {
  box-shadow: 0 0 25px -5px rgba(0, 242, 254, 0.35);
}

.border-brand-border {
  border-color: rgba(0, 242, 254, 0.3);
}

.glow-cyan-sm {
  box-shadow: 0 0 15px -3px rgba(0, 242, 254, 0.3);
}

.glow-blue-sm {
  box-shadow: 0 0 15px -3px rgba(79, 172, 254, 0.3);
}

.text-glow {
  text-shadow: 0 0 18px rgba(0, 242, 254, 0.5);
}

/* Border gradients */
.border-gradient-cyan {
  border: 1px solid rgba(0, 242, 254, 0.2);
  transition: all 0.3s ease;
}

.border-gradient-cyan:hover {
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 10px 30px -10px rgba(0, 242, 254, 0.2);
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00F2FE;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.7);
  transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00F2FE;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.7);
  border: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #080C14;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Blinking cursor for terminal */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cursor-blink {
  animation: blink 1s infinite;
}

/* Pulse badge animation */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

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

/* Radar scan effect for video case */
@keyframes radar-sweep {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(300%); opacity: 0; }
}

.animate-radar-sweep {
  animation: radar-sweep 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* No-scrollbar utilities for horizontal swipe on mobile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
