/* ==========================================================================
   GIANTUCCHI IA - DESIGN SYSTEM & CUSTOM STYLES
   Cyber-Executive, DevSecOps Compliance & Modern Dark Glassmorphism
   ========================================================================== */

:root {
  --color-dark-bg: #0a0a0f;
  --color-surface: #141420;
  --color-elevated: #1a1a2e;
  --color-border: #2d2d44;
  --color-brand-cyan: #06b6d4;
  --color-brand-blue: #3b82f6;
  --color-brand-purple: #a855f7;
  --color-brand-magenta: #ec4899;
  --color-brand-orange: #f97316;
  --color-brand-yellow: #eab308;
  --color-text-muted: #94a3b8;
  --color-text-white: #ffffff;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--color-dark-bg);
  color: var(--color-text-white);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #06b6d4 0%, #a855f7 100%);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
}

/* Brand Spectrum Gradients */
.bg-brand-gradient {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 20%, #a855f7 40%, #ec4899 60%, #f97316 80%, #eab308 100%);
}

.bg-brand-gradient-reverse {
  background: linear-gradient(135deg, #eab308 0%, #f97316 20%, #ec4899 40%, #a855f7 60%, #3b82f6 80%, #06b6d4 100%);
}

.text-brand-gradient {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 25%, #a855f7 50%, #ec4899 75%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* High-Impact Primary Button */
.btn-brand-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 20%, #a855f7 40%, #ec4899 60%, #f97316 80%, #eab308 100%);
  background-size: 200% 200%;
  background-position: left center;
  transition: all 0.35s ease;
  position: relative;
}

.btn-brand-primary:hover {
  background-position: right center;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
  transform: translateY(-1px);
}

.btn-brand-primary:active {
  transform: translateY(1px);
}

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

.glass-card {
  background: rgba(20, 20, 32, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Interactive Card Transitions */
.interactive-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 30px -8px rgba(6, 182, 212, 0.15);
}

/* Monospace font standard */
.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Code Snippet Styles */
pre code {
  font-family: 'JetBrains Mono', monospace;
  tab-size: 2;
}

/* Pulsing security dots */
@keyframes softPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.15);
  }
}

.security-dot {
  animation: softPulse 2.5s infinite ease-in-out;
}
