/* NutraMechanisms - Warm Editorial Light Theme */
/* Fallback system fonts + graceful Google Fonts load */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-warm: #faf8f5;
  --card-bg: #ffffff;
  --border-warm: #eae6df;
  --border-warm-hover: #d6cfc4;
  --text-main: #1c1917;
  --text-muted: #57534e;
  --text-dim: #78716c;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-warm);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

code, .font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f5f2eb;
}
::-webkit-scrollbar-thumb {
  background: #d6cfc4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}

/* Glassmorphism & Panel Styling */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-warm);
  box-shadow: 0 4px 20px -2px rgba(60, 50, 40, 0.04);
}

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-warm);
  box-shadow: 0 2px 8px -2px rgba(60, 50, 40, 0.03), 0 1px 2px -1px rgba(60, 50, 40, 0.02);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(80, 60, 40, 0.09), 0 4px 8px -2px rgba(80, 60, 40, 0.03);
}

/* Smooth fade in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.22s ease-out forwards;
}
