/* ==========================================================================
   VoxelDyn Labs - Enterprise Generative 3D & Spatial AI SaaS
   Production Stylesheet
   ========================================================================== */

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

:root {
  --bg-dark: #050811;
  --bg-card: #0A0F1D;
  --bg-card-hover: #0F172A;
  --bg-elevated: #131C31;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.4);
  --border-cyan: rgba(0, 242, 254, 0.35);
  --primary-cyan: #00F2FE;
  --primary-indigo: #6366F1;
  --primary-purple: #8B5CF6;
  --primary-emerald: #10B981;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.25);
  --glow-indigo: 0 0 30px rgba(99, 102, 241, 0.3);
}

/* Background Grids and Glows */
.bg-grid-pattern {
  background-size: 40px 40px;
  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);
}

.bg-radial-hero {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18) 0%, rgba(0, 242, 254, 0.08) 35%, rgba(5, 8, 17, 0) 70%);
}

.bg-radial-card {
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.06), transparent 60%);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(11, 17, 32, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

.glass-panel-glow {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

/* Typography Enhancements */
.font-display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

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

/* Gradients */
.gradient-text-cyan-indigo {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 40%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button & Interactive Glows */
.btn-glow-cyan {
  background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow-cyan:hover {
  box-shadow: 0 0 30px rgba(0, 198, 255, 0.65);
  transform: translateY(-2px);
}

.btn-glow-indigo {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow-indigo:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
}

/* Interactive 3D Canvas Container */
.viewport-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(circle at center, #0B1426 0%, #050811 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #050811;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Pulse animation */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}

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

/* Terminal / Code Window */
.code-window {
  background: #060913;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.code-header {
  background: #0A0F1D;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot.red { background: #EF4444; }
.code-dot.yellow { background: #F59E0B; }
.code-dot.green { background: #10B981; }

/* Custom Sliders */
input[type=range] {
  -webkit-appearance: none;
  background: #1E293B;
  height: 6px;
  border-radius: 3px;
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #00F2FE;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
  transition: transform 0.15s ease;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Toast alert notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F172A;
  border: 1px solid #10B981;
  color: #F8FAFC;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
}
