/* ========================================
   SOPHISTICATED DESIGN SYSTEM
   Inspired by: Stripe, Linear, Figma, Notion, Framer
   Modern Web Design Trends 2024
   ======================================== */

/* CSS Variables - Sophisticated Design System */
:root {
  /* Modern Brand Colors - Inspired by Leading Platforms */
  --primary-slate: #0f172a;
  --primary-zinc: #18181b;
  --primary-neutral: #171717;
  --primary-stone: #1c1917;
  
  /* Refined Accent Colors */
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-purple: #a855f7;
  --accent-fuchsia: #d946ef;
  --accent-pink: #ec4899;
  --accent-rose: #f43f5e;
  --accent-emerald: #10b981;
  --accent-teal: #14b8a6;
  --accent-cyan: #06b6d4;
  
  /* Legacy Cyber Colors (for backward compatibility) */
  --cyber-cyan: #00f5ff;
  --cyber-purple: #8338ec;
  --cyber-pink: #ff006e;
  --cyber-green: #06ffa5;
  --cyber-orange: #ffbe0b;
  --cyber-blue: #3a86ff;
  
  /* Sophisticated Dark Theme */
  --dark-bg: #0a0a0f;
  --dark-surface: #1a1a2e;
  --dark-elevated: #16213e;
  --dark-border: rgba(99, 102, 241, 0.15);
  --dark-text: #e2e8f0;
  --dark-muted: #64748b;
  
  /* Modern Gradients */
  --sophisticated-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 35%, var(--accent-violet) 70%, var(--accent-purple) 100%);
  --elegant-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-indigo) 100%);
  --premium-gradient: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-teal) 50%, var(--accent-cyan) 100%);
  --neon-gradient: linear-gradient(135deg, var(--cyber-cyan) 0%, var(--cyber-purple) 50%, var(--cyber-pink) 100%);
  --glass-gradient: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  --dark-gradient: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  
  /* Sophisticated Shadows */
  --shadow-elegant: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-refined: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-premium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-luxury: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Advanced Typography Scale */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-7xl: 4.5rem;
  --font-size-8xl: 6rem;
  --font-size-9xl: 8rem;
}

/* Global Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--dark-bg);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   SOPHISTICATED ANIMATIONS
   Modern, Smooth, Performance-Optimized
   ======================================== */

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes text-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes elegant-glow {
  0%, 100% { 
    box-shadow: 
      var(--shadow-refined),
      0 0 20px rgba(99, 102, 241, 0.2),
      0 0 40px rgba(99, 102, 241, 0.1);
  }
  50% { 
    box-shadow: 
      var(--shadow-premium),
      0 0 30px rgba(139, 92, 246, 0.3),
      0 0 60px rgba(139, 92, 246, 0.15);
  }
}

@keyframes sophisticated-float {
  0%, 100% { 
    transform: translateY(0px) scale(1);
  }
  50% { 
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes premium-pulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes refined-slide-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes micro-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(-2px);
  }
}

@keyframes elegant-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Performance-optimized glow for legacy cyber elements */
@keyframes glow {
  0%, 100% { 
    box-shadow: 0 0 20px var(--cyber-cyan), 0 0 40px var(--cyber-cyan), 0 0 60px var(--cyber-cyan);
  }
  50% { 
    box-shadow: 0 0 30px var(--cyber-purple), 0 0 60px var(--cyber-purple), 0 0 90px var(--cyber-purple);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(2deg); }
  66% { transform: translateY(-5px) rotate(-2deg); }
}

@keyframes glitch {
  0%, 90%, 100% {
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
  10% {
    transform: translate(-2px, 1px);
    filter: hue-rotate(90deg);
  }
  20% {
    transform: translate(2px, -1px);
    filter: hue-rotate(180deg);
  }
  30% {
    transform: translate(-1px, 2px);
    filter: hue-rotate(270deg);
  }
  40% {
    transform: translate(1px, -2px);
    filter: hue-rotate(360deg);
  }
}

@keyframes matrix-rain {
  0% { transform: translateY(-100vh); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* ========================================
   SOPHISTICATED NAVIGATION SYSTEM
   Modern, Clean, Professional
   ======================================== */

.cyber-nav-link {
  position: relative;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cyber-nav-link:hover {
  color: white;
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-refined), 0 0 0 1px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.cyber-nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--elegant-gradient);
  border-radius: 0.75rem;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.cyber-nav-link:hover::before {
  opacity: 0.05;
}

.cyber-nav-link.active {
  color: white;
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-refined);
}

/* Enhanced Mobile Navigation */
.mobile-nav-link {
  display: block;
  padding: 1rem 1.5rem;
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.75rem;
  margin: 0.25rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.02);
}

.mobile-nav-link:hover {
  color: white;
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(4px);
}

/* Mobile Hamburger */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
}

