/* UI Components - Glassmorphism */

/* Glass Card (Bento Box Items) */
.glass-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: var(--space-8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease-fluid), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--color-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(112, 0, 255, 0.1);
}

/* Gradient Text Utility */
.text-gradient {
  background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: 100px; /* Fully rounded */
  color: var(--color-text-primary);
  background: linear-gradient(135deg, var(--color-accent-1), #4A00E0);
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-elastic), box-shadow 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(112, 0, 255, 0.4);
}

.btn--glass {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: var(--color-surface-hover);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Navigation Links */
.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-primary);
}

/* Metric Number */
.metric-number {
  font-family: var(--font-display);
  font-size: var(--text-metric);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.05em;
}
