/* ConsulenzaElite — Dark Premium Glassmorphism Design System */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #05070A;
  --color-surface: rgba(15, 20, 28, 0.7);
  --color-surface-bright: rgba(255, 255, 255, 0.05);
  --color-primary: #D4AF37;
  /* Gold */
  --color-primary-light: #F1D279;
  --color-accent: #10B981;
  /* Emerald */
  --color-text: #F3F4F6;
  --color-text-dim: #9CA3AF;
  --glass-blur: 16px;
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--color-surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: 1.5rem;
}

.glass-card {
  background: var(--color-surface-bright);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom UI Components */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-premium {
  background: linear-gradient(135deg, var(--color-primary) 0%, #B8860B 100%);
  color: #000;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  filter: brightness(1.1);
}

.text-gradient {
  background: linear-gradient(135deg, #FFF 30%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Burger Menu Redesign */
.burger-menu {
  background: rgba(5, 7, 10, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  border-left: 1px solid rgba(212, 175, 55, 0.2) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.burger-menu.active {
  transform: translateX(0) !important;
}

.burger-button.active .burger-icon:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-button.active .burger-icon:nth-child(2) {
  opacity: 0;
}

.burger-button.active .burger-icon:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Form Inputs */
.glass-input {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #000000 !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.glass-input:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.glass-input::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

.stat-card {
  border-left: 4px solid var(--color-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface-bright);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}