.hamburger-icon .line {
  height: 2px;
  background: var(--cyber-purple);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ========================================
   SOPHISTICATED TAG SYSTEM
   Modern Pill Design
   ======================================== */

.holo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    var(--shadow-elegant),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.holo-tag:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: white;
  box-shadow: 
    var(--shadow-refined),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(99, 102, 241, 0.1),
    0 0 24px rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

.holo-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.holo-tag:hover::before {
  left: 100%;
}

/* Icon styling within tags */
.holo-tag i {
  font-size: 0.75rem;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.holo-tag:hover i {
  opacity: 1;
  transform: scale(1.1);
}

/* Tag variants for different contexts */
.holo-tag.primary {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: rgba(139, 92, 246, 1);
}

.holo-tag.success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: rgba(52, 211, 153, 1);
}

.holo-tag.warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: rgba(251, 191, 36, 1);
}

/* ========================================
   SOPHISTICATED BUTTON SYSTEM
   Modern, Elegant, Interactive
   ======================================== */

.cyber-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  min-width: 160px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-elegant);
}

.cyber-btn.primary-btn {
  background: var(--elegant-gradient);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: white;
  box-shadow: var(--shadow-refined), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.cyber-btn.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(226, 232, 240, 0.9);
}

.cyber-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

.cyber-btn.primary-btn:hover {
  box-shadow: var(--shadow-luxury), 0 0 32px rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 50%, var(--accent-violet) 100%);
}

.cyber-btn.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-premium), 0 0 24px rgba(255, 255, 255, 0.1);
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: var(--sophisticated-gradient);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1rem;
}

.cyber-btn:hover .btn-glow {
  opacity: 0.05;
}

/* Micro-interaction: Button Press Effect */
.cyber-btn:active {
  transform: translateY(0px);
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Icon Animation */
.cyber-btn i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-btn:hover i {
  transform: scale(1.1);
}

/* ========================================
   FLOATING GEOMETRIC ELEMENTS
   ======================================== */

.floating-geo {
  position: absolute;
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  animation: float 8s ease-in-out infinite;
}

.geo-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), transparent);
  animation-delay: -1s;
}

.geo-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 20%;
  background: linear-gradient(135deg, rgba(131, 56, 236, 0.05), transparent);
  animation-delay: -3s;
}

.geo-3 {
  width: 80px;
  height: 80px;
  top: 80%;
  left: 70%;
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), transparent);
  animation-delay: -5s;
}

.geo-4 {
  width: 120px;
  height: 40px;
  top: 30%;
  right: 10%;
  background: linear-gradient(135deg, rgba(6, 255, 165, 0.05), transparent);
  animation-delay: -7s;
}

/* ========================================
   GLITCH EFFECTS
   ======================================== */

.glitch {
  animation: glitch 3s infinite;
}

.glitch:hover {
  animation-duration: 0.5s;
}

/* ========================================
   SOPHISTICATED STATISTICS CARDS
   Modern Metric Display
   ======================================== */

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    var(--shadow-elegant),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--elegant-gradient);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 
    var(--shadow-refined),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(99, 102, 241, 0.1),
    0 0 32px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

.stat-card:hover::before {
  opacity: 1;
}

/* Enhanced number styling */
.stat-card .counter {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  background: var(--elegant-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .counter {
  transform: scale(1.05);
}

/* Refined label styling */
.stat-card .stat-label {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-label {
  color: rgba(226, 232, 240, 0.9);
}

/* ========================================
   PARTICLE BACKGROUND
   ======================================== */

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* ========================================
   THEME TOGGLE ORB
   ======================================== */

#themeOrb {
  background: var(--neon-gradient);
  animation: glow 3s ease-in-out infinite alternate;
  position: relative;
}

#themeOrb::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--dark-bg);
  border-radius: 50%;
}

#themeOrb::after {
  content: '🌓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 10;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SOPHISTICATED SECTION STYLING
   Modern Layout & Spacing
   ======================================== */

section {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
}

/* Refined section spacing for better visual hierarchy */
section:first-of-type {
  padding-top: 0;
}

section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Enhanced typography scale */
h1 {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Sophisticated text spacing */
.text-spacing-relaxed {
  letter-spacing: 0.025em;
  line-height: 1.7;
}

.text-spacing-tight {
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* Modern container widths */
.container-narrow {
  max-width: 42rem;
  margin: 0 auto;
}

.container-wide {
  max-width: 90rem;
  margin: 0 auto;
}

/* Elegant content spacing */
.content-section {
  padding: 4rem 0;
}

.content-section + .content-section {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* ========================================
   SOPHISTICATED RESPONSIVE DESIGN
   Mobile-First, Performance-Optimized
   ======================================== */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  section {
    padding: 8rem 0;
  }
  
  .glass-panel {
    padding: 3rem;
  }
}

/* Desktop (1024px-1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
  h1 {
    font-size: clamp(4rem, 6vw, 6rem);
  }
}

/* Tablet (768px-1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .cyber-btn {
    padding: 0.875rem 1.75rem;
    min-width: 140px;
  }
  
  .holo-tag {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
}

/* Mobile Large (640px-767px) */
@media (max-width: 767px) and (min-width: 640px) {
  section {
    padding: 3rem 0;
  }
  
  .floating-geo {
    opacity: 0.3;
    transform: scale(0.7);
  }
  
  .cyber-nav-link {
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
  }
}

/* Mobile (480px-639px) */
@media (max-width: 639px) and (min-width: 480px) {
  .cyber-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
  
  .holo-tag {
    padding: 0.5rem 0.875rem;
    font-size: 0.7rem;
  }
  
  .stat-card {
    padding: 1.25rem 0.75rem;
  }
  
  .glass-panel {
    padding: 1.5rem;
  }
}

/* Mobile Small (320px-479px) */
@media (max-width: 479px) {
  section {
    padding: 2rem 0;
  }
  
  .cyber-nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }
  
  .floating-geo {
    display: none;
  }
  
  .holo-tag {
    padding: 0.375rem 0.75rem;
    font-size: 0.65rem;
    gap: 0.375rem;
  }
  
  .stat-card {
    padding: 1rem 0.5rem;
  }
  
  .stat-card .counter {
    font-size: 2rem;
  }
  
  .glass-panel {
    padding: 1.25rem;
  }
}

/* Ultra-wide displays (1920px+) */
@media (min-width: 1920px) {
  .max-w-7xl {
    max-width: 100rem;
  }
  
  section {
    padding: 10rem 0;
  }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .glass-panel {
    backdrop-filter: blur(20px) saturate(180%);
  }
  
  .holo-tag {
    backdrop-filter: blur(12px) saturate(180%);
  }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
  section {
    padding: 2rem 0;
  }
  
  #home {
    min-height: 100vh;
    padding: 1rem 0;
  }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .cyber-btn {
    border-width: 3px;
  }
  
  .holo-tag {
    border-width: 2px;
  }
}

/* Focus indicators for keyboard navigation */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyber-cyan);
  outline-offset: 2px;
}

/* ========================================
   LOADING STATES
   ======================================== */

.loading-shimmer {
  background: linear-gradient(90deg, #1a1a2e 25%, #2d2d5f 50%, #1a1a2e 75%);
  background-size: 200% 100%;
  animation: text-shimmer 2s infinite;
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--cyber-cyan), var(--cyber-purple));
}

/* ========================================
   MATRIX RAIN EFFECT (Optional)
   ======================================== */

.matrix-char {
  position: absolute;
  color: var(--cyber-green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  animation: matrix-rain 8s linear infinite;
  opacity: 0.7;
}

/* ========================================
   SOPHISTICATED GLASS MORPHISM
   Modern Translucent Design
   ======================================== */

.glass-panel {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  box-shadow: 
    var(--shadow-elegant),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 
    var(--shadow-refined),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(99, 102, 241, 0.1),
    0 0 32px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

/* Premium Glass Panel Variant */
.glass-panel.premium {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    var(--shadow-refined),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.glass-panel.premium:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 
    var(--shadow-premium),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(99, 102, 241, 0.15),
    0 0 40px rgba(99, 102, 241, 0.15);
}

/* ========================================
   NEON GLOW UTILITIES
   ======================================== */

.neon-glow-cyan {
  box-shadow: 0 0 20px var(--cyber-cyan), 0 0 40px var(--cyber-cyan);
}

.neon-glow-purple {
  box-shadow: 0 0 20px var(--cyber-purple), 0 0 40px var(--cyber-purple);
}

.neon-glow-pink {
  box-shadow: 0 0 20px var(--cyber-pink), 0 0 40px var(--cyber-pink);
}

/* ========================================
   HOLOGRAPHIC TEXT EFFECT
   ======================================== */

.holographic-text {
  background: var(--neon-gradient);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient 4s ease infinite;
}

/* ========================================
   DNA HELIX CANVAS STYLING
   ======================================== */

#dnaCanvas {
  opacity: 0.3;
  mix-blend-mode: screen;
}

/* ========================================
   FUTURISTIC FORM ELEMENTS
   ======================================== */

.cyber-input {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 0.5rem;
  color: white;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.3s ease;
}

.cyber-input:focus {
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
  outline: none;
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 640px) {
  #themeOrb {
    width: 48px;
    height: 48px;
    top: 1rem;
    right: 1rem;
  }
  
  .floating-geo {
    transform: scale(0.7);
  }
  
  .cyber-btn {
    width: 100%;
    justify-content: center;
  }
